Source: dltlyse Version: 1.1-1.1 Severity: serious Justification: FTBFS on amd64 Tags: bullseye sid ftbfs Usertags: ftbfs-20200802 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_autoreconf -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_dltlyse/build/dltlyse > copying dltlyse/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_dltlyse/build/dltlyse > copying dltlyse/run_dltlyse.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_dltlyse/build/dltlyse > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_dltlyse/build/dltlyse/core > copying dltlyse/core/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_dltlyse/build/dltlyse/core > copying dltlyse/core/plugin_base.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_dltlyse/build/dltlyse/core > copying dltlyse/core/analyser.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_dltlyse/build/dltlyse/core > copying dltlyse/core/report.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_dltlyse/build/dltlyse/core > copying dltlyse/core/utils.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_dltlyse/build/dltlyse/core > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_dltlyse/build/dltlyse/plugins > copying dltlyse/plugins/sysmem_plugin.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_dltlyse/build/dltlyse/plugins > copying dltlyse/plugins/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_dltlyse/build/dltlyse/plugins > copying dltlyse/plugins/context.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_dltlyse/build/dltlyse/plugins > copying dltlyse/plugins/sys_errors.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_dltlyse/build/dltlyse/plugins > copying dltlyse/plugins/extract_files.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_dltlyse/build/dltlyse/plugins > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_dltlyse/build/dltlyse/core/tests > copying dltlyse/core/tests/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_dltlyse/build/dltlyse/core/tests > copying dltlyse/core/tests/test_python_data_to_xml.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_dltlyse/build/dltlyse/core/tests > copying dltlyse/core/tests/test_analyser.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_dltlyse/build/dltlyse/core/tests > dh_auto_test -O--buildsystem=pybuild > I: pybuild base:217: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_dltlyse/build; > python3.8 -m unittest discover -v > test_analyse_file_sanity (dltlyse.core.tests.test_analyser.AnalyserTests) > Simulate test run of the dltlyse with invalid dlt trace files ... > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_dltlyse/build/dltlyse/core/analyser.py:132: > DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead > logger.warn("Directory '%s' doesn't exist!", root) > Directory '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_dltlyse/build/plugins' > doesn't exist! > [36045.821782]~DLT~10896~WARNING ~File mock.dlt cannot be opened! > DLT FILE OPEN FAILED - Analysis will not be performed > Error Loading File mock.dlt - Could not open DLT Trace file (libdlt) > Traceback (most recent call last): > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_dltlyse/build/dltlyse/core/analyser.py", > line 416, in handle_file_exceptions > yield > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_dltlyse/build/dltlyse/core/analyser.py", > line 299, in run_analyse > for msg in tracefile: > File "/usr/lib/python3/dist-packages/dlt/dlt.py", line 804, in __iter__ > self._open_file() > File "/usr/lib/python3/dist-packages/dlt/dlt.py", line 781, in _open_file > raise IOError(cDLT_FILE_NOT_OPEN_ERROR) > OSError: Could not open DLT Trace file (libdlt) > Error Loading File /tmp/tmp9vllarfb - DLT TRACE FILE IS EMPTY > Traceback (most recent call last): > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_dltlyse/build/dltlyse/core/analyser.py", > line 416, in handle_file_exceptions > yield > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_dltlyse/build/dltlyse/core/analyser.py", > line 299, in run_analyse > for msg in tracefile: > File "/usr/lib/python3/dist-packages/dlt/dlt.py", line 852, in __iter__ > raise IOError(DLT_EMPTY_FILE_ERROR) > OSError: DLT TRACE FILE IS EMPTY > ok > test_corrupt_msg_live (dltlyse.core.tests.test_analyser.AnalyserTests) > Simulate test run of the dltlyse live with corrupt message ... FAIL > test_dont_load_manually_executed_plugins > (dltlyse.core.tests.test_analyser.AnalyserTests) > Test that a manually-executed plugin isn't automatically loaded ... > WARNING:dltlyse.core.analyser:Directory > '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_dltlyse/build/plugins' doesn't exist! > ok > test_load_plugins (dltlyse.core.tests.test_analyser.AnalyserTests) > Test plugin loading ... WARNING:dltlyse.core.analyser:Directory > '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_dltlyse/build/plugins' doesn't exist! > ok > test_load_plugins_exclude (dltlyse.core.tests.test_analyser.AnalyserTests) > Test blacklisting of plugin loading ... > WARNING:dltlyse.core.analyser:Directory > '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_dltlyse/build/plugins' doesn't exist! > ok > test_load_plugins_specific (dltlyse.core.tests.test_analyser.AnalyserTests) > Test specific plugin loading ... WARNING:dltlyse.core.analyser:Directory > '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_dltlyse/build/plugins' doesn't exist! > ok > test_children_with_complex_data_structure > (dltlyse.core.tests.test_python_data_to_xml.TestDataToXMLString) > Tests that children can use the same rules of the main tag. ... ok > test_children_with_the_same_attributes > (dltlyse.core.tests.test_python_data_to_xml.TestDataToXMLString) > Tests that the attributes for children can be defined just ones. ... ok > test_children_with_the_same_name_and_attributes > (dltlyse.core.tests.test_python_data_to_xml.TestDataToXMLString) > Tests that the tag name and attributes for children can be defined just ones. > ... ok > test_children_with_the_same_tag_name > (dltlyse.core.tests.test_python_data_to_xml.TestDataToXMLString) > Tests that the tag name for children can be defined just ones. ... ok > test_only_the_tag_present > (dltlyse.core.tests.test_python_data_to_xml.TestDataToXMLString) > Tests that only the tag is present. ... ok > test_tag_and_attributes_and_value_present > (dltlyse.core.tests.test_python_data_to_xml.TestDataToXMLString) > Tests that the tag, attributes, and value are present. ... ok > test_tag_and_attributes_present > (dltlyse.core.tests.test_python_data_to_xml.TestDataToXMLString) > Tests that the tag and attributes are present. ... ok > test_tag_and_value_present > (dltlyse.core.tests.test_python_data_to_xml.TestDataToXMLString) > Tests that the tag and value are present. ... ok > test_value_is_a_list > (dltlyse.core.tests.test_python_data_to_xml.TestDataToXMLString) > Tests that the value is a list which generates sub-tags. ... ok > test_value_is_a_tuple > (dltlyse.core.tests.test_python_data_to_xml.TestDataToXMLString) > Tests that the value is a tuple which generates sub-tags. ... ok > test_value_is_not_a_string > (dltlyse.core.tests.test_python_data_to_xml.TestDataToXMLString) > Tests that the value is not a string. ... ok > > ====================================================================== > FAIL: test_corrupt_msg_live (dltlyse.core.tests.test_analyser.AnalyserTests) > Simulate test run of the dltlyse live with corrupt message > ---------------------------------------------------------------------- > Traceback (most recent call last): > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_dltlyse/build/dltlyse/core/tests/test_analyser.py", > line 113, in test_corrupt_msg_live > self.assertEqual(obj.dlt_file.corrupt_msg_count, 3) > AssertionError: 0 != 3 > > ---------------------------------------------------------------------- > Ran 17 tests in 0.316s > > FAILED (failures=1) > E: pybuild pybuild:352: test: plugin distutils failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_dltlyse/build; python3.8 -m unittest > discover -v > 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/08/02/dltlyse_1.1-1.1_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.