☠ Buildbot (Python): python/cpython - failed test (failure) uploading test-results.xml (failure) (main)

The Buildbot has detected a new failure on builder wasm32-emscripten node (pthreads) 3.x while building python/cpython. Full details are available at: https://buildbot.python.org/all/#/builders/1050/builds/3211
Buildbot URL: https://buildbot.python.org/all/
Worker for this Build: bcannon-wasm
Build Reason: <unknown> Blamelist: Victor Stinner <vstinner@python.org>
BUILD FAILED: failed test (failure) uploading test-results.xml (failure)
Summary of the results of the build (if available):
==
Captured traceback
Traceback (most recent call last): File "/opt/buildbot/bcannon-wasm/3.x.bcannon-wasm.emscripten-node-pthreads/build/Lib/test/test_fileio.py", line 274, in wrapper self.assertEqual(e.errno, errno.EBADF) AssertionError: 28 != 8
Traceback (most recent call last): File "/opt/buildbot/bcannon-wasm/3.x.bcannon-wasm.emscripten-node-pthreads/build/Lib/test/test_fileio.py", line 272, in wrapper func(self, f) File "/opt/buildbot/bcannon-wasm/3.x.bcannon-wasm.emscripten-node-pthreads/build/Lib/test/test_fileio.py", line 302, in testErrnoOnClosedTruncate f.truncate(0) OSError: [Errno 28] Invalid argument
Test report
Failed tests:
- test_fileio
Failed subtests:
- testErrnoOnClosedTruncate - test.test_fileio.CAutoFileTests.testErrnoOnClosedTruncate
Sincerely, -The BuildbotThe Buildbot has detected a new failure on builder wasm32-wasi 3.x while building python/cpython. Full details are available at: https://buildbot.python.org/all/#/builders/1046/builds/3166
Buildbot URL: https://buildbot.python.org/all/
Worker for this Build: bcannon-wasm
Build Reason: <unknown> Blamelist: Victor Stinner <vstinner@python.org>
BUILD FAILED: failed compile (failure)
Summary of the results of the build (if available):
Captured traceback
remote: Enumerating objects: 63, done.
remote: Counting objects: 1% (1/63)
remote: Counting objects: 3% (2/63)
remote: Counting objects: 4% (3/63)
remote: Counting objects: 6% (4/63)
remote: Counting objects: 7% (5/63)
remote: Counting objects: 9% (6/63)
remote: Counting objects: 11% (7/63)
remote: Counting objects: 12% (8/63)
remote: Counting objects: 14% (9/63)
remote: Counting objects: 15% (10/63)
remote: Counting objects: 17% (11/63)
remote: Counting objects: 19% (12/63)
remote: Counting objects: 20% (13/63)
remote: Counting objects: 22% (14/63)
remote: Counting objects: 23% (15/63)
remote: Counting objects: 25% (16/63)
remote: Counting objects: 26% (17/63)
remote: Counting objects: 28% (18/63)
remote: Counting objects: 30% (19/63)
remote: Counting objects: 31% (20/63)
remote: Counting objects: 33% (21/63)
remote: Counting objects: 34% (22/63)
remote: Counting objects: 36% (23/63)
remote: Counting objects: 38% (24/63)
remote: Counting objects: 39% (25/63)
remote: Counting objects: 41% (26/63)
remote: Counting objects: 42% (27/63)
remote: Counting objects: 44% (28/63)
remote: Counting objects: 46% (29/63)
remote: Counting objects: 47% (30/63)
remote: Counting objects: 49% (31/63)
remote: Counting objects: 50% (32/63)
remote: Counting objects: 52% (33/63)
remote: Counting objects: 53% (34/63)
remote: Counting objects: 55% (35/63)
remote: Counting objects: 57% (36/63)
remote: Counting objects: 58% (37/63)
remote: Counting objects: 60% (38/63)
remote: Counting objects: 61% (39/63)
remote: Counting objects: 63% (40/63)
remote: Counting objects: 65% (41/63)
remote: Counting objects: 66% (42/63)
remote: Counting objects: 68% (43/63)
remote: Counting objects: 69% (44/63)
remote: Counting objects: 71% (45/63)
remote: Counting objects: 73% (46/63)
remote: Counting objects: 74% (47/63)
remote: Counting objects: 76% (48/63)
remote: Counting objects: 77% (49/63)
remote: Counting objects: 79% (50/63)
remote: Counting objects: 80% (51/63)
remote: Counting objects: 82% (52/63)
remote: Counting objects: 84% (53/63)
remote: Counting objects: 85% (54/63)
remote: Counting objects: 87% (55/63)
remote: Counting objects: 88% (56/63)
remote: Counting objects: 90% (57/63)
remote: Counting objects: 92% (58/63)
remote: Counting objects: 93% (59/63)
remote: Counting objects: 95% (60/63)
remote: Counting objects: 96% (61/63)
remote: Counting objects: 98% (62/63)
remote: Counting objects: 100% (63/63)
remote: Counting objects: 100% (63/63), done.
remote: Compressing objects: 4% (1/25)
remote: Compressing objects: 8% (2/25)
remote: Compressing objects: 12% (3/25)
remote: Compressing objects: 16% (4/25)
remote: Compressing objects: 20% (5/25)
remote: Compressing objects: 24% (6/25)
remote: Compressing objects: 28% (7/25)
remote: Compressing objects: 32% (8/25)
remote: Compressing objects: 36% (9/25)
remote: Compressing objects: 40% (10/25)
remote: Compressing objects: 44% (11/25)
remote: Compressing objects: 48% (12/25)
remote: Compressing objects: 52% (13/25)
remote: Compressing objects: 56% (14/25)
remote: Compressing objects: 60% (15/25)
remote: Compressing objects: 64% (16/25)
remote: Compressing objects: 68% (17/25)
remote: Compressing objects: 72% (18/25)
remote: Compressing objects: 76% (19/25)
remote: Compressing objects: 80% (20/25)
remote: Compressing objects: 84% (21/25)
remote: Compressing objects: 88% (22/25)
remote: Compressing objects: 92% (23/25)
remote: Compressing objects: 96% (24/25)
remote: Compressing objects: 100% (25/25)
remote: Compressing objects: 100% (25/25), done.
remote: Total 34 (delta 31), reused 10 (delta 9), pack-reused 0
From https://github.com/python/cpython
- branch main -> FETCH_HEAD Note: switching to '0def8c712bb6f66f1081cab71deb3681566b846d'.
You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at 0def8c712b gh-109748: Fix again venv test_zippath_from_non_installed_posix() (#110149) Switched to and reset branch 'main'
configure: WARNING: using cross tools not prefixed with host triplet
In file included from ../../Programs/python.c:3: In file included from ../../Include/Python.h:96: In file included from ../../Include/pythread.h:113: In file included from ../../Include/cpython/pythread.h:17: ../../Include/cpython/pthread_stubs.h:24:11: warning: '__NEED_pthread_cond_t' macro redefined [-Wmacro-redefined] # define __NEED_pthread_cond_t 1 ^ /opt/wasi-sdk/bin/../share/wasi-sysroot/include/sys/types.h:40:9: note: previous definition is here #define __NEED_pthread_cond_t ^ In file included from ../../Programs/python.c:3: In file included from ../../Include/Python.h:96: In file included from ../../Include/pythread.h:113: In file included from ../../Include/cpython/pythread.h:17: ../../Include/cpython/pthread_stubs.h:25:11: warning: '__NEED_pthread_condattr_t' macro redefined [-Wmacro-redefined] # define __NEED_pthread_condattr_t 1 ^ /opt/wasi-sdk/bin/../share/wasi-sysroot/include/sys/types.h:36:9: note: previous definition is here #define __NEED_pthread_condattr_t ^ In file included from ../../Programs/python.c:3: In file included from ../../Include/Python.h:96: In file included from ../../Include/pythread.h:113: In file included from ../../Include/cpython/pythread.h:17: ../../Include/cpython/pthread_stubs.h:26:11: warning: '__NEED_pthread_mutex_t' macro redefined [-Wmacro-redefined] # define __NEED_pthread_mutex_t 1 ^ /opt/wasi-sdk/bin/../share/wasi-sysroot/include/sys/types.h:39:9: note: previous definition is here #define __NEED_pthread_mutex_t ^ In file included from ../../Programs/python.c:3: In file included from ../../Include/Python.h:96: In file included from ../../Include/pythread.h:113: In file included from ../../Include/cpython/pythread.h:17: ../../Include/cpython/pthread_stubs.h:27:11: warning: '__NEED_pthread_mutexattr_t' macro redefined [-Wmacro-redefined] # define __NEED_pthread_mutexattr_t 1 ^ /opt/wasi-sdk/bin/../share/wasi-sysroot/include/sys/types.h:35:9: note: previous definition is here #define __NEED_pthread_mutexattr_t ^ In file included from ../../Programs/python.c:3: In file included from ../../Include/Python.h:96: In file included from ../../Include/pythread.h:113: In file included from ../../Include/cpython/pythread.h:17: ../../Include/cpython/pthread_stubs.h:28:11: warning: '__NEED_pthread_key_t' macro redefined [-Wmacro-redefined] # define __NEED_pthread_key_t 1 ^ /opt/wasi-sdk/bin/../share/wasi-sysroot/include/sys/types.h:44:9: note: previous definition is here #define __NEED_pthread_key_t ^ In file included from ../../Programs/python.c:3: In file included from ../../Include/Python.h:96: In file included from ../../Include/pythread.h:113: In file included from ../../Include/cpython/pythread.h:17: ../../Include/cpython/pthread_stubs.h:29:11: warning: '__NEED_pthread_t' macro redefined [-Wmacro-redefined] # define __NEED_pthread_t 1 ^ /opt/wasi-sdk/bin/../share/wasi-sysroot/include/sys/types.h:33:9: note: previous definition is here #define __NEED_pthread_t ^ In file included from ../../Programs/python.c:3: In file included from ../../Include/Python.h:96: In file included from ../../Include/pythread.h:113: In file included from ../../Include/cpython/pythread.h:17: ../../Include/cpython/pthread_stubs.h:30:11: warning: '__NEED_pthread_attr_t' macro redefined [-Wmacro-redefined] # define __NEED_pthread_attr_t 1 ^ /opt/wasi-sdk/bin/../share/wasi-sysroot/include/sys/types.h:34:9: note: previous definition is here #define __NEED_pthread_attr_t ^ 7 warnings generated. In file included from ../../Parser/token.c:3: In file included from ../../Include/Python.h:96: In file included from ../../Include/pythread.h:113: In file included from ../../Include/cpython/pythread.h:17: ../../Include/cpython/pthread_stubs.h:24:11: warning: '__NEED_pthread_cond_t' macro redefined [-Wmacro-redefined] # define __NEED_pthread_cond_t 1 ^ /opt/wasi-sdk/bin/../share/wasi-sysroot/include/sys/types.h:40:9: note: previous definition is here #define __NEED_pthread_cond_t ^ In file included from ../../Parser/token.c:3: In file included from ../../Include/Python.h:96: In file included from ../../Include/pythread.h:113: In file included from ../../Include/cpython/pythread.h:17: ../../Include/cpython/pthread_stubs.h:25:11: warning: '__NEED_pthread_condattr_t' macro redefined [-Wmacro-redefined] # define __NEED_pthread_condattr_t 1 ^ /opt/wasi-sdk/bin/../share/wasi-sysroot/include/sys/types.h:36:9: note: previous definition is here #define __NEED_pthread_condattr_t ^ In file included from ../../Parser/token.c:3: In file included from ../../Include/Python.h:96: In file included from ../../Include/pythread.h:113: In file included from ../../Include/cpython/pythread.h:17: ../../Include/cpython/pthread_stubs.h:26:11: warning: '__NEED_pthread_mutex_t' macro redefined [-Wmacro-redefined] # define __NEED_pthread_mutex_t 1 ^ /opt/wasi-sdk/bin/../share/wasi-sysroot/include/sys/types.h:39:9: note: previous definition is here #define __NEED_pthread_mutex_t ^ In file included from ../../Parser/token.c:3: In file included from ../../Include/Python.h:96: In file included from ../../Include/pythread.h:113: In file included from ../../Include/cpython/pythread.h:17: ../../Include/cpython/pthread_stubs.h:27:11: warning: '__NEED_pthread_mutexattr_t' macro redefined [-Wmacro-redefined] # define __NEED_pthread_mutexattr_t 1 ^ /opt/wasi-sdk/bin/../share/wasi-sysroot/include/sys/types.h:35:9: note: previous definition is here #define __NEED_pthread_mutexattr_t ^ In file included from ../../Parser/token.c:3: In file included from ../../Include/Python.h:96: In file included from ../../Include/pythread.h:113: In file included from ../../Include/cpython/pythread.h:17: ../../Include/cpython/pthread_stubs.h:28:11: warning: '__NEED_pthread_key_t' macro redefined [-Wmacro-redefined] # define __NEED_pthread_key_t 1 ^ /opt/wasi-sdk/bin/../share/wasi-sysroot/include/sys/types.h:44:9: note: previous definition is here #define __NEED_pthread_key_t ^ In file included from ../../Parser/token.c:3: In file included from ../../Include/Python.h:96: In file included from ../../Include/pythread.h:113: In file included from ../../Include/cpython/pythread.h:17: ../../Include/cpython/pthread_stubs.h:29:11: warning: '__NEED_pthread_t' macro redefined [-Wmacro-redefined] # define __NEED_pthread_t 1 ^ /opt/wasi-sdk/bin/../share/wasi-sysroot/include/sys/types.h:33:9: note: previous definition is here #define __NEED_pthread_t ^ In file included from ../../Parser/token.c:3: In file included from ../../Include/Python.h:96: In file included from ../../Include/pythread.h:113: In file included from ../../Include/cpython/pythread.h:17: ../../Include/cpython/pthread_stubs.h:30:11: warning: '__NEED_pthread_attr_t' macro redefined [-Wmacro-redefined] # define __NEED_pthread_attr_t 1 ^ /opt/wasi-sdk/bin/../share/wasi-sysroot/include/sys/types.h:34:9: note: previous definition is here #define __NEED_pthread_attr_t ^ 7 warnings generated. In file included from ../../Parser/pegen.c:1: In file included from ../../Include/Python.h:96: In file included from ../../Include/pythread.h:113: In file included from ../../Include/cpython/pythread.h:17: ../../Include/cpython/pthread_stubs.h:24:11: warning: '__NEED_pthread_cond_t' macro redefined [-Wmacro-redefined] # define __NEED_pthread_cond_t 1 ^ /opt/wasi-sdk/bin/../share/wasi-sysroot/include/sys/types.h:40:9: note: previous definition is here #define __NEED_pthread_cond_t ^ In file included from ../../Parser/pegen.c:1: In file included from ../../Include/Python.h:96: In file included from ../../Include/pythread.h:113: In file included from ../../Include/cpython/pythread.h:17: ../../Include/cpython/pthread_stubs.h:25:11: warning: '__NEED_pthread_condattr_t' macro redefined [-Wmacro-redefined] # define __NEED_pthread_condattr_t 1 ^ /opt/wasi-sdk/bin/../share/wasi-sysroot/include/sys/types.h:36:9: note: previous definition is here #define __NEED_pthread_condattr_t ^ In file included from ../../Parser/pegen.c:1: In file included from ../../Include/Python.h:96: In file included from ../../Include/pythread.h:113: In file included from ../../Include/cpython/pythread.h:17: ../../Include/cpython/pthread_stubs.h:26:11: warning: '__NEED_pthread_mutex_t' macro redefined [-Wmacro-redefined] # define __NEED_pthread_mutex_t 1 ^ /opt/wasi-sdk/bin/../share/wasi-sysroot/include/sys/types.h:39:9: note: previous definition is here #define __NEED_pthread_mutex_t ^ In file included from ../../Parser/pegen.c:1: In file included from ../../Include/Python.h:96: In file included from ../../Include/pythread.h:113: In file included from ../../Include/cpython/pythread.h:17: ../../Include/cpython/pthread_stubs.h:27:11: warning: '__NEED_pthread_mutexattr_t' macro redefined [-Wmacro-redefined] # define __NEED_pthread_mutexattr_t 1 ^ /opt/wasi-sdk/bin/../share/wasi-sysroot/include/sys/types.h:35:9: note: previous definition is here #define __NEED_pthread_mutexattr_t ^ In file included from ../../Parser/pegen.c:1: In file included from ../../Include/Python.h:96: In file included from ../../Include/pythread.h:113: In file included from ../../Include/cpython/pythread.h:17: ../../Include/cpython/pthread_stubs.h:28:11: warning: '__NEED_pthread_key_t' macro redefined [-Wmacro-redefined] # define __NEED_pthread_key_t 1 ^ /opt/wasi-sdk/bin/../share/wasi-sysroot/include/sys/types.h:44:9: note: previous definition is here #define __NEED_pthread_key_t ^ In file included from ../../Parser/pegen.c:1: In file included from ../../Include/Python.h:96: In file included from ../../Include/pythread.h:113: In file included from ../../Include/cpython/pythread.h:17: ../../Include/cpython/pthread_stubs.h:29:11: warning: '__NEED_pthread_t' macro redefined [-Wmacro-redefined] # define __NEED_pthread_t 1 ^ /opt/wasi-sdk/bin/../share/wasi-sysroot/include/sys/types.h:33:9: note: previous definition is here #define __NEED_pthread_t ^ In file included from ../../Parser/pegen.c:1: In file included from ../../Include/Python.h:96: In file included from ../../Include/pythread.h:113: In file included from ../../Include/cpython/pythread.h:17: ../../Include/cpython/pthread_stubs.h:30:11: warning: '__NEED_pthread_attr_t' macro redefined [-Wmacro-redefined] # define __NEED_pthread_attr_t 1 ^ /opt/wasi-sdk/bin/../share/wasi-sysroot/include/sys/types.h:34:9: note: previous definition is here #define __NEED_pthread_attr_t ^ In file included from ../../Parser/pegen.c:3: In file included from ../../Include/internal/pycore_pystate.h:11: In file included from ../../Include/internal/pycore_runtime.h:13: In file included from ../../Include/internal/pycore_ceval_state.h:11: In file included from ../../Include/internal/pycore_gil.h:12: In file included from ../../Include/internal/pycore_condvar.h:8: ../../Include/internal/pycore_pythread.h:49:5: error: unknown type name 'bool' bool in_use; ^ 7 warnings and 1 error generated. make: *** [Makefile:2674: Parser/pegen.o] Error 1 make: *** Waiting for unfinished jobs.... In file included from ../../Parser/pegen_errors.c:1: In file included from ../../Include/Python.h:96: In file included from ../../Include/pythread.h:113: In file included from ../../Include/cpython/pythread.h:17: ../../Include/cpython/pthread_stubs.h:24:11: warning: '__NEED_pthread_cond_t' macro redefined [-Wmacro-redefined] # define __NEED_pthread_cond_t 1 ^ /opt/wasi-sdk/bin/../share/wasi-sysroot/include/sys/types.h:40:9: note: previous definition is here #define __NEED_pthread_cond_t ^ In file included from ../../Parser/pegen_errors.c:1: In file included from ../../Include/Python.h:96: In file included from ../../Include/pythread.h:113: In file included from ../../Include/cpython/pythread.h:17: ../../Include/cpython/pthread_stubs.h:25:11: warning: '__NEED_pthread_condattr_t' macro redefined [-Wmacro-redefined] # define __NEED_pthread_condattr_t 1 ^ /opt/wasi-sdk/bin/../share/wasi-sysroot/include/sys/types.h:36:9: note: previous definition is here #define __NEED_pthread_condattr_t ^ In file included from ../../Parser/pegen_errors.c:1: In file included from ../../Include/Python.h:96: In file included from ../../Include/pythread.h:113: In file included from ../../Include/cpython/pythread.h:17: ../../Include/cpython/pthread_stubs.h:26:11: warning: '__NEED_pthread_mutex_t' macro redefined [-Wmacro-redefined] # define __NEED_pthread_mutex_t 1 ^ /opt/wasi-sdk/bin/../share/wasi-sysroot/include/sys/types.h:39:9: note: previous definition is here #define __NEED_pthread_mutex_t ^ In file included from ../../Parser/pegen_errors.c:1: In file included from ../../Include/Python.h:96: In file included from ../../Include/pythread.h:113: In file included from ../../Include/cpython/pythread.h:17: ../../Include/cpython/pthread_stubs.h:27:11: warning: '__NEED_pthread_mutexattr_t' macro redefined [-Wmacro-redefined] # define __NEED_pthread_mutexattr_t 1 ^ /opt/wasi-sdk/bin/../share/wasi-sysroot/include/sys/types.h:35:9: note: previous definition is here #define __NEED_pthread_mutexattr_t ^ In file included from ../../Parser/pegen_errors.c:1: In file included from ../../Include/Python.h:96: In file included from ../../Include/pythread.h:113: In file included from ../../Include/cpython/pythread.h:17: ../../Include/cpython/pthread_stubs.h:28:11: warning: '__NEED_pthread_key_t' macro redefined [-Wmacro-redefined] # define __NEED_pthread_key_t 1 ^ /opt/wasi-sdk/bin/../share/wasi-sysroot/include/sys/types.h:44:9: note: previous definition is here #define __NEED_pthread_key_t ^ In file included from ../../Parser/pegen_errors.c:1: In file included from ../../Include/Python.h:96: In file included from ../../Include/pythread.h:113: In file included from ../../Include/cpython/pythread.h:17: ../../Include/cpython/pthread_stubs.h:29:11: warning: '__NEED_pthread_t' macro redefined [-Wmacro-redefined] # define __NEED_pthread_t 1 ^ /opt/wasi-sdk/bin/../share/wasi-sysroot/include/sys/types.h:33:9: note: previous definition is here #define __NEED_pthread_t ^ In file included from ../../Parser/pegen_errors.c:1: In file included from ../../Include/Python.h:96: In file included from ../../Include/pythread.h:113: In file included from ../../Include/cpython/pythread.h:17: ../../Include/cpython/pthread_stubs.h:30:11: warning: '__NEED_pthread_attr_t' macro redefined [-Wmacro-redefined] # define __NEED_pthread_attr_t 1 ^ /opt/wasi-sdk/bin/../share/wasi-sysroot/include/sys/types.h:34:9: note: previous definition is here #define __NEED_pthread_attr_t ^ 7 warnings generated.
find: ‘build’: No such file or directory find: ‘build’: No such file or directory find: ‘build’: No such file or directory find: ‘build’: No such file or directory make: [Makefile:2766: clean-retain-profile] Error 1 (ignored)
Test report
Sincerely, -The Buildbot
participants (1)
-
buildbot@python.org