Source: mat Version: 0.5.2-3 Severity: serious Justification: FTBFS This package FTBFS in a clean sid sbuild setup:
make sure that the cli remove all compromizing meta ... [*] Cleaning /tmp/tmpjQKhGW/dirty é.docx [+] /tmp/tmpjQKhGW/dirty é.docx cleaned! [*] Cleaning /tmp/tmpjQKhGW/dirty é.flac [+] /tmp/tmpjQKhGW/dirty é.flac cleaned! [*] Cleaning /tmp/tmpjQKhGW/dirty é.jpg [+] /tmp/tmpjQKhGW/dirty é.jpg cleaned! FAIL test_remove_empty (clitest.TestRemovecli) Test removal with clean files ... [*] Cleaning /tmp/tmp21ljJQ/clean é.docx [+] /tmp/tmp21ljJQ/clean é.docx cleaned! [*] Cleaning /tmp/tmp21ljJQ/clean é.flac [+] /tmp/tmp21ljJQ/clean é.flac cleaned! [*] Cleaning /tmp/tmp21ljJQ/clean é.jpg [+] /tmp/tmp21ljJQ/clean é.jpg cleaned! FAIL test_list_clean (clitest.TestListcli) check if get_meta returns meta ... FAIL test_list_dirty (clitest.TestListcli) check if get_meta returns all the expected meta ... ok test_clean (clitest.TestisCleancli) test is_clean on clean files ... FAIL test_dirty (clitest.TestisCleancli) test is_clean on dirty files ... ok test_abort_unsupported (clitest.TestUnsupported) test if the cli aborts on unsupported files ... ok test_remove (libtest.TestRemovelib) make sure that the lib remove all compromizing meta ... FAIL test_remove_empty (libtest.TestRemovelib) Test removal with clean files ... FAIL test_list (libtest.TestListlib) check if get_meta returns metadata ... [ERROR] mat.py:153 /tmp/tmpEdFdiY/Configurations2/accelerator/current.xml is empty ok testlist_list_empty (libtest.TestListlib) check that a listing of a clean file returns an empty dict ... FAIL test_clean (libtest.TestisCleanlib) test is_clean on clean files ... FAIL test_dirty (libtest.TestisCleanlib) test is_clean on dirty files ... ok test_empty (libtest.TestFileAttributes) test MAT's behaviour on empty file ... [ERROR] mat.py:153 empty_file is empty ok test_not_exist (libtest.TestFileAttributes) test MAT's behaviour on non-existent file ... [ERROR] mat.py:144 non_existent_file is not a valid file ok test_remove_existing (libtest.TestSecureRemove) test the secure removal of an existing file ... ok test_remove_fail (libtest.TestSecureRemove) test the secure removal of an non-removable file ... [ERROR] mat.py:119 Unable to add write rights to /NOTREMOVABLE ok test_archive_unwritable_content (libtest.TestArchiveProcessing) ... FAIL test_get_unsupported (libtest.TestArchiveProcessing) Test the get_unsupported feature, used by the GUI ... [ERROR] archive.py:276 mat.desktop's format is not supported or harmless [ERROR] archive.py:276 README.security's format is not supported or harmless [ERROR] archive.py:276 setup.py's format is not supported or harmless ok test_remove_bz2 (libtest.TestArchiveProcessing) Test MAT's ability to process .tar.bz2 ... /usr/lib/python2.7/tarfile.py:1993: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal if self.name is not None and os.path.abspath(name) == self.name: [ERROR] mat.py:153 /tmp/tmpf5P3sF/Configurations2/accelerator/current.xml is empty [ERROR] mat.py:153 /tmp/tmpSqPXzf/Configurations2/accelerator/current.xml is empty ERROR test_remove_gz (libtest.TestArchiveProcessing) Test MAT on tar.gz files ... [ERROR] mat.py:153 /tmp/tmpjzGKm5/Configurations2/accelerator/current.xml is empty [ERROR] mat.py:153 /tmp/tmpC0V1se/Configurations2/accelerator/current.xml is empty ERROR test_remove_tar (libtest.TestArchiveProcessing) Test MAT on tar files ... [ERROR] mat.py:153 /tmp/tmpVrgx5f/Configurations2/accelerator/current.xml is empty [ERROR] mat.py:153 /tmp/tmpgxjf2Z/Configurations2/accelerator/current.xml is empty ERROR ====================================================================== ERROR: test_remove_bz2 (libtest.TestArchiveProcessing) Test MAT's ability to process .tar.bz2 ---------------------------------------------------------------------- Traceback (most recent call last): File "/«PKGBUILDDIR»/test/libtest.py", line 117, in test_remove_bz2 self.assertTrue(current_file.is_clean()) File "../MAT/archive.py", line 269, in is_clean (item.name, self.filename)) UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 20: ordinal not in range(128) ====================================================================== ERROR: test_remove_gz (libtest.TestArchiveProcessing) Test MAT on tar.gz files ---------------------------------------------------------------------- Traceback (most recent call last): File "/«PKGBUILDDIR»/test/libtest.py", line 145, in test_remove_gz self.assertTrue(current_file.is_clean()) File "../MAT/archive.py", line 269, in is_clean (item.name, self.filename)) UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 20: ordinal not in range(128) ====================================================================== ERROR: test_remove_tar (libtest.TestArchiveProcessing) Test MAT on tar files ---------------------------------------------------------------------- Traceback (most recent call last): File "/«PKGBUILDDIR»/test/libtest.py", line 131, in test_remove_tar self.assertTrue(current_file.is_clean()) File "../MAT/archive.py", line 269, in is_clean (item.name, self.filename)) UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 20: ordinal not in range(128) ====================================================================== FAIL: test_remove (clitest.TestRemovecli) make sure that the cli remove all compromizing meta ---------------------------------------------------------------------- Traceback (most recent call last): File "/«PKGBUILDDIR»/test/clitest.py", line 28, in test_remove self.assertTrue(current_file.is_clean()) AssertionError: False is not true ====================================================================== FAIL: test_remove_empty (clitest.TestRemovecli) Test removal with clean files ---------------------------------------------------------------------- Traceback (most recent call last): File "/«PKGBUILDDIR»/test/clitest.py", line 35, in test_remove_empty self.assertTrue(current_file.is_clean()) AssertionError: False is not true ====================================================================== FAIL: test_list_clean (clitest.TestListcli) check if get_meta returns meta ---------------------------------------------------------------------- Traceback (most recent call last): File "/«PKGBUILDDIR»/test/clitest.py", line 49, in test_list_clean :\nNo harmful metadata found" % clean) AssertionError: '[+] File /tmp/tmpsBlQVC/clean \xc3\xa9.jpg :\nHarmful metadata found:\n\tMegapixels: 0.003\n\tFile Type Extension: jpg' != '[+] File /tmp/tmpsBlQVC/clean \xc3\xa9.jpg :\nNo harmful metadata found' ====================================================================== FAIL: test_clean (clitest.TestisCleancli) test is_clean on clean files ---------------------------------------------------------------------- Traceback (most recent call last): File "/«PKGBUILDDIR»/test/clitest.py", line 71, in test_clean self.assertEqual(str(stdout).strip('\n'), '[+] %s is clean' % clean) AssertionError: '[+] /tmp/tmpg6ArfB/clean \xc3\xa9.jpg is not clean' != '[+] /tmp/tmpg6ArfB/clean \xc3\xa9.jpg is clean' ====================================================================== FAIL: test_remove (libtest.TestRemovelib) make sure that the lib remove all compromizing meta ---------------------------------------------------------------------- Traceback (most recent call last): File "/«PKGBUILDDIR»/test/libtest.py", line 29, in test_remove self.assertTrue(current_file.is_clean()) AssertionError: False is not true ====================================================================== FAIL: test_remove_empty (libtest.TestRemovelib) Test removal with clean files ---------------------------------------------------------------------- Traceback (most recent call last): File "/«PKGBUILDDIR»/test/libtest.py", line 37, in test_remove_empty self.assertTrue(current_file.is_clean()) AssertionError: False is not true ====================================================================== FAIL: testlist_list_empty (libtest.TestListlib) check that a listing of a clean file returns an empty dict ---------------------------------------------------------------------- Traceback (most recent call last): File "/«PKGBUILDDIR»/test/libtest.py", line 53, in testlist_list_empty self.assertEqual(current_file.get_meta(), dict()) AssertionError: {'Megapixels': '0.003', 'File Type Extension': 'jpg'} != {} - {'File Type Extension': 'jpg', 'Megapixels': '0.003'} + {} ====================================================================== FAIL: test_clean (libtest.TestisCleanlib) test is_clean on clean files ---------------------------------------------------------------------- Traceback (most recent call last): File "/«PKGBUILDDIR»/test/libtest.py", line 69, in test_clean self.assertTrue(current_file.is_clean()) AssertionError: False is not true ====================================================================== FAIL: test_archive_unwritable_content (libtest.TestArchiveProcessing) ---------------------------------------------------------------------- Traceback (most recent call last): File "/«PKGBUILDDIR»/test/libtest.py", line 165, in test_archive_unwritable_content self.assertTrue(current_file.is_clean()) AssertionError: False is not true ---------------------------------------------------------------------- Ran 22 tests in 104.509s FAILED (failures=9, errors=3) Cheers, Dominic. -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org