Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-101758: Add a Test For Single-Phase Init Modules in Multiple Interpreters#101920

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

@ericsnowcurrently
Copy link
Member

@ericsnowcurrentlyericsnowcurrently commentedFeb 14, 2023
edited by bedevere-bot
Loading

The test verifies the behavior of single-phase init modules when loaded in multiple interpreters.

This test would have identified the failure I hitthe other day.

@ericsnowcurrently
Copy link
MemberAuthor

FYI, theearlier failure is due to trying to delete a file that Windows still had open. To deal with that, I've switched to a different approach that does not copy the extension file.

@bedevere-bot
Copy link

⚠️⚠️⚠️ Buildbot failure⚠️⚠️⚠️

Hi! The buildbotwasm32-wasi 3.x has failed when building commitb365d88.

What do you need to do:

  1. Don't panic.
  2. Checkthe buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/all/#builders/1046/builds/1411) and take a look at the build logs.
  4. Check if the failure is related to this commit (b365d88) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/1046/builds/1411

Failed tests:

  • test_imp

Summary of the results of the build (if available):

== Tests result: FAILURE ==

325 tests OK.

10 slowest tests:

  • test_math: 1 min 47 sec
  • test_tokenize: 1 min 12 sec
  • test_lib2to3: 49.0 sec
  • test_unparse: 44.3 sec
  • test_capi: 24.4 sec
  • test_hashlib: 24.2 sec
  • test_pickle: 19.3 sec
  • test_statistics: 18.7 sec
  • test_unicodedata: 16.1 sec
  • test_decimal: 12.9 sec

1 test failed:
test_imp

108 tests skipped:
test__xxinterpchannels test__xxsubinterpreters test_asyncgen
test_asyncio test_bz2 test_check_c_globals test_clinic
test_cmd_line test_concurrent_futures test_contextlib_async
test_ctypes test_curses test_dbm_gnu test_dbm_ndbm test_devpoll
test_doctest test_docxmlrpc test_dtrace test_embed test_epoll
test_faulthandler test_fcntl test_file_eintr test_fork1
test_ftplib test_gdb test_grp test_gzip test_httplib
test_httpservers test_idle test_imaplib test_interpreters
test_ioctl test_kqueue test_launcher test_lzma test_mailbox
test_mmap test_msilib test_multiprocessing_fork
test_multiprocessing_forkserver test_multiprocessing_main_handling
test_multiprocessing_spawn test_nis test_openpty test_ossaudiodev
test_pdb test_peg_generator test_perf_profiler test_pipes
test_poll test_poplib test_pty test_pwd test_queue test_readline
test_regrtest test_repl test_resource test_select test_selectors
test_smtplib test_smtpnet test_socket test_socketserver test_spwd
test_sqlite3 test_ssl test_stable_abi_ctypes test_startfile
test_subprocess test_sys_settrace test_syslog test_tcl
test_telnetlib test_thread test_threadedtempfile test_threading
test_threading_local test_tix test_tkinter test_tools test_ttk
test_ttk_textonly test_turtle test_urllib test_urllib2
test_urllib2_localnet test_urllib2net test_urllib_response
test_urllibnet test_venv test_wait3 test_wait4 test_webbrowser
test_winconsoleio test_winreg test_winsound test_wmi test_wsgiref
test_xmlrpc test_xmlrpc_net test_xxlimited test_zipfile64
test_zipimport_support test_zlib test_zoneinfo
0:06:18 load avg: 6.06
0:06:18 load avg: 6.06 Re-running failed tests is not supported with --python host runner option.

Total duration: 6 min 18 sec

Click to see traceback logs
Traceback (most recent call last):  File"/Lib/test/libregrtest/runtest.py", line360, in_runtest_inner    refleak= _runtest_inner2(ns, test_name)^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File"/Lib/test/libregrtest/runtest.py", line300, in_runtest_inner2    the_module= importlib.import_module(abstest)^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File"/Lib/importlib/__init__.py", line124, inimport_modulereturn _bootstrap._gcd_import(name[level:], package, level)^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File"<frozen importlib._bootstrap>", line1334, in_gcd_import  File"<frozen importlib._bootstrap>", line1307, in_find_and_load  File"<frozen importlib._bootstrap>", line1278, in_find_and_load_unlocked  File"<frozen importlib._bootstrap>", line841, in_load_unlocked  File"<frozen importlib._bootstrap_external>", line1015, inexec_module  File"<frozen importlib._bootstrap>", line400, in_call_with_frames_removed  File"/Lib/test/test_imp.py", line19, in<module>import _xxsubinterpretersas _interpretersModuleNotFoundError:No module named '_xxsubinterpreters'

@bedevere-bot
Copy link

⚠️⚠️⚠️ Buildbot failure⚠️⚠️⚠️

Hi! The buildbotwasm32-emscripten node (pthreads) 3.x has failed when building commitb365d88.

What do you need to do:

  1. Don't panic.
  2. Checkthe buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/all/#builders/1050/builds/1370) and take a look at the build logs.
  4. Check if the failure is related to this commit (b365d88) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/1050/builds/1370

Failed tests:

  • test_imp

Summary of the results of the build (if available):

== Tests result: FAILURE ==

338 tests OK.

10 slowest tests:

  • test_math: 1 min 15 sec
  • test_tokenize: 56.7 sec
  • test_unparse: 42.4 sec
  • test_lib2to3: 29.1 sec
  • test_capi: 28.7 sec
  • test_io: 24.7 sec
  • test_hashlib: 22.4 sec
  • test_zipfile: 19.0 sec
  • test_unicodedata: 16.8 sec
  • test_decimal: 13.0 sec

1 test failed:
test_imp

95 tests skipped:
test__xxinterpchannels test__xxsubinterpreters test_asyncgen
test_asyncio test_check_c_globals test_clinic test_cmd_line
test_concurrent_futures test_contextlib_async test_ctypes
test_curses test_dbm_gnu test_dbm_ndbm test_devpoll test_doctest
test_docxmlrpc test_dtrace test_embed test_epoll test_faulthandler
test_fcntl test_file_eintr test_fork1 test_ftplib test_gdb
test_grp test_httplib test_httpservers test_idle test_imaplib
test_interpreters test_ioctl test_kqueue test_launcher test_lzma
test_mmap test_msilib test_multiprocessing_fork
test_multiprocessing_forkserver test_multiprocessing_main_handling
test_multiprocessing_spawn test_nis test_openpty test_ossaudiodev
test_pdb test_peg_generator test_perf_profiler test_poll
test_poplib test_pty test_pwd test_readline test_regrtest
test_repl test_resource test_select test_selectors test_smtplib
test_smtpnet test_socket test_socketserver test_spwd test_ssl
test_stable_abi_ctypes test_startfile test_subprocess
test_sys_settrace test_syslog test_tcl test_telnetlib test_tix
test_tkinter test_tools test_ttk test_ttk_textonly test_turtle
test_urllib2 test_urllib2_localnet test_urllib2net test_urllibnet
test_venv test_wait3 test_wait4 test_webbrowser test_winconsoleio
test_winreg test_winsound test_wmi test_wsgiref test_xmlrpc
test_xmlrpc_net test_xxlimited test_zipfile64
test_zipimport_support test_zoneinfo
0:15:25 load avg: 5.04
0:15:25 load avg: 5.04 Re-running failed tests is not supported with --python host runner option.

Total duration: 15 min 25 sec

Click to see traceback logs
Traceback (most recent call last):  File"/opt/buildbot/bcannon-wasm/3.x.bcannon-wasm.emscripten-node-pthreads/build/Lib/test/libregrtest/runtest.py", line360, in_runtest_inner    refleak= _runtest_inner2(ns, test_name)^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File"/opt/buildbot/bcannon-wasm/3.x.bcannon-wasm.emscripten-node-pthreads/build/Lib/test/libregrtest/runtest.py", line300, in_runtest_inner2    the_module= importlib.import_module(abstest)^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File"/opt/buildbot/bcannon-wasm/3.x.bcannon-wasm.emscripten-node-pthreads/build/Lib/importlib/__init__.py", line124, inimport_modulereturn _bootstrap._gcd_import(name[level:], package, level)^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File"<frozen importlib._bootstrap>", line1334, in_gcd_import  File"<frozen importlib._bootstrap>", line1307, in_find_and_load  File"<frozen importlib._bootstrap>", line1278, in_find_and_load_unlocked  File"<frozen importlib._bootstrap>", line841, in_load_unlocked  File"<frozen importlib._bootstrap_external>", line1015, inexec_module  File"<frozen importlib._bootstrap>", line400, in_call_with_frames_removed  File"/opt/buildbot/bcannon-wasm/3.x.bcannon-wasm.emscripten-node-pthreads/build/Lib/test/test_imp.py", line19, in<module>import _xxsubinterpretersas _interpretersModuleNotFoundError:No module named '_xxsubinterpreters'

@ericsnowcurrentlyericsnowcurrently deleted the test-legacy-extension-in-multiple-interpreters branchFebruary 15, 2023 23:46
@ericsnowcurrently
Copy link
MemberAuthor

I'm going to look into the wasm builtbot failures.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@brettcannonbrettcannonAwaiting requested review from brettcannonbrettcannon is a code owner

@encukouencukouAwaiting requested review from encukou

@ncoghlanncoghlanAwaiting requested review from ncoghlanncoghlan is a code owner

@warsawwarsawAwaiting requested review from warsawwarsaw is a code owner

Assignees

No one assigned

Labels

skip newstestsTests in the Lib/test dir

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@ericsnowcurrently@bedevere-bot

[8]ページ先頭

©2009-2025 Movatter.jp