Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.rc > #404015

Bug#1120242: mypy: FTBFS: FAILED mypy/test/testcmdline.py::PythonCmdlineSuite::reports.test::testClassDefIsNotTreatedAsEmpty

From Santiago Vila <sanvila@debian.org>
Newsgroups linux.debian.bugs.rc
Subject Bug#1120242: mypy: FTBFS: FAILED mypy/test/testcmdline.py::PythonCmdlineSuite::reports.test::testClassDefIsNotTreatedAsEmpty
Date 2025-11-06 13:30 +0100
Message-ID <LO7hO-aV0f-81@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Package: src:mypy
Version: 1.18.2-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202511/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:mypy, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean  --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
	pybuild --clean -i python{version} -p 3.13
	rm -rf .pybuild/
	find . -name \*.pyc -exec rm {} \;
   debian/rules execute_after_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/usr/bin/make -C docs clean
make[2]: Entering directory '/<<PKGBUILDDIR>>/docs'
rm -rf build/*
make[2]: Leaving directory '/<<PKGBUILDDIR>>/docs'
/usr/bin/make -C mypyc/doc clean
make[2]: Entering directory '/<<PKGBUILDDIR>>/mypyc/doc'
make[2]: Leaving directory '/<<PKGBUILDDIR>>/mypyc/doc'

[... snipped ...]

s.........................................s.s.s.......s.sss.s........s.. [ 63%]
..s...............s....s....s.................................sss....ss. [ 64%]
........s.....s....s.ss..........................ssssss.ssssssssss...... [ 65%]
.....ss....................s..s...s.s.s.....ss..s............ssss....... [ 65%]
.....ss......s...ssss.s..sss.....ss.ss.s.s.ss.ss.ss.s...........s.s....s [ 66%]
....s..s.ss............................................s................ [ 66%]
..........................s............................................. [ 67%]
........................................................................ [ 67%]
........................................................................ [ 68%]
........................................................................ [ 68%]
.........sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 69%]
sssssssssss............................................................. [ 69%]
.....................................x.................................. [ 70%]
........................................................................ [ 71%]
........................................................................ [ 71%]
........................................................................ [ 72%]
........................................................................ [ 72%]
........................................................................ [ 73%]
........................................................................ [ 73%]
........................................................................ [ 74%]
........................................................................ [ 74%]
........................................................................ [ 75%]
...............................s......x................................. [ 75%]
........................................................................ [ 76%]
.................................x...................................... [ 77%]
........................................................................ [ 77%]
..............................................................F......... [ 78%]
.................F..F.F................................................. [ 78%]
........................................................................ [ 79%]
........................................................................ [ 79%]
........................................................................ [ 80%]
........................................................................ [ 80%]
........................................................................ [ 81%]
.........................................s................F............. [ 81%]
........................................................................ [ 82%]
.........s.......s...................................................... [ 83%]
...................F.................................................... [ 83%]
.s...................................................................... [ 84%]
........................................................................ [ 84%]
........................................................................ [ 85%]
........................................................................ [ 85%]
........................................................................ [ 86%]
........................................................................ [ 86%]
........................................................................ [ 87%]
........................................................................ [ 87%]
........................................................................ [ 88%]
........................................................................ [ 89%]
........................................................................ [ 89%]
........................................................................ [ 90%]
........................................................................ [ 90%]
........................................................................ [ 91%]
........................................................................ [ 91%]
........................................................................ [ 92%]
.................................................................s...... [ 92%]
............................s.s...........s......s............s........s [ 93%]
......s.sssssssssssssss.ss.ssssssssssssssssssssssssssssssss..s.......... [ 93%]
.........................s...ssss.s.ss.....ss....s......ssss..sss..sssss [ 94%]
ss...s.....................sssss...s.....s........s.s.................s. [ 95%]
.s..ss.s.s...ss...ssssss.sss.sssss..s........................s..sss..s.s [ 95%]
.................................................sss.........sss..ssssss [ 96%]
sss.........s........................................................... [ 96%]
........................................................................ [ 97%]
........................................................................ [ 97%]
................................................x....................... [ 98%]
........................................................................ [ 98%]
....xx.................................................................. [ 99%]
........................................................................ [100%]
=================================== FAILURES ===================================
_______________________ testClassDefIsNotTreatedAsEmpty ________________________
[gw0] linux -- Python 3.13.9 /usr/bin/python3.13
data: /<<PKGBUILDDIR>>/test-data/unit/reports.test:110:
Failed: Output file tmp/report/html/n.py.html did not match its expected output
----------------------------- Captured stderr call -----------------------------
Expected:
  <html>
  <head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> (diff)
  <link rel="stylesheet" type="text/css" href="../mypy-html.css">
  </head>
  <body>
  ...
  </table>
  </body>
  </html>
Actual:
  <html>
  <head>
  <meta charset="UTF-8"> (diff)
  <link rel="stylesheet" type="text/css" href="../mypy-html.css">
  </head>
  <body>
  ...
  </table>
  </body>
  </html>

Alignment of first line difference:
  E: <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  A: <meta charset="UTF-8">
           ^
Update the test output using --update-data (implies -n0; you can additionally use the -k selector to update only specific tests)
________________________ testTypeVarTreatedAsEmptyLine _________________________
[gw0] linux -- Python 3.13.9 /usr/bin/python3.13
data: /<<PKGBUILDDIR>>/test-data/unit/reports.test:162:
Failed: Output file tmp/report/html/n.py.html did not match its expected output
----------------------------- Captured stderr call -----------------------------
Expected:
  <html>
  <head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> (diff)
  <link rel="stylesheet" type="text/css" href="../mypy-html.css">
  </head>
  <body>
  ...
  </table>
  </body>
  </html>
Actual:
  <html>
  <head>
  <meta charset="UTF-8"> (diff)
  <link rel="stylesheet" type="text/css" href="../mypy-html.css">
  </head>
  <body>
  ...
  </table>
  </body>
  </html>

Alignment of first line difference:
  E: <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  A: <meta charset="UTF-8">
           ^
Update the test output using --update-data (implies -n0; you can additionally use the -k selector to update only specific tests)
________________________ testUnreachableCodeMarkedAsAny ________________________
[gw0] linux -- Python 3.13.9 /usr/bin/python3.13
data: /<<PKGBUILDDIR>>/test-data/unit/reports.test:196:
Failed: Output file tmp/report/html/n.py.html did not match its expected output
----------------------------- Captured stderr call -----------------------------
Expected:
  <html>
  <head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> (diff)
  <link rel="stylesheet" type="text/css" href="../mypy-html.css">
  </head>
  <body>
  ...
  </table>
  </body>
  </html>
Actual:
  <html>
  <head>
  <meta charset="UTF-8"> (diff)
  <link rel="stylesheet" type="text/css" href="../mypy-html.css">
  </head>
  <body>
  ...
  </table>
  </body>
  </html>

Alignment of first line difference:
  E: <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  A: <meta charset="UTF-8">
           ^
Update the test output using --update-data (implies -n0; you can additionally use the -k selector to update only specific tests)
_____________________ testHtmlReportMemberExprNoUnanalyzed _____________________
[gw0] linux -- Python 3.13.9 /usr/bin/python3.13
data: /<<PKGBUILDDIR>>/test-data/unit/reports.test:245:
Failed: Output file tmp/report/html/n.py.html did not match its expected output
----------------------------- Captured stderr call -----------------------------
Expected:
  <html>
  <head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> (diff)
  <link rel="stylesheet" type="text/css" href="../mypy-html.css">
  </head>
  <body>
  ...
  </table>
  </body>
  </html>
Actual:
  <html>
  <head>
  <meta charset="UTF-8"> (diff)
  <link rel="stylesheet" type="text/css" href="../mypy-html.css">
  </head>
  <body>
  ...
  </table>
  </body>
  </html>

Alignment of first line difference:
  E: <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  A: <meta charset="UTF-8">
           ^
Update the test output using --update-data (implies -n0; you can additionally use the -k selector to update only specific tests)
___________________________ testSpecialAnyHtmlReport ___________________________
[gw0] linux -- Python 3.13.9 /usr/bin/python3.13
data: /<<PKGBUILDDIR>>/test-data/unit/reports.test:477:
Failed: Output file tmp/report/html/n.py.html did not match its expected output
----------------------------- Captured stderr call -----------------------------
Expected:
  <html>
  <head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> (diff)
  <link rel="stylesheet" type="text/css" href="../mypy-html.css">
  </head>
  <body>
  ...
  </table>
  </body>
  </html>
Actual:
  <html>
  <head>
  <meta charset="UTF-8"> (diff)
  <link rel="stylesheet" type="text/css" href="../mypy-html.css">
  </head>
  <body>
  ...
  </table>
  </body>
  </html>

Alignment of first line difference:
  E: <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  A: <meta charset="UTF-8">
           ^
Update the test output using --update-data (implies -n0; you can additionally use the -k selector to update only specific tests)
______________ testHtmlReportOnNamespacePackagesWithExplicitBases ______________
[gw0] linux -- Python 3.13.9 /usr/bin/python3.13
data: /<<PKGBUILDDIR>>/test-data/unit/reports.test:513:
Failed: Output file tmp/report/html/folder/subfolder/something.py.html did not match its expected output
----------------------------- Captured stderr call -----------------------------
Expected:
  <html>
  <head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> (diff)
  <link rel="stylesheet" type="text/css" href="../../../mypy-html.css">
  </head>
  <body>
  ...
  </table>
  </body>
  </html>
Actual:
  <html>
  <head>
  <meta charset="UTF-8"> (diff)
  <link rel="stylesheet" type="text/css" href="../../../mypy-html.css">
  </head>
  <body>
  ...
  </table>
  </body>
  </html>

Alignment of first line difference:
  E: <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  A: <meta charset="UTF-8">
           ^
Update the test output using --update-data (implies -n0; you can additionally use the -k selector to update only specific tests)
=========================== short test summary info ============================
FAILED mypy/test/testcmdline.py::PythonCmdlineSuite::reports.test::testClassDefIsNotTreatedAsEmpty
FAILED mypy/test/testcmdline.py::PythonCmdlineSuite::reports.test::testTypeVarTreatedAsEmptyLine
FAILED mypy/test/testcmdline.py::PythonCmdlineSuite::reports.test::testUnreachableCodeMarkedAsAny
FAILED mypy/test/testcmdline.py::PythonCmdlineSuite::reports.test::testHtmlReportMemberExprNoUnanalyzed
FAILED mypy/test/testcmdline.py::PythonCmdlineSuite::reports.test::testSpecialAnyHtmlReport
FAILED mypy/test/testcmdline.py::PythonCmdlineSuite::reports.test::testHtmlReportOnNamespacePackagesWithExplicitBases
===== 6 failed, 12794 passed, 363 skipped, 13 xfailed in 665.35s (0:11:05) =====
make[1]: *** [debian/rules:86: override_dh_auto_test-arch] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:28: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Back to linux.debian.bugs.rc | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#1120242: mypy: FTBFS: FAILED mypy/test/testcmdline.py::PythonCmdlineSuite::reports.test::testClassDefIsNotTreatedAsEmpty Santiago Vila <sanvila@debian.org> - 2025-11-06 13:30 +0100
  Bug#1120242: marked as done (mypy: FTBFS: FAILED mypy/test/testcmdline.py::PythonCmdlineSuite::reports.test::testClassDefIsNotTreatedAsEmpty) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-11-09 20:00 +0100

csiph-web