[integration-tests] filedescriptor out of range in select() exception in some test cases
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Fix Released
|
Undecided
|
Georgy Dyuldin |
Bug Description
Test result:
https:/
Trace:
controller_remote = <mos_tests.
os_conn = <mos_tests.
@pytest.
def test_retrieve_
"""Try to retrieve non-root certificate
Scenario:
1. Create a default certificate:
2. Make curl query to retrieve root certificate:
3. Check that certificate data is present in output
4. Make curl query to retrieve nonroot certificate:
5. Check that 'Only root certificate can be retrieved' is present
in output
"""
token = os_conn.
endpoint = os_conn.
command = (
'curl -s -H "X-Auth-Token: {token}" '
> result = controller_
mos_tests/
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
mos_tests/
ret = self.execute(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <mos_tests.
command = 'curl -s -H "X-Auth-Token: gAAAAABXPSOGRqd
verbose = True, merge_stderr = False
def execute(self, command, verbose=True, merge_stderr=
chan, stdin, stdout, stderr = self.execute_async(
stdout_buf = ''
stderr_buf = ''
while not chan.closed or chan.recv_ready() or chan.recv_
> select.
E ValueError: filedescriptor out of range in select()
Possible reason:
SSH open connections leak
Commit that fix it:
https:/ /review. gerrithub. io/#/c/ 277195/