This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: sporadic failure in test_posix
Type: behavior Stage: resolved
Components: Tests Versions: Python 3.3
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: rosslagerwall Nosy List: pitrou, python-dev, rosslagerwall
Priority: normal Keywords:

Created on 2011-03-20 16:02 by pitrou, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (3)
msg131503 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2011-03-20 16:02
From http://www.python.org/dev/buildbot/all/builders/PPC%20Ubuntu%203.x/builds/779/steps/test/logs/stdio

======================================================================
FAIL: test_fexecve (test.test_posix.PosixTester)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/lib/buildbot/buildarea/3.x.warsaw-ubuntu-ppc/build/Lib/test/test_posix.py", line 153, in test_fexecve
    self.assertEqual(os.wait(), (pid, 0))
AssertionError: Tuples differ: (19299, 0) != (19303, 0)

First differing element 0:
19299
19303

- (19299, 0)
+ (19303, 0)


Perhaps there was another process from another test still executing?
support.reap_children() should help avoid that.
msg131506 - (view) Author: Ross Lagerwall (rosslagerwall) (Python committer) Date: 2011-03-20 16:23
Thanks for pointing that out. I'll just use waitpid() instead to wait on the desired pid only.
msg131508 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2011-03-20 16:28
New changeset aedad9e14135 by Ross Lagerwall in branch 'default':
Issue #11615: Fix sporadic buildbot failures related to #10812.
http://hg.python.org/cpython/rev/aedad9e14135
History
Date User Action Args
2022-04-11 14:57:15adminsetgithub: 55824
2011-03-20 19:31:53rosslagerwallsetstatus: open -> closed
assignee: rosslagerwall
resolution: fixed
nosy: pitrou, rosslagerwall, python-dev
stage: resolved
2011-03-20 16:28:47python-devsetnosy: + python-dev
messages: + msg131508
2011-03-20 16:23:06rosslagerwallsetnosy: pitrou, rosslagerwall
messages: + msg131506
2011-03-20 16:02:30pitroucreate