Your message dated Mon, 13 Feb 2017 16:33:35 +0000
with message-id <[email protected]>
and subject line Bug#854745: fixed in diffoscope 77
has caused the Debian Bug report #854745,
regarding diffoscope: autopkgtest failures
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
854745: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=854745
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: diffoscope
Version: 65
Severity important
https://ci.debian.net/data/packages/unstable/amd64/d/diffoscope/20170209_233402.autopkgtest.log.gz
adt-run [23:40:53]: test command1: debian/tests/pytest
adt-run [23:40:53]: test command1: [-----------------------
============================= test session starts ==============================
platform linux -- Python 3.5.3, pytest-3.0.6, py-1.4.32, pluggy-0.4.0 --
/usr/bin/python3
cachedir: .cache
rootdir: /tmp/autopkgtest-virt-lxc.shared.f_roa_k1/downtmp/autopkgtest_tmp,
inifile:
collecting ... collected 286 items
...
=========================== short test summary info ============================
FAIL tests/comparators/test_debian.py::test_dot_changes_invalid
FAIL
tests/comparators/test_debian.py::test_dot_changes_no_differences_exclude_buildinfo
FAIL
tests/comparators/test_debian.py::test_dot_changes_identical_contents_and_different_files
FAIL
tests/comparators/test_debian.py::test_dot_changes_different_contents_and_identical_files
FAIL tests/comparators/test_debian.py::test_dot_dsc_invalid
FAIL tests/comparators/test_debian.py::test_dot_dsc_internal_diff
FAIL tests/comparators/test_debian.py::test_dot_dsc_compare_non_existing
FAIL tests/comparators/test_debian.py::test_dot_buildinfo_invalid
FAIL tests/comparators/test_debian.py::test_dot_buildinfo_internal_diff
FAIL tests/comparators/test_debian.py::test_dot_buildinfo_compare_non_existing
FAIL tests/comparators/test_elf.py::test_differences_with_dbgsym
...
=================================== FAILURES ===================================
___________________________ test_dot_changes_invalid ___________________________
tmpdir = local('/tmp/pytest-of-debci/pytest-0/test_dot_changes_invalid0')
@skip_unless_module_exists('debian.deb822')
def test_dot_changes_invalid(tmpdir):
tmpdir.mkdir('a')
dot_changes_path = str(tmpdir.join('a/test_1.changes'))
shutil.copy(TEST_DOT_CHANGES_FILE1_PATH, dot_changes_path)
# we don't copy the referenced .deb
identified = specialize(FilesystemFile(dot_changes_path))
> assert not isinstance(identified, DotChangesFile)
E assert not True
E + where True = isinstance(<<class 'abc.DotChangesFile'>
/tmp/pytest-of-debci/pytest-0/test_dot_changes_invalid0/a/test_1.changes>,
DotChangesFile)
dot_changes_path =
'/tmp/pytest-of-debci/pytest-0/test_dot_changes_invalid0/a/test_1.changes'
identified = <<class 'abc.DotChangesFile'>
/tmp/pytest-of-debci/pytest-0/test_dot_changes_invalid0/a/test_1.changes>
tmpdir = local('/tmp/pytest-of-debci/pytest-0/test_dot_changes_invalid0')
tests/comparators/test_debian.py:96: AssertionError
______________ test_dot_changes_no_differences_exclude_buildinfo _______________
dot_changes1 = <<class 'abc.DotChangesFile'>
/tmp/pytest-of-debci/pytest-0/test_dot_changes_no_difference1/a/test_1.changes>
dot_changes3 = <<class 'abc.DotChangesFile'>
/tmp/pytest-of-debci/pytest-0/test_dot_changes_no_difference1/c/test_3.changes>
@skip_unless_module_exists('debian.deb822')
def test_dot_changes_no_differences_exclude_buildinfo(dot_changes1,
dot_changes3):
difference = dot_changes1.compare(dot_changes3)
> assert difference is None
E assert <Difference
/tmp/pytest-of-debci/pytest-0/test_dot_changes_no_difference1/a/test_1.changes
--
/tmp/pytest-of-debci/pytest-0/test_dot_changes_no_difference1/c/test_3.changes
[]> is None
difference = <Difference
/tmp/pytest-of-debci/pytest-0/test_dot_changes_no_difference1/a/test_1.changes
--
/tmp/pytest-of-debci/pytest-0/test_dot_changes_no_difference1/c/test_3.changes
[]>
dot_changes1 = <<class 'abc.DotChangesFile'>
/tmp/pytest-of-debci/pytest-0/test_dot_changes_no_difference1/a/test_1.changes>
dot_changes3 = <<class 'abc.DotChangesFile'>
/tmp/pytest-of-debci/pytest-0/test_dot_changes_no_difference1/c/test_3.changes>
tests/comparators/test_debian.py:126: AssertionError
___________ test_dot_changes_identical_contents_and_different_files ____________
dot_changes_differences_identical_contents_and_different_files = []
@skip_unless_module_exists('debian.deb822')
def
test_dot_changes_identical_contents_and_different_files(dot_changes_differences_identical_contents_and_different_files):
> assert dot_changes_differences_identical_contents_and_different_files[0]
E IndexError: list index out of range
dot_changes_differences_identical_contents_and_different_files = []
tests/comparators/test_debian.py:130: IndexError
___________ test_dot_changes_different_contents_and_identical_files ____________
dot_changes_differences_different_contents_and_identical_files = []
@skip_unless_module_exists('debian.deb822')
def
test_dot_changes_different_contents_and_identical_files(dot_changes_differences_different_contents_and_identical_files):
> assert dot_changes_differences_different_contents_and_identical_files[0]
E IndexError: list index out of range
dot_changes_differences_different_contents_and_identical_files = []
tests/comparators/test_debian.py:136: IndexError
_____________________________ test_dot_dsc_invalid _____________________________
tmpdir = local('/tmp/pytest-of-debci/pytest-0/test_dot_dsc_invalid0')
dot_dsc2 = <<class 'abc.DotDscFile'>
/tmp/pytest-of-debci/pytest-0/test_dot_dsc_invalid0/b/test_1.dsc>
@skip_unless_module_exists('debian.deb822')
def test_dot_dsc_invalid(tmpdir, dot_dsc2):
tmpdir.mkdir('a')
dot_dsc_path = str(tmpdir.join('a/test_1.dsc'))
shutil.copy(TEST_DOT_CHANGES_FILE1_PATH, dot_dsc_path)
# we don't copy the referenced .tar.gz
identified = specialize(FilesystemFile(dot_dsc_path))
> assert not isinstance(identified, DotDscFile)
E assert not True
E + where True = isinstance(<<class 'abc.DotDscFile'>
/tmp/pytest-of-debci/pytest-0/test_dot_dsc_invalid0/a/test_1.dsc>, DotDscFile)
dot_dsc2 = <<class 'abc.DotDscFile'>
/tmp/pytest-of-debci/pytest-0/test_dot_dsc_invalid0/b/test_1.dsc>
dot_dsc_path =
'/tmp/pytest-of-debci/pytest-0/test_dot_dsc_invalid0/a/test_1.dsc'
identified = <<class 'abc.DotDscFile'>
/tmp/pytest-of-debci/pytest-0/test_dot_dsc_invalid0/a/test_1.dsc>
tmpdir = local('/tmp/pytest-of-debci/pytest-0/test_dot_dsc_invalid0')
tests/comparators/test_debian.py:175: AssertionError
__________________________ test_dot_dsc_internal_diff __________________________
dot_dsc_differences = []
@skip_unless_module_exists('debian.deb822')
def test_dot_dsc_internal_diff(dot_dsc_differences):
> assert dot_dsc_differences[1].source1 == 'test_1.tar.gz'
E IndexError: list index out of range
dot_dsc_differences = []
tests/comparators/test_debian.py:188: IndexError
______________________ test_dot_dsc_compare_non_existing _______________________
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fad49304e10>
dot_dsc1 = <<class 'abc.DotDscFile'>
/tmp/pytest-of-debci/pytest-0/test_dot_dsc_compare_non_exist0/a/test_1.dsc>
@skip_unless_module_exists('debian.deb822')
def test_dot_dsc_compare_non_existing(monkeypatch, dot_dsc1):
monkeypatch.setattr(Config(), 'new_file', True)
difference = dot_dsc1.compare(MissingFile('/nonexisting', dot_dsc1))
assert difference.source2 == '/nonexisting'
> assert difference.details[-1].source2 == '/dev/null'
E IndexError: list index out of range
difference = <Difference
/tmp/pytest-of-debci/pytest-0/test_dot_dsc_compare_non_exist0/a/test_1.dsc --
/nonexisting []>
dot_dsc1 = <<class 'abc.DotDscFile'>
/tmp/pytest-of-debci/pytest-0/test_dot_dsc_compare_non_exist0/a/test_1.dsc>
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fad49304e10>
tests/comparators/test_debian.py:195: IndexError
__________________________ test_dot_buildinfo_invalid __________________________
tmpdir = local('/tmp/pytest-of-debci/pytest-0/test_dot_buildinfo_invalid0')
@skip_unless_module_exists('debian.deb822')
def test_dot_buildinfo_invalid(tmpdir):
tmpdir.mkdir('a')
dot_buildinfo_path = str(tmpdir.join('a/test_1.buildinfo'))
shutil.copy(TEST_DOT_BUILDINFO_FILE1_PATH, dot_buildinfo_path)
# we don't copy the referenced .deb
identified = specialize(FilesystemFile(dot_buildinfo_path))
> assert not isinstance(identified, DotBuildinfoFile)
E assert not True
E + where True = isinstance(<<class 'abc.DotBuildinfoFile'>
/tmp/pytest-of-debci/pytest-0/test_dot_buildinfo_invalid0/a/test_1.buildinfo>,
DotBuildinfoFile)
dot_buildinfo_path =
'/tmp/pytest-of-debci/pytest-0/test_dot_buildinfo_invalid0/a/test_1.buildinfo'
identified = <<class 'abc.DotBuildinfoFile'>
/tmp/pytest-of-debci/pytest-0/test_dot_buildinfo_invalid0/a/test_1.buildinfo>
tmpdir = local('/tmp/pytest-of-debci/pytest-0/test_dot_buildinfo_invalid0')
tests/comparators/test_debian.py:226: AssertionError
_______________________ test_dot_buildinfo_internal_diff _______________________
dot_buildinfo_differences = []
@skip_unless_module_exists('debian.deb822')
def test_dot_buildinfo_internal_diff(dot_buildinfo_differences):
> assert dot_buildinfo_differences[1].source1 == 'test_1_all.deb'
E IndexError: list index out of range
dot_buildinfo_differences = []
tests/comparators/test_debian.py:239: IndexError
___________________ test_dot_buildinfo_compare_non_existing ____________________
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fad4939bd30>
dot_buildinfo1 = <<class 'abc.DotBuildinfoFile'>
/tmp/pytest-of-debci/pytest-0/test_dot_buildinfo_compare_non0/a/test_1.buildinfo>
@skip_unless_module_exists('debian.deb822')
def test_dot_buildinfo_compare_non_existing(monkeypatch, dot_buildinfo1):
> assert_non_existing(monkeypatch, dot_buildinfo1)
dot_buildinfo1 = <<class 'abc.DotBuildinfoFile'>
/tmp/pytest-of-debci/pytest-0/test_dot_buildinfo_compare_non0/a/test_1.buildinfo>
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fad4939bd30>
tests/comparators/test_debian.py:243:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fad4939bd30>
fixture = <<class 'abc.DotBuildinfoFile'>
/tmp/pytest-of-debci/pytest-0/test_dot_buildinfo_compare_non0/a/test_1.buildinfo>
has_null_source = True, has_details = True
def assert_non_existing(monkeypatch, fixture, has_null_source=True,
has_details=True):
monkeypatch.setattr(Config(), 'new_file', True)
assert Config().new_file, "didnt get patched"
difference = fixture.compare(MissingFile('/nonexisting', fixture))
assert difference.source2 == '/nonexisting'
> assert not has_details or len(difference.details) > 0
E AssertionError
difference = <Difference
/tmp/pytest-of-debci/pytest-0/test_dot_buildinfo_compare_non0/a/test_1.buildinfo
-- /nonexisting []>
fixture = <<class 'abc.DotBuildinfoFile'>
/tmp/pytest-of-debci/pytest-0/test_dot_buildinfo_compare_non0/a/test_1.buildinfo>
has_details = True
has_null_source = True
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fad4939bd30>
tests/comparators/utils/nonexisting.py:32: AssertionError
_________________________ test_differences_with_dbgsym _________________________
dbgsym_differences = <Difference
/tmp/autopkgtest-virt-lxc.shared.f_roa_k1/downtmp/autopkgtest_tmp/tests/comparators/../data/dbgsym/add/tes...-wide
--decompress --hex-dump=.gnu_debuglink {} -- readelf --wide --decompress
--hex-dump=.gnu_debuglink {} []>]>]>]>]>
@skip_unless_tools_exist('readelf', 'objdump', 'objcopy')
@skip_if_binutils_does_not_support_x86()
@skip_unless_module_exists('debian.deb822')
def test_differences_with_dbgsym(dbgsym_differences):
assert dbgsym_differences.details[2].source1 == 'data.tar.xz'
bin_details = dbgsym_differences.details[2].details[0].details[0]
assert bin_details.source1 == './usr/bin/test'
assert bin_details.details[1].source1.startswith('objdump')
> assert 'test-cases/dbgsym/package/test.c:2' in
> bin_details.details[1].unified_diff
E assert 'test-cases/dbgsym/package/test.c:2' in '@@ -1,14 +1,14 @@\n \n
\n \n Disassembly of section .text:\n \n 0000000000400400 <.text>:\n-
400400:\t8d 47 2a ...\n 40040d:\t48 83 e4 f0 \tand
$0xfffffffffffffff0,%rsp\n 400411:\t50 \tpush %rax\n'
E + where '@@ -1,14 +1,14 @@\n \n \n \n Disassembly of section .text:\n
\n 0000000000400400 <.text>:\n- 400400:\t8d 47 2a ...\n 40040d:\t48 83
e4 f0 \tand $0xfffffffffffffff0,%rsp\n 400411:\t50
\tpush %rax\n' = <Difference objdump --line-numbers --disassemble
--demangle --section=.text {} -- objdump --line-numbers --disassemble
--demangle --section=.text {} []>.unified_diff
bin_details = <Difference ./usr/bin/test -- ./usr/bin/test [<Difference readelf
--wide --notes {} -- readelf --wide --notes {} []>, ...delf --wide --decompress
--hex-dump=.gnu_debuglink {} -- readelf --wide --decompress
--hex-dump=.gnu_debuglink {} []>]>
dbgsym_differences = <Difference
/tmp/autopkgtest-virt-lxc.shared.f_roa_k1/downtmp/autopkgtest_tmp/tests/comparators/../data/dbgsym/add/tes...-wide
--decompress --hex-dump=.gnu_debuglink {} -- readelf --wide --decompress
--hex-dump=.gnu_debuglink {} []>]>]>]>]>
tests/comparators/test_elf.py:129: AssertionError
============== 11 failed, 184 passed, 91 skipped in 60.15 seconds ==============
adt-run [23:41:54]: test command1: -----------------------]
adt-run [23:41:54]: test command1: - - - - - - - - - - results - - - - - - - -
- -
command1 FAIL non-zero exit status 1
--
regards,
Mattia Rizzolo
GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`.
more about me: https://mapreri.org : :' :
Launchpad user: https://launchpad.net/~mapreri `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia `-
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
Source: diffoscope
Source-Version: 77
We believe that the bug you reported is fixed in the latest version of
diffoscope, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Mattia Rizzolo <[email protected]> (supplier of updated diffoscope package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 13 Feb 2017 16:25:02 +0100
Source: diffoscope
Binary: diffoscope
Architecture: source
Version: 77
Distribution: unstable
Urgency: medium
Maintainer: Reproducible builds folks
<[email protected]>
Changed-By: Mattia Rizzolo <[email protected]>
Description:
diffoscope - in-depth comparison of files, archives, and directories
Closes: 854723 854745 854783
Changes:
diffoscope (77) unstable; urgency=medium
.
[ Chris Lamb ]
* tests/comparators/utils:
+ Correct logic of module_exists, ensuring we correctly skip in case of
modules containing a dot in their name. Closes: #854745
* comparators/utils/libarchive:
+ No need to track archive directory locations.
* Add --exclude option. Closes: #854783
* Add PyPI badge to README.rst.
* Update .travis.yml from http://travis.debian.net.
.
[ Mattia Rizzolo ]
* Add CVE reference to the changelog of v76.
* Add my key to debian/upstream/signing-key.asc.
.
[ Ximin Luo ]
* comparators/utils/libarchive:
+ When extracting archives, try to keep directory sizes small.
.
diffoscope (76) unstable; urgency=medium
.
[ Chris Lamb ]
* Extract archive members using an auto-incrementing integer, avoiding the
need to sanitise filenames and avoiding writes to arbitrary locations.
(Closes: #854723 - CVE-2017-0359)
.
[ Ximin Luo ]
* Simplify call to subprocess.Popen
Checksums-Sha1:
88ab09a8ecf57244ee21bd5c2f19a39b0f1c5062 2972 diffoscope_77.dsc
b0c72453546afd30364c36aa2a86355d712ad55f 349436 diffoscope_77.tar.xz
619ab27596d84ee53ebe2e8924c3ad662e1deea8 16138 diffoscope_77_amd64.buildinfo
Checksums-Sha256:
964f94d42f970ba32d73770e9d0c151fe149633cfb9054333bafe7df3f0271ee 2972
diffoscope_77.dsc
c9adeb0bfb0c92a3501df04b6ea4300c3896f15a9008803e4e12c1f312528499 349436
diffoscope_77.tar.xz
3e10be4a12c432443536830551d536e73dbb4de8f1374cf7ec6c5a033104a793 16138
diffoscope_77_amd64.buildinfo
Files:
853b57d21d18fafb72701114b189a315 2972 devel optional diffoscope_77.dsc
13f5d4623bfd49a3787a3d03c9f4f076 349436 devel optional diffoscope_77.tar.xz
dc24dbcee5c0028bc590f98a97504d14 16138 devel optional
diffoscope_77_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEi3hoeGwz5cZMTQpICBa54Yx2K60FAlih0y4ACgkQCBa54Yx2
K61wdBAAlmhCj1QjMML0C7SgOprVNYmKhIwo+MzW0DHD4Mn3FaTU6v2QdtCO3Sev
/kFVQDf2Tv+qAZhJ4h67a0hF710myt5faZVkMCqtCUsiVaNs/Q3py5wZAkJgpXMO
C6gEP1rCQctDGKricbLasYhv71iUU6MNQym4G1sohJxi74fQ+CM1+STvCV3MIfIm
SivzqSLja/lnyuRdHFjSIhPwR0tSoePmwQaNR7omd4EhC8seFS7vVcnRqO9bwSWz
khZpLPKvSEdLfzLDjNGo4trFi6EEyMkdOh+Oqy2RQNYmVr1YQYkmNTn284FUQduv
YxTG2/iFbdCWnYp+94RZI22TTJwBUsiAssAGFJD3e89ID6aPrjX/nq0ojHvz8mLF
NWt/KySh2tkFzMCRP3d61hVm0QASPp1oXWHhxSBkXt1DPOQ6ujtsbme62bLZAh0r
xco5c+JbRPMcjlNd4dZMy9qG0kjs+pRP6gF6qMbh8DXyPRAJrDQ8Y13U0dNKYzR+
ND9+dsVuFn/crrvjJqkowr4PqiQNbAa1zGQJtsxVXpw5Y8HtRPHNSWR976orR2Cp
QmqzEXCy9L+jN9oU9l/dKtRSBqvDckUZVfO6g177uasPAMdC3h3V/2WsFqXylDP6
AQxDrS/qia2YczKWytJ0LgluQsvmQn5j+93IhpyJNCJPaTwa5U0=
=QV/2
-----END PGP SIGNATURE-----
--- End Message ---