Closed Bug 1884437 Opened 1 year ago Closed 11 months ago

Intermittent try [taskcluster:error] exit status 1 | FileExistsError: [WinError 183] Cannot create a file when that file already exists | DeprecationWarning: pkg_resources is deprecated as an API

Categories

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

defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure)

Filed by: csabou [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=450104759&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/JSNNlGKtQ2qUkJDpummsgg/runs/0/artifacts/public/logs/live_backing.log


[task 2024-03-08T19:07:34.322Z] XFAIL tools/tryselect/test/test_presets.py::test_shared_presets[webrender-perf]
[task 2024-03-08T19:07:34.322Z]   Bug 1635204: test_shared_presets[sample-suites] is flaky
[task 2024-03-08T19:07:34.322Z] ======================= 28 xfailed, 1 warning in 57.86s =======================
[task 2024-03-08T19:07:34.322Z] 
[task 2024-03-08T19:07:34.322Z] 
[task 2024-03-08T19:07:34.322Z] Tests Completed: 100%|##########| 13/13 [03:48<00:00, 44.35s/Test]
[task 2024-03-08T19:07:34.322Z]                                                                   
[task 2024-03-08T19:07:34.322Z] Z:\task_170992225789651\build\src\tools\tryselect\test\test_scriptworker.py
[task 2024-03-08T19:07:34.322Z] ============================= test session starts =============================
[task 2024-03-08T19:07:34.322Z] platform win32 -- Python 3.8.10, pytest-7.0.1, pluggy-1.4.0 -- C:\Users\task_170992225789651\.mozbuild\srcdirs\src-7497f9b11d9c\_virtualenvs\python-test\Scripts\python.exe
[task 2024-03-08T19:07:34.322Z] rootdir: z:\task_170992225789651\build\src, configfile: config\mozunit\mozunit\pytest.ini
[task 2024-03-08T19:07:34.322Z] plugins: mock-3.12.0
[task 2024-03-08T19:07:34.322Z] collecting ... collected 1 item
[task 2024-03-08T19:07:34.322Z] 
[task 2024-03-08T19:07:34.322Z] tools/tryselect/test/test_scriptworker.py::test_release ERROR
[task 2024-03-08T19:07:34.323Z] 
[task 2024-03-08T19:07:34.323Z] =================================== ERRORS ====================================
[task 2024-03-08T19:07:34.323Z] _______________________ ERROR at setup of test_release ________________________
[task 2024-03-08T19:07:34.323Z] tools\tryselect\test\conftest.py:66: in run_mach
[task 2024-03-08T19:07:34.323Z]     mach = mach_initialize.initialize(build.topsrcdir)
[task 2024-03-08T19:07:34.323Z] build\mach_initialize.py:338: in initialize
[task 2024-03-08T19:07:34.323Z]     command_site_manager.activate()
[task 2024-03-08T19:07:34.323Z] python\mach\mach\site.py:602: in activate
[task 2024-03-08T19:07:34.323Z]     self.ensure()
[task 2024-03-08T19:07:34.323Z] python\mach\mach\site.py:574: in ensure
[task 2024-03-08T19:07:34.323Z]     _create_venv_with_pthfile(
[task 2024-03-08T19:07:34.323Z] python\mach\mach\site.py:1276: in _create_venv_with_pthfile
[task 2024-03-08T19:07:34.323Z]     os.makedirs(virtualenv_root)
[task 2024-03-08T19:07:34.323Z] ..\..\fetches\python\lib\os.py:223: in makedirs
[task 2024-03-08T19:07:34.323Z]     mkdir(name, mode)
[task 2024-03-08T19:07:34.323Z] E   FileExistsError: [WinError 183] Cannot create a file when that file already exists: 'C:\\Users\\task_170992225789651\\.mozbuild\\srcdirs\\src-7497f9b11d9c\\_virtualenvs\\common'
[task 2024-03-08T19:07:34.323Z] ============================== warnings summary ===============================
[task 2024-03-08T19:07:34.323Z] tools/tryselect/test/test_scriptworker.py::test_release
[task 2024-03-08T19:07:34.323Z]   z:\task_170992225789651\build\src\python\mach\mach\site.py:227: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
[task 2024-03-08T19:07:34.323Z]     import pkg_resources
[task 2024-03-08T19:07:34.323Z] 
[task 2024-03-08T19:07:34.323Z] -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
[task 2024-03-08T19:07:34.323Z] ========================= 1 warning, 1 error in 0.58s =========================
[task 2024-03-08T19:07:34.323Z] 
[task 2024-03-08T19:07:34.323Z] 
[task 2024-03-08T19:07:34.324Z] Tests Completed: 100%|##########| 13/13 [03:48<00:00, 17.61s/Test]Return code from mach python-test: 1
[task 2024-03-08T19:07:34.378Z] 
[taskcluster 2024-03-08T19:07:34.451Z]    Exit Code: 1
[taskcluster 2024-03-08T19:07:34.451Z]    User Time: 15.625ms
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 1 year ago11 months ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.