Closed Bug 1713201 Opened 3 years ago Closed 3 years ago

Intermittent 5:23.21 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::LinuxToolchainTest::test_absolute_path TEST-UNEXPECTED-FAIL

Categories

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

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: intermittent-bug-filer, Assigned: mhentges)

References

Details

(Keywords: intermittent-failure, Whiteboard: [retriggered][stockwell disable-recommended])

Attachments

(1 file)

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


[task 2021-05-27T17:17:41.031Z]  5:23.21 Z:\task_1622133900\build\src\python\mozbuild\mozbuild\test\configure\test_toolchain_configure.py
[task 2021-05-27T17:17:41.031Z]  5:23.21 ============================= test session starts =============================
[task 2021-05-27T17:17:41.031Z]  5:23.21 platform win32 -- Python 3.6.5, pytest-3.6.2, py-1.10.0, pluggy-0.6.0 -- Z:\task_1622133900\build\src\obj-x86_64-pc-mingw32\_virtualenvs\python-test\Scripts\python.exe
[task 2021-05-27T17:17:41.032Z]  5:23.21 rootdir: Z:\task_1622133900\build\src, inifile: Z:\task_1622133900\build\src\config\mozunit\mozunit\pytest.ini
[task 2021-05-27T17:17:41.032Z]  5:23.21 collecting ... collected 54 items
[task 2021-05-27T17:17:41.032Z]  5:23.21 
[task 2021-05-27T17:17:41.032Z]  5:23.21 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::LinuxToolchainTest::test_absolute_path TEST-UNEXPECTED-FAIL
[task 2021-05-27T17:17:41.032Z]  5:23.21 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::LinuxToolchainTest::test_atypical_name PASSED
[task 2021-05-27T17:17:41.032Z]  5:23.21 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::LinuxToolchainTest::test_clang PASSED
[task 2021-05-27T17:17:41.032Z]  5:23.21 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::LinuxToolchainTest::test_default PASSED
[task 2021-05-27T17:17:41.032Z]  5:23.21 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::LinuxToolchainTest::test_gcc PASSED
[task 2021-05-27T17:17:41.032Z]  5:23.21 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::LinuxToolchainTest::test_guess_cxx PASSED
[task 2021-05-27T17:17:41.032Z]  5:23.21 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::LinuxToolchainTest::test_guess_cxx_clang PASSED
[task 2021-05-27T17:17:41.032Z]  5:23.21 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::LinuxToolchainTest::test_mismatched_compiler PASSED
[task 2021-05-27T17:17:41.032Z]  5:23.21 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::LinuxToolchainTest::test_mismatched_gcc PASSED
[task 2021-05-27T17:17:41.032Z]  5:23.21 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::LinuxToolchainTest::test_mixed_compilers PASSED
[task 2021-05-27T17:17:41.032Z]  5:23.21 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::LinuxToolchainTest::test_no_supported_compiler PASSED
[task 2021-05-27T17:17:41.032Z]  5:23.21 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::LinuxToolchainTest::test_overridden_gcc PASSED
[task 2021-05-27T17:17:41.033Z]  5:23.21 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::LinuxToolchainTest::test_unsupported_clang PASSED
[task 2021-05-27T17:17:41.033Z]  5:23.21 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::LinuxToolchainTest::test_unsupported_gcc PASSED
[task 2021-05-27T17:17:41.033Z]  5:23.21 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::LinuxSimpleCrossToolchainTest::test_cross_clang PASSED
[task 2021-05-27T17:17:41.033Z]  5:23.21 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::LinuxSimpleCrossToolchainTest::test_cross_gcc PASSED
[task 2021-05-27T17:17:41.033Z]  5:23.21 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::LinuxX86_64CrossToolchainTest::test_cross_clang PASSED
[task 2021-05-27T17:17:41.033Z]  5:23.21 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::LinuxX86_64CrossToolchainTest::test_cross_gcc PASSED
[task 2021-05-27T17:17:41.033Z]  5:23.21 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::OSXToolchainTest::test_clang PASSED
[task 2021-05-27T17:17:41.033Z]  5:23.21 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::OSXToolchainTest::test_forced_gcc PASSED
[task 2021-05-27T17:17:41.033Z]  5:23.21 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::OSXToolchainTest::test_forced_unsupported_gcc PASSED
[task 2021-05-27T17:17:41.033Z]  5:23.21 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::OSXToolchainTest::test_not_gcc PASSED
[task 2021-05-27T17:17:41.033Z]  5:23.21 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::OSXToolchainTest::test_unsupported_clang PASSED
[task 2021-05-27T17:17:41.033Z]  5:23.21 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::WindowsToolchainTest::test_clang PASSED
[task 2021-05-27T17:17:41.033Z]  5:23.21 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::WindowsToolchainTest::test_clang_cl PASSED
[task 2021-05-27T17:17:41.033Z]  5:23.21 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::WindowsToolchainTest::test_gcc PASSED
[task 2021-05-27T17:17:41.033Z]  5:23.21 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::WindowsToolchainTest::test_overridden_supported_elsewhere_gcc PASSED
[task 2021-05-27T17:17:41.033Z]  5:23.21 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::WindowsToolchainTest::test_overridden_unsupported_clang PASSED
[task 2021-05-27T17:17:41.033Z]  5:23.21 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::WindowsToolchainTest::test_overridden_unsupported_gcc PASSED
[task 2021-05-27T17:17:41.033Z]  5:23.21 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::WindowsToolchainTest::test_unsupported_clang_cl PASSED
[task 2021-05-27T17:17:41.033Z]  5:23.21 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::WindowsToolchainTest::test_unsupported_msvc PASSED
[task 2021-05-27T17:17:41.033Z]  5:23.21 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::Windows64ToolchainTest::test_clang PASSED
[task 2021-05-27T17:17:41.033Z]  5:23.21 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::Windows64ToolchainTest::test_clang_cl PASSED
[task 2021-05-27T17:17:41.033Z]  5:23.21 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::Windows64ToolchainTest::test_gcc PASSED
[task 2021-05-27T17:17:41.034Z]  5:23.21 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::Windows64ToolchainTest::test_overridden_supported_elsewhere_gcc PASSED
[task 2021-05-27T17:17:41.034Z]  5:23.21 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::Windows64ToolchainTest::test_overridden_unsupported_clang PASSED
[task 2021-05-27T17:17:41.034Z]  5:23.21 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::Windows64ToolchainTest::test_overridden_unsupported_gcc PASSED
[task 2021-05-27T17:17:41.034Z]  5:23.21 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::Windows64ToolchainTest::test_unsupported_clang_cl PASSED
[task 2021-05-27T17:17:41.034Z]  5:23.21 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::Windows64ToolchainTest::test_unsupported_msvc PASSED
[task 2021-05-27T17:17:41.034Z]  5:23.21 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::LinuxCrossCompileToolchainTest::test_cannot_cross PASSED
[task 2021-05-27T17:17:41.034Z]  5:23.21 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::LinuxCrossCompileToolchainTest::test_cross_atypical_clang PASSED
[task 2021-05-27T17:17:41.034Z]  5:23.21 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::LinuxCrossCompileToolchainTest::test_cross_clang PASSED
[task 2021-05-27T17:17:41.034Z]  5:23.21 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::LinuxCrossCompileToolchainTest::test_cross_gcc_misc PASSED
[task 2021-05-27T17:17:41.034Z]  5:23.21 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::LinuxCrossCompileToolchainTest::test_cross_ppc_ppc64 PASSED
[task 2021-05-27T17:17:41.034Z]  5:23.21 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::LinuxCrossCompileToolchainTest::test_cross_sparc_sparc64 PASSED
[task 2021-05-27T17:17:41.034Z]  5:23.21 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::LinuxCrossCompileToolchainTest::test_cross_x86_x64 PASSED
[task 2021-05-27T17:17:41.034Z]  5:23.21 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::LinuxCrossCompileToolchainTest::test_guess_cross_cxx PASSED
[task 2021-05-27T17:17:41.034Z]  5:23.21 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::LinuxCrossCompileToolchainTest::test_overridden_cross_gcc PASSED
[task 2021-05-27T17:17:41.034Z]  5:23.21 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::LinuxCrossCompileToolchainTest::test_overridden_unsupported_cross_gcc PASSED
[task 2021-05-27T17:17:41.034Z]  5:23.21 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::OSXCrossToolchainTest::test_cannot_osx_cross PASSED
[task 2021-05-27T17:17:41.034Z]  5:23.21 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::OSXCrossToolchainTest::test_osx_cross PASSED
[task 2021-05-27T17:17:41.034Z]  5:23.21 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::WindowsCrossToolchainTest::test_clang_cl_cross PASSED
[task 2021-05-27T17:17:41.034Z]  5:23.21 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::OpenBSDToolchainTest::test_gcc PASSED
[task 2021-05-27T17:17:41.034Z]  5:23.21 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::RustTest::test_rust_target PASSED
[task 2021-05-27T17:17:41.034Z]  5:23.21 
[task 2021-05-27T17:17:41.034Z]  5:23.21 ================================== FAILURES ===================================
[task 2021-05-27T17:17:41.035Z]  5:23.21 ____________________ LinuxToolchainTest.test_absolute_path ____________________
[task 2021-05-27T17:17:41.035Z]  5:23.21 
[task 2021-05-27T17:17:41.035Z]  5:23.21 self = <test_toolchain_configure.LinuxToolchainTest testMethod=test_absolute_path>
[task 2021-05-27T17:17:41.035Z]  5:23.21 
[task 2021-05-27T17:17:41.035Z]  5:23.21     def test_absolute_path(self):
[task 2021-05-27T17:17:41.035Z]  5:23.21         paths = dict(self.PATHS)
[task 2021-05-27T17:17:41.035Z]  5:23.21         paths.update(
[task 2021-05-27T17:17:41.035Z]  5:23.21             {
[task 2021-05-27T17:17:41.035Z]  5:23.21                 "/opt/clang/bin/clang": paths["/usr/bin/clang"],
[task 2021-05-27T17:17:41.035Z]  5:23.21                 "/opt/clang/bin/clang++": paths["/usr/bin/clang++"],
[task 2021-05-27T17:17:41.035Z]  5:23.21             }
[task 2021-05-27T17:17:41.035Z]  5:23.21         )
[task 2021-05-27T17:17:41.035Z]  5:23.21         result = {
[task 2021-05-27T17:17:41.035Z]  5:23.21             "c_compiler": self.DEFAULT_CLANG_RESULT
[task 2021-05-27T17:17:41.035Z]  5:23.21             + {
[task 2021-05-27T17:17:41.035Z]  5:23.21                 "compiler": "/opt/clang/bin/clang",
[task 2021-05-27T17:17:41.035Z]  5:23.21             },
[task 2021-05-27T17:17:41.035Z]  5:23.21             "cxx_compiler": self.DEFAULT_CLANGXX_RESULT
[task 2021-05-27T17:17:41.035Z]  5:23.21             + {
[task 2021-05-27T17:17:41.035Z]  5:23.21                 "compiler": "/opt/clang/bin/clang++",
[task 2021-05-27T17:17:41.035Z]  5:23.21             },
[task 2021-05-27T17:17:41.035Z]  5:23.21         }
[task 2021-05-27T17:17:41.036Z]  5:23.21         self.do_toolchain_test(
[task 2021-05-27T17:17:41.036Z]  5:23.21             paths,
[task 2021-05-27T17:17:41.036Z]  5:23.21             result,
[task 2021-05-27T17:17:41.036Z]  5:23.21             environ={
[task 2021-05-27T17:17:41.036Z]  5:23.21                 "CC": "/opt/clang/bin/clang",
[task 2021-05-27T17:17:41.036Z]  5:23.21 >               "CXX": "/opt/clang/bin/clang++",
[task 2021-05-27T17:17:41.036Z]  5:23.21             },
[task 2021-05-27T17:17:41.036Z]  5:23.21         )
[task 2021-05-27T17:17:41.036Z]  5:23.21 
[task 2021-05-27T17:17:41.036Z]  5:23.21 python\mozbuild\mozbuild\test\configure\test_toolchain_configure.py:871:
[task 2021-05-27T17:17:41.036Z]  5:23.21 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[task 2021-05-27T17:17:41.036Z]  5:23.21 python\mozbuild\mozbuild\test\configure\test_toolchain_configure.py:457: in do_toolchain_test
[task 2021-05-27T17:17:41.036Z]  5:23.21     sandbox = self.get_sandbox(paths, {}, args, environ, logger=self.logger)
[task 2021-05-27T17:17:41.036Z]  5:23.21 python\mozbuild\mozbuild\test\configure\common.py:318: in get_sandbox
[task 2021-05-27T17:17:41.036Z]  5:23.21     sandbox.include_file(os.path.join(topsrcdir, "moz.configure"))
[task 2021-05-27T17:17:41.036Z]  5:23.21 python\mozbuild\mozbuild\configure\__init__.py:493: in include_file
[task 2021-05-27T17:17:41.036Z]  5:23.21     exec_(code, self)
[task 2021-05-27T17:17:41.036Z]  5:23.21 python\mozbuild\mozbuild\util.py:55: in exec_
[task 2021-05-27T17:17:41.036Z]  5:23.21     exec(object, globals, locals)
[task 2021-05-27T17:17:41.036Z]  5:23.21 moz.configure:7: in <module>
[task 2021-05-27T17:17:41.036Z]  5:23.21     include("build/moz.configure/init.configure")
[task 2021-05-27T17:17:41.036Z]  5:23.21 python\mozbuild\mozbuild\configure\__init__.py:853: in include_impl
[task 2021-05-27T17:17:41.037Z]  5:23.21     self.include_file(what)
[task 2021-05-27T17:17:41.037Z]  5:23.21 python\mozbuild\mozbuild\configure\__init__.py:493: in include_file
[task 2021-05-27T17:17:41.037Z]  5:23.21     exec_(code, self)
[task 2021-05-27T17:17:41.037Z]  5:23.21 python\mozbuild\mozbuild\util.py:55: in exec_
[task 2021-05-27T17:17:41.037Z]  5:23.21     exec(object, globals, locals)
[task 2021-05-27T17:17:41.037Z]  5:23.21 build\moz.configure\init.configure:233: in <module>
[task 2021-05-27T17:17:41.037Z]  5:23.21     @imports(_from="six", _import="ensure_text")
[task 2021-05-27T17:17:41.037Z]  5:23.21 python\mozbuild\mozbuild\configure\__init__.py:836: in decorator
[task 2021-05-27T17:17:41.037Z]  5:23.21     depends = DependsFunction(self, func, dependencies, when=when)
[task 2021-05-27T17:17:41.037Z]  5:23.21 python\mozbuild\mozbuild\configure\__init__.py:137: in __init__
[task 2021-05-27T17:17:41.037Z]  5:23.21     sandbox._value_for(self)
[task 2021-05-27T17:17:41.037Z]  5:23.21 python\mozbuild\mozbuild\configure\__init__.py:614: in _value_for
[task 2021-05-27T17:17:41.037Z]  5:23.21     return self._value_for_depends(obj)
[task 2021-05-27T17:17:41.037Z]  5:23.21 python\mozbuild\mozbuild\util.py:1049: in method_call
[task 2021-05-27T17:17:41.037Z]  5:23.21     cache[args] = self.func(instance, *args)
[task 2021-05-27T17:17:41.037Z]  5:23.21 python\mozbuild\mozbuild\configure\__init__.py:623: in _value_for_depends
[task 2021-05-27T17:17:41.037Z]  5:23.21     value = obj.result()
[task 2021-05-27T17:17:41.037Z]  5:23.21 python\mozbuild\mozbuild\util.py:1049: in method_call
[task 2021-05-27T17:17:41.037Z]  5:23.21     cache[args] = self.func(instance, *args)
[task 2021-05-27T17:17:41.037Z]  5:23.21 python\mozbuild\mozbuild\configure\__init__.py:162: in result
[task 2021-05-27T17:17:41.037Z]  5:23.21     return self._func(*resolved_args)
[task 2021-05-27T17:17:41.038Z]  5:23.21 python\mozbuild\mozbuild\configure\__init__.py:1298: in wrapped
[task 2021-05-27T17:17:41.038Z]  5:23.21     return new_func(*args, **kwargs)
[task 2021-05-27T17:17:41.038Z]  5:23.21 build\moz.configure\init.configure:338: in virtualenv_python3
[task 2021-05-27T17:17:41.038Z]  5:23.21     if not manager.up_to_date(python):
[task 2021-05-27T17:17:41.038Z]  5:23.21 python\mozbuild\mozbuild\virtualenv.py:203: in up_to_date
[task 2021-05-27T17:17:41.038Z]  5:23.21     orig_version = self.get_exe_info()

Mitchell, could this and Bug 1713353 be caused by one of your patches that landed here?

Flags: needinfo?(mhentges)
See Also: → 1713353

Very possible, I'll investigate.

Flags: needinfo?(mhentges)
Assignee: nobody → mhentges
Status: NEW → ASSIGNED

I've been pushing this week to get access to a quarantined Windows host, and I haven't had luck yet.
I'll continue the grind next week.

Whiteboard: [retriggered][stockwell needswork:owner]
Depends on: 1715057
See Also: → 1716130

On Windows, Python's temporary directories are placed in %APPDATA%.
Unfortunately, the failing tests want to assume that some "other"
path (as a subpath of a tempdir) won't be within any
filter_args() known top-level paths, which includes the user's home
dir.

The only reason that this assumption has passed in CI so far is due
to Windows case insensitivity: running locally had ~ evaluated
to c:\Users\..., while running in CI had it be c:\users\....
Since the tempdir path started with C:\Users, filter_args()
would <path omitted> in CI but would $HOME/... locally.

By not basing the other_path on tempdir, we now consistently get the
same results across platforms.

See Also: 1716130
See Also: → 1716495
Keywords: leave-open
Pushed by mhentges@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ed02a0713171 Resolve test_telemetry failing locally r=ahal

Hi Mitchell, this still occurs after the fix landed in central, can you please take a look?

https://treeherder.mozilla.org/jobs?repo=mozilla-central&revision=1fb3d75a2240e9f22bb082de76620ce4919e8efd&selectedTaskRun=PsU30AIQScCPBCL8upldrg.0&searchStr=Windows%2C10%2Cx64%2Copt%2CPython%2C3%2Cunit%2Ctests%2Csource-test-python-mozbuild-windows10-64%2Fopt-py3%2Cmbu

Failure log: https://treeherder.mozilla.org/logviewer?job_id=343145669&repo=mozilla-central&lineNumber=2229

[task 2021-06-17T22:16:37.067Z] 1:15.14 Z:\task_1623967306\build\src\python\mozbuild\mozbuild\test\configure\test_moz_configure.py
[task 2021-06-17T22:16:37.067Z] 1:15.14 ============================= test session starts =============================
[task 2021-06-17T22:16:37.067Z] 1:15.14 platform win32 -- Python 3.6.5, pytest-3.6.2, py-1.10.0, pluggy-0.6.0 -- Z:\task_1623967306\build\src\obj-x86_64-pc-mingw32_virtualenvs\python-test\Scripts\python.exe
[task 2021-06-17T22:16:37.067Z] 1:15.14 rootdir: Z:\task_1623967306\build\src, inifile: Z:\task_1623967306\build\src\config\mozunit\mozunit\pytest.ini
[task 2021-06-17T22:16:37.068Z] 1:15.14 collecting ... collected 5 items
[task 2021-06-17T22:16:37.068Z] 1:15.14
[task 2021-06-17T22:16:37.068Z] 1:15.14 python/mozbuild/mozbuild/test/configure/test_moz_configure.py::TestTargetLinux::test_target PASSED
[task 2021-06-17T22:16:37.068Z] 1:15.14 python/mozbuild/mozbuild/test/configure/test_moz_configure.py::TestTargetWindows::test_target PASSED
[task 2021-06-17T22:16:37.068Z] 1:15.14 python/mozbuild/mozbuild/test/configure/test_moz_configure.py::TestTargetAndroid::test_target PASSED
[task 2021-06-17T22:16:37.068Z] 1:15.14 python/mozbuild/mozbuild/test/configure/test_moz_configure.py::TestTargetOpenBSD::test_target PASSED
[task 2021-06-17T22:16:37.068Z] 1:15.14 python/mozbuild/mozbuild/test/configure/test_moz_configure.py::TestMozConfigure::test_nsis_version PASSED
[task 2021-06-17T22:16:37.068Z] 1:15.14
[task 2021-06-17T22:16:37.068Z] 1:15.14 ========================== 5 passed in 58.80 seconds ==========================
[task 2021-06-17T22:20:59.906Z] 5:37.98 Z:\task_1623967306\build\src\python\mozbuild\mozbuild\test\configure\test_toolchain_configure.py
[task 2021-06-17T22:20:59.906Z] 5:37.98 ============================= test session starts =============================
[task 2021-06-17T22:20:59.906Z] 5:37.98 platform win32 -- Python 3.6.5, pytest-3.6.2, py-1.10.0, pluggy-0.6.0 -- Z:\task_1623967306\build\src\obj-x86_64-pc-mingw32_virtualenvs\python-test\Scripts\python.exe
[task 2021-06-17T22:20:59.906Z] 5:37.98 rootdir: Z:\task_1623967306\build\src, inifile: Z:\task_1623967306\build\src\config\mozunit\mozunit\pytest.ini
[task 2021-06-17T22:20:59.906Z] 5:37.98 collecting ... collected 54 items
[task 2021-06-17T22:20:59.906Z] 5:37.98
[task 2021-06-17T22:20:59.906Z] 5:37.98 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::LinuxToolchainTest::test_absolute_path TEST-UNEXPECTED-FAIL
[task 2021-06-17T22:20:59.906Z] 5:37.98 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::LinuxToolchainTest::test_atypical_name PASSED
[task 2021-06-17T22:20:59.906Z] 5:37.98 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::LinuxToolchainTest::test_clang PASSED
[task 2021-06-17T22:20:59.906Z] 5:37.98 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::LinuxToolchainTest::test_default PASSED
[task 2021-06-17T22:20:59.906Z] 5:37.98 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::LinuxToolchainTest::test_gcc PASSED
[task 2021-06-17T22:20:59.906Z] 5:37.98 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::LinuxToolchainTest::test_guess_cxx PASSED
[task 2021-06-17T22:20:59.906Z] 5:37.98 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::LinuxToolchainTest::test_guess_cxx_clang PASSED
[task 2021-06-17T22:20:59.906Z] 5:37.98 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::LinuxToolchainTest::test_mismatched_compiler PASSED
[task 2021-06-17T22:20:59.907Z] 5:37.98 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::LinuxToolchainTest::test_mismatched_gcc PASSED
[task 2021-06-17T22:20:59.907Z] 5:37.98 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::LinuxToolchainTest::test_mixed_compilers PASSED
[task 2021-06-17T22:20:59.907Z] 5:37.98 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::LinuxToolchainTest::test_no_supported_compiler PASSED
[task 2021-06-17T22:20:59.907Z] 5:37.98 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::LinuxToolchainTest::test_overridden_gcc PASSED
[task 2021-06-17T22:20:59.907Z] 5:37.98 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::LinuxToolchainTest::test_unsupported_clang PASSED
[task 2021-06-17T22:20:59.907Z] 5:37.98 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::LinuxToolchainTest::test_unsupported_gcc PASSED
[task 2021-06-17T22:20:59.907Z] 5:37.98 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::LinuxSimpleCrossToolchainTest::test_cross_clang PASSED
[task 2021-06-17T22:20:59.907Z] 5:37.98 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::LinuxSimpleCrossToolchainTest::test_cross_gcc PASSED
[task 2021-06-17T22:20:59.907Z] 5:37.98 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::LinuxX86_64CrossToolchainTest::test_cross_clang PASSED
[task 2021-06-17T22:20:59.907Z] 5:37.98 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::LinuxX86_64CrossToolchainTest::test_cross_gcc PASSED
[task 2021-06-17T22:20:59.907Z] 5:37.98 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::OSXToolchainTest::test_clang PASSED
[task 2021-06-17T22:20:59.907Z] 5:37.98 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::OSXToolchainTest::test_forced_gcc PASSED
[task 2021-06-17T22:20:59.907Z] 5:37.98 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::OSXToolchainTest::test_forced_unsupported_gcc PASSED
[task 2021-06-17T22:20:59.907Z] 5:37.98 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::OSXToolchainTest::test_not_gcc PASSED
[task 2021-06-17T22:20:59.907Z] 5:37.98 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::OSXToolchainTest::test_unsupported_clang PASSED
[task 2021-06-17T22:20:59.907Z] 5:37.98 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::WindowsToolchainTest::test_clang PASSED
[task 2021-06-17T22:20:59.907Z] 5:37.98 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::WindowsToolchainTest::test_clang_cl PASSED
[task 2021-06-17T22:20:59.907Z] 5:37.98 python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::WindowsToolchainTest::test_gcc PASSED

Flags: needinfo?(mhentges)
Whiteboard: [retriggered][stockwell disable-recommended] → [retriggered][stockwell needswork:owner]

Yeah, that preview patch addressed a related part of the problem, but I'm still working towards the fix.
I've got a reproduce on RDP'd TC workers, but:

  • They get recycled after a few hours, killing my connection with them
  • It takes ~20m for each iterative test
  • It's intermittent >:(

Still working on this, I'll mark as FIXED/remove leave-open once it appears fixed from my end :)

Flags: needinfo?(mhentges)
Regressions: 1716721
No longer regressions: 1716721

This may be resolved by 1718156 due to the common virtualenv no longer being created.

See Also: → 1718156

This doesn't appear to be happening anymore now that we aren't creating virtualenvs in the tests.

It'd be interested to see why the test was failing intermittently on Windows, but there's work to be done that has a better reward-to-time payoff.
Could be interesting to dig into in the future.

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED

why the test was failing intermittently on Windows

presumably because Windows doesn't allow some operations on open files, combined with some sort of race condition from multiple tests running in parallel.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: