Source: diffoscope_ _ _ _ _ _ _ _
Version: 289
Dear Maintainer(s),
Since the upload of file/1:5.46-2 there is a test in the pytest suite
that consistently fails on s390x:
https://qa.debian.org/excuses.php?package=file
204s tests/test_quines.py:59:
204s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
204sfile(1) []>
204s difference = <Difference filetype from file(1) -- filetype from
204s filename = 'quine_expected_diff'improve contextual
204s
204s def assert_diff(difference, filename):
204s # Assign seen and expected values to local variables to
204s # information in failed tests.file(1) []>
204s seen = difference.unified_diff
204s expected = get_data(filename)
204s > assert seen == expected
204s E AssertionError
204s
204s difference = <Difference filetype from file(1) -- filetype from
204s expected = ('@@ -1 +1 @@\n'(MS-DOS, OS/2, '
204s '-gzip compressed data, was "recursive", from FAT filesystem
204s 'NT)\n'last modified, '
204s '+Zip archive data, made by v2.0, extract using at least v2.0,
204s 'last modified Sun, Mar 04 2010 00:24:16, uncompressed size440, '
204s 'method=deflate\n')(MS-DOS, OS/2, '
204s filename = 'quine_expected_diff'
204s seen = ('@@ -1 +1 @@\n'
204s '-gzip compressed data, was "recursive", from FAT filesystem
204s 'NT)\n'last modified, '
204s '+Zip archive data, made by v2.0, extract using at least v2.0,
204s 'last modified Sun, Jan 28 2030 01:00:06, uncompressed size440, '
204s 'method=deflate\n')
204s
204s tests/utils/data.py:64: AssertionError
I've re-run it a few times but no changes. Not sure if it's a genuine regression or just a test case that needs updating.
This is affecting other packages such as libzstd:
https://qa.debian.org/excuses.php?package=libzstd
This was triggered by the src:file upload, and still had libzstd 1.5.6, proving that the issue is unrelated to src:libzstd, and most likely due
to src:file.
Christoph, is there a chance that this could be a s390x-specific issue
with file? (Or, perhaps more likely, a Big Endian-specific issue? A
quick glance at [0] suggests that s390x is Debian's only BE
architecture at the moment.)
Hopefully I understood correctly this is about tests/data/quine.zip¹ in
the diffoscope sources.
There are some more stories about this to share, but better over a
beer.
Christoph Biedl wrote:
There are some more stories about this to share, but better over a
beer.
Oh, mysterious! Looking forward to that…
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 483 |
Nodes: | 16 (0 / 16) |
Uptime: | 81:19:32 |
Calls: | 9,576 |
Calls today: | 7 |
Files: | 13,666 |
Messages: | 6,143,068 |
Posted today: | 2 |