Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 711532

Summary: dev-lang/python-{3.6.10,3.7.6}: test_poll/test_select fail: AssertionError: 0.19999999995343387 not greater than or equal to 0.2
Product: Gentoo Linux Reporter: Rolf Eike Beer <eike>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: CONFIRMED ---    
Severity: normal Keywords: TESTFAILURE
Priority: Normal    
Version: unspecified   
Hardware: HPPA   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=716062
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log 3.6.10
build.log 3.7.6
emerge --info

Description Rolf Eike Beer archtester 2020-03-04 17:08:01 UTC
Created attachment 617052 [details]
build.log 3.6.10

======================================================================
FAIL: test_poll (__main__.SelectEINTRTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.6.10/work/Python-3.6.10/Lib/test/eintrdata/eintr_tester.py", line 454, in test_poll
    self.assertGreaterEqual(dt, self.sleep_time)
AssertionError: 0.19999999995343387 not greater than or equal to 0.2

======================================================================
FAIL: test_select (__main__.SelectEINTRTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.6.10/work/Python-3.6.10/Lib/test/eintrdata/eintr_tester.py", line 442, in test_select
    self.assertGreaterEqual(dt, self.sleep_time)
AssertionError: 0.19999999995343387 not greater than or equal to 0.2
Comment 1 Rolf Eike Beer archtester 2020-03-04 17:09:37 UTC
Created attachment 617054 [details]
build.log 3.7.6
Comment 2 Rolf Eike Beer archtester 2020-03-04 17:10:02 UTC
Created attachment 617056 [details]
emerge --info
Comment 3 Mike Gilbert gentoo-dev 2020-04-11 16:49:06 UTC
As with bug 716062, I suspect this is a kernel/hardware issue.
Comment 4 Rolf Eike Beer archtester 2020-04-11 17:58:52 UTC
*** Bug 716062 has been marked as a duplicate of this bug. ***
Comment 5 Rolf Eike Beer archtester 2020-05-06 20:44:08 UTC
Just for the record: another subtest is also affected:

======================================================================
FAIL: test_sleep (__main__.TimeEINTRTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.7.7-r2/work/Python-3.7.7/Lib/test/eintrdata/eintr_tester.py", line 379, in test_sleep
    self.assertGreaterEqual(dt, self.sleep_time)
AssertionError: 0.19999999995343387 not greater than or equal to 0.2