GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — bpo-36346: Add Py_DEPRECATED to deprecated unicode APIs by methane · Pull Request #20878 · python/cpython

Conversation

@methane

@methane methane commented Jun 15, 2020 •
edited by bedevere-bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

https://bugs.python.org/issue36346

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

ag5590523 reacted with hooray emoji
All reactions
  • 🎉 1 reaction
@methane
bpo-36346: Uncomment Py_DEPRECATED for deprecated unicode APIs
b7bb169
@methane methane added skip news needs backport to 3.9 labels Jun 15, 2020
@the-knights-who-say-ni the-knights-who-say-ni added the CLA signed label Jun 15, 2020
@bedevere-bot bedevere-bot added the awaiting core review label Jun 15, 2020
@methane

methane commented Jun 15, 2020

Copy link
Copy Markdown
Member Author

Warnings in _testcapimodule.c can be supressed if #9004 is merged.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@methane
Deprecate _PyUnicode_AsUnicode
4e88718
@methane

methane commented Jun 15, 2020

Copy link
Copy Markdown
Member Author

@ambv I want to merge this pull request and #9004 into 3.9 branch. What do you think?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

aeros
aeros approved these changes Jun 15, 2020
View reviewed changes

@aeros aeros left a comment •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Regardless of whether the removal occurs in 3.11 or needs to be delayed for any reason, I think un-commenting the compiler warnings for 3.9 can only help users.

However, from looking at the blame and locating the commit that added the comments, it's not completely clear to me as to why it was done: 3c8724f. It looks like support for the macro Py_DEPRECATED() was added to MSVC, and while working on that, these were added as comments. It appears that some of the other ones were added by @vstinner.

What is the purpose of adding them as comments in the first place? Is this just done to avoid scope creep in the other PRs, while still marking it as "to do" for later? Or is there some convention with regards to adding it as a comment before an actual warning?

Either way though, +1 for un-commenting the existing Py_DEPRECATED() macros for the unicode APIs that are being removed. Without the warnings in 3.9, I think a 3.11 removal would be too soon.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@bedevere-bot bedevere-bot added awaiting merge and removed awaiting core review labels Jun 15, 2020
@methane

methane commented Jun 15, 2020

Copy link
Copy Markdown
Member Author

Another way to suppress warning is adding private function without warning, like _PyUnicode_AsUnicode. Public deprecated functions can be a wrapper of them.

aeros reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

vstinner
vstinner reviewed Jun 15, 2020
View reviewed changes
Comment thread Include/cpython/unicodeobject.h Resolved

Uh oh!

There was an error while loading. Please reload this page.

methane added 3 commits June 16, 2020 09:57
@methane
Merge remote-tracking branch 'origin/master' into pep393-deprecation
8f58264
@methane
Supress deprecation warnings
6b9d12c
@methane
Use inline functions. Undeprecate some APIs.
10e1b13
vstinner
vstinner reviewed Jun 16, 2020
View reviewed changes
Comment thread Include/cpython/unicodeobject.h Resolved

Uh oh!

There was an error while loading. Please reload this page.

methane added 2 commits June 16, 2020 22:09
@methane
Revive commented deprecation
a703182
@methane
supress one more warning
468a43b
vstinner
vstinner reviewed Jun 16, 2020
View reviewed changes
Comment thread Modules/_testcapimodule.c Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread Include/cpython/unicodeobject.h Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread Include/cpython/unicodeobject.h Resolved

Uh oh!

There was an error while loading. Please reload this page.

methane added 3 commits June 16, 2020 23:07
@methane
Remove Py_UNICODE_MATCH and deprecate PyUnicode_WSTR_LENGTH
52802fe
@methane
Undeprecate APIs that doesn't use wstr
6e86236
@methane
Update _testcapimodule
b9fa49a
vstinner
vstinner reviewed Jun 16, 2020
View reviewed changes
Comment thread Include/cpython/unicodeobject.h Resolved

Uh oh!

There was an error while loading. Please reload this page.

vstinner
vstinner reviewed Jun 16, 2020
View reviewed changes
Comment thread Include/cpython/unicodeobject.h Resolved

Uh oh!

There was an error while loading. Please reload this page.

vstinner
vstinner reviewed Jun 16, 2020
View reviewed changes
Comment thread Include/cpython/unicodeobject.h Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread Include/cpython/unicodeobject.h Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread Modules/_testcapimodule.c Resolved

Uh oh!

There was an error while loading. Please reload this page.

@ambv

ambv commented Jun 16, 2020

Copy link
Copy Markdown
Contributor

I'm fine with having this in 3.9

methane reacted with hooray emoji
All reactions
  • 🎉 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

methane added 2 commits June 17, 2020 11:32
@methane
Add news
30bed2d
@methane
Add what's new entry
4490cc7
aeros
aeros reviewed Jun 17, 2020
View reviewed changes
Comment thread Misc/NEWS.d/next/C API/2020-06-17-11-24-00.bpo-36346.fTMr3S.rst Resolved

Uh oh!

There was an error while loading. Please reload this page.

methane added 2 commits June 17, 2020 17:34
@methane
fixup
35d68db
@methane
avoid _impl suffix
b3ee751
@vstinner

vstinner commented Jun 17, 2020

Copy link
Copy Markdown
Member

About the "_impl" suffix discussion: I wrote PR #20931 to remove it from _PyObject_GC_TRACK() :-)

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

vstinner
vstinner approved these changes Jun 17, 2020
View reviewed changes

@vstinner vstinner left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

LGTM, thanks for the multiple updates, the PR now looks much better! I prefer the new code of static inline macros ;-)

It's easier to read, variables have a well defined scope, and the return type is now clearly void ;-) Once I tried to convert all unicodeobject.h macros into static inline functions, but it's giant work and it's tricky to not introduce new compiler warnings :-(

I just added a minor suggestion about _PyObject_CAST().

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread Include/cpython/unicodeobject.h
((PyASCIIObject*)op)->length :
((PyCompactUnicodeObject*)op)->wstr_length;
}
#define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)

@vstinner vstinner Jun 17, 2020

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

You might use _PyObject_CAST() macro:

Suggested change
#define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
#define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length(_PyObject_CAST(op))

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@methane methane changed the title bpo-36346: Uncomment Py_DEPRECATED for deprecated unicode APIs bpo-36346: Add Py_DEPRECATED to deprecated unicode APIs Jun 17, 2020
@methane

methane commented Jun 17, 2020

Copy link
Copy Markdown
Member Author

Thank you for your review!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@methane
methane merged commit 2c4928d into python:master Jun 17, 2020
@methane
methane deleted the pep393-deprecation branch June 17, 2020 11:09
@miss-islington

miss-islington commented Jun 17, 2020

Copy link
Copy Markdown
Contributor

Thanks @methane for the PR 🌮🎉.. I'm working now to backport this PR to: 3.9.
🐍🍒⛏🤖

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-bot bedevere-bot removed the awaiting merge label Jun 17, 2020
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 17, 2020
@methane @miss-islington
bpo-36346: Add Py_DEPRECATED to deprecated unicode APIs (pythonGH-20878)
dbde572
Co-authored-by: Kyle Stanley <[email protected]>
Co-authored-by: Victor Stinner <[email protected]>
(cherry picked from commit 2c4928d)

Co-authored-by: Inada Naoki <[email protected]>
@bedevere-bot bedevere-bot removed the needs backport to 3.9 label Jun 17, 2020
@bedevere-bot

bedevere-bot commented Jun 17, 2020

Copy link
Copy Markdown

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-bot

bedevere-bot commented Jun 17, 2020

Copy link
Copy Markdown

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

Hi! The buildbot PPC64 Fedora 3.x has failed when building commit 2c4928d.

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/8/builds/1247) and take a look at the build logs.
  4. Check if the failure is related to this commit (2c4928d) 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/8/builds/1247

Failed tests:

  • test_distutils

Failed subtests:

  • test_build_ext - distutils.tests.test_build_ext.BuildExtTestCase
  • test_build_ext - distutils.tests.test_build_ext.ParallelBuildExtTestCase
  • test_record_extensions - distutils.tests.test_install.InstallTestCase

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

== Tests result: FAILURE then FAILURE ==

410 tests OK.

10 slowest tests:

  • test_concurrent_futures: 3 min 4 sec
  • test_unparse: 2 min 49 sec
  • test_tokenize: 2 min 45 sec
  • test_capi: 2 min 22 sec
  • test_peg_generator: 2 min 3 sec
  • test_multiprocessing_spawn: 1 min 50 sec
  • test_lib2to3: 1 min 44 sec
  • test_asyncio: 1 min 31 sec
  • test_unicodedata: 1 min 23 sec
  • test_multiprocessing_forkserver: 1 min 17 sec

1 test failed:
test_distutils

13 tests skipped:
test_devpoll test_ioctl test_kqueue test_msilib test_ossaudiodev
test_startfile test_tix test_tk test_ttk_guionly test_winconsoleio
test_winreg test_winsound test_zipfile64

1 re-run test:
test_distutils

Total duration: 23 min 43 sec

Click to see traceback logs
Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/distutils/tests/test_install.py", line 220, in test_record_extensions
    cmd.run()
  File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/distutils/command/install.py", line 546, in run
    self.run_command('build')
  File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/distutils/command/build.py", line 135, in run
    self.run_command(cmd_name)
  File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/distutils/command/build_ext.py", line 340, in run
    self.build_extensions()
  File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/distutils/command/build_ext.py", line 449, in build_extensions
    self._build_extensions_serial()
  File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/distutils/command/build_ext.py", line 474, in _build_extensions_serial
    self.build_extension(ext)
  File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/distutils/command/build_ext.py", line 529, in build_extension
    objects = self.compiler.compile(sources,
  File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/distutils/ccompiler.py", line 574, in compile
    self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
  File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/distutils/unixccompiler.py", line 120, in _compile
    raise CompileError(msg)
distutils.errors.CompileError: command '/usr/bin/gcc' failed with exit code 1


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/distutils/tests/test_build_ext.py", line 76, in test_build_ext
    cmd.run()
  File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/distutils/command/build_ext.py", line 340, in run
    self.build_extensions()
  File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/distutils/command/build_ext.py", line 447, in build_extensions
    self._build_extensions_parallel()
  File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/distutils/command/build_ext.py", line 469, in _build_extensions_parallel
    fut.result()
  File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/concurrent/futures/_base.py", line 440, in result
    return self.__get_result()
  File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/concurrent/futures/_base.py", line 389, in __get_result
    raise self._exception
  File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/concurrent/futures/thread.py", line 52, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/distutils/command/build_ext.py", line 529, in build_extension
    objects = self.compiler.compile(sources,
  File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/distutils/ccompiler.py", line 574, in compile
    self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
  File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/distutils/unixccompiler.py", line 120, in _compile
    raise CompileError(msg)
distutils.errors.CompileError: command '/usr/bin/gcc' failed with exit code 1


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/distutils/unixccompiler.py", line 117, in _compile
    self.spawn(compiler_so + cc_args + [src, '-o', obj] +
  File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/distutils/ccompiler.py", line 910, in spawn
    spawn(cmd, dry_run=self.dry_run)
  File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/distutils/spawn.py", line 81, in spawn
    raise DistutilsExecError(
distutils.errors.DistutilsExecError: command '/usr/bin/gcc' failed with exit code 1


Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/distutils/tests/test_build_ext.py", line 76, in test_build_ext
    cmd.run()
  File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/distutils/command/build_ext.py", line 340, in run
    self.build_extensions()
  File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/distutils/command/build_ext.py", line 449, in build_extensions
    self._build_extensions_serial()
  File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/distutils/command/build_ext.py", line 474, in _build_extensions_serial
    self.build_extension(ext)
  File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/distutils/command/build_ext.py", line 529, in build_extension
    objects = self.compiler.compile(sources,
  File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/distutils/ccompiler.py", line 574, in compile
    self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
  File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/distutils/unixccompiler.py", line 120, in _compile
    raise CompileError(msg)
distutils.errors.CompileError: command '/usr/bin/gcc' failed with exit code 1
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-bot

bedevere-bot commented Jun 17, 2020

Copy link
Copy Markdown

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

Hi! The buildbot AMD64 Debian root 3.x has failed when building commit 2c4928d.

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/225/builds/1262) and take a look at the build logs.
  4. Check if the failure is related to this commit (2c4928d) 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/225/builds/1262

Failed tests:

  • test_distutils

Failed subtests:

  • test_build_ext - distutils.tests.test_build_ext.BuildExtTestCase
  • test_build_ext - distutils.tests.test_build_ext.ParallelBuildExtTestCase
  • test_record_extensions - distutils.tests.test_install.InstallTestCase

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

== Tests result: FAILURE then FAILURE ==

403 tests OK.

10 slowest tests:

  • test_concurrent_futures: 4 min 15 sec
  • test_unparse: 2 min 43 sec
  • test_tokenize: 2 min 29 sec
  • test_multiprocessing_spawn: 2 min 26 sec
  • test_peg_generator: 2 min 24 sec
  • test_asyncio: 2 min 4 sec
  • test_capi: 1 min 49 sec
  • test_multiprocessing_forkserver: 1 min 39 sec
  • test_unicodedata: 1 min 9 sec
  • test_multiprocessing_fork: 1 min 8 sec

1 test failed:
test_distutils

20 tests skipped:
test_devpoll test_gdb test_idle test_ioctl test_kqueue test_msilib
test_ossaudiodev test_smtpnet test_ssl test_startfile test_tcl
test_tix test_tk test_ttk_guionly test_ttk_textonly test_turtle
test_winconsoleio test_winreg test_winsound test_zipfile64

1 re-run test:
test_distutils

Total duration: 24 min 50 sec

Click to see traceback logs
Traceback (most recent call last):
  File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/distutils/unixccompiler.py", line 117, in _compile
    self.spawn(compiler_so + cc_args + [src, '-o', obj] +
  File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/distutils/ccompiler.py", line 910, in spawn
    spawn(cmd, dry_run=self.dry_run)
  File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/distutils/spawn.py", line 81, in spawn
    raise DistutilsExecError(
distutils.errors.DistutilsExecError: command '/usr/bin/gcc' failed with exit code 1


Traceback (most recent call last):
  File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/distutils/tests/test_install.py", line 220, in test_record_extensions
    cmd.run()
  File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/distutils/command/install.py", line 546, in run
    self.run_command('build')
  File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/distutils/command/build.py", line 135, in run
    self.run_command(cmd_name)
  File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/distutils/command/build_ext.py", line 340, in run
    self.build_extensions()
  File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/distutils/command/build_ext.py", line 449, in build_extensions
    self._build_extensions_serial()
  File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/distutils/command/build_ext.py", line 474, in _build_extensions_serial
    self.build_extension(ext)
  File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/distutils/command/build_ext.py", line 529, in build_extension
    objects = self.compiler.compile(sources,
  File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/distutils/ccompiler.py", line 574, in compile
    self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
  File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/distutils/unixccompiler.py", line 120, in _compile
    raise CompileError(msg)
distutils.errors.CompileError: command '/usr/bin/gcc' failed with exit code 1


Traceback (most recent call last):
  File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/distutils/tests/test_build_ext.py", line 76, in test_build_ext
    cmd.run()
  File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/distutils/command/build_ext.py", line 340, in run
    self.build_extensions()
  File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/distutils/command/build_ext.py", line 449, in build_extensions
    self._build_extensions_serial()
  File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/distutils/command/build_ext.py", line 474, in _build_extensions_serial
    self.build_extension(ext)
  File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/distutils/command/build_ext.py", line 529, in build_extension
    objects = self.compiler.compile(sources,
  File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/distutils/ccompiler.py", line 574, in compile
    self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
  File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/distutils/unixccompiler.py", line 120, in _compile
    raise CompileError(msg)
distutils.errors.CompileError: command '/usr/bin/gcc' failed with exit code 1


Traceback (most recent call last):
  File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/distutils/tests/test_build_ext.py", line 76, in test_build_ext
    cmd.run()
  File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/distutils/command/build_ext.py", line 340, in run
    self.build_extensions()
  File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/distutils/command/build_ext.py", line 447, in build_extensions
    self._build_extensions_parallel()
  File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/distutils/command/build_ext.py", line 469, in _build_extensions_parallel
    fut.result()
  File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/concurrent/futures/_base.py", line 440, in result
    return self.__get_result()
  File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/concurrent/futures/_base.py", line 389, in __get_result
    raise self._exception
  File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/concurrent/futures/thread.py", line 52, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/distutils/command/build_ext.py", line 529, in build_extension
    objects = self.compiler.compile(sources,
  File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/distutils/ccompiler.py", line 574, in compile
    self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
  File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/distutils/unixccompiler.py", line 120, in _compile
    raise CompileError(msg)
distutils.errors.CompileError: command '/usr/bin/gcc' failed with exit code 1
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-bot

bedevere-bot commented Jun 17, 2020

Copy link
Copy Markdown

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

Hi! The buildbot PPC64LE RHEL7 3.x has failed when building commit 2c4928d.

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/347/builds/796) and take a look at the build logs.
  4. Check if the failure is related to this commit (2c4928d) 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/347/builds/796

Failed tests:

  • test_distutils

Failed subtests:

  • test_build_ext - distutils.tests.test_build_ext.BuildExtTestCase
  • test_build_ext - distutils.tests.test_build_ext.ParallelBuildExtTestCase
  • test_record_extensions - distutils.tests.test_install.InstallTestCase

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

== Tests result: FAILURE then FAILURE ==

410 tests OK.

10 slowest tests:

  • test_concurrent_futures: 3 min 23 sec
  • test_unparse: 3 min 7 sec
  • test_peg_generator: 2 min 45 sec
  • test_tokenize: 2 min 37 sec
  • test_multiprocessing_spawn: 1 min 58 sec
  • test_lib2to3: 1 min 46 sec
  • test_unicodedata: 1 min 36 sec
  • test_capi: 1 min 29 sec
  • test_asyncio: 1 min 26 sec
  • test_multiprocessing_forkserver: 1 min 25 sec

1 test failed:
test_distutils

13 tests skipped:
test_devpoll test_ioctl test_kqueue test_msilib test_ossaudiodev
test_startfile test_tix test_tk test_ttk_guionly test_winconsoleio
test_winreg test_winsound test_zipfile64

1 re-run test:
test_distutils

Total duration: 5 min 38 sec

Click to see traceback logs
Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le/build/Lib/distutils/unixccompiler.py", line 117, in _compile
    self.spawn(compiler_so + cc_args + [src, '-o', obj] +
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le/build/Lib/distutils/ccompiler.py", line 910, in spawn
    spawn(cmd, dry_run=self.dry_run)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le/build/Lib/distutils/spawn.py", line 81, in spawn
    raise DistutilsExecError(
distutils.errors.DistutilsExecError: command '/usr/bin/gcc' failed with exit code 1


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le/build/Lib/distutils/tests/test_install.py", line 220, in test_record_extensions
    cmd.run()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le/build/Lib/distutils/command/install.py", line 546, in run
    self.run_command('build')
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le/build/Lib/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le/build/Lib/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le/build/Lib/distutils/command/build.py", line 135, in run
    self.run_command(cmd_name)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le/build/Lib/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le/build/Lib/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le/build/Lib/distutils/command/build_ext.py", line 340, in run
    self.build_extensions()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le/build/Lib/distutils/command/build_ext.py", line 449, in build_extensions
    self._build_extensions_serial()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le/build/Lib/distutils/command/build_ext.py", line 474, in _build_extensions_serial
    self.build_extension(ext)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le/build/Lib/distutils/command/build_ext.py", line 529, in build_extension
    objects = self.compiler.compile(sources,
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le/build/Lib/distutils/ccompiler.py", line 574, in compile
    self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le/build/Lib/distutils/unixccompiler.py", line 120, in _compile
    raise CompileError(msg)
distutils.errors.CompileError: command '/usr/bin/gcc' failed with exit code 1


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le/build/Lib/distutils/tests/test_build_ext.py", line 76, in test_build_ext
    cmd.run()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le/build/Lib/distutils/command/build_ext.py", line 340, in run
    self.build_extensions()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le/build/Lib/distutils/command/build_ext.py", line 447, in build_extensions
    self._build_extensions_parallel()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le/build/Lib/distutils/command/build_ext.py", line 469, in _build_extensions_parallel
    fut.result()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le/build/Lib/concurrent/futures/_base.py", line 440, in result
    return self.__get_result()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le/build/Lib/concurrent/futures/_base.py", line 389, in __get_result
    raise self._exception
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le/build/Lib/concurrent/futures/thread.py", line 52, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le/build/Lib/distutils/command/build_ext.py", line 529, in build_extension
    objects = self.compiler.compile(sources,
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le/build/Lib/distutils/ccompiler.py", line 574, in compile
    self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le/build/Lib/distutils/unixccompiler.py", line 120, in _compile
    raise CompileError(msg)
distutils.errors.CompileError: command '/usr/bin/gcc' failed with exit code 1


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le/build/Lib/distutils/tests/test_build_ext.py", line 76, in test_build_ext
    cmd.run()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le/build/Lib/distutils/command/build_ext.py", line 340, in run
    self.build_extensions()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le/build/Lib/distutils/command/build_ext.py", line 449, in build_extensions
    self._build_extensions_serial()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le/build/Lib/distutils/command/build_ext.py", line 474, in _build_extensions_serial
    self.build_extension(ext)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le/build/Lib/distutils/command/build_ext.py", line 529, in build_extension
    objects = self.compiler.compile(sources,
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le/build/Lib/distutils/ccompiler.py", line 574, in compile
    self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le/build/Lib/distutils/unixccompiler.py", line 120, in _compile
    raise CompileError(msg)
distutils.errors.CompileError: command '/usr/bin/gcc' failed with exit code 1
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@vstinner

vstinner commented Jun 17, 2020

Copy link
Copy Markdown
Member

The change broke multiple buildbots on master, so I rejected the 3.9 backport PR.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-bot

bedevere-bot commented Jun 17, 2020

Copy link
Copy Markdown

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

Hi! The buildbot AMD64 RHEL7 3.x has failed when building commit 2c4928d.

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/4/builds/1098) and take a look at the build logs.
  4. Check if the failure is related to this commit (2c4928d) 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/4/builds/1098

Failed tests:

  • test_distutils

Failed subtests:

  • test_build_ext - distutils.tests.test_build_ext.BuildExtTestCase
  • test_build_ext - distutils.tests.test_build_ext.ParallelBuildExtTestCase
  • test_record_extensions - distutils.tests.test_install.InstallTestCase

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

== Tests result: FAILURE then FAILURE ==

409 tests OK.

10 slowest tests:

  • test_concurrent_futures: 3 min 19 sec
  • test_unparse: 2 min 3 sec
  • test_tokenize: 1 min 50 sec
  • test_peg_generator: 1 min 48 sec
  • test_multiprocessing_spawn: 1 min 42 sec
  • test_asyncio: 1 min 34 sec
  • test_capi: 1 min 32 sec
  • test_shelve: 1 min 29 sec
  • test_lib2to3: 1 min 23 sec
  • test_multiprocessing_forkserver: 1 min 19 sec

1 test failed:
test_distutils

14 tests skipped:
test_devpoll test_gdb test_ioctl test_kqueue test_msilib
test_ossaudiodev test_startfile test_tix test_tk test_ttk_guionly
test_winconsoleio test_winreg test_winsound test_zipfile64

1 re-run test:
test_distutils

Total duration: 5 min 15 sec

Click to see traceback logs
Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/distutils/tests/test_build_ext.py", line 76, in test_build_ext
    cmd.run()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/distutils/command/build_ext.py", line 340, in run
    self.build_extensions()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/distutils/command/build_ext.py", line 447, in build_extensions
    self._build_extensions_parallel()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/distutils/command/build_ext.py", line 469, in _build_extensions_parallel
    fut.result()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/concurrent/futures/_base.py", line 440, in result
    return self.__get_result()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/concurrent/futures/_base.py", line 389, in __get_result
    raise self._exception
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/concurrent/futures/thread.py", line 52, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/distutils/command/build_ext.py", line 529, in build_extension
    objects = self.compiler.compile(sources,
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/distutils/ccompiler.py", line 574, in compile
    self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/distutils/unixccompiler.py", line 120, in _compile
    raise CompileError(msg)
distutils.errors.CompileError: command '/usr/bin/gcc' failed with exit code 1


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/distutils/tests/test_build_ext.py", line 76, in test_build_ext
    cmd.run()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/distutils/command/build_ext.py", line 340, in run
    self.build_extensions()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/distutils/command/build_ext.py", line 449, in build_extensions
    self._build_extensions_serial()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/distutils/command/build_ext.py", line 474, in _build_extensions_serial
    self.build_extension(ext)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/distutils/command/build_ext.py", line 529, in build_extension
    objects = self.compiler.compile(sources,
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/distutils/ccompiler.py", line 574, in compile
    self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/distutils/unixccompiler.py", line 120, in _compile
    raise CompileError(msg)
distutils.errors.CompileError: command '/usr/bin/gcc' failed with exit code 1


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/distutils/tests/test_install.py", line 220, in test_record_extensions
    cmd.run()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/distutils/command/install.py", line 546, in run
    self.run_command('build')
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/distutils/command/build.py", line 135, in run
    self.run_command(cmd_name)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/distutils/command/build_ext.py", line 340, in run
    self.build_extensions()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/distutils/command/build_ext.py", line 449, in build_extensions
    self._build_extensions_serial()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/distutils/command/build_ext.py", line 474, in _build_extensions_serial
    self.build_extension(ext)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/distutils/command/build_ext.py", line 529, in build_extension
    objects = self.compiler.compile(sources,
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/distutils/ccompiler.py", line 574, in compile
    self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/distutils/unixccompiler.py", line 120, in _compile
    raise CompileError(msg)
distutils.errors.CompileError: command '/usr/bin/gcc' failed with exit code 1


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/distutils/unixccompiler.py", line 117, in _compile
    self.spawn(compiler_so + cc_args + [src, '-o', obj] +
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/distutils/ccompiler.py", line 910, in spawn
    spawn(cmd, dry_run=self.dry_run)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/distutils/spawn.py", line 81, in spawn
    raise DistutilsExecError(
distutils.errors.DistutilsExecError: command '/usr/bin/gcc' failed with exit code 1
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-bot

bedevere-bot commented Jun 17, 2020

Copy link
Copy Markdown

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

Hi! The buildbot PPC64LE RHEL7 LTO + PGO 3.x has failed when building commit 2c4928d.

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/344/builds/797) and take a look at the build logs.
  4. Check if the failure is related to this commit (2c4928d) 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/344/builds/797

Failed tests:

  • test_distutils

Failed subtests:

  • test_build_ext - distutils.tests.test_build_ext.BuildExtTestCase
  • test_build_ext - distutils.tests.test_build_ext.ParallelBuildExtTestCase
  • test_record_extensions - distutils.tests.test_install.InstallTestCase

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

== Tests result: FAILURE then FAILURE ==

409 tests OK.

10 slowest tests:

  • test_peg_generator: 6 min 34 sec
  • test_concurrent_futures: 3 min 50 sec
  • test_tokenize: 3 min 33 sec
  • test_multiprocessing_spawn: 2 min 53 sec
  • test_lib2to3: 2 min 48 sec
  • test_unparse: 2 min 47 sec
  • test_multiprocessing_forkserver: 2 min
  • test_pickle: 1 min 46 sec
  • test_asyncio: 1 min 43 sec
  • test_unicodedata: 1 min 14 sec

1 test failed:
test_distutils

14 tests skipped:
test_devpoll test_gdb test_ioctl test_kqueue test_msilib
test_ossaudiodev test_startfile test_tix test_tk test_ttk_guionly
test_winconsoleio test_winreg test_winsound test_zipfile64

1 re-run test:
test_distutils

Total duration: 7 min 35 sec

Click to see traceback logs
Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto-pgo/build/Lib/distutils/tests/test_build_ext.py", line 76, in test_build_ext
    cmd.run()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto-pgo/build/Lib/distutils/command/build_ext.py", line 340, in run
    self.build_extensions()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto-pgo/build/Lib/distutils/command/build_ext.py", line 449, in build_extensions
    self._build_extensions_serial()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto-pgo/build/Lib/distutils/command/build_ext.py", line 474, in _build_extensions_serial
    self.build_extension(ext)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto-pgo/build/Lib/distutils/command/build_ext.py", line 529, in build_extension
    objects = self.compiler.compile(sources,
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto-pgo/build/Lib/distutils/ccompiler.py", line 574, in compile
    self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto-pgo/build/Lib/distutils/unixccompiler.py", line 120, in _compile
    raise CompileError(msg)
distutils.errors.CompileError: command '/usr/bin/gcc' failed with exit code 1


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto-pgo/build/Lib/distutils/tests/test_install.py", line 220, in test_record_extensions
    cmd.run()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto-pgo/build/Lib/distutils/command/install.py", line 546, in run
    self.run_command('build')
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto-pgo/build/Lib/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto-pgo/build/Lib/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto-pgo/build/Lib/distutils/command/build.py", line 135, in run
    self.run_command(cmd_name)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto-pgo/build/Lib/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto-pgo/build/Lib/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto-pgo/build/Lib/distutils/command/build_ext.py", line 340, in run
    self.build_extensions()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto-pgo/build/Lib/distutils/command/build_ext.py", line 449, in build_extensions
    self._build_extensions_serial()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto-pgo/build/Lib/distutils/command/build_ext.py", line 474, in _build_extensions_serial
    self.build_extension(ext)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto-pgo/build/Lib/distutils/command/build_ext.py", line 529, in build_extension
    objects = self.compiler.compile(sources,
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto-pgo/build/Lib/distutils/ccompiler.py", line 574, in compile
    self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto-pgo/build/Lib/distutils/unixccompiler.py", line 120, in _compile
    raise CompileError(msg)
distutils.errors.CompileError: command '/usr/bin/gcc' failed with exit code 1


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto-pgo/build/Lib/distutils/tests/test_build_ext.py", line 76, in test_build_ext
    cmd.run()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto-pgo/build/Lib/distutils/command/build_ext.py", line 340, in run
    self.build_extensions()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto-pgo/build/Lib/distutils/command/build_ext.py", line 447, in build_extensions
    self._build_extensions_parallel()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto-pgo/build/Lib/distutils/command/build_ext.py", line 469, in _build_extensions_parallel
    fut.result()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto-pgo/build/Lib/concurrent/futures/_base.py", line 440, in result
    return self.__get_result()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto-pgo/build/Lib/concurrent/futures/_base.py", line 389, in __get_result
    raise self._exception
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto-pgo/build/Lib/concurrent/futures/thread.py", line 52, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto-pgo/build/Lib/distutils/command/build_ext.py", line 529, in build_extension
    objects = self.compiler.compile(sources,
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto-pgo/build/Lib/distutils/ccompiler.py", line 574, in compile
    self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto-pgo/build/Lib/distutils/unixccompiler.py", line 120, in _compile
    raise CompileError(msg)
distutils.errors.CompileError: command '/usr/bin/gcc' failed with exit code 1


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto-pgo/build/Lib/distutils/unixccompiler.py", line 117, in _compile
    self.spawn(compiler_so + cc_args + [src, '-o', obj] +
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto-pgo/build/Lib/distutils/ccompiler.py", line 910, in spawn
    spawn(cmd, dry_run=self.dry_run)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto-pgo/build/Lib/distutils/spawn.py", line 81, in spawn
    raise DistutilsExecError(
distutils.errors.DistutilsExecError: command '/usr/bin/gcc' failed with exit code 1
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-bot

bedevere-bot commented Jun 17, 2020

Copy link
Copy Markdown

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

Hi! The buildbot aarch64 RHEL7 3.x has failed when building commit 2c4928d.

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/568/builds/724) and take a look at the build logs.
  4. Check if the failure is related to this commit (2c4928d) 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/568/builds/724

Failed tests:

  • test_distutils

Failed subtests:

  • test_build_ext - distutils.tests.test_build_ext.BuildExtTestCase
  • test_build_ext - distutils.tests.test_build_ext.ParallelBuildExtTestCase
  • test_record_extensions - distutils.tests.test_install.InstallTestCase

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

== Tests result: FAILURE then FAILURE ==

409 tests OK.

10 slowest tests:

  • test_unparse: 4 min 17 sec
  • test_concurrent_futures: 4 min 10 sec
  • test_tokenize: 3 min 30 sec
  • test_peg_generator: 3 min 18 sec
  • test_capi: 3 min 10 sec
  • test_asyncio: 2 min 43 sec
  • test_multiprocessing_spawn: 2 min 36 sec
  • test_lib2to3: 2 min 35 sec
  • test_unicodedata: 1 min 39 sec
  • test_multiprocessing_forkserver: 1 min 36 sec

1 test failed:
test_distutils

14 tests skipped:
test_devpoll test_gdb test_ioctl test_kqueue test_msilib
test_ossaudiodev test_startfile test_tix test_tk test_ttk_guionly
test_winconsoleio test_winreg test_winsound test_zipfile64

1 re-run test:
test_distutils

Total duration: 7 min 57 sec

Click to see traceback logs
Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-aarch64/build/Lib/distutils/tests/test_build_ext.py", line 76, in test_build_ext
    cmd.run()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-aarch64/build/Lib/distutils/command/build_ext.py", line 340, in run
    self.build_extensions()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-aarch64/build/Lib/distutils/command/build_ext.py", line 449, in build_extensions
    self._build_extensions_serial()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-aarch64/build/Lib/distutils/command/build_ext.py", line 474, in _build_extensions_serial
    self.build_extension(ext)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-aarch64/build/Lib/distutils/command/build_ext.py", line 529, in build_extension
    objects = self.compiler.compile(sources,
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-aarch64/build/Lib/distutils/ccompiler.py", line 574, in compile
    self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-aarch64/build/Lib/distutils/unixccompiler.py", line 120, in _compile
    raise CompileError(msg)
distutils.errors.CompileError: command '/usr/bin/gcc' failed with exit code 1


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-aarch64/build/Lib/distutils/tests/test_build_ext.py", line 76, in test_build_ext
    cmd.run()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-aarch64/build/Lib/distutils/command/build_ext.py", line 340, in run
    self.build_extensions()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-aarch64/build/Lib/distutils/command/build_ext.py", line 447, in build_extensions
    self._build_extensions_parallel()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-aarch64/build/Lib/distutils/command/build_ext.py", line 469, in _build_extensions_parallel
    fut.result()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-aarch64/build/Lib/concurrent/futures/_base.py", line 440, in result
    return self.__get_result()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-aarch64/build/Lib/concurrent/futures/_base.py", line 389, in __get_result
    raise self._exception
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-aarch64/build/Lib/concurrent/futures/thread.py", line 52, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-aarch64/build/Lib/distutils/command/build_ext.py", line 529, in build_extension
    objects = self.compiler.compile(sources,
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-aarch64/build/Lib/distutils/ccompiler.py", line 574, in compile
    self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-aarch64/build/Lib/distutils/unixccompiler.py", line 120, in _compile
    raise CompileError(msg)
distutils.errors.CompileError: command '/usr/bin/gcc' failed with exit code 1


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-aarch64/build/Lib/distutils/unixccompiler.py", line 117, in _compile
    self.spawn(compiler_so + cc_args + [src, '-o', obj] +
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-aarch64/build/Lib/distutils/ccompiler.py", line 910, in spawn
    spawn(cmd, dry_run=self.dry_run)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-aarch64/build/Lib/distutils/spawn.py", line 81, in spawn
    raise DistutilsExecError(
distutils.errors.DistutilsExecError: command '/usr/bin/gcc' failed with exit code 1


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-aarch64/build/Lib/distutils/tests/test_install.py", line 220, in test_record_extensions
    cmd.run()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-aarch64/build/Lib/distutils/command/install.py", line 546, in run
    self.run_command('build')
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-aarch64/build/Lib/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-aarch64/build/Lib/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-aarch64/build/Lib/distutils/command/build.py", line 135, in run
    self.run_command(cmd_name)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-aarch64/build/Lib/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-aarch64/build/Lib/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-aarch64/build/Lib/distutils/command/build_ext.py", line 340, in run
    self.build_extensions()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-aarch64/build/Lib/distutils/command/build_ext.py", line 449, in build_extensions
    self._build_extensions_serial()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-aarch64/build/Lib/distutils/command/build_ext.py", line 474, in _build_extensions_serial
    self.build_extension(ext)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-aarch64/build/Lib/distutils/command/build_ext.py", line 529, in build_extension
    objects = self.compiler.compile(sources,
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-aarch64/build/Lib/distutils/ccompiler.py", line 574, in compile
    self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-aarch64/build/Lib/distutils/unixccompiler.py", line 120, in _compile
    raise CompileError(msg)
distutils.errors.CompileError: command '/usr/bin/gcc' failed with exit code 1
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-bot

bedevere-bot commented Jun 17, 2020

Copy link
Copy Markdown

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

Hi! The buildbot PPC64LE RHEL7 LTO 3.x has failed when building commit 2c4928d.

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/373/builds/800) and take a look at the build logs.
  4. Check if the failure is related to this commit (2c4928d) 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/373/builds/800

Failed tests:

  • test_distutils

Failed subtests:

  • test_build_ext - distutils.tests.test_build_ext.BuildExtTestCase
  • test_build_ext - distutils.tests.test_build_ext.ParallelBuildExtTestCase
  • test_record_extensions - distutils.tests.test_install.InstallTestCase

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

== Tests result: FAILURE then FAILURE ==

410 tests OK.

10 slowest tests:

  • test_peg_generator: 4 min 23 sec
  • test_concurrent_futures: 3 min 44 sec
  • test_tokenize: 3 min 38 sec
  • test_unparse: 2 min 55 sec
  • test_multiprocessing_spawn: 2 min 21 sec
  • test_lib2to3: 2 min 6 sec
  • test_multiprocessing_forkserver: 1 min 35 sec
  • test_asyncio: 1 min 30 sec
  • test_multiprocessing_fork: 1 min 26 sec
  • test_pickle: 1 min 17 sec

1 test failed:
test_distutils

13 tests skipped:
test_devpoll test_ioctl test_kqueue test_msilib test_ossaudiodev
test_startfile test_tix test_tk test_ttk_guionly test_winconsoleio
test_winreg test_winsound test_zipfile64

1 re-run test:
test_distutils

Total duration: 8 min 2 sec

Click to see traceback logs
Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto/build/Lib/distutils/tests/test_build_ext.py", line 76, in test_build_ext
    cmd.run()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto/build/Lib/distutils/command/build_ext.py", line 340, in run
    self.build_extensions()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto/build/Lib/distutils/command/build_ext.py", line 449, in build_extensions
    self._build_extensions_serial()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto/build/Lib/distutils/command/build_ext.py", line 474, in _build_extensions_serial
    self.build_extension(ext)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto/build/Lib/distutils/command/build_ext.py", line 529, in build_extension
    objects = self.compiler.compile(sources,
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto/build/Lib/distutils/ccompiler.py", line 574, in compile
    self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto/build/Lib/distutils/unixccompiler.py", line 120, in _compile
    raise CompileError(msg)
distutils.errors.CompileError: command '/usr/bin/gcc' failed with exit code 1


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto/build/Lib/distutils/unixccompiler.py", line 117, in _compile
    self.spawn(compiler_so + cc_args + [src, '-o', obj] +
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto/build/Lib/distutils/ccompiler.py", line 910, in spawn
    spawn(cmd, dry_run=self.dry_run)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto/build/Lib/distutils/spawn.py", line 81, in spawn
    raise DistutilsExecError(
distutils.errors.DistutilsExecError: command '/usr/bin/gcc' failed with exit code 1


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto/build/Lib/distutils/tests/test_install.py", line 220, in test_record_extensions
    cmd.run()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto/build/Lib/distutils/command/install.py", line 546, in run
    self.run_command('build')
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto/build/Lib/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto/build/Lib/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto/build/Lib/distutils/command/build.py", line 135, in run
    self.run_command(cmd_name)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto/build/Lib/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto/build/Lib/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto/build/Lib/distutils/command/build_ext.py", line 340, in run
    self.build_extensions()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto/build/Lib/distutils/command/build_ext.py", line 449, in build_extensions
    self._build_extensions_serial()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto/build/Lib/distutils/command/build_ext.py", line 474, in _build_extensions_serial
    self.build_extension(ext)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto/build/Lib/distutils/command/build_ext.py", line 529, in build_extension
    objects = self.compiler.compile(sources,
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto/build/Lib/distutils/ccompiler.py", line 574, in compile
    self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto/build/Lib/distutils/unixccompiler.py", line 120, in _compile
    raise CompileError(msg)
distutils.errors.CompileError: command '/usr/bin/gcc' failed with exit code 1


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto/build/Lib/distutils/tests/test_build_ext.py", line 76, in test_build_ext
    cmd.run()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto/build/Lib/distutils/command/build_ext.py", line 340, in run
    self.build_extensions()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto/build/Lib/distutils/command/build_ext.py", line 447, in build_extensions
    self._build_extensions_parallel()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto/build/Lib/distutils/command/build_ext.py", line 469, in _build_extensions_parallel
    fut.result()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto/build/Lib/concurrent/futures/_base.py", line 440, in result
    return self.__get_result()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto/build/Lib/concurrent/futures/_base.py", line 389, in __get_result
    raise self._exception
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto/build/Lib/concurrent/futures/thread.py", line 52, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto/build/Lib/distutils/command/build_ext.py", line 529, in build_extension
    objects = self.compiler.compile(sources,
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto/build/Lib/distutils/ccompiler.py", line 574, in compile
    self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-ppc64le.lto/build/Lib/distutils/unixccompiler.py", line 120, in _compile
    raise CompileError(msg)
distutils.errors.CompileError: command '/usr/bin/gcc' failed with exit code 1
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-bot

bedevere-bot commented Jun 17, 2020

Copy link
Copy Markdown

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

Hi! The buildbot AMD64 RHEL7 LTO + PGO 3.x has failed when building commit 2c4928d.

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/196/builds/1037) and take a look at the build logs.
  4. Check if the failure is related to this commit (2c4928d) 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/196/builds/1037

Failed tests:

  • test_distutils

Failed subtests:

  • test_build_ext - distutils.tests.test_build_ext.BuildExtTestCase
  • test_build_ext - distutils.tests.test_build_ext.ParallelBuildExtTestCase
  • test_record_extensions - distutils.tests.test_install.InstallTestCase

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

== Tests result: FAILURE then FAILURE ==

409 tests OK.

10 slowest tests:

  • test_peg_generator: 3 min 55 sec
  • test_concurrent_futures: 2 min 53 sec
  • test_tokenize: 1 min 48 sec
  • test_multiprocessing_spawn: 1 min 45 sec
  • test_unparse: 1 min 34 sec
  • test_asyncio: 1 min 23 sec
  • test_lib2to3: 1 min 19 sec
  • test_multiprocessing_forkserver: 1 min 14 sec
  • test_mailbox: 1 min 14 sec
  • test_multiprocessing_fork: 59.1 sec

1 test failed:
test_distutils

14 tests skipped:
test_devpoll test_gdb test_ioctl test_kqueue test_msilib
test_ossaudiodev test_startfile test_tix test_tk test_ttk_guionly
test_winconsoleio test_winreg test_winsound test_zipfile64

1 re-run test:
test_distutils

Total duration: 6 min 9 sec

Click to see traceback logs
Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/distutils/unixccompiler.py", line 117, in _compile
    self.spawn(compiler_so + cc_args + [src, '-o', obj] +
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/distutils/ccompiler.py", line 910, in spawn
    spawn(cmd, dry_run=self.dry_run)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/distutils/spawn.py", line 81, in spawn
    raise DistutilsExecError(
distutils.errors.DistutilsExecError: command '/usr/bin/gcc' failed with exit code 1


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/distutils/tests/test_build_ext.py", line 76, in test_build_ext
    cmd.run()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/distutils/command/build_ext.py", line 340, in run
    self.build_extensions()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/distutils/command/build_ext.py", line 447, in build_extensions
    self._build_extensions_parallel()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/distutils/command/build_ext.py", line 469, in _build_extensions_parallel
    fut.result()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/concurrent/futures/_base.py", line 440, in result
    return self.__get_result()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/concurrent/futures/_base.py", line 389, in __get_result
    raise self._exception
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/concurrent/futures/thread.py", line 52, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/distutils/command/build_ext.py", line 529, in build_extension
    objects = self.compiler.compile(sources,
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/distutils/ccompiler.py", line 574, in compile
    self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/distutils/unixccompiler.py", line 120, in _compile
    raise CompileError(msg)
distutils.errors.CompileError: command '/usr/bin/gcc' failed with exit code 1


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/distutils/tests/test_install.py", line 220, in test_record_extensions
    cmd.run()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/distutils/command/install.py", line 546, in run
    self.run_command('build')
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/distutils/command/build.py", line 135, in run
    self.run_command(cmd_name)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/distutils/command/build_ext.py", line 340, in run
    self.build_extensions()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/distutils/command/build_ext.py", line 449, in build_extensions
    self._build_extensions_serial()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/distutils/command/build_ext.py", line 474, in _build_extensions_serial
    self.build_extension(ext)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/distutils/command/build_ext.py", line 529, in build_extension
    objects = self.compiler.compile(sources,
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/distutils/ccompiler.py", line 574, in compile
    self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/distutils/unixccompiler.py", line 120, in _compile
    raise CompileError(msg)
distutils.errors.CompileError: command '/usr/bin/gcc' failed with exit code 1


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/distutils/tests/test_build_ext.py", line 76, in test_build_ext
    cmd.run()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/distutils/command/build_ext.py", line 340, in run
    self.build_extensions()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/distutils/command/build_ext.py", line 449, in build_extensions
    self._build_extensions_serial()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/distutils/command/build_ext.py", line 474, in _build_extensions_serial
    self.build_extension(ext)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/distutils/command/build_ext.py", line 529, in build_extension
    objects = self.compiler.compile(sources,
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/distutils/ccompiler.py", line 574, in compile
    self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/distutils/unixccompiler.py", line 120, in _compile
    raise CompileError(msg)
distutils.errors.CompileError: command '/usr/bin/gcc' failed with exit code 1
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-bot

bedevere-bot commented Jun 17, 2020

Copy link
Copy Markdown

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

Hi! The buildbot AMD64 RHEL7 LTO 3.x has failed when building commit 2c4928d.

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/103/builds/1044) and take a look at the build logs.
  4. Check if the failure is related to this commit (2c4928d) 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/103/builds/1044

Failed tests:

  • test_distutils

Failed subtests:

  • test_build_ext - distutils.tests.test_build_ext.BuildExtTestCase
  • test_build_ext - distutils.tests.test_build_ext.ParallelBuildExtTestCase
  • test_record_extensions - distutils.tests.test_install.InstallTestCase

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

== Tests result: FAILURE then FAILURE ==

409 tests OK.

10 slowest tests:

  • test_peg_generator: 3 min 10 sec
  • test_concurrent_futures: 3 min 9 sec
  • test_multiprocessing_spawn: 1 min 48 sec
  • test_mailbox: 1 min 45 sec
  • test_unparse: 1 min 39 sec
  • test_tokenize: 1 min 38 sec
  • test_asyncio: 1 min 27 sec
  • test_lib2to3: 1 min 24 sec
  • test_multiprocessing_forkserver: 1 min 15 sec
  • test_io: 1 min 7 sec

1 test failed:
test_distutils

14 tests skipped:
test_devpoll test_gdb test_ioctl test_kqueue test_msilib
test_ossaudiodev test_startfile test_tix test_tk test_ttk_guionly
test_winconsoleio test_winreg test_winsound test_zipfile64

1 re-run test:
test_distutils

Total duration: 5 min 52 sec

Click to see traceback logs
Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/distutils/unixccompiler.py", line 117, in _compile
    self.spawn(compiler_so + cc_args + [src, '-o', obj] +
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/distutils/ccompiler.py", line 910, in spawn
    spawn(cmd, dry_run=self.dry_run)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/distutils/spawn.py", line 81, in spawn
    raise DistutilsExecError(
distutils.errors.DistutilsExecError: command '/usr/bin/gcc' failed with exit code 1


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/distutils/tests/test_install.py", line 220, in test_record_extensions
    cmd.run()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/distutils/command/install.py", line 546, in run
    self.run_command('build')
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/distutils/command/build.py", line 135, in run
    self.run_command(cmd_name)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/distutils/command/build_ext.py", line 340, in run
    self.build_extensions()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/distutils/command/build_ext.py", line 449, in build_extensions
    self._build_extensions_serial()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/distutils/command/build_ext.py", line 474, in _build_extensions_serial
    self.build_extension(ext)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/distutils/command/build_ext.py", line 529, in build_extension
    objects = self.compiler.compile(sources,
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/distutils/ccompiler.py", line 574, in compile
    self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/distutils/unixccompiler.py", line 120, in _compile
    raise CompileError(msg)
distutils.errors.CompileError: command '/usr/bin/gcc' failed with exit code 1


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/distutils/tests/test_build_ext.py", line 76, in test_build_ext
    cmd.run()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/distutils/command/build_ext.py", line 340, in run
    self.build_extensions()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/distutils/command/build_ext.py", line 449, in build_extensions
    self._build_extensions_serial()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/distutils/command/build_ext.py", line 474, in _build_extensions_serial
    self.build_extension(ext)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/distutils/command/build_ext.py", line 529, in build_extension
    objects = self.compiler.compile(sources,
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/distutils/ccompiler.py", line 574, in compile
    self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/distutils/unixccompiler.py", line 120, in _compile
    raise CompileError(msg)
distutils.errors.CompileError: command '/usr/bin/gcc' failed with exit code 1


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/distutils/tests/test_build_ext.py", line 76, in test_build_ext
    cmd.run()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/distutils/command/build_ext.py", line 340, in run
    self.build_extensions()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/distutils/command/build_ext.py", line 447, in build_extensions
    self._build_extensions_parallel()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/distutils/command/build_ext.py", line 469, in _build_extensions_parallel
    fut.result()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/concurrent/futures/_base.py", line 440, in result
    return self.__get_result()
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/concurrent/futures/_base.py", line 389, in __get_result
    raise self._exception
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/concurrent/futures/thread.py", line 52, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/distutils/command/build_ext.py", line 529, in build_extension
    objects = self.compiler.compile(sources,
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/distutils/ccompiler.py", line 574, in compile
    self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
  File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/distutils/unixccompiler.py", line 120, in _compile
    raise CompileError(msg)
distutils.errors.CompileError: command '/usr/bin/gcc' failed with exit code 1
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

methane added a commit to methane/cpython that referenced this pull request Jun 17, 2020
@methane @aeros @vstinner
bpo-36346: Add Py_DEPRECATED to deprecated unicode APIs (pythonGH-20878)
0b448f0
Co-authored-by: Kyle Stanley <[email protected]>
Co-authored-by: Victor Stinner <[email protected]>
(cherry picked from commit 2c4928d)
methane added a commit that referenced this pull request Jun 18, 2020
@methane @aeros @vstinner
bpo-36346: Add Py_DEPRECATED to deprecated unicode APIs (GH-20878)
610a60c
Co-authored-by: Kyle Stanley <[email protected]>
Co-authored-by: Victor Stinner <[email protected]>
(cherry picked from commit 2c4928d)
@tacaswell tacaswell mentioned this pull request Jun 18, 2020
MNT: expose PyUnicode_GET_LENGTH cython/cython#3692
Merged
@methane methane mentioned this pull request Jul 6, 2020
bpo-36346: Prepare for removing the legacy Unicode C API. #12409
Closed
@tirkarthi tirkarthi mentioned this pull request Aug 11, 2020
Deprecation warnings in Python 3.10 MagicStack/httptools#54
Closed
@bedevere-bot bedevere-bot mentioned this pull request Apr 10, 2022
Prepare for removing the legacy Unicode C API #80527
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@vstinner vstinner vstinner approved these changes
+1 more reviewer
@aeros aeros aeros approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

skip news

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

7 participants

@methane @ambv @vstinner @miss-islington @bedevere-bot @aeros @the-knights-who-say-ni
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.