Source: python-junit-xml Version: 1.8-2 Severity: serious Justification: FTBFS on amd64 Tags: bullseye sid ftbfs Usertags: ftbfs-20200321 ftbfs-bullseye
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > debian/rules build > dh build --with python3 --buildsystem=pybuild > dh_update_autotools_config -O--buildsystem=pybuild > dh_auto_configure -O--buildsystem=pybuild > I: pybuild base:217: python3.8 setup.py config > running config > dh_auto_build -O--buildsystem=pybuild > I: pybuild base:217: /usr/bin/python3 setup.py build > running build > running build_py > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/junit_xml > copying junit_xml/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/junit_xml > dh_auto_test -O--buildsystem=pybuild > I: pybuild base:217: python3.8 setup.py test > running test > WARNING: Testing via this command is deprecated and will be removed in a > future version. Users looking for a generic test entry point independent of > test runner are encouraged to use tox. > running egg_info > writing junit_xml.egg-info/PKG-INFO > writing dependency_links to junit_xml.egg-info/dependency_links.txt > writing requirements to junit_xml.egg-info/requires.txt > writing top-level names to junit_xml.egg-info/top_level.txt > reading manifest file 'junit_xml.egg-info/SOURCES.txt' > reading manifest template 'MANIFEST.in' > writing manifest file 'junit_xml.egg-info/SOURCES.txt' > running build_ext > test_init (test_junit_xml.TestCaseTests) ... ok > test_init_classname (test_junit_xml.TestCaseTests) ... ok > test_init_classname_time (test_junit_xml.TestCaseTests) ... ok > test_init_classname_time_timestamp (test_junit_xml.TestCaseTests) ... ok > test_init_disable (test_junit_xml.TestCaseTests) ... ok > test_init_error (test_junit_xml.TestCaseTests) ... ok > test_init_error_message (test_junit_xml.TestCaseTests) ... ok > test_init_error_output (test_junit_xml.TestCaseTests) ... ok > test_init_error_type (test_junit_xml.TestCaseTests) ... ok > test_init_failure (test_junit_xml.TestCaseTests) ... ok > test_init_failure_message (test_junit_xml.TestCaseTests) ... ok > test_init_failure_output (test_junit_xml.TestCaseTests) ... ok > test_init_failure_type (test_junit_xml.TestCaseTests) ... ok > test_init_illegal_unicode_char (test_junit_xml.TestCaseTests) ... ok > test_init_legal_unicode_char (test_junit_xml.TestCaseTests) ... ok > test_init_skipped (test_junit_xml.TestCaseTests) ... ok > test_init_skipped_err_output (test_junit_xml.TestCaseTests) ... ok > test_init_skipped_message (test_junit_xml.TestCaseTests) ... ok > test_init_skipped_output (test_junit_xml.TestCaseTests) ... ok > test_init_stderr (test_junit_xml.TestCaseTests) ... ok > test_init_stdout_stderr (test_junit_xml.TestCaseTests) ... ok > test_init_unicode (test_junit_xml.TestCaseTests) ... ok > test_init_utf8 (test_junit_xml.TestCaseTests) ... Serialized XML to string: > <testsuites failures="0" errors="0" tests="1" disabled="0" > time="0.0"><testsuite name="test" disabled="0" failures="0" errors="0" > skipped="0" time="0" tests="1"><testcase name="Test1" > /></testsuite></testsuites> > Serialized XML to string: > <testsuites failures="0" errors="0" tests="1" disabled="0" > time="0.0"><testsuite name="test" disabled="0" failures="0" errors="0" > skipped="0" time="0" tests="1"><testcase name="Test1" > classname="some.class.name" /></testsuite></testsuites> > Serialized XML to string: > <testsuites failures="0" errors="0" tests="1" disabled="0" > time="123.345"><testsuite name="test" disabled="0" failures="0" errors="0" > skipped="0" time="123.345" tests="1"><testcase name="Test1" time="123.345000" > classname="some.class.name" /></testsuite></testsuites> > Serialized XML to string: > <testsuites failures="0" errors="0" tests="1" disabled="0" > time="123.345"><testsuite name="test" disabled="0" failures="0" errors="0" > skipped="0" time="123.345" tests="1"><testcase name="Test1" time="123.345000" > timestamp="99999" classname="some.class.name" /></testsuite></testsuites> > Serialized XML to string: > <testsuites failures="0" errors="0" tests="1" disabled="1" > time="0.0"><testsuite name="test" disabled="1" failures="0" errors="0" > skipped="0" time="0" tests="1"><testcase name="Disabled-Test" > /></testsuite></testsuites> > Serialized XML to string: > <testsuites failures="0" errors="1" tests="1" disabled="0" > time="0.0"><testsuite name="test" disabled="0" failures="0" errors="1" > skipped="0" time="0" tests="1"><testcase > name="Error-Message-and-Output"><error type="error" message="error message">I > errored!</error></testcase></testsuite></testsuites> > Serialized XML to string: > <testsuites failures="0" errors="1" tests="1" disabled="0" > time="0.0"><testsuite name="test" disabled="0" failures="0" errors="1" > skipped="0" time="0" tests="1"><testcase name="Error-Message"><error > type="error" message="error message" /></testcase></testsuite></testsuites> > Serialized XML to string: > <testsuites failures="0" errors="1" tests="1" disabled="0" > time="0.0"><testsuite name="test" disabled="0" failures="0" errors="1" > skipped="0" time="0" tests="1"><testcase name="Error-Output"><error > type="error">I errored!</error></testcase></testsuite></testsuites> > Serialized XML to string: > <testsuites failures="0" errors="0" tests="1" disabled="0" > time="0.0"><testsuite name="test" disabled="0" failures="0" errors="0" > skipped="0" time="0" tests="1"><testcase name="Error-Type" > /></testsuite></testsuites> > Serialized XML to string: > <testsuites failures="0" errors="1" tests="1" disabled="0" > time="0.0"><testsuite name="test" disabled="0" failures="0" errors="1" > skipped="0" time="0" tests="1"><testcase name="Error-Type"><error > type="com.example.Error" message="error message" > /></testcase></testsuite></testsuites> > Serialized XML to string: > <testsuites failures="1" errors="0" tests="1" disabled="0" > time="0.0"><testsuite name="test" disabled="0" failures="1" errors="0" > skipped="0" time="0" tests="1"><testcase > name="Failure-Message-and-Output"><failure type="failure" message="failure > message">I failed!</failure></testcase></testsuite></testsuites> > Serialized XML to string: > <testsuites failures="1" errors="0" tests="1" disabled="0" > time="0.0"><testsuite name="test" disabled="0" failures="1" errors="0" > skipped="0" time="0" tests="1"><testcase name="Failure-Message"><failure > type="failure" message="failure message" > /></testcase></testsuite></testsuites> > Serialized XML to string: > <testsuites failures="1" errors="0" tests="1" disabled="0" > time="0.0"><testsuite name="test" disabled="0" failures="1" errors="0" > skipped="0" time="0" tests="1"><testcase name="Failure-Output"><failure > type="failure">I failed!</failure></testcase></testsuite></testsuites> > Serialized XML to string: > <testsuites failures="0" errors="0" tests="1" disabled="0" > time="0.0"><testsuite name="test" disabled="0" failures="0" errors="0" > skipped="0" time="0" tests="1"><testcase name="Failure-Type" > /></testsuite></testsuites> > Serialized XML to string: > <testsuites failures="1" errors="0" tests="1" disabled="0" > time="0.0"><testsuite name="test" disabled="0" failures="1" errors="0" > skipped="0" time="0" tests="1"><testcase name="Failure-Type"><failure > type="com.example.Error" message="failure message" > /></testcase></testsuite></testsuites> > Serialized XML to string: > <testsuites failures="1" errors="0" tests="1" disabled="0" > time="0.0"><testsuite name="test" disabled="0" failures="1" errors="0" > skipped="0" time="0" tests="1"><testcase name="Failure-Message"><failure > type="failure" message="failure message with illegal unicode char: []" > /></testcase></testsuite></testsuites> > Serialized XML to string: > <testsuites failures="1" errors="0" tests="1" disabled="0" > time="0.0"><testsuite name="test" disabled="0" failures="1" errors="0" > skipped="0" time="0" tests="1"><testcase name="Failure-Message"><failure > type="failure" message="failure message with legal unicode char: ["]" > /></testcase></testsuite></testsuites> > Serialized XML to string: > <testsuites failures="0" errors="0" tests="1" disabled="0" > time="0.0"><testsuite name="test" disabled="0" failures="0" errors="0" > skipped="1" time="0" tests="1"><testcase > name="Skipped-Message-and-Output"><skipped type="skipped" message="skipped > message">I skipped!</skipped></testcase></testsuite></testsuites> > Serialized XML to string: > <testsuites failures="0" errors="1" tests="1" disabled="0" > time="0.0"><testsuite name="test" disabled="0" failures="0" errors="1" > skipped="1" time="0" tests="1"><testcase name="Skipped-Output"><error > type="error">I skipped with an error!</error><skipped type="skipped">I > skipped!</skipped></testcase></testsuite></testsuites> > Serialized XML to string: > <testsuites failures="0" errors="0" tests="1" disabled="0" > time="0.0"><testsuite name="test" disabled="0" failures="0" errors="0" > skipped="1" time="0" tests="1"><testcase name="Skipped-Message"><skipped > type="skipped" message="skipped message" > /></testcase></testsuite></testsuites> > Serialized XML to string: > <testsuites failures="0" errors="0" tests="1" disabled="0" > time="0.0"><testsuite name="test" disabled="0" failures="0" errors="0" > skipped="1" time="0" tests="1"><testcase name="Skipped-Output"><skipped > type="skipped">I skipped!</skipped></testcase></testsuite></testsuites> > Serialized XML to string: > <testsuites failures="0" errors="0" tests="1" disabled="0" > time="123.345"><testsuite name="test" disabled="0" failures="0" errors="0" > skipped="0" time="123.345" tests="1"><testcase name="Test1" time="123.345000" > classname="some.class.name"><system-err>I am > stderr!</system-err></testcase></testsuite></testsuites> > Serialized XML to string: > <testsuites failures="0" errors="0" tests="1" disabled="0" > time="123.345"><testsuite name="test" disabled="0" failures="0" errors="0" > skipped="0" time="123.345" tests="1"><testcase name="Test1" time="123.345000" > classname="some.class.name"><system-out>I am > stdout!</system-out><system-err>I am > stderr!</system-err></testcase></testsuite></testsuites> > Serialized XML to string: > <testsuites failures="0" errors="1" tests="1" disabled="0" > time="123.345"><testsuite name="Test Unicode" disabled="0" failures="0" > errors="1" skipped="1" time="123.345" tests="1"><testcase name="Test > äöü" time="123.345000" > classname="some.class.name.äöü"><error type="error" > message="Skipped error äöü">I skippäd with an > error!</error><skipped type="skipped" message="Skipped äöü">I > skippäd!</skipped><system-out>I am > stdöüt!</system-out><system-err>I am > stdärr!</system-err></testcase></testsuite></testsuites> > Serialized XML to string: > <testsuites failures="0" errors="1" tests="1" disabled="0" > time="123.345"><testsuite name="Test UTF-8" disabled="0" failures="0" > errors="1" skipped="1" time="123.345" tests="1"><testcase name="Test äöü" > time="123.345000" classname="some.class.name.äöü"><error type="error" > message="Skipped error äöü">I skippäd with an error!</error><skipped > type="skipped" message="Skipped äöü">I skippäd!</skipped><system-out>I am > stdöüt!</system-out><system-err>I am > stdärr!</system-err></testcase></testsuite></testsuites>ok > test_assertions (test_junit_xml.TestSuiteTests) ... > /<<PKGBUILDDIR>>/test_junit_xml.py:250: DeprecationWarning: Please use > assertEqual instead. > self.assertEquals('5', > ok > test_attribute_disable (test_junit_xml.TestSuiteTests) ... ok > test_attribute_time (test_junit_xml.TestSuiteTests) ... ok > test_multiple_suites_to_file (test_junit_xml.TestSuiteTests) ... ok > test_multiple_suites_to_string (test_junit_xml.TestSuiteTests) ... ok > test_no_assertions (test_junit_xml.TestSuiteTests) ... ok > test_single_suite_no_test_cases (test_junit_xml.TestSuiteTests) ... ok > test_single_suite_no_test_cases_unicode (test_junit_xml.TestSuiteTests) ... ok > test_single_suite_no_test_cases_utf8 (test_junit_xml.TestSuiteTests) ... ok > test_single_suite_prettyprint (test_junit_xml.TestSuiteTests) ... ok > test_single_suite_single_test_case (test_junit_xml.TestSuiteTests) ... ok > test_single_suite_to_file (test_junit_xml.TestSuiteTests) ... ok > test_single_suite_to_file_no_prettyprint (test_junit_xml.TestSuiteTests) ... > ok > test_single_suite_to_file_prettyprint (test_junit_xml.TestSuiteTests) ... ok > test_stderr (test_junit_xml.TestSuiteTests) ... ok > test_stdout_stderr (test_junit_xml.TestSuiteTests) ... ok > test_to_xml_string (test_junit_xml.TestSuiteTests) ... FAIL > test_to_xml_string_test_suites_not_a_list (test_junit_xml.TestSuiteTests) ... > ok > > ====================================================================== > FAIL: test_to_xml_string (test_junit_xml.TestSuiteTests) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/<<PKGBUILDDIR>>/test_junit_xml.py", line 272, in test_to_xml_string > self.assertEqual(xml_string, expected_xml_string) > AssertionError: '<?xm[27 chars]ites failures="0" errors="0" tests="2" > disable[316 chars]s>\n' != '<?xm[27 chars]ites disabled="0" errors="0" > failures="0" test[316 chars]s>\n' > Diff is 666 characters long. Set self.maxDiff to None to see it. > > ---------------------------------------------------------------------- > Ran 41 tests in 0.023s > > FAILED (failures=1) > Test failed: <unittest.runner.TextTestResult run=41 errors=0 failures=1> > > Serialized XML to string: > <testsuites failures="0" errors="0" tests="1" disabled="0" > time="0.0"><testsuite name="test" assertions="5" disabled="0" failures="0" > errors="0" skipped="0" time="0" tests="1"><testcase name="Test1" > assertions="5" /></testsuite></testsuites> > Serialized XML to string: > <testsuites failures="0" errors="0" tests="1" disabled="1" > time="0.0"><testsuite name="suite1" disabled="1" failures="0" errors="0" > skipped="0" time="0" tests="1"><testcase name="Disabled-Test" > /></testsuite></testsuites> > Serialized XML to string: > <testsuites failures="0" errors="0" tests="3" disabled="0" > time="246.69"><testsuite name="suite1" disabled="0" failures="0" errors="0" > skipped="0" time="246.69" tests="2"><testcase name="Test1" time="123.345000" > classname="some.class.name" /><testcase name="Test2" time="123.345000" > classname="some2.class.name" /></testsuite><testsuite name="suite2" > disabled="0" failures="0" errors="0" skipped="0" time="0" tests="1"><testcase > name="Test2" /></testsuite></testsuites> > Serialized XML to temp file [/tmp/tmpa9ugbmgx] > Serialized XML to string: > <testsuites failures="0" errors="0" tests="2" disabled="0" > time="0.0"><testsuite name="suite1" disabled="0" failures="0" errors="0" > skipped="0" time="0" tests="1"><testcase name="Test1" > /></testsuite><testsuite name="suite2" disabled="0" failures="0" errors="0" > skipped="0" time="0" tests="1"><testcase name="Test2" > /></testsuite></testsuites> > Serialized XML to string: > <testsuites failures="0" errors="0" tests="1" disabled="0" > time="0.0"><testsuite name="test" disabled="0" failures="0" errors="0" > skipped="0" time="0" tests="1"><testcase name="Test1" > /></testsuite></testsuites> > Serialized XML to temp file [/tmp/tmpf6z481a5] > Serialized XML to temp file [/tmp/tmphphtinqb] > Serialized XML to temp file [/tmp/tmpirt_ys78] > Serialized XML to string: > <?xml version="1.0" ?> > <testsuites failures="0" errors="0" tests="1" disabled="0" time="0.0"> > <testsuite name="test" disabled="0" failures="0" errors="0" skipped="0" > time="0" tests="1"> > <testcase name="Test1"/> > </testsuite> > </testsuites> > > Serialized XML to temp file [/tmp/tmpyvlu2olq] > Serialized XML to temp file [/tmp/tmpb5_j9m6d] > Serialized XML to temp file [/tmp/tmpfzxx7bz9] > Serialized XML to string: > <testsuites failures="0" errors="0" tests="1" disabled="0" > time="0.0"><testsuite name="test" disabled="0" failures="0" errors="0" > skipped="0" time="0" tests="1"><system-err>I am stderr!</system-err><testcase > name="Test1" /></testsuite></testsuites> > Serialized XML to string: > <testsuites failures="0" errors="0" tests="1" disabled="0" > time="0.0"><testsuite name="test" disabled="0" failures="0" errors="0" > skipped="0" time="0" tests="1"><system-out>I am > stdout!</system-out><system-err>I am stderr!</system-err><testcase > name="Test1" /></testsuite></testsuites> > error: Test failed: <unittest.runner.TextTestResult run=41 errors=0 > failures=1> > E: pybuild pybuild:352: test: plugin distutils failed with: exit code=1: > python3.8 setup.py test > dh_auto_test: error: pybuild --test -i python{version} -p 3.8 returned exit > code 13 The full build log is available from: http://qa-logs.debian.net/2020/03/21/python-junit-xml_1.8-2_unstable.log A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! About the archive rebuild: The rebuild was done on EC2 VM instances from Amazon Web Services, using a clean, minimal and up-to-date chroot. Every failed build was retried once to eliminate random failures.