ftbfs asyncio test failure with 3.5.1-2, used to pass with 3.5.0-2

Bug #1526613 reported by Dimitri John Ledkov
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cython (Ubuntu)
Fix Released
Undecided
Dimitri John Ledkov
python3.5 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

ftbfs asyncio test failure with 3.5.1-2, used to pass with 3.5.0-2

Tags: ftbfs patch s390x
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Ok, reverting just the asyncio changes between 3.5.1-2 and 3.5.0-2 makes the cython test-suite pass. I shall forward this finding to python upstream and cython.

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Attached are the changes to the asyncio module between 3.5.0 and 3.5.1 as packaged in ubuntu. Reverse applying this patch against 3.5.1 makes the cython test-suite pass.

Otherwise cython test suite fails on any architecture as seen in https://launchpad.net/ubuntu/+source/cython/0.23.4-0ubuntu1
E.g. amd64 https://launchpadlibrarian.net/232316886/buildlog_ubuntu-xenial-amd64.cython_0.23.4-0ubuntu1_BUILDING.txt.gz

======================================================================
FAIL: runTest (__main__.EndToEndTest)
End-to-end asyncio_generators
----------------------------------------------------------------------
Traceback (most recent call last):
  File "runtests.py", line 1417, in runTest
    self.assertEqual(0, res, "non-zero exit status")
AssertionError: 0 != 1 : non-zero exit status

tags: added: patch
Revision history for this message
Barry Warsaw (barry) wrote :

FWIW, instrumenting cython's asyncio_generators.srctree file to show both events and expected at the failing assertion, we see:

End-to-end asyncio_generators ... /home/barry/projects/debian/cython/upstream/.tox/py35/bin/python test_async_def_future.py

Traceback (most recent call last):
  File "test_async_def_future.py", line 16, in <module>
    runloop()
  File "test_async_def_future.py", line 14, in runloop
    assert events == expected, (events, '==', expected)
AssertionError: (['setup', 'setval', None], '==', ['setup', 'setval', 123])

Revision history for this message
Barry Warsaw (barry) wrote :
Revision history for this message
Dimitri John Ledkov (xnox) wrote :
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

cython (0.23.4-0ubuntu4) xenial; urgency=medium

  * Cherry-pick upstream patch to fix FTBFS due to async/3.5 test suite
    failures.

 -- Dimitri John Ledkov <email address hidden> Mon, 15 Feb 2016 15:03:02 +0000

Changed in python3.5 (Ubuntu):
status: New → Fix Released
Changed in cython (Ubuntu):
status: New → Fix Released
Changed in python3.5 (Ubuntu):
status: Fix Released → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.