[issue45444] test.test_concurrent_futures fail in x86_ 64 architecture

2022-01-17 Thread STINNER Victor


Change by STINNER Victor :


--
nosy:  -vstinner

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45444] test.test_concurrent_futures fail in x86_ 64 architecture

2022-01-16 Thread Irit Katriel


Change by Irit Katriel :


--
versions:  -Python 3.7, Python 3.8, Python 3.9

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45444] test.test_concurrent_futures fail in x86_ 64 architecture

2021-11-02 Thread Hai Shi


Hai Shi  added the comment:

> I use the Linux operating system (openeuler), kernel version 4.19.90, GCC 
> version 7.3.0. I directly run the following statement in the virtual machine

Hm. I haven't openeuler system, but I get docker container of the euler system.
The tests have passed in my docker containers(x86_64/aarch64).
My aarch64 systeminfo: Linux version 
4.19.36-vhulk1907.1.0.h1088.eulerosv2r8.aarch64 (abuild@szxrtosci1) (gcc 
version 7.3.0 (GCC)) #1 SMP Fri Aug 6 17:40:05 UTC 2021
build cmd: ./configure && make -j

and the output of `./python -m test.pythoninfo`:
test_socket.HAVE_SOCKET_ALG: True
test_socket.HAVE_SOCKET_BLUETOOTH: False
test_socket.HAVE_SOCKET_CAN: True
test_socket.HAVE_SOCKET_CAN_ISOTP: False
test_socket.HAVE_SOCKET_CAN_J1939: False
test_socket.HAVE_SOCKET_QIPCRTR: False
test_socket.HAVE_SOCKET_RDS: False
test_socket.HAVE_SOCKET_UDPLITE: True
test_socket.HAVE_SOCKET_VSOCK: False
test_support._is_gui_available: False

I checked the `test_socket.HAVE_SOCKET_QIPCRTR` and haven't find the 
correlation with test_concurrent_futures.py.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45444] test.test_concurrent_futures fail in x86_ 64 architecture

2021-10-15 Thread tongxiaoge


tongxiaoge  added the comment:

I compared the log and found that  test_socket.HAVE_SOCKET_QIPCRTR is false in 
x86_ 64, and the value is true in the build log on the aarch64 architecture. I 
don't know whether it is related to this value.

--
Added file: https://bugs.python.org/file50362/log.rar

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45444] test.test_concurrent_futures fail in x86_ 64 architecture

2021-10-15 Thread tongxiaoge

tongxiaoge  added the comment:

I use the Linux operating system (openeuler), kernel version 4.19.90, GCC 
version 7.3.0. I directly run the following statement in the virtual machine:

1、python3 Lib/test/test_concurrent_futures.py

2、python3 -m test test_concurrent_futures

The test cases are all passed, but I can reproduce the problem in other 
people's container environment. I suspect it is related to the environment 
configuration, but I don't know what it is related to?

Please refer to the attachment for some log information and python3.spec files 
used for build.

--
Added file: https://bugs.python.org/file50361/log_and_spec_file.rar

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45444] test.test_concurrent_futures fail in x86_ 64 architecture

2021-10-15 Thread STINNER Victor


STINNER Victor  added the comment:

What is your operating system? (name/version) Did you try to build Python 
manually and run the test manually? How did you build Python? What are the 
configure flags and compiler flags?

--
nosy: +vstinner

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45444] test.test_concurrent_futures fail in x86_ 64 architecture

2021-10-13 Thread tongxiaoge


tongxiaoge  added the comment:

I reproduced the same problem in Python 3-3.11.0a1 and increased two failure 
test cases: test_ exceptions and test_ Tools, detailed log is as follows:

[ 1937s] 0:27:53 load avg: 5.11 running: test_capi (27 min 51 sec)
[ 1966s] 0:28:23 load avg: 5.03 [423/423/3] test_capi passed (28 min 19 sec)
[ 1966s]
[ 1966s] == Tests result: FAILURE ==
[ 1966s]
[ 1966s] 401 tests OK.
[ 1966s]
[ 1966s] 10 slowest tests:
[ 1966s] - test_capi: 28 min 19 sec
[ 1966s] - test_faulthandler: 21 min 7 sec
[ 1966s] - test_concurrent_futures: 18 min 53 sec
[ 1966s] - test_io: 3 min 23 sec
[ 1966s] - test_peg_generator: 3 min 5 sec
[ 1966s] - test_subprocess: 2 min 49 sec
[ 1966s] - test_multiprocessing_spawn: 2 min 36 sec
[ 1966s] - test_audit: 2 min 15 sec
[ 1966s] - test_multiprocessing_forkserver: 1 min 43 sec
[ 1966s] - test_regrtest: 1 min 42 sec
[ 1966s]
[ 1966s] 3 tests failed:
[ 1966s] test_concurrent_futures test_exceptions test_tools
[ 1966s]
[ 1966s] 19 tests skipped:
[ 1966s] test_curses test_devpoll test_ioctl test_kqueue test_msilib
[ 1966s] test_ossaudiodev test_smtpnet test_socketserver test_startfile
[ 1966s] test_tix test_tk test_ttk_guionly test_urllib2net test_urllibnet
[ 1966s] test_winconsoleio test_winreg test_winsound test_xmlrpc_net
[ 1966s] test_zipfile64
[ 1966s] 0:28:23 load avg: 5.03
[ 1966s] 0:28:23 load avg: 5.03 Re-running failed tests in verbose mode
[ 1966s] 0:28:23 load avg: 5.03 Re-running test_exceptions in verbose mode 
(matching: test_name_error_suggestions_do_not_trigger_for_too_many_locals)
[ 1966s] test_name_error_suggestions_do_not_trigger_for_too_many_locals 
(test.test_exceptions.NameErrorTests) ... test test_exceptions failed
[ 1966s] FAIL
[ 1966s]
[ 1966s] ==
[ 1966s] FAIL: test_name_error_suggestions_do_not_trigger_for_too_many_locals 
(test.test_exceptions.NameErrorTests)
[ 1966s] --
[ 1966s] Traceback (most recent call last):
[ 1966s]   File 
"/home/abuild/rpmbuild/BUILD/Python-3.11.0a1/Lib/test/test_exceptions.py", line 
1843, in test_name_error_suggestions_do_not_trigger_for_too_many_locals
[ 1966s] self.assertNotIn("a1", err.getvalue())
[ 1966s] ^^
[ 1966s] AssertionError: 'a1' unexpectedly found in 'Traceback (most recent 
call last):\n  File 
"/home/abuild/rpmbuild/BUILD/Python-3.11.0a1/Lib/test/test_exceptions.py", line 
1838, in test_name_error_suggestions_do_not_trigger_for_too_many_locals\n
f()\n^^^\n  File 
"/home/abuild/rpmbuild/BUILD/Python-3.11.0a1/Lib/test/test_exceptions.py", line 
1835, in f\nprint(a0)\n  ^^\nNameError: name \'a0\' is not 
defined\n'
[ 1966s]
[ 1966s] --
[ 1966s] Ran 1 test in 0.004s
[ 1966s]
[ 1966s] FAILED (failures=1)
[ 1966s] 0:28:23 load avg: 5.03 Re-running test_tools in verbose mode 
(matching: test_sundry)
[ 1966s] test_analyze_dxp_import 
(test.test_tools.test_sundry.TestSundryScripts) ... ok
[ 1966s] test_sundry (test.test_tools.test_sundry.TestSundryScripts) ... ERROR
[ 1966s] test_sundry_windows (test.test_tools.test_sundry.TestSundryScripts) 
... test test_tools failed
[ 1966s] skipped 'Windows-only test'
[ 1966s]
[ 1966s] ==
[ 1966s] ERROR: test_sundry (test.test_tools.test_sundry.TestSundryScripts)
[ 1966s] --
[ 1966s] Traceback (most recent call last):
[ 1966s]   File 
"/home/abuild/rpmbuild/BUILD/Python-3.11.0a1/Lib/test/test_tools/test_sundry.py",
 line 43, in test_sundry
[ 1966s] import_tool(name)
[ 1966s] ^
[ 1966s]   File 
"/home/abuild/rpmbuild/BUILD/Python-3.11.0a1/Lib/test/test_tools/__init__.py", 
line 35, in import_tool
[ 1966s] return importlib.import_module(toolname)
[ 1966s]^
[ 1966s]   File 
"/home/abuild/rpmbuild/BUILD/Python-3.11.0a1/Lib/importlib/__init__.py", line 
126, in import_module
[ 1966s] return _bootstrap._gcd_import(name[level:], package, level)
[ 1966s]
[ 1966s]   File "", line 1072, in _gcd_import
[ 1966s]   File "", line 1044, in _find_and_load
[ 1966s]   File "", line 1015, in 
_find_and_load_unlocked
[ 1966s]   File "", line 689, in _load_unlocked
[ 1966s]   File "", line 894, in 
exec_module
[ 1966s]   File "", line 241, in 
_call_with_frames_removed
[ 1966s]   File 
"/home/abuild/rpmbuild/BUILD/Python-3.11.0a1/Tools/scripts/freeze_modules.py", 
line 37, in 
[ 1966s] sys.exit("ERROR: missing _freeze_module")
[ 1966s] ^
[ 1966s] SystemExit: ERROR: missing _freeze_module
[ 1966s]
[ 1966s] --
[ 196