Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 781905 - dev-python/eventlet-0.30.2-r1: too low test timeouts?
Summary: dev-python/eventlet-0.30.2-r1: too low test timeouts?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-10 07:38 UTC by Michał Górny
Modified: 2021-04-11 10:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
/var/log/portage/dev-python:eventlet-0.30.2-r1:20210410-070937.log (dev-python:eventlet-0.30.2-r1:20210410-070937.log,103.71 KB, text/plain)
2021-04-10 07:38 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-04-10 07:38:19 UTC
Created attachment 698886 [details]
/var/log/portage/dev-python:eventlet-0.30.2-r1:20210410-070937.log

======================================================================
ERROR: test_server_connection_timeout_exception (tests.wsgi_test.TestHttpd)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/portage/dev-python/eventlet-0.30.2-r1/work/eventlet-0.30.2/tests/wsgi_test.py", line 229, in tearDown
    greenthread.kill(self.killer)
  File "/tmp/portage/dev-python/eventlet-0.30.2-r1/work/eventlet-0.30.2/eventlet/greenthread.py", line 302, in kill
    g.throw(*throw_args)
tests.TestIsTakingTooLong: 5

======================================================================
FAIL: tests.tpool_test.test_isolate_from_socket_default_timeout
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/portage/dev-python/eventlet-0.30.2-r1/work/eventlet-0.30.2/tests/__init__.py", line 355, in run_python
    output, _ = p.communicate(timeout=timeout)
  File "/usr/lib/python3.7/subprocess.py", line 964, in communicate
    stdout, stderr = self._communicate(input, endtime, timeout)
  File "/usr/lib/python3.7/subprocess.py", line 1716, in _communicate
    self._check_timeout(endtime, orig_timeout, stdout, stderr)
  File "/usr/lib/python3.7/subprocess.py", line 1011, in _check_timeout
    stderr=b''.join(stderr_seq) if stderr_seq else None)
subprocess.TimeoutExpired: Command '['/usr/bin/python3.7', '/tmp/portage/dev-python/eventlet-0.30.2-r1/work/eventlet-0.30.2/tests/isolated/tpool_isolate_socket_default_timeout.py']' timed out after 5 seconds

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/portage/dev-python/eventlet-0.30.2-r1/work/eventlet-0.30.2/tests/tpool_test.py", line 369, in test_isolate_from_socket_default_timeout
    tests.run_isolated('tpool_isolate_socket_default_timeout.py', timeout=5)
  File "/tmp/portage/dev-python/eventlet-0.30.2-r1/work/eventlet-0.30.2/tests/__init__.py", line 381, in run_isolated
    run_python(prefix + path, **kwargs)
  File "/tmp/portage/dev-python/eventlet-0.30.2-r1/work/eventlet-0.30.2/tests/__init__.py", line 361, in run_python
    assert False, 'timed out'
AssertionError: timed out

----------------------------------------------------------------------
Comment 1 Larry the Git Cow gentoo-dev 2021-04-11 10:47:28 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cecbd8454f54589199074601e96945f3c2335f6e

commit cecbd8454f54589199074601e96945f3c2335f6e
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2021-04-11 10:35:18 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2021-04-11 10:47:03 +0000

    dev-python/eventlet: Increase test timeouts
    
    Closes: https://bugs.gentoo.org/781905
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/eventlet/eventlet-0.30.2-r1.ebuild      | 10 +++---
 .../files/eventlet-0.30.2-test-timeout.patch       | 39 ++++++++++++++++++++++
 2 files changed, 43 insertions(+), 6 deletions(-)