Skip to content

bpo-40807: Show warnings once from codeop._maybe_compile #20486

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jun 4, 2020

Conversation

csabella
Copy link
Contributor

@csabella csabella commented May 28, 2020

Copy link
Member

@terryjreedy terryjreedy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After writing the comments, did some more experiments with the REPL that suggest the need for different or maybe just additional changes somewhere (here? code.II?, IDLE?). I will report on the issue tomorrow. Consider these for now.

@bedevere-bot
Copy link

When you're done making the requested changes, leave the comment: I have made the requested changes; please review again.

@csabella
Copy link
Contributor Author

I have made the requested changes; please review again.

@bedevere-bot
Copy link

Thanks for making the requested changes!

@terryjreedy: please review the changes made to this pull request.

@bedevere-bot bedevere-bot requested a review from terryjreedy May 30, 2020 09:32
@terryjreedy
Copy link
Member

I am adding the News entry and will merge when possible, and then finish the IDLE fix that requires this.

@terryjreedy terryjreedy merged commit 052d3fc into python:master Jun 4, 2020
@miss-islington
Copy link
Contributor

Thanks @csabella for the PR, and @terryjreedy for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7, 3.8, 3.9.
🐍🍒⛏🤖

@bedevere-bot
Copy link

@terryjreedy: Please replace # with GH- in the commit message next time. Thanks!

@bedevere-bot
Copy link

GH-20639 is a backport of this pull request to the 3.9 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.9 only security fixes label Jun 4, 2020
@bedevere-bot
Copy link

GH-20640 is a backport of this pull request to the 3.8 branch.

@miss-islington
Copy link
Contributor

Thanks @csabella for the PR, and @terryjreedy for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7.
🐍🍒⛏🤖

@miss-islington
Copy link
Contributor

Thanks @csabella for the PR, and @terryjreedy for merging it 🌮🎉.. I'm working now to backport this PR to: 3.8.
🐍🍒⛏🤖

@terryjreedy
Copy link
Member

@Mariatta Backport are mostly not working for the last hour.
And when it did once, the PR number and link did not appear. I found the backport of #20646 by trying #20647.

@miss-islington
Copy link
Contributor

Thanks @csabella for the PR, and @terryjreedy for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7.
🐍🍒⛏🤖

@miss-islington
Copy link
Contributor

Thanks @csabella for the PR, and @terryjreedy for merging it 🌮🎉.. I'm working now to backport this PR to: 3.8.
🐍🍒⛏🤖

@miss-islington
Copy link
Contributor

Thanks @csabella for the PR, and @terryjreedy for merging it 🌮🎉.. I'm working now to backport this PR to: 3.8.
🐍🍒⛏🤖

@miss-islington
Copy link
Contributor

Thanks @csabella for the PR, and @terryjreedy for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7.
🐍🍒⛏🤖

@bedevere-bot
Copy link

GH-20672 is a backport of this pull request to the 3.8 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 6, 2020
)

* bpo-40807: Show warnings once from codeop._maybe_compile

* Move catch_warnings

* news

Co-authored-by: Terry Jan Reedy <[email protected]>
(cherry picked from commit 052d3fc)

Co-authored-by: Cheryl Sabella <[email protected]>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 6, 2020
)

* bpo-40807: Show warnings once from codeop._maybe_compile

* Move catch_warnings

* news

Co-authored-by: Terry Jan Reedy <[email protected]>
(cherry picked from commit 052d3fc)

Co-authored-by: Cheryl Sabella <[email protected]>
@bedevere-bot
Copy link

GH-20673 is a backport of this pull request to the 3.7 branch.

miss-islington added a commit that referenced this pull request Jun 6, 2020
* bpo-40807: Show warnings once from codeop._maybe_compile

* Move catch_warnings

* news

Co-authored-by: Terry Jan Reedy <[email protected]>
(cherry picked from commit 052d3fc)

Co-authored-by: Cheryl Sabella <[email protected]>
@bedevere-bot
Copy link

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

Hi! The buildbot AMD64 RHEL7 LTO + PGO 3.8 has failed when building commit c067183.

What do you need to do:

  1. Don't panic.
  2. Check the 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/83/builds/284) and take a look at the build logs.
  4. Check if the failure is related to this commit (c067183) 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/83/builds/284

Failed tests:

  • test_asyncio

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

==

Click to see traceback logs
remote: Enumerating objects: 2        
remote: Enumerating objects: 9, done.        
remote: Counting objects:  11% (1/9)        
remote: Counting objects:  22% (2/9)        
remote: Counting objects:  33% (3/9)        
remote: Counting objects:  44% (4/9)        
remote: Counting objects:  55% (5/9)        
remote: Counting objects:  66% (6/9)        
remote: Counting objects:  77% (7/9)        
remote: Counting objects:  88% (8/9)        
remote: Counting objects: 100% (9/9)        
remote: Counting objects: 100% (9/9), done.        
remote: Compressing objects:  25% (1/4)        
remote: Compressing objects:  50% (2/4)        
remote: Compressing objects:  75% (3/4)        
remote: Compressing objects: 100% (4/4)        
remote: Compressing objects: 100% (4/4), done.        
remote: Total 11 (delta 5), reused 5 (delta 5), pack-reused 2        
From https://github.com/python/cpython
 * branch            3.8        -> FETCH_HEAD
Reset branch '3.8'

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[2]: [clean] Error 1 (ignored)
/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Modules/_testcapimodule.c: In function ‘PyInit__testcapi’:
/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Modules/_testcapimodule.c:6233:5: warning: ‘tp_print’ is deprecated (declared at ./Include/cpython/object.h:260) [-Wdeprecated-declarations]
     MyList_Type.tp_print = 0;
     ^
/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Modules/_testcapimodule.c: In function ‘test_buildvalue_issue38913’:
/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Modules/_testcapimodule.c:6362:15: warning: variable ‘res’ set but not used [-Wunused-but-set-variable]
     PyObject *res;
               ^
/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Modules/socketmodule.c: In function ‘sock_bind’:
/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Modules/socketmodule.c:3075:15: warning: ‘addrlen’ may be used uninitialized in this function [-Wmaybe-uninitialized]
     res = bind(s->sock_fd, SAS2SA(&addrbuf), addrlen);
               ^
Parser/listnode.c: In function ‘list1node’:
Parser/listnode.c:66:1: note: file /home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Parser/listnode.gcda not found, execution counts estimated
 }
 ^
Objects/bytes_methods.c: In function ‘find_internal’:
Objects/bytes_methods.c:523:31: warning: ‘subobj’ may be used uninitialized in this function [-Wmaybe-uninitialized]
         if (PyObject_GetBuffer(subobj, &subbuf, PyBUF_SIMPLE) != 0)
                               ^
Objects/bytes_methods.c: In function ‘_Py_bytes_find’:
Objects/bytes_methods.c:523:31: warning: ‘subobj’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Objects/bytes_methods.c:510:15: note: ‘subobj’ was declared here
     PyObject *subobj;
               ^
Objects/bytes_methods.c: In function ‘_Py_bytes_rfind’:
Objects/bytes_methods.c:523:31: warning: ‘subobj’ may be used uninitialized in this function [-Wmaybe-uninitialized]
         if (PyObject_GetBuffer(subobj, &subbuf, PyBUF_SIMPLE) != 0)
                               ^
Objects/bytes_methods.c:510:15: note: ‘subobj’ was declared here
     PyObject *subobj;
               ^
Objects/bytes_methods.c: In function ‘_Py_bytes_count’:
Objects/bytes_methods.c:672:31: warning: ‘sub_obj’ may be used uninitialized in this function [-Wmaybe-uninitialized]
         if (PyObject_GetBuffer(sub_obj, &vsub, PyBUF_SIMPLE) != 0)
                               ^
Python/frozenmain.c: In function ‘Py_FrozenMain’:
Python/frozenmain.c:129:1: note: file /home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Python/frozenmain.gcda not found, execution counts estimated
 }
 ^
Python/pyfpe.c: In function ‘PyFPE_dummy’:
Python/pyfpe.c:15:1: note: file /home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Python/pyfpe.gcda not found, execution counts estimated
 }
 ^
./Modules/_io/clinic/textio.c.h: In function ‘_io_TextIOWrapper_seek’:
./Modules/_io/textio.c:2555:41: warning: ‘MEM[(char * {ref-all})&cookie + 20B]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
         decoded = _PyObject_CallMethodId(self->decoder, &PyId_decode,
                                         ^
./Modules/_io/textio.c:2405:17: note: ‘MEM[(char * {ref-all})&cookie + 20B]’ was declared here
     cookie_type cookie;
                 ^
./Modules/_io/textio.c:2564:54: warning: ‘MEM[(char * {ref-all})&cookie + 16B]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
         if (PyUnicode_GetLength(self->decoded_chars) < cookie.chars_to_skip) {
                                                      ^
./Modules/_io/textio.c:2405:17: note: ‘MEM[(char * {ref-all})&cookie + 16B]’ was declared here
     cookie_type cookie;
                 ^
./Modules/_io/textio.c:2389:40: warning: ‘MEM[(char * {ref-all})&cookie + 8B]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
     return _textiowrapper_encoder_reset(
                                        ^
./Modules/_io/textio.c:2405:17: note: ‘MEM[(char * {ref-all})&cookie + 8B]’ was declared here
     cookie_type cookie;
                 ^
./Modules/_io/textio.c:2389:40: warning: ‘MEM[(char * {ref-all})&cookie]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
     return _textiowrapper_encoder_reset(
                                        ^
./Modules/_io/textio.c:2405:17: note: ‘MEM[(char * {ref-all})&cookie]’ was declared here
     cookie_type cookie;
                 ^
/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Modules/_pickle.c: In function ‘load’:
/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Modules/_pickle.c:5181:15: warning: ‘s’ may be used uninitialized in this function [-Wmaybe-uninitialized]
         value = PyLong_FromString(s, NULL, 0);
               ^
/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Modules/_pickle.c:5162:20: note: ‘s’ was declared here
     char *endptr, *s;
                    ^
/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Modules/_testcapimodule.c: In function ‘PyInit__testcapi’:
/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Modules/_testcapimodule.c:6233:5: warning: ‘tp_print’ is deprecated (declared at ./Include/cpython/object.h:260) [-Wdeprecated-declarations]
     MyList_Type.tp_print = 0;
     ^
/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Modules/_testcapimodule.c: In function ‘test_buildvalue_issue38913’:
/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Modules/_testcapimodule.c:6362:15: warning: variable ‘res’ set but not used [-Wunused-but-set-variable]
     PyObject *res;
               ^

test_winconsoleio skipped -- test only relevant on win32
test_winreg skipped -- No module named 'winreg'
test_tk skipped -- Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]
test_ioctl skipped -- Unable to open /dev/tty
test_winsound skipped -- No module named 'winsound'
test_msilib skipped -- No module named '_msi'
test_zipfile64 skipped -- test requires loads of disk-space bytes and a long time to run
test_startfile skipped -- object <module 'os' from '/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/os.py'> has no attribute 'startfile'
test_devpoll skipped -- test works only on Solaris OS family
/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/multiprocessing/resource_tracker.py:216: UserWarning: resource_tracker: There appear to be 1 leaked shared_memory objects to clean up at shutdown
  warnings.warn('resource_tracker: There appear to be %d '
/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/multiprocessing/resource_tracker.py:229: UserWarning: resource_tracker: '/psm_d650f7e5': [Errno 2] No such file or directory: '/psm_d650f7e5'
  warnings.warn('resource_tracker: %r: %s' % (name, e))
stty: standard input: Inappropriate ioctl for device
test_kqueue skipped -- test works only on BSD
test_gdb skipped -- Couldn't find gdb on the path
test_tix skipped -- Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]
test_ossaudiodev skipped -- [Errno 2] No such file or directory: '/dev/dsp'
test_flock (__main__.FNTLEINTRTest) ... ok
test_lockf (__main__.FNTLEINTRTest) ... ok
test_read (__main__.OSEINTRTest) ... ok
test_wait (__main__.OSEINTRTest) ... ok
test_wait3 (__main__.OSEINTRTest) ... ok
test_wait4 (__main__.OSEINTRTest) ... ok
test_waitpid (__main__.OSEINTRTest) ... ok
test_write (__main__.OSEINTRTest) ... ok
test_devpoll (__main__.SelectEINTRTest) ... skipped 'need select.devpoll'
test_epoll (__main__.SelectEINTRTest) ... ok
test_kqueue (__main__.SelectEINTRTest) ... skipped 'need select.kqueue'
test_poll (__main__.SelectEINTRTest) ... ok
test_select (__main__.SelectEINTRTest) ... ok
test_sigtimedwait (__main__.SignalEINTRTest) ... ok
test_sigwaitinfo (__main__.SignalEINTRTest) ... ok
test_accept (__main__.SocketEINTRTest) ... ok
test_open (__main__.SocketEINTRTest) ... ok
test_os_open (__main__.SocketEINTRTest) ... ok
test_recv (__main__.SocketEINTRTest) ... ok
test_recvmsg (__main__.SocketEINTRTest) ... ok
test_send (__main__.SocketEINTRTest) ... ok
test_sendall (__main__.SocketEINTRTest) ... ok
test_sendmsg (__main__.SocketEINTRTest) ... ok
test_sleep (__main__.TimeEINTRTest) ... ok

----------------------------------------------------------------------
Ran 24 tests in 7.150s

OK (skipped=2)
test_ttk_guionly skipped -- Tk unavailable due to TclError: no display name and no $DISPLAY environment variab [...]
Timeout (0:15:00)!
Thread 0x00007f94ef1f1740 (most recent call first):
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/selectors.py", line 468 in select
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/asyncio/base_events.py", line 1823 in _run_once
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/asyncio/base_events.py", line 570 in run_forever
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/asyncio/base_events.py", line 603 in run_until_complete
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/test/test_asyncio/test_subprocess.py", line 440 in test_cancel_make_subprocess_transport_exec
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/unittest/case.py", line 633 in _callTestMethod
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/unittest/case.py", line 676 in run
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/unittest/case.py", line 736 in __call__
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/unittest/suite.py", line 122 in run
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/unittest/suite.py", line 84 in __call__
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/unittest/suite.py", line 122 in run
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/unittest/suite.py", line 84 in __call__
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/unittest/suite.py", line 122 in run
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/unittest/suite.py", line 84 in __call__
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/unittest/suite.py", line 122 in run
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/unittest/suite.py", line 84 in __call__
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/unittest/suite.py", line 122 in run
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/unittest/suite.py", line 84 in __call__
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/unittest/runner.py", line 176 in run
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/test/support/__init__.py", line 2030 in _run_suite
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/test/support/__init__.py", line 2152 in run_unittest
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/test/libregrtest/runtest.py", line 209 in _test_module
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/test/libregrtest/runtest.py", line 234 in _runtest_inner2
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/test/libregrtest/runtest.py", line 270 in _runtest_inner
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/test/libregrtest/runtest.py", line 140 in _runtest
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/test/libregrtest/runtest.py", line 193 in runtest
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/test/libregrtest/runtest_mp.py", line 80 in run_tests_worker
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/test/libregrtest/main.py", line 657 in _main
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/test/libregrtest/main.py", line 637 in main
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/test/libregrtest/main.py", line 715 in main
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/test/regrtest.py", line 46 in _main
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/test/regrtest.py", line 50 in <module>
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/runpy.py", line 87 in _run_code
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/runpy.py", line 194 in _run_module_as_main
Timeout (0:15:00)!
Thread 0x00007f9885390740 (most recent call first):
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/selectors.py", line 468 in select
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/asyncio/base_events.py", line 1823 in _run_once
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/asyncio/base_events.py", line 570 in run_forever
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/asyncio/base_events.py", line 603 in run_until_complete
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/test/test_asyncio/test_subprocess.py", line 440 in test_cancel_make_subprocess_transport_exec
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/unittest/case.py", line 633 in _callTestMethod
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/unittest/case.py", line 676 in run
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/unittest/case.py", line 736 in __call__
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/unittest/suite.py", line 122 in run
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/unittest/suite.py", line 84 in __call__
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/unittest/suite.py", line 122 in run
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/unittest/suite.py", line 84 in __call__
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/unittest/suite.py", line 122 in run
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/unittest/suite.py", line 84 in __call__
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/unittest/suite.py", line 122 in run
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/unittest/suite.py", line 84 in __call__
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/unittest/suite.py", line 122 in run
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/unittest/suite.py", line 84 in __call__
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/unittest/runner.py", line 176 in run
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/test/support/__init__.py", line 2030 in _run_suite
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/test/support/__init__.py", line 2152 in run_unittest
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/test/libregrtest/runtest.py", line 209 in _test_module
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/test/libregrtest/runtest.py", line 234 in _runtest_inner2
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/test/libregrtest/runtest.py", line 270 in _runtest_inner
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/test/libregrtest/runtest.py", line 153 in _runtest
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/test/libregrtest/runtest.py", line 193 in runtest
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/test/libregrtest/main.py", line 318 in rerun_failed_tests
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/test/libregrtest/main.py", line 694 in _main
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/test/libregrtest/main.py", line 637 in main
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/test/libregrtest/main.py", line 715 in main
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/test/__main__.py", line 2 in <module>
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/runpy.py", line 87 in _run_code
  File "/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/runpy.py", line 194 in _run_module_as_main
make: *** [buildbottest] Error 1

Cannot open file '/home/buildbot/buildarea/3.8.cstratak-RHEL7-x86_64.lto-pgo/build/test-results.xml' for upload

@terryjreedy
Copy link
Member

Failed tests: test_asyncio (test_cancel_make_subprocess_transport_exec)
Ignore. Known prone to intermittent failure. In this case, a time-out.

arun-mani-j pushed a commit to arun-mani-j/cpython that referenced this pull request Jul 21, 2020
* bpo-40807: Show warnings once from codeop._maybe_compile

* Move catch_warnings

* news

Co-authored-by: Terry Jan Reedy <[email protected]>
@vstinner
Copy link
Member

It seems like this change introduced a regression, would you mind to have a look at https://bugs.python.org/issue41520 ?

cc @csabella

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants