New issue 2173: PPC test case failure: rpython/rlib/test/test_streamio.py fails on PPC64LE machine https://bitbucket.org/pypy/pypy/issues/2173/ppc-test-case-failure-rpython-rlib-test
Vaibhav Sood: Ran the test on a Ubuntu 14.10 PPC64LE machine (same test passes on a Ubuntu 14.10 x86-64 machine): ./pytest.py -rfExs rpython/rlib/test/test_streamio.py Get the following failure log (trace snipped to show only failure part): ``` #!python =================================================================================== FAILURES ==================================================================================== ______________________________________________________________________ TestDiskFile.test_write_interrupted ______________________________________________________________________ self = <rpython.rlib.test.test_streamio.TestDiskFile instance at 0x3fff7d8f1e60> def test_write_interrupted(self): try: from signal import alarm, signal, SIG_DFL, SIGALRM except ImportError: pytest.skip('no alarm on this platform') try: read_fd, write_fd = os.pipe() file = streamio.DiskFile(write_fd) def handler(*a): os.read(read_fd, 2000) alarm(1) signal(SIGALRM, handler) alarm(1) # Write to the pipe until it is full buf = "FILL THE PIPE" * 1000 while True: > if os.write(write_fd, buf) < len(buf): E OSError: [Errno 4] Interrupted system call rpython/rlib/test/test_streamio.py:1098: OSError ============================================================================ short test summary info ============================================================================ FAIL rpython/rlib/test/test_streamio.py::TestDiskFile::()::test_write_interrupted ``` _______________________________________________ pypy-issue mailing list pypy-issue@python.org https://mail.python.org/mailman/listinfo/pypy-issue