Source: lintian-brush Version: 0.69
Hello, since version 0.68 we are hitting autopkgtest failures on Ubuntu s390x (but I presume this might be an endianess issue unrelated to Ubuntu, but an issue on Debian too) look e.g.: https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-groovy/groovy/s390x/l/lintian-brush/20200526_071151_45b70@/log.gz or https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-groovy/groovy/s390x/l/lintian-brush/20200602_160733_92e77@/log.gz autopkgtest [16:06:43]: test tool-testsuite: [----------------------- failed to open trace file: [Errno 13] Permission denied: '/you-should-use-TestCaseInTempDir-if-you-need-a-log-file' .../usr/lib/python3/dist-packages/debian/changelog.py:483: UserWarning: Unexpected line while looking for first heading: THIS IS NOT A PARSEABLE LINE warnings.warn(message) ............/usr/lib/python3/dist-packages/debian/changelog.py:483: UserWarning: Unexpected line while looking for first heading: lalalalala warnings.warn(message) /usr/lib/python3/dist-packages/debian/changelog.py:483: UserWarning: Found eof where expected first heading warnings.warn(message) ........./tmp/autopkgtest.aoDwvO/build.6pK/src/lintian_brush/_deb822.py:115: UserWarning: cannot parse package relationship "${misc:Depends}", returning it raw warnings.warn( ...........................................................................ssssssssss...........EE.....................................................................................x..............................................................................................sed: can't read debian/rules: No such file or directory sed: can't read debian/rules: No such file or directory .sed: can't read debian/rules: No such file or directory sed: can't read debian/rules: No such file or directory ...................../tmp/autopkgtest.aoDwvO/build.6pK/src/fixers/common-license.py:176: UserWarning: A common license shortname (Apache-2.0) is used, but license text not recognized. warn( ../tmp/autopkgtest.aoDwvO/build.6pK/src/fixers/common-license.py:160: UserWarning: Unable to get canonical name for 'BSD-3-clause' warn('Unable to get canonical name for %r' % license_id) /tmp/autopkgtest.aoDwvO/build.6pK/src/fixers/common-license.py:190: UserWarning: Found full license text for BSD-3-clause, but unknown synopsis BSD-3-clause (BSD-3-clause) warn('Found full license text for %s, but unknown synopsis %s (%s)' .........../usr/lib/python3/dist-packages/lintian_brush/_deb822.py:115: UserWarning: cannot parse package relationship "libf2fs5 (= ${binary:Version})", returning it raw warnings.warn( /usr/lib/python3/dist-packages/lintian_brush/_deb822.py:115: UserWarning: cannot parse package relationship "libf2fs-format4 (= ${binary:Version})", returning it raw warnings.warn( /usr/lib/python3/dist-packages/lintian_brush/_deb822.py:115: UserWarning: cannot parse package relationship "${shlibs:Depends}", returning it raw warnings.warn( /usr/lib/python3/dist-packages/lintian_brush/_deb822.py:115: UserWarning: cannot parse package relationship "${misc:Depends}", returning it raw warnings.warn( /usr/lib/python3/dist-packages/lintian_brush/_deb822.py:115: UserWarning: cannot parse package relationship "f2fs-tools (= ${binary:Version})", returning it raw warnings.warn( ................/usr/lib/python3/dist-packages/debian/changelog.py:483: UserWarning: Unexpected line while looking for start of change data: * Initial Release. warnings.warn(message) .............................../usr/lib/python3/dist-packages/lintian_brush/_deb822.py:115: UserWarning: cannot parse package relationship "${misc:Depends}", returning it raw warnings.warn( ......Tree has non-standard patches directory debian/patches-applied. ......................dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) Use of uninitialized value $step in string ne at /usr/share/perl5/Debian/Debhelper/Buildsystem/perl_build.pm line 24. Use of uninitialized value $step in string ne at /usr/share/perl5/Debian/Debhelper/Buildsystem.pm line 424. ..dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) Use of uninitialized value $step in string ne at /usr/share/perl5/Debian/Debhelper/Buildsystem/perl_build.pm line 24. Use of uninitialized value $step in string ne at /usr/share/perl5/Debian/Debhelper/Buildsystem.pm line 424. ....../tmp/autopkgtest.aoDwvO/build.6pK/src/fixers/package-uses-deprecated-debhelper-compat-version.py:80: UserWarning: Not upgrading beyond debhelper 10, since the package disables autoreconf but its configure does not provide --runstatedir. warnings.warn( .................gpg: WARNING: running with faked system time: 2019-08-24 12:26:39 gpg: WARNING: running with faked system time: 2019-08-24 12:26:39 .gpg: WARNING: running with faked system time: 2019-08-24 12:26:39 gpg: WARNING: running with faked system time: 2019-08-24 12:26:39 .gpg: WARNING: running with faked system time: 2019-08-24 12:26:39 gpg: WARNING: running with faked system time: 2019-08-24 12:26:39 .gpg: WARNING: running with faked system time: 2019-08-24 12:26:39 gpg: WARNING: running with faked system time: 2019-08-24 12:26:39 .gpg: WARNING: running with faked system time: 2019-08-24 12:26:39 gpg: WARNING: running with faked system time: 2019-08-24 12:26:39 gpg: WARNING: running with faked system time: 2019-08-24 12:26:39 ......................../usr/lib/python3/dist-packages/pkginfo/develop.py:45: UserWarning: No PKG-INFO found for path: /tmp/tmpu0kdvv1b/testdir warnings.warn('No PKG-INFO found for path: %s' % self.path) ............./usr/lib/python3/dist-packages/lintian_brush/upstream_metadata.py:449: UserWarning: Unable to parse dist.ini: Source contains parsing errors: '<string>' [line 7]: ':version = 0.097\n' warn('Unable to parse dist.ini: %r' % e) ............................Undefined licenses in copyright: ['GPL-2+']........................................../usr/lib/python3/dist-packages/lintian_brush/_deb822.py:115: UserWarning: cannot parse package relationship "${misc:Built-Using}", returning it raw warnings.warn( ./usr/lib/python3/dist-packages/lintian_brush/_deb822.py:115: UserWarning: cannot parse package relationship "${misc:Built-Using}", returning it raw warnings.warn( ./usr/lib/python3/dist-packages/lintian_brush/_deb822.py:115: UserWarning: cannot parse package relationship "${w32:Built-Using}", returning it raw warnings.warn( .................................................... ====================================================================== ERROR: test_invalid_header (lintian_brush.tests.test_multiarch_hints.ParseMultiArchHints) lintian_brush.tests.test_multiarch_hints.ParseMultiArchHints.test_invalid_header ---------------------------------------------------------------------- testtools.testresult.real._StringException: Empty attachments: log Traceback (most recent call last): File "/tmp/autopkgtest.aoDwvO/build.6pK/src/lintian_brush/tests/test_multiarch_hints.py", line 37, in test_invalid_header self.assertRaises(ValueError, parse_multiarch_hints, f) File "/usr/lib/python3/dist-packages/breezy/tests/__init__.py", line 1483, in assertRaises callableObj(*args, **kwargs) File "/tmp/autopkgtest.aoDwvO/build.6pK/src/lintian_brush/multiarch_hints.py", line 66, in parse_multiarch_hints data = yaml.load(f) File "/usr/lib/python3/dist-packages/ruamel/yaml/main.py", line 331, in load return constructor.get_single_data() File "/usr/lib/python3/dist-packages/ruamel/yaml/constructor.py", line 109, in get_single_data node = self.composer.get_single_node() File "ext/_ruamel_yaml.pyx", line 701, in _ruamel_yaml.CParser.get_single_node File "ext/_ruamel_yaml.pyx", line 904, in _ruamel_yaml.CParser._parse_next_event ruamel.yaml.reader.ReaderError: unacceptable character #x001a: control characters are not allowed in "<file>", position 13 ====================================================================== ERROR: test_some_entries (lintian_brush.tests.test_multiarch_hints.ParseMultiArchHints) lintian_brush.tests.test_multiarch_hints.ParseMultiArchHints.test_some_entries ---------------------------------------------------------------------- testtools.testresult.real._StringException: Empty attachments: log Traceback (most recent call last): File "/tmp/autopkgtest.aoDwvO/build.6pK/src/lintian_brush/tests/test_multiarch_hints.py", line 51, in test_some_entries parse_multiarch_hints(f), [{ File "/tmp/autopkgtest.aoDwvO/build.6pK/src/lintian_brush/multiarch_hints.py", line 66, in parse_multiarch_hints data = yaml.load(f) File "/usr/lib/python3/dist-packages/ruamel/yaml/main.py", line 331, in load return constructor.get_single_data() File "/usr/lib/python3/dist-packages/ruamel/yaml/constructor.py", line 109, in get_single_data node = self.composer.get_single_node() File "ext/_ruamel_yaml.pyx", line 701, in _ruamel_yaml.CParser.get_single_node File "ext/_ruamel_yaml.pyx", line 904, in _ruamel_yaml.CParser._parse_next_event ruamel.yaml.reader.ReaderError: unacceptable character #x0022: invalid trailing UTF-8 octet in "<file>", position 239 ---------------------------------------------------------------------- Ran 602 tests in 30.635s FAILED (errors=2, skipped=10, expected failures=1) sys:1: ResourceWarning: unclosed file <_io.TextIOWrapper name=0 mode='r' encoding='utf-8'> autopkgtest [16:07:14]: test tool-testsuite: -----------------------] tool-testsuite FAIL non-zero exit status 1 autopkgtest [16:07:15]: test tool-testsuite: - - - - - - - - - - results - - - - - - - - - - autopkgtest [16:07:15]: @@@@@@@@@@@@@@@@@@@@ summary tool-testsuite FAIL non-zero exit status 1 Exit request sent. Creating nova instance adt-groovy-s390x-lintian-brush-20200602-160341 from image adt/ubuntu-groovy-s390x-server-20200602.img (UUID 2a6aeb12-5413-451c-a711-6bf3d10374a2)... Can you please have a look? thanks Gianfranco