Bug 1298934 - Mysterious traceback when rhts-reboot invoked
Summary: Mysterious traceback when rhts-reboot invoked
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: beah
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 22.2
Assignee: Dan Callaghan
QA Contact: tools-bugs
URL:
Whiteboard:
: 1288128 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-15 12:48 UTC by Robin Hack
Modified: 2016-03-15 01:51 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-15 01:51:18 UTC
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.