Closed Bug 1581736 Opened 5 years ago Closed 5 years ago

Intermittent Tier 2 Linux mch OSError: [Errno 17] File exists testing/mozbase/moztest/moztest/selftest/fixtures.py:66: OSError

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1503063

People

(Reporter: bogdan_tara, Unassigned)

Details

https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=266988353&repo=mozilla-central&lineNumber=446

https://taskcluster-artifacts.net/GyU_OXMnRDCR_JUnFR2F_A/0/public/logs/live_backing.log

[task 2019-09-17T06:20:37.673Z] 0:26.30 harness_root = '/builds/worker/fetches/tests/mochitest'
[task 2019-09-17T06:20:37.673Z] 0:26.30 test_root = '/builds/worker/fetches/tests/mochitest/tests/selftests'
[task 2019-09-17T06:20:37.673Z] 0:26.30
[task 2019-09-17T06:20:37.673Z] 0:26.30 def inner(files_dir, *args, **kwargs):
[task 2019-09-17T06:20:37.674Z] 0:26.30 harness_root = _get_test_harness(*args, **kwargs)
[task 2019-09-17T06:20:37.674Z] 0:26.30 if harness_root:
[task 2019-09-17T06:20:37.674Z] 0:26.30 sys.path.insert(0, harness_root)
[task 2019-09-17T06:20:37.674Z] 0:26.30
[task 2019-09-17T06:20:37.675Z] 0:26.30 # Link the test files to the test package so updates are automatically
[task 2019-09-17T06:20:37.675Z] 0:26.30 # picked up. Fallback to copy on Windows.
[task 2019-09-17T06:20:37.675Z] 0:26.30 if files_dir:
[task 2019-09-17T06:20:37.676Z] 0:26.30 test_root = os.path.join(harness_root, 'tests', 'selftests')
[task 2019-09-17T06:20:37.676Z] 0:26.30 if not os.path.exists(test_root):
[task 2019-09-17T06:20:37.676Z] 0:26.30 if os.path.lexists(test_root):
[task 2019-09-17T06:20:37.676Z] 0:26.30 os.remove(test_root)
[task 2019-09-17T06:20:37.676Z] 0:26.30
[task 2019-09-17T06:20:37.677Z] 0:26.30 if hasattr(os, 'symlink'):
[task 2019-09-17T06:20:37.677Z] 0:26.30 > os.symlink(files_dir, test_root)
[task 2019-09-17T06:20:37.677Z] 0:26.30 E OSError: [Errno 17] File exists
[task 2019-09-17T06:20:37.677Z] 0:26.30
[task 2019-09-17T06:20:37.677Z] 0:26.30 testing/mozbase/moztest/moztest/selftest/fixtures.py:66: OSError
[task 2019-09-17T06:20:37.677Z] 0:26.30 ------------------------------ Captured log setup ------------------------------
[task 2019-09-17T06:20:37.677Z] 0:26.30 init.py 384 INFO checking for vcs source checkout...
[task 2019-09-17T06:20:37.677Z] 0:26.30 init.py 384 INFO hg
[task 2019-09-17T06:20:37.677Z] 0:26.30 init.py 384 INFO checking for host system type...
[task 2019-09-17T06:20:37.677Z] 0:26.30 init.py 384 DEBUG Executing: sh /builds/worker/checkouts/gecko/build/moz.configure/../autoconf/config.guess
[task 2019-09-17T06:20:37.678Z] 0:26.30 init.py 384 INFO x86_64-pc-linux-gnu
[task 2019-09-17T06:20:37.678Z] 0:26.30 init.py 384 INFO checking for target system type...
[task 2019-09-17T06:20:37.678Z] 0:26.30 init.py 384 INFO x86_64-pc-linux-gnu
[task 2019-09-17T06:20:37.678Z] 0:26.30 =========================== 1 error in 0.41 seconds ============================
[task 2019-09-17T06:20:37.678Z] 0:26.30 Setting retcode to 1 from /builds/worker/checkouts/gecko/testing/mochitest/tests/python/test_get_active_tests.py
[task 2019-09-17T06:20:38.164Z] 0:26.79 /builds/worker/checkouts/gecko/testing/mochitest/tests/python/test_build_profile.py
[task 2019-09-17T06:20:38.164Z] 0:26.79 ============================= test session starts ==============================
[task 2019-09-17T06:20:38.165Z] 0:26.79 platform linux2 -- Python 2.7.12, pytest-3.6.2, py-1.5.4, pluggy-0.6.0 -- /builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/_virtualenvs/gecko-QUm8IANb-2/bin/python
[task 2019-09-17T06:20:38.165Z] 0:26.79 rootdir: /builds/worker/checkouts/gecko, inifile: /builds/worker/checkouts/gecko/config/mozunit/mozunit/pytest.ini
[task 2019-09-17T06:20:38.165Z] 0:26.79 collecting ... collected 1 item
[task 2019-09-17T06:20:38.165Z] 0:26.79
[task 2019-09-17T06:20:38.165Z] 0:26.79 testing/mochitest/tests/python/test_build_profile.py::test_common_prefs_are_all_set PASSED
[task 2019-09-17T06:20:38.165Z] 0:26.79
[task 2019-09-17T06:20:38.165Z] 0:26.79 =========================== 1 passed in 0.92 seconds ===========================
[task 2019-09-17T06:20:57.046Z] 0:45.67 /builds/worker/checkouts/gecko/testing/mochitest/tests/python/test_basic_mochitest_plain.py
[task 2019-09-17T06:20:57.046Z] 0:45.67 ============================= test session starts ==============================
[task 2019-09-17T06:20:57.046Z] 0:45.67 platform linux2 -- Python 2.7.12, pytest-3.6.2, py-1.5.4, pluggy-0.6.0 -- /builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/_virtualenvs/gecko-QUm8IANb-2/bin/python
[task 2019-09-17T06:20:57.046Z] 0:45.68 rootdir: /builds/worker/checkouts/gecko, inifile: /builds/worker/checkouts/gecko/config/mozunit/mozunit/pytest.ini
[task 2019-09-17T06:20:57.046Z] 0:45.68 collecting ... collected 6 items
[task 2019-09-17T06:20:57.046Z] 0:45.68
[task 2019-09-17T06:20:57.046Z] 0:45.68 testing/mochitest/tests/python/test_basic_mochitest_plain.py::test_output_pass PASSED
[task 2019-09-17T06:20:57.046Z] 0:45.68 testing/mochitest/tests/python/test_basic_mochitest_plain.py::test_output_fail PASSED
[task 2019-09-17T06:20:57.046Z] 0:45.68 testing/mochitest/tests/python/test_basic_mochitest_plain.py::test_output_crash PASSED
[task 2019-09-17T06:20:57.047Z] 0:45.68 testing/mochitest/tests/python/test_basic_mochitest_plain.py::test_output_asan SKIPPED
[task 2019-09-17T06:20:57.047Z] 0:45.68 testing/mochitest/tests/python/test_basic_mochitest_plain.py::test_output_assertion SKIPPED
[task 2019-09-17T06:20:57.047Z] 0:45.68 testing/mochitest/tests/python/test_basic_mochitest_plain.py::test_output_leak SKIPPED
[task 2019-09-17T06:20:57.047Z] 0:45.68
[task 2019-09-17T06:20:57.047Z] 0:45.68 ===================== 3 passed, 3 skipped in 18.22 seconds =====================
[task 2019-09-17T06:20:57.047Z] 0:45.68 Return code from mach python-test: 1
[fetches 2019-09-17T06:20:57.191Z] removing /builds/worker/fetches
[fetches 2019-09-17T06:21:00.354Z] finished
[taskcluster 2019-09-17 06:21:01.091Z] === Task Finished ===
[taskcluster 2019-09-17 06:21:01.092Z] Unsuccessful task run with exit code: 1 completed in 324.331 seconds

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