Source: lintian-brush
Version: 0.134
Severity: serious
User: debian...@lists.debian.org
Usertags: regression

Dear maintainer(s),

With a recent upload of lintian-brush the autopkgtest of lintian-brush fails in testing when that autopkgtest is run with the binary packages of lintian-brush from unstable. It passes when run with only packages from testing. In tabular form:

                       pass            fail
lintian-brush          from testing    0.134
versioned deps [0]     from testing    from unstable
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration to testing [1]. Can you please investigate the situation and fix it?

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[0] You can see what packages were added from the second line of the log file quoted below. The migration software adds source package from unstable to the list if they are needed to install packages from lintian-brush/0.134. I.e. due to versioned dependencies or breaks/conflicts.
[1] https://qa.debian.org/excuses.php?package=lintian-brush

https://ci.debian.net/data/autopkgtest/testing/amd64/l/lintian-brush/28079251/log.gz

failed to open trace file: [Errno 13] Permission denied: '/you-should-use-TestCaseInTempDir-if-you-need-a-log-file' ...Unexpected line while looking for first heading: THIS IS NOT A PARSEABLE LINE ...........................................................................F......................x....INFO:brz:Committing to: /tmp/testbzr-8ohdek32.tmp/lintian_brush.tests.test_run.RunLintianFixerTests.test_upstream_change_stacked/work/
INFO:brz:added debian
INFO:brz:added debian/changelog
INFO:brz:added debian/control
INFO:brz:Committed revision 1.
INFO:brz:Committing to: /tmp/testbzr-8ohdek32.tmp/lintian_brush.tests.test_run.RunLintianFixerTests.test_upstream_change_stacked/work/
INFO:brz:added debian/patches
INFO:brz:added debian/patches/foo
INFO:brz:added debian/patches/series
INFO:brz:Committed revision 2.
.INFO:brz:Committing to: /tmp/testbzr-8ohdek32.tmp/lintian_brush.tests.test_run.RunLintianFixersTests.test_fails/work/
INFO:brz:added debian
INFO:brz:added debian/changelog
INFO:brz:added debian/control
INFO:brz:Committed revision 1.
/usr/lib/python3/dist-packages/pyinotify.py:71: DeprecationWarning: The asyncore module is deprecated and will be removed in Python 3.12. The recommended replacement is asyncio
  import asyncore
.INFO:brz:Committing to: /tmp/testbzr-8ohdek32.tmp/lintian_brush.tests.test_run.RunLintianFixersTests.test_not_debian_tree/work/
INFO:brz:added debian
INFO:brz:added debian/changelog
INFO:brz:added debian/control
INFO:brz:Committed revision 1.
INFO:brz:removed debian/changelog
INFO:brz:Committing to: /tmp/testbzr-8ohdek32.tmp/lintian_brush.tests.test_run.RunLintianFixersTests.test_not_debian_tree/work/
INFO:brz:deleted debian/changelog
INFO:brz:Committed revision 2.
.INFO:brz:Committing to: /tmp/testbzr-8ohdek32.tmp/lintian_brush.tests.test_run.RunLintianFixersTests.test_simple_modify/work/
INFO:brz:added debian
INFO:brz:added debian/changelog
INFO:brz:added debian/control
INFO:brz:Committed revision 1.
...................................................F...F.....F......................EETraceback (most recent call last): File "/tmp/autopkgtest-lxc.7zevms7k/downtmp/build.go5/src/fixers/old-override-info-format.py", line 37, in <module>
    update_overrides(fix_info)
File "/tmp/autopkgtest-lxc.7zevms7k/downtmp/build.go5/src/lintian_brush/lintian_overrides.py", line 55, in update_overrides
    update_overrides_file(
File "/tmp/autopkgtest-lxc.7zevms7k/downtmp/build.go5/src/lintian_brush/lintian_overrides.py", line 77, in update_overrides_file
    entry = cb(lineno, entry)
File "/tmp/autopkgtest-lxc.7zevms7k/downtmp/build.go5/src/lintian_brush/lintian_overrides.py", line 56, in <lambda>
    lambda lineno, override: cb(path, lineno, override),
File "/tmp/autopkgtest-lxc.7zevms7k/downtmp/build.go5/src/fixers/old-override-info-format.py", line 22, in fix_info
    info = fix_override_info(override)
File "/tmp/autopkgtest-lxc.7zevms7k/downtmp/build.go5/src/lintian_brush/lintian_overrides.py", line 343, in fix_override_info
    info = re.sub(fixer[0], fixer[1], override.info)
NameError: name 're' is not defined
FTraceback (most recent call last):
File "/tmp/autopkgtest-lxc.7zevms7k/downtmp/build.go5/src/fixers/old-override-info-format.py", line 37, in <module>
    update_overrides(fix_info)
File "/tmp/autopkgtest-lxc.7zevms7k/downtmp/build.go5/src/lintian_brush/lintian_overrides.py", line 55, in update_overrides
    update_overrides_file(
File "/tmp/autopkgtest-lxc.7zevms7k/downtmp/build.go5/src/lintian_brush/lintian_overrides.py", line 77, in update_overrides_file
    entry = cb(lineno, entry)
File "/tmp/autopkgtest-lxc.7zevms7k/downtmp/build.go5/src/lintian_brush/lintian_overrides.py", line 56, in <lambda>
    lambda lineno, override: cb(path, lineno, override),
File "/tmp/autopkgtest-lxc.7zevms7k/downtmp/build.go5/src/fixers/old-override-info-format.py", line 22, in fix_info
    info = fix_override_info(override)
File "/tmp/autopkgtest-lxc.7zevms7k/downtmp/build.go5/src/lintian_brush/lintian_overrides.py", line 343, in fix_override_info
    info = re.sub(fixer[0], fixer[1], override.info)
NameError: name 're' is not defined
FTraceback (most recent call last):
File "/tmp/autopkgtest-lxc.7zevms7k/downtmp/build.go5/src/fixers/old-override-info-format.py", line 37, in <module>
    update_overrides(fix_info)
File "/tmp/autopkgtest-lxc.7zevms7k/downtmp/build.go5/src/lintian_brush/lintian_overrides.py", line 55, in update_overrides
    update_overrides_file(
File "/tmp/autopkgtest-lxc.7zevms7k/downtmp/build.go5/src/lintian_brush/lintian_overrides.py", line 77, in update_overrides_file
    entry = cb(lineno, entry)
File "/tmp/autopkgtest-lxc.7zevms7k/downtmp/build.go5/src/lintian_brush/lintian_overrides.py", line 56, in <lambda>
    lambda lineno, override: cb(path, lineno, override),
File "/tmp/autopkgtest-lxc.7zevms7k/downtmp/build.go5/src/fixers/old-override-info-format.py", line 22, in fix_info
    info = fix_override_info(override)
File "/tmp/autopkgtest-lxc.7zevms7k/downtmp/build.go5/src/lintian_brush/lintian_overrides.py", line 343, in fix_override_info
    info = re.sub(fixer[0], fixer[1], override.info)
NameError: name 're' is not defined
FTraceback (most recent call last):
File "/tmp/autopkgtest-lxc.7zevms7k/downtmp/build.go5/src/fixers/old-override-info-format.py", line 37, in <module>
    update_overrides(fix_info)
File "/tmp/autopkgtest-lxc.7zevms7k/downtmp/build.go5/src/lintian_brush/lintian_overrides.py", line 55, in update_overrides
    update_overrides_file(
File "/tmp/autopkgtest-lxc.7zevms7k/downtmp/build.go5/src/lintian_brush/lintian_overrides.py", line 77, in update_overrides_file
    entry = cb(lineno, entry)
File "/tmp/autopkgtest-lxc.7zevms7k/downtmp/build.go5/src/lintian_brush/lintian_overrides.py", line 56, in <lambda>
    lambda lineno, override: cb(path, lineno, override),
File "/tmp/autopkgtest-lxc.7zevms7k/downtmp/build.go5/src/fixers/old-override-info-format.py", line 22, in fix_info
    info = fix_override_info(override)
File "/tmp/autopkgtest-lxc.7zevms7k/downtmp/build.go5/src/lintian_brush/lintian_overrides.py", line 343, in fix_override_info
    info = re.sub(fixer[0], fixer[1], override.info)
NameError: name 're' is not defined
F.Traceback (most recent call last):
File "/tmp/autopkgtest-lxc.7zevms7k/downtmp/build.go5/src/fixers/old-override-info-format.py", line 37, in <module>
    update_overrides(fix_info)
File "/tmp/autopkgtest-lxc.7zevms7k/downtmp/build.go5/src/lintian_brush/lintian_overrides.py", line 55, in update_overrides
    update_overrides_file(
File "/tmp/autopkgtest-lxc.7zevms7k/downtmp/build.go5/src/lintian_brush/lintian_overrides.py", line 77, in update_overrides_file
    entry = cb(lineno, entry)
File "/tmp/autopkgtest-lxc.7zevms7k/downtmp/build.go5/src/lintian_brush/lintian_overrides.py", line 56, in <lambda>
    lambda lineno, override: cb(path, lineno, override),
File "/tmp/autopkgtest-lxc.7zevms7k/downtmp/build.go5/src/fixers/old-override-info-format.py", line 22, in fix_info
    info = fix_override_info(override)
File "/tmp/autopkgtest-lxc.7zevms7k/downtmp/build.go5/src/lintian_brush/lintian_overrides.py", line 343, in fix_override_info
    info = re.sub(fixer[0], fixer[1], override.info)
NameError: name 're' is not defined
F..........Traceback (most recent call last):
File "/tmp/autopkgtest-lxc.7zevms7k/downtmp/build.go5/src/fixers/no-copyright-file.py", line 33, in <module>
    from decopy.tree import RootInfo, DirInfo  # noqa: E402
File "/usr/lib/python3/dist-packages/decopy/tree.py", line 40, in <module>
    from .parsers import parse_file
File "/usr/lib/python3/dist-packages/decopy/parsers.py", line 38, in <module>
    import xdg.Mime
ModuleNotFoundError: No module named 'xdg.Mime'; 'xdg' is not a package
FTraceback (most recent call last):
File "/tmp/autopkgtest-lxc.7zevms7k/downtmp/build.go5/src/fixers/no-copyright-file.py", line 33, in <module>
    from decopy.tree import RootInfo, DirInfo  # noqa: E402
File "/usr/lib/python3/dist-packages/decopy/tree.py", line 40, in <module>
    from .parsers import parse_file
File "/usr/lib/python3/dist-packages/decopy/parsers.py", line 38, in <module>
    import xdg.Mime
ModuleNotFoundError: No module named 'xdg.Mime'; 'xdg' is not a package
F......................................A common license shortname (Apache-2.0) is used, but license text not recognized. ...A common license shortname (Apache-2.0) is used, but license text not recognized.
..Unable to get canonical name for 'BSD-3-clause'
Found full license text for BSD-3-clause, but unknown synopsis BSD-3-clause (BSD-3-clause) ....................................Unexpected line while looking for start of change data: * Initial Release.
Unexpected line while looking for start of change data:  * Initial Release.
.............................................................................Tree has non-standard patches directory debian/patches-applied. ...................................................Not upgrading beyond debhelper 10, since the package disables autoreconf but its configure does not provide --runstatedir. ....................../tmp/autopkgtest-lxc.7zevms7k/downtmp/build.go5/src/fixers/possible-missing-colon-in-closes.py:42: DeprecationWarning: There is no current event loop
  loop = asyncio.get_event_loop()
./tmp/autopkgtest-lxc.7zevms7k/downtmp/build.go5/src/fixers/possible-missing-colon-in-closes.py:42: DeprecationWarning: There is no current event loop
  loop = asyncio.get_event_loop()
....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
..gpg: WARNING: running with faked system time: 2019-08-24 12:26:39
............................................Unknown tag {http://usefulinc.com/ns/doap#}created in DOAP file
Unknown tag {http://usefulinc.com/ns/doap#}screenshots in DOAP file
Unknown tag {http://usefulinc.com/ns/doap#}release in DOAP file
Unknown tag {http://usefulinc.com/ns/doap#}release in DOAP file
Unknown tag {http://usefulinc.com/ns/doap#}release in DOAP file
Unknown tag {http://usefulinc.com/ns/doap#}release in DOAP file
Unknown tag {http://usefulinc.com/ns/doap#}release in DOAP file
...Unknown tag {http://usefulinc.com/ns/doap#}created in DOAP file
Unknown tag {http://usefulinc.com/ns/doap#}screenshots in DOAP file
Unknown tag {http://usefulinc.com/ns/doap#}release in DOAP file
Unknown tag {http://usefulinc.com/ns/doap#}release in DOAP file
Unknown tag {http://usefulinc.com/ns/doap#}release in DOAP file
Unknown tag {http://usefulinc.com/ns/doap#}release in DOAP file
Unknown tag {http://usefulinc.com/ns/doap#}release in DOAP file
.......Unable to parse dist.ini: Source contains parsing errors: '<string>'
        [line  7]: ':version = 0.097\n'
............Error parsing toml file ./Cargo.toml: Unexpected character: 'h' at line 4 col 11 ..filtering out bad value Person(name='Angela Author', email=None, url=None) for X-Author ............F.....................................Undefined licenses in copyright: ['GPL-2+']............................................................................................................................./tmp/autopkgtest-lxc.7zevms7k/downtmp/build.go5/src/fixers/debug-symbol-migration-possibly-complete.py:69: DeprecationWarning: There is no current event loop
  loop = asyncio.get_event_loop()
./tmp/autopkgtest-lxc.7zevms7k/downtmp/build.go5/src/fixers/debug-symbol-migration-possibly-complete.py:69: DeprecationWarning: There is no current event loop
  loop = asyncio.get_event_loop()
../tmp/autopkgtest-lxc.7zevms7k/downtmp/build.go5/src/fixers/debug-symbol-migration-possibly-complete.py:69: DeprecationWarning: There is no current event loop
  loop = asyncio.get_event_loop()
./tmp/autopkgtest-lxc.7zevms7k/downtmp/build.go5/src/fixers/debug-symbol-migration-possibly-complete.py:69: DeprecationWarning: There is no current event loop
  loop = asyncio.get_event_loop()
.......................................................................................
======================================================================
ERROR: tests (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: tests
Traceback (most recent call last):
File "/usr/lib/python3.10/unittest/loader.py", line 154, in loadTestsFromName
    module = __import__(module_name)
ModuleNotFoundError: No module named 'upstream_ontologist.tests'


======================================================================
ERROR: tests (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: tests
Traceback (most recent call last):
File "/usr/lib/python3.10/unittest/loader.py", line 154, in loadTestsFromName
    module = __import__(module_name)
ModuleNotFoundError: No module named 'upstream_ontologist.tests'


======================================================================
FAIL: test_matches_package_version (lintian_brush.tests.test_run.LintianBrushVersion)
lintian_brush.tests.test_run.LintianBrushVersion.test_matches_package_version
----------------------------------------------------------------------
testtools.testresult.real._StringException: Empty attachments:
  log

Traceback (most recent call last):
File "/tmp/autopkgtest-lxc.7zevms7k/downtmp/build.go5/src/lintian_brush/tests/test_run.py", line 843, in test_matches_package_version
    self.assertEqual(package_version, version_string)
File "/usr/lib/python3/dist-packages/breezy/tests/__init__.py", line 1305, in assertEqual
    raise AssertionError("%snot equal:\na = %s\nb = %s\n"
AssertionError: not equal:
a = '0.134'
b = '0.133'


======================================================================
FAIL: test_fixup (lintian_brush.tests.test_vcs.FixUpGitUrlTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/autopkgtest-lxc.7zevms7k/downtmp/build.go5/src/lintian_brush/tests/test_vcs.py", line 34, in test_fixup
    self.assertEqual(
AssertionError: 'git://github.com/jelmer/dulwich' != 'https://github.com/jelmer/dulwich'
- git://github.com/jelmer/dulwich
? ^^
+ https://github.com/jelmer/dulwich
? ^ +++


======================================================================
FAIL: test_preserves (lintian_brush.tests.test_vcs.FixUpGitUrlTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/autopkgtest-lxc.7zevms7k/downtmp/build.go5/src/lintian_brush/tests/test_vcs.py", line 44, in test_preserves
    self.assertEqual(
AssertionError: 'git://github.com/jelmer/dulwich' != 'https://github.com/jelmer/dulwich'
- git://github.com/jelmer/dulwich
? ^^
+ https://github.com/jelmer/dulwich
? ^ +++


======================================================================
FAIL: test_strip_username (lintian_brush.tests.test_vcs.FixUpGitUrlTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/autopkgtest-lxc.7zevms7k/downtmp/build.go5/src/lintian_brush/tests/test_vcs.py", line 87, in test_strip_username
    self.assertEqual(
AssertionError: 'git://github.com/RPi-Distro/pgzero.git' != 'https://github.com/RPi-Distro/pgzero.git'
- git://github.com/RPi-Distro/pgzero.git
? ^^
+ https://github.com/RPi-Distro/pgzero.git
? ^ +++


======================================================================
FAIL: fixer test: debian-source-options-has-custom-compression-settings for old-override-info-format
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/autopkgtest-lxc.7zevms7k/downtmp/build.go5/src/lintian_brush/tests/fixers.py", line 111, in runTest
    self.assertEqual(p.returncode, 0)
AssertionError: 1 != 0

======================================================================
FAIL: fixer test: package-contains-documentation-outside-usr-share-doc for old-override-info-format
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/autopkgtest-lxc.7zevms7k/downtmp/build.go5/src/lintian_brush/tests/fixers.py", line 111, in runTest
    self.assertEqual(p.returncode, 0)
AssertionError: 1 != 0

======================================================================
FAIL: fixer test: debian-rules-should-not-use-custom-compression-settings for old-override-info-format
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/autopkgtest-lxc.7zevms7k/downtmp/build.go5/src/lintian_brush/tests/fixers.py", line 111, in runTest
    self.assertEqual(p.returncode, 0)
AssertionError: 1 != 0

======================================================================
FAIL: fixer test: autotools-pkg-config-macro-not-cross-compilation-safe for old-override-info-format
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/autopkgtest-lxc.7zevms7k/downtmp/build.go5/src/lintian_brush/tests/fixers.py", line 111, in runTest
    self.assertEqual(p.returncode, 0)
AssertionError: 1 != 0

======================================================================
FAIL: fixer test: debian-rules-parses-dpkg-parsechangelog for old-override-info-format
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/autopkgtest-lxc.7zevms7k/downtmp/build.go5/src/lintian_brush/tests/fixers.py", line 111, in runTest
    self.assertEqual(p.returncode, 0)
AssertionError: 1 != 0

======================================================================
FAIL: fixer test: unknown for no-copyright-file
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/autopkgtest-lxc.7zevms7k/downtmp/build.go5/src/lintian_brush/tests/fixers.py", line 111, in runTest
    self.assertEqual(p.returncode, 0)
AssertionError: 1 != 0

======================================================================
FAIL: fixer test: simple for no-copyright-file
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/autopkgtest-lxc.7zevms7k/downtmp/build.go5/src/lintian_brush/tests/fixers.py", line 111, in runTest
    self.assertEqual(p.returncode, 0)
AssertionError: 1 != 0

======================================================================
FAIL: fixer test: python for upstream-metadata-file
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/autopkgtest-lxc.7zevms7k/downtmp/build.go5/src/lintian_brush/tests/fixers.py", line 159, in runTest
    self.assertEqual(stdout.decode().strip(), f.read().strip())
AssertionError: "Extrapolating ([] => ['Repository-Browse[718 chars]tory" != 'Set upstream metadata fields: Bug-Databa[200 chars]tory' - Extrapolating ([] => ['Repository-Browse: https://salsa.debian.org/jelmer/lintian-brush']) from ('Repository: https://salsa.debian.org/jelmer/lintian-brush', certain) - Extrapolating ([] => ['Bug-Database: https://salsa.debian.org/jelmer/lintian-brush/issues']) from ('Repository: https://salsa.debian.org/jelmer/lintian-brush', certain) - Extrapolating ([] => ['Bug-Submit: https://salsa.debian.org/jelmer/lintian-brush/issues/new']) from ('Bug-Database: https://salsa.debian.org/jelmer/lintian-brush/issues', likely) Set upstream metadata fields: Bug-Database, Bug-Submit, Name, Repository, Repository-Browse.
  Certainty: likely
Fixed-Lintian-Tags: upstream-metadata-file-is-missing, upstream-metadata-missing-bug-tracking, upstream-metadata-missing-repository

----------------------------------------------------------------------
Ran 789 tests in 60.874s

FAILED (failures=12, errors=2, expected failures=1)
sys:1: ResourceWarning: unclosed file <_io.TextIOWrapper name=0 mode='r' encoding='utf-8'>
autopkgtest [20:17:15]: test command1

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to