Closed Bug 1667565 Opened 4 years ago Closed 4 years ago

Intermittent [linux][Sym]distutils.errors.DistutilsExecError: command 'x86_64-linux-gnu-gcc' failed with exit status 1

Categories

(Firefox Build System :: General, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1664584

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure)

Filed by: btara [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=316795508&repo=try
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/CkD_XeTWSZ-HErIKc4Uw-w/runs/0/artifacts/public/logs/live_backing.log


[fetches 2020-09-26T11:34:00.866Z] finished fetching artifacts
[task 2020-09-26T11:34:00.866Z] executing ['bash', '-cx', './mach python toolkit/crashreporter/tools/upload_symbols.py https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/OMhqkkL4QcawwoYS1R7pqg/artifacts/public/build/target.crashreporter-symbols-full.tar.zst']in /builds/worker/checkouts/gecko
[task 2020-09-26T11:34:00.867Z] + ./mach python toolkit/crashreporter/tools/upload_symbols.py https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/OMhqkkL4QcawwoYS1R7pqg/artifacts/public/build/target.crashreporter-symbols-full.tar.zst
[task 2020-09-26T11:34:01.804Z] Using base prefix '/usr'
[task 2020-09-26T11:34:01.804Z] New python executable in /builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/_virtualenvs/init_py3/bin/python3
[task 2020-09-26T11:34:01.804Z] Also creating executable in /builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/_virtualenvs/init_py3/bin/python
[task 2020-09-26T11:34:01.804Z] Installing setuptools, pip, wheel...
[task 2020-09-26T11:34:03.341Z] done.
[task 2020-09-26T11:34:03.542Z] running build_ext
[task 2020-09-26T11:34:03.542Z] building 'psutil._psutil_linux' extension
[task 2020-09-26T11:34:03.542Z] creating build
[task 2020-09-26T11:34:03.542Z] creating build/temp.linux-x86_64-3.7
[task 2020-09-26T11:34:03.542Z] creating build/temp.linux-x86_64-3.7/psutil
[task 2020-09-26T11:34:03.542Z] x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=570 -DPSUTIL_LINUX=1 -DPSUTIL_ETHTOOL_MISSING_TYPES=1 -I/usr/include/python3.7m -I/builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/_virtualenvs/init_py3/include/python3.7m -c psutil/_psutil_common.c -o build/temp.linux-x86_64-3.7/psutil/_psutil_common.o
[task 2020-09-26T11:34:03.543Z] Traceback (most recent call last):
[task 2020-09-26T11:34:03.543Z] File "/usr/lib/python3.7/distutils/unixccompiler.py", line 118, in _compile
[task 2020-09-26T11:34:03.543Z] extra_postargs)
[task 2020-09-26T11:34:03.543Z] File "/usr/lib/python3.7/distutils/ccompiler.py", line 909, in spawn
[task 2020-09-26T11:34:03.543Z] spawn(cmd, dry_run=self.dry_run)
[task 2020-09-26T11:34:03.543Z] File "/usr/lib/python3.7/distutils/spawn.py", line 36, in spawn
[task 2020-09-26T11:34:03.543Z] _spawn_posix(cmd, search_path, dry_run=dry_run)
[task 2020-09-26T11:34:03.543Z] File "/usr/lib/python3.7/distutils/spawn.py", line 159, in _spawn_posix
[task 2020-09-26T11:34:03.543Z] % (cmd, exit_status))
[task 2020-09-26T11:34:03.543Z] distutils.errors.DistutilsExecError: command 'x86_64-linux-gnu-gcc' failed with exit status 1
[task 2020-09-26T11:34:03.543Z]
[task 2020-09-26T11:34:03.543Z] During handling of the above exception, another exception occurred:
[task 2020-09-26T11:34:03.543Z]
[task 2020-09-26T11:34:03.543Z] Traceback (most recent call last):
[task 2020-09-26T11:34:03.543Z] File "/usr/lib/python3.7/distutils/core.py", line 148, in setup
[task 2020-09-26T11:34:03.543Z] dist.run_commands()
[task 2020-09-26T11:34:03.543Z] File "/usr/lib/python3.7/distutils/dist.py", line 966, in run_commands
[task 2020-09-26T11:34:03.543Z] self.run_command(cmd)
[task 2020-09-26T11:34:03.543Z] File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
[task 2020-09-26T11:34:03.543Z] cmd_obj.run()
[task 2020-09-26T11:34:03.543Z] File "/builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/_virtualenvs/init_py3/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 84, in run
[task 2020-09-26T11:34:03.543Z] _build_ext.run(self)
[task 2020-09-26T11:34:03.543Z] File "/usr/lib/python3.7/distutils/command/build_ext.py", line 340, in run
[task 2020-09-26T11:34:03.543Z] self.build_extensions()
[task 2020-09-26T11:34:03.543Z] File "/usr/lib/python3.7/distutils/command/build_ext.py", line 449, in build_extensions
[task 2020-09-26T11:34:03.543Z] self._build_extensions_serial()
[task 2020-09-26T11:34:03.543Z] File "/usr/lib/python3.7/distutils/command/build_ext.py", line 474, in _build_extensions_serial
[task 2020-09-26T11:34:03.543Z] self.build_extension(ext)
[task 2020-09-26T11:34:03.543Z] File "/builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/_virtualenvs/init_py3/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 205, in build_extension
[task 2020-09-26T11:34:03.543Z] _build_ext.build_extension(self, ext)
[task 2020-09-26T11:34:03.543Z] File "/usr/lib/python3.7/distutils/command/build_ext.py", line 534, in build_extension
[task 2020-09-26T11:34:03.543Z] depends=ext.depends)
[task 2020-09-26T11:34:03.543Z] File "/usr/lib/python3.7/distutils/ccompiler.py", line 574, in compile
[task 2020-09-26T11:34:03.543Z] self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
[task 2020-09-26T11:34:03.543Z] File "/usr/lib/python3.7/distutils/unixccompiler.py", line 120, in _compile
[task 2020-09-26T11:34:03.543Z] raise CompileError(msg)
[task 2020-09-26T11:34:03.543Z] distutils.errors.CompileError: command 'x86_64-linux-gnu-gcc' failed with exit status 1
[task 2020-09-26T11:34:03.543Z]
[task 2020-09-26T11:34:03.543Z] During handling of the above exception, another exception occurred:
[task 2020-09-26T11:34:03.543Z]
[task 2020-09-26T11:34:03.543Z] Traceback (most recent call last):
[task 2020-09-26T11:34:03.543Z] File "/builds/worker/checkouts/gecko/third_party/python/psutil/setup.py", line 393, in main
[task 2020-09-26T11:34:03.543Z] setup(**kwargs)
[task 2020-09-26T11:34:03.543Z] File "/builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/_virtualenvs/init_py3/lib/python3.7/site-packages/setuptools/init.py", line 145, in setup
[task 2020-09-26T11:34:03.543Z] return distutils.core.setup(**attrs)
[task 2020-09-26T11:34:03.543Z] File "/usr/lib/python3.7/distutils/core.py", line 163, in setup
[task 2020-09-26T11:34:03.543Z] raise SystemExit("error: " + str(msg))
[task 2020-09-26T11:34:03.543Z] SystemExit: error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
[task 2020-09-26T11:34:03.543Z]
[task 2020-09-26T11:34:03.543Z] During handling of the above exception, another exception occurred:
[task 2020-09-26T11:34:03.543Z]
[task 2020-09-26T11:34:03.543Z] Traceback (most recent call last):
[task 2020-09-26T11:34:03.543Z] File "/builds/worker/checkouts/gecko/third_party/python/psutil/setup.py", line 426, in <module>
[task 2020-09-26T11:34:03.543Z] main()
[task 2020-09-26T11:34:03.543Z] File "/builds/worker/checkouts/gecko/third_party/python/psutil/setup.py", line 400, in main
[task 2020-09-26T11:34:03.543Z] missdeps("sudo apt-get install gcc python%s-dev" % py3)
[task 2020-09-26T11:34:03.543Z] File "/builds/worker/checkouts/gecko/third_party/python/psutil/setup.py", line 116, in missdeps
[task 2020-09-26T11:34:03.543Z] s = hilite("C compiler or Python headers are not installed ", ok=False)
[task 2020-09-26T11:34:03.543Z] TypeError: hilite() got an unexpected keyword argument 'ok'
[task 2020-09-26T11:34:03.543Z]
[task 2020-09-26T11:34:03.543Z] Error processing command. Ignoring because optional. (optional:setup.py:third_party/python/psutil:build_ext:--inplace)
[task 2020-09-26T11:34:03.543Z] Error processing command. Ignoring because optional. (optional:packages.txt:comm/build/virtualenv_packages.txt)
[task 2020-09-26T11:34:04.362Z] Collecting zstandard<=0.13.0,>=0.9.0
[task 2020-09-26T11:34:04.379Z] Downloading https://files.pythonhosted.org/packages/0a/16/b2329e714a1f216ba01742caf6853f520b3f1afc5fbcc8518f071989607a/zstandard-0.13.0-cp37-cp37m-manylinux2014_x86_64.whl (3.5MB)
[task 2020-09-26T11:34:04.664Z] Collecting cffi>=1.11
[task 2020-09-26T11:34:04.668Z] Downloading https://files.pythonhosted.org/packages/26/d7/1c485a42d59d45f14f27bb93769e56142518c85ddf379dbdad7e42d0ffcd/cffi-1.14.3-cp37-cp37m-manylinux1_x86_64.whl (401kB)
[task 2020-09-26T11:34:04.705Z] Collecting pycparser
[task 2020-09-26T11:34:04.708Z] Downloading https://files.pythonhosted.org/packages/ae/e7/d9c3a176ca4b02024debf82342dab36efadfc5776f9c8db077e8f6e71821/pycparser-2.20-py2.py3-none-any.whl (112kB)
[task 2020-09-26T11:34:04.742Z] Installing collected packages: pycparser, cffi, zstandard
[task 2020-09-26T11:34:04.901Z] Successfully installed cffi-1.14.3 pycparser-2.20 zstandard-0.13.0
[task 2020-09-26T11:34:04.944Z] INFO:upload-symbols:Preparing symbol archive "/tmp/tmpjm9g3p85/symbols.zip" from "https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/OMhqkkL4QcawwoYS1R7pqg/artifacts/public/build/target.crashreporter-symbols-full.tar.zst"
[task 2020-09-26T11:34:05.301Z] INFO:upload-symbols:BadCertAndPinningServer/1DF8DFACA35C85A9E22D4CE51A59C8370/BadCertAndPinningServer.dbg
...

See Also: → 1667582
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.