Your message dated Thu, 23 Feb 2017 17:48:14 +0800
with message-id 
<1487843294.3429456.890257008.671b0...@webmail.messagingengine.com>
and subject line Re: diffoscope: failing tests: test_gzip.py::test_metadata, 
test_ipk.py::test_metadata, test_java.py::test_diff
has caused the Debian Bug report #817193,
regarding diffoscope: failing tests: test_gzip.py::test_metadata, 
test_ipk.py::test_metadata, test_java.py::test_diff
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 ow...@bugs.debian.org
immediately.)


-- 
817193: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=817193
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: diffoscope
Version: 48

Hi,

I'm trying to package diffoscope for Fedora and the tests listed
in $subject are failing. Seems to be some timezone issue:

============================================= FAILURES 
==============================================
_________________________________________ test_differences 
__________________________________________

differences = [<Difference test1.ext4.tar -- test2.ext4.tar [<Difference file 
list -- file list []>, <Difference ./date.txt -- ./date.txt [<Difference 
encoding -- encoding []>]>]>]

    @pytest.mark.skipif(not guestfs_working(), reason='guestfs not working on 
the system')
    @pytest.mark.skipif(tool_missing('qemu-img'), reason='missing qemu-img')
    @pytest.mark.skipif(miss_guestfs, reason='guestfs is missing')
    def test_differences(differences):
        assert differences[0].source1 == 'test1.ext4.tar'
        tarinfo = differences[0].details[0]
        tardiff = differences[0].details[1]
        encodingdiff = tardiff.details[0]
        assert tarinfo.source1 == 'file list'
        assert tarinfo.source2 == 'file list'
        assert tardiff.source1 == './date.txt'
        assert tardiff.source2 == './date.txt'
        assert encodingdiff.source1 == 'encoding'
        assert encodingdiff.source2 == 'encoding'
        expected_diff = open(os.path.join(os.path.dirname(__file__), 
'../data/ext4_expected_diffs'), encoding='utf-8').read()
        found_diff = tarinfo.unified_diff + tardiff.unified_diff + 
encodingdiff.unified_diff
>       assert expected_diff == found_diff
E       assert '@@ -1,3 +1,3...cii\n+utf-8\n' == '@@ -1,3 +1,3 ...cii\n+utf-8\n'
E           @@ -1,3 +1,3 @@
E         - -drwxr-xr-x   0        0        0        0 2015-12-02 
16:01:40.000000 ./
E         - +drwxr-xr-x   0        0        0        0 2015-12-02 
16:03:11.000000 ./
E         -  drwx------   0        0        0        0 2015-12-02 
16:00:55.000000 ./lost+found/
E         + -drwxr-xr-x   0 root         (0) root         (0)        0 
2015-12-02 16:01:40.000000 ./
E         + +drwxr-xr-x   0 root         (0) root         (0)        0 
2015-12-02 16:03:11.000000 ./
E         +  drwx------   0 root         (0) root         (0)        0 
2015-12-02 16:00:55.000000 ./lost+found/
E           --rw-rw-rw-   0     1234     1234       28 2015-12-02 
16:01:40.000000 ./date.txt
E           +-r--r--r--   0     4321     4321       44 2015-12-02 
16:03:11.000000 ./date.txt
E           @@ -1 +1 @@
E           -Wed Dec 2 17:01:40 CET 2015
E           +jeudi 3 décembre 2015, 06:03:11 (UTC+1400)
E           @@ -1 +1 @@
E           -us-ascii
E           +utf-8

tests/comparators/test_fsimage.py:85: AssertionError
___________________________________________ test_metadata 
___________________________________________

differences = [<Difference metadata -- metadata []>, <Difference test1 -- test2 
[]>]

    def test_metadata(differences):
        assert differences[0].source1 == 'metadata'
        assert differences[0].source2 == 'metadata'
        expected_diff = open(os.path.join(os.path.dirname(__file__), 
'../data/gzip_metadata_expected_diff')).read()
>       assert differences[0].unified_diff == expected_diff
E       assert '@@ -1 +1 @@\..., from Unix\n' == '@@ -1 +1 @@\n..., from Unix\n'
E           @@ -1 +1 @@
E         - -gzip compressed data, last modified: Tue Jun 23 06:12:28 2015, max 
compression, from Unix
E         ?                                                   -
E         + -gzip compressed data, last modified: Tue Jun 23 10:12:28 2015, max 
compression, from Unix
E         ?                                                  +
E         - +gzip compressed data, last modified: Tue Jun 23 06:12:28 2015, 
from Unix
E         ?                                                   -
E         + +gzip compressed data, last modified: Tue Jun 23 10:12:28 2015, 
from Unix
E         ?                                                  +

tests/comparators/test_gzip.py:54: AssertionError
___________________________________________ test_metadata 
___________________________________________

differences = [<Difference metadata -- metadata []>, <Difference 
base-files_157-r45695_ar71xx.ipk-content -- base-files_157-r45918_a...rence 
control.tar -- control.tar [<Difference file list -- file list []>, <Difference 
./control -- ./control []>]>]>]>]

    def test_metadata(differences):
        assert differences[0].source1 == 'metadata'
        expected_diff = open(os.path.join(os.path.dirname(__file__), 
'../data/ipk_metadata_expected_diff')).read()
>       assert differences[0].unified_diff == expected_diff
E       assert '@@ -1 +1 @@\..., from Unix\n' == '@@ -1 +1 @@\n..., from Unix\n'
E           @@ -1 +1 @@
E         - -gzip compressed data, last modified: Mon May 18 19:26:52 2015, 
from Unix
E         ?                                                  ^^
E         + -gzip compressed data, last modified: Mon May 18 23:26:52 2015, 
from Unix
E         ?                                                  ^^
E         - +gzip compressed data, last modified: Mon Jun  8 13:31:21 2015, 
from Unix
E         ?                                                   ^
E         + +gzip compressed data, last modified: Mon Jun  8 17:31:21 2015, 
from Unix
E         ?                                                   ^

tests/comparators/test_ipk.py:52: AssertionError
_____________________________________________ test_diff 
_____________________________________________

differences = [<Difference javap -verbose -constants -s -l -private {} -- javap 
-verbose -constants -s -l -private {} []>]

    @pytest.mark.skipif(tool_missing('javap'), reason='missing javap')
    def test_diff(differences):
        expected_diff = open(os.path.join(os.path.dirname(__file__), 
'../data/class_expected_diff')).read()
>       assert differences[0].unified_diff == expected_diff
E       assert '@@ -31,13 +3..."Test.java"\n' == '@@ -36,12 +36...ne 3: 0\n }\n'
E         - @@ -31,13 +31,13 @@
E         ?      ^  ^   ^  ^
E         + @@ -36,12 +36,12 @@
E         ?      ^  ^   ^  ^
E         -          line 1: 0
E         -  
E              public static int main(java.lang.String[]);
E         -      descriptor: ([Ljava/lang/String;)I
E         ?      ^ --------
E         +      Signature: ([Ljava/lang/String;)I
E         ?      ^^^^^^^^
E                flags: ACC_PUBLIC, ACC_STATIC
E         +      LineNumberTable:
E         +        line 3: 0
E                Code:
E                  stack=1, locals=1, args_size=1
E           -         0: bipush        42
E         - -         2: ireturn
E         + -         2: ireturn       
E         ?                     +++++++
E         - +         0: iconst_m1
E         + +         0: iconst_m1     
E         ?                       +++++
E         - +         1: ireturn
E         + +         1: ireturn       
E         ?                     +++++++
E                  LineNumberTable:
E                    line 3: 0
E            }
E         -  SourceFile: "Test.java"

tests/comparators/test_java.py:53: AssertionError
========================= 4 failed, 170 passed, 39 skipped in 61.10 seconds 
=========================

See http://koji.fedoraproject.org/koji/taskinfo?taskID=13279412
for the whole thing.

Zbyszek

--- End Message ---
--- Begin Message ---
tags 817193 + unreproducible
thanks

Chris Lamb wrote:

> Are you still any of these test failures with a recent diffoscope
> version? We have made a few locale changes recently so its likely
> that at least some of these are fixed.

As I can't reproduce this and there has been no reply I'm going to
go ahead and close it. Re-open if you can still demonstrate the issue
of course. :)


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-

--- End Message ---
_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to