Closed Bug 1632838 Opened 5 years ago Closed 5 years ago

Intermittent OSError: [Errno 40] Too many levels of symbolic links | Failed to create virtualenv: /builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/_virtualenvs/init (virtualenv.py retcode: 1)

Categories

(Firefox Build System :: Task Configuration, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

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


[task 2020-04-24T12:54:59.992Z] Running: /builds/worker/checkouts/gecko/mach python /builds/worker/workspace/mozharness/scripts/web_platform_tests.py  --config-file /builds/worker/workspace/mozharness/configs/web_platform_tests/prod_config.py --config-file /builds/worker/workspace/mozharness/configs/remove_executables.py  --test-type=testharness --skip-implementation-status=backlog --skip-implementation-status=not-implementing --setpref=media.peerconnection.mtransport_process=false --setpref=network.process.enabled=false --allow-software-gl-layers --total-chunk=10 --this-chunk=1 --download-symbols=ondemand 
[task 2020-04-24T12:55:00.519Z] New python executable in /builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/_virtualenvs/init/bin/python2.7
[task 2020-04-24T12:55:00.519Z] Not overwriting existing python script /builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/_virtualenvs/init/bin/python (you must use /builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/_virtualenvs/init/bin/python2.7)
[task 2020-04-24T12:55:00.519Z] Traceback (most recent call last):
[task 2020-04-24T12:55:00.519Z]   File "/builds/worker/checkouts/gecko/third_party/python/virtualenv/virtualenv.py", line 2634, in <module>
[task 2020-04-24T12:55:00.519Z]     main()
[task 2020-04-24T12:55:00.519Z]   File "/builds/worker/checkouts/gecko/third_party/python/virtualenv/virtualenv.py", line 870, in main
[task 2020-04-24T12:55:00.519Z]     symlink=options.symlink,
[task 2020-04-24T12:55:00.519Z]   File "/builds/worker/checkouts/gecko/third_party/python/virtualenv/virtualenv.py", line 1162, in create_environment
[task 2020-04-24T12:55:00.519Z]     install_python(home_dir, lib_dir, inc_dir, bin_dir, site_packages=site_packages, clear=clear, symlink=symlink)
[task 2020-04-24T12:55:00.519Z]   File "/builds/worker/checkouts/gecko/third_party/python/virtualenv/virtualenv.py", line 1691, in install_python
[task 2020-04-24T12:55:00.520Z]     raise e
[task 2020-04-24T12:55:00.520Z] OSError: [Errno 40] Too many levels of symbolic links
[task 2020-04-24T12:55:00.525Z] Error running mach:
[task 2020-04-24T12:55:00.525Z] 
[task 2020-04-24T12:55:00.525Z]     ['python', '/builds/worker/workspace/mozharness/scripts/web_platform_tests.py', '--config-file', '/builds/worker/workspace/mozharness/configs/web_platform_tests/prod_config.py', '--config-file', '/builds/worker/workspace/mozharness/configs/remove_executables.py', '--test-type=testharness', '--skip-implementation-status=backlog', '--skip-implementation-status=not-implementing', '--setpref=media.peerconnection.mtransport_process=false', '--setpref=network.process.enabled=false', '--allow-software-gl-layers', '--total-chunk=10', '--this-chunk=1', '--download-symbols=ondemand']
[task 2020-04-24T12:55:00.525Z] 
[task 2020-04-24T12:55:00.525Z] The error occurred in code that was called by the mach command. This is either
[task 2020-04-24T12:55:00.525Z] a bug in the called code itself or in the way that mach is calling it.
[task 2020-04-24T12:55:00.525Z] You can invoke |./mach busted| to check if this issue is already on file. If it
[task 2020-04-24T12:55:00.525Z] isn't, please use |./mach busted file| to report it. If |./mach busted| is
[task 2020-04-24T12:55:00.525Z] misbehaving, you can also inspect the dependencies of bug 1543241.
[task 2020-04-24T12:55:00.526Z] 
[task 2020-04-24T12:55:00.526Z] If filing a bug, please include the full output of mach, including this error
[task 2020-04-24T12:55:00.526Z] message.
[task 2020-04-24T12:55:00.526Z] 
[task 2020-04-24T12:55:00.526Z] The details of the failure are as follows:
[task 2020-04-24T12:55:00.526Z] 
[task 2020-04-24T12:55:00.526Z] Exception: Failed to create virtualenv: /builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/_virtualenvs/init (virtualenv.py retcode: 1)
[task 2020-04-24T12:55:00.526Z] 
[task 2020-04-24T12:55:00.526Z]   File "/builds/worker/checkouts/gecko/python/mach_commands.py", line 66, in python
[task 2020-04-24T12:55:00.526Z]     self._activate_virtualenv()
[task 2020-04-24T12:55:00.526Z]   File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/base.py", line 829, in _activate_virtualenv
[task 2020-04-24T12:55:00.526Z]     self.virtualenv_manager.ensure()
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.