Bug 1569337 - beah-srv[2416]: twisted.internet.error.CannotListenError: Couldn't listen on any:12432: [Errno 12] Cannot allocate memory.
Summary: beah-srv[2416]: twisted.internet.error.CannotListenError: Couldn't listen on ...
Alias: None
Product: Beaker
Classification: Community
Component: beah
Version: develop
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: beaker-dev-list
QA Contact: tools-bugs
Depends On:
TreeView+ depends on / blocked
Reported: 2018-04-19 05:28 UTC by Roman Joost
Modified: 2020-02-11 12:14 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2020-02-11 12:11:29 UTC

Attachments (Terms of Use)

Description Roman Joost 2018-04-19 05:28:13 UTC
Description of problem:
It seems on RHVH provisioned machines, beaker-srv is not able to start, but fails with a traceback.

I file this bug for record keeping purposes, since I do not know what is going on there.

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

How reproducible:
not sure

Steps to Reproduce:
not sure

Actual results:
[   37.468721] beah-srv[2416]: Type <Ctrl-C> to exit. Alternatively issue a kill command from cmd_backend. 
[   37.468993] beah-srv[2416]: Traceback (most recent call last): 
[   37.469344] beah-srv[2416]: File "/usr/bin/beah-srv", line 9, in <module> 
[   37.469523] beah-srv[2416]: load_entry_point('beah==0.7.12.dev201802071205', 'console_scripts', 'beah-srv')() 
[   37.469594] beah-srv[2416]: File "/usr/lib/python2.7/site-packages/beah/bin/srv.py", line 42, in main 
[   37.469691] beah-srv[2416]: main_srv(conf=conf) 
[   37.469755] beah-srv[2416]: File "/usr/lib/python2.7/site-packages/beah/bin/srv.py", line 34, in main_srv 
[   37.469821] beah-srv[2416]: return start_server(conf=conf) 
[   37.469899] beah-srv[2416]: File "/usr/lib/python2.7/site-packages/beah/wires/internals/twserver.py", line 131, in start_server 
[   37.469964] beah-srv[2416]: ipv6_disabled=parse_bool(conf.get('DEFAULT', 'IPV6_DISABLED'))) 
[   37.470043] beah-srv[2416]: File "/usr/lib/python2.7/site-packages/beah/wires/internals/twmisc.py", line 231, in listen_all_tcp 
[   37.470108] beah-srv[2416]: return listen_tcp('') 
[   37.470179] beah-srv[2416]: File "/usr/lib/python2.7/site-packages/beah/wires/internals/twmisc.py", line 222, in listen_tcp 
[   37.470251] beah-srv[2416]: return reactor.listenTCP(port, listener, interface=interface) 
[   37.470321] beah-srv[2416]: File "/usr/lib64/python2.7/site-packages/twisted/internet/posixbase.py", line 476, in listenTCP 
[   37.471620] beah-srv[2416]: p.startListening() 
[   37.475551] beah-srv[2416]: File "/usr/lib64/python2.7/site-packages/twisted/internet/tcp.py", line 969, in startListening 
[   37.475620] beah-srv[2416]: raise CannotListenError, (self.interface, self.port, le) 
[   37.475684] beah-srv[2416]: twisted.internet.error.CannotListenError: Couldn't listen on any:12432: [Errno 12] Cannot allocate memory. 

Expected results:
Starts up fine.

Additional info:

Comment 3 Martin Styk 2020-02-11 12:11:29 UTC
Beah is no longer supported by Beaker development team.
Instead of that, we are working on Restraint test harness. You can find all the features of Restraint here.


If you think your RFE should be still implemented as part of Restraint feel free to create a new BZ ticket.


In case you have any question feel free to reach out to me
Thank you,
Martin Styk <martin.styk@redhat.com>

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