Repository navigation
Travis macOS Python 3.5 wheel build failure #9535
Copy link
Copy link
Closed
Labels
Description
The Python 3.5 macOS wheel build is failing. Not sure what's going on, #9530 might have triggered it somwhow, but the changes look innocent. Alternatively, it could be a flake or something changed in the build environment.
Extract from build output:
..............................
=================================== FAILURES ===================================
_____________________________ testCoberturaParser ______________________________
[gw0] darwin -- Python 3.5.4 /private/var/folders/nz/vv4_9tw56nv9k3tkvyszvwg80000gn/T/mypy-test-venv.XXXXXXXXXX.UogziCoD/bin/python3
data: /Users/travis/build/mypyc/mypy_mypyc-wheels/mypy/test-data/unit/reports.test:14:
../mypy-test-venv.XXXXXXXXXX.UogziCoD/lib/python3.5/site-packages/mypy/test/testcmdline.py:38: in run_case
test_python_cmdline(testcase, step)
../mypy-test-venv.XXXXXXXXXX.UogziCoD/lib/python3.5/site-packages/mypy/test/testcmdline.py:90: in test_python_cmdline
check_test_output_files(testcase, step)
../mypy-test-venv.XXXXXXXXXX.UogziCoD/lib/python3.5/site-packages/mypy/test/helpers.py:457: in check_test_output_files
path, ' on step %d' % step if testcase.output2 else ''))
../mypy-test-venv.XXXXXXXXXX.UogziCoD/lib/python3.5/site-packages/mypy/test/helpers.py:116: in assert_string_arrays_equal
raise AssertionError(msg)
E AssertionError: Output file tmp/build/cobertura.xml did not match its expected output
----------------------------- Captured stderr call -----------------------------
Expected:
<coverage timestamp="$TIMESTAMP" version="$VERSION" line-rate="0.7500" branch-rate="0"> (diff)
<sources>
<source>$PWD</source>
</sources>
<packages>
...
Actual:
<coverage timestamp="$TIMESTAMP" version="$VERSION.45d3655c38a7260bd91a0324b4048a585f152016" line-rate="0.7500" branch-rate="0"> (diff)
<sources>
<source>$PWD</source>
</sources>
<packages>
...
Alignment of first line difference:
E: ...P" version="$VERSION" line-rate="0.7500" branch-rate="0">...
A: ...P" version="$VERSION.45d3655c38a7260bd91a0324b4048a585f152016" line-r...
^
=========================== short test summary info ============================
FAILED lib/python3.5/site-packages/mypy/test/testcmdline.py::PythonCmdlineSuite::testCoberturaParser
Full log at https://travis-ci.org/github/mypyc/mypy_mypyc-wheels/jobs/732651428.
Activity
JukkaL commentedon Oct 5, 2020
The next build passed, so this was probably a flake.
hauntsaninja commentedon Oct 8, 2020
Yeah, it looks like we try to substitute the version for $VERSION here:
mypy/mypy/test/helpers.py
Line 465 in cca6e2f
But failed, presumably because one of these
mypy/mypy/version.py
Line 12 in cca6e2f
So looks like a build environment flake to me.