Bug 1298934

Summary: Mysterious traceback when rhts-reboot invoked
Product: [Retired] Beaker Reporter: Robin Hack <rhack>
Component: beahAssignee: Dan Callaghan <dcallagh>
Status: CLOSED CURRENTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: azelinka, dapospis, dcallagh, dowang, jburke, jprokes, mjia, mkyral, pmuller, psplicha, qa-errata-list, rjoost
Target Milestone: 22.2Keywords: EasyFix, Patch, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-15 01:51:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Robin Hack 2016-01-15 12:48:02 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:
always

Steps to Reproduce:
1. rhts-reboot from test
2. manually run test

Actual results:

MACHINE REBOOTED however:

Press Enter to reboot or hit CTRL-C to stop
Traceback (most recent call last):
  File "/usr/bin/beahsh", line 9, in <module>
    load_entry_point('beah==0.7.9.dev201508261529', 'console_scripts', 'beahsh')()
  File "/usr/lib/python2.6/site-packages/beah/tools/beahsh.py", line 385, in main
    errs = _main(sys.argv[1:])
  File "/usr/lib/python2.6/site-packages/beah/tools/beahsh.py", line 369, in _main
    the_task = beahlib.get_task(make_sender(opts.sender or default_sender, opts))
  File "/usr/lib/python2.6/site-packages/beah/tools/beahsh.py", line 334, in make_sender
    return beahlib.SocketSender()
  File "/usr/lib/python2.6/site-packages/beahlib.py", line 97, in __init__
    raise Exception('None of BEAH_TSOCKET or (BEAH_THOST, BEAH_TPORT) are defined!')
Exception: None of BEAH_TSOCKET or (BEAH_THOST, BEAH_TPORT) are defined!


Expected results:


Additional info:

Comment 1 Dalibor Pospíšil 2016-01-15 13:26:55 UTC
This is not an issue of beakerlib.

Comment 2 Dan Callaghan 2016-01-18 06:56:24 UTC
rhts-reboot should not be invoking the beahsh business when it is run in manual mode outside of Beaker.

Comment 3 Dan Callaghan 2016-01-18 07:30:21 UTC
http://gerrit.beaker-project.org/4594

Comment 4 Dan Callaghan 2016-01-18 07:34:04 UTC
*** Bug 1288128 has been marked as a duplicate of this bug. ***

Comment 9 Dan Callaghan 2016-03-08 07:29:03 UTC
Tagged as rhts-4.69-1.

Comment 10 Dan Callaghan 2016-03-15 01:51:18 UTC
Beaker 22.2 has been released.