[Qa-jenkins-scm] Build failed in Jenkins: reproducible_diffoscope_from_git_master #188

jenkins at jenkins.debian.net jenkins at jenkins.debian.net
Mon Jan 16 21:49:42 UTC 2017


https://jenkins.debian.net/job/reproducible_diffoscope_from_git_master/188/Changes:

[Mattia Rizzolo] tests/comparators/utils: turn into a packages with smaller modules

[Mattia Rizzolo] Use the path attribute of the specialized file instead of the original

[Mattia Rizzolo] t/comparators: rename load_fixture() into init_fixture()

[Mattia Rizzolo] t/comparators/utils/data: add a load_fixture() function wrapping both

[Mattia Rizzolo] tests/comparators: DRY up init_fixture(data(FOO)) pattern with

------------------------------------------
[...truncated 325.48 KB...]
    def test_diff(differences):
>       expected_diff = open(data('class_expected_diff')).read()
E       NameError: name 'data' is not defined

tests/comparators/test_java.py:54: NameError
__________________________________ test_diff ___________________________________

differences = [<Difference js-beautify {} -- js-beautify {} []>]

    @skip_unless_tools_exist('js-beautify')
    def test_diff(differences):
>       expected_diff = open(data('javascript_expected_diff')).read()
E       NameError: name 'data' is not defined

tests/comparators/test_javascript.py:46: NameError
__________________________________ test_diff ___________________________________

differences = [<Difference pedump {} -- pedump {} []>]

    @skip_unless_tools_exist('pedump')
    def test_diff(differences):
>       expected_diff = open(data('pe_expected_diff')).read()
E       NameError: name 'data' is not defined

tests/comparators/test_mono.py:51: NameError
________________________________ test_text_diff ________________________________

differences = [<Difference pdftotext {} - -- pdftotext {} - []>, <Difference pdftk {} output - uncompress -- pdftk {} output - uncompress []>]

    @skip_unless_tools_exist('pdftk', 'pdftotext')
    def test_text_diff(differences):
>       expected_diff = open(data('pdf_text_expected_diff')).read()
E       NameError: name 'data' is not defined

tests/comparators/test_pdf.py:45: NameError
______________________________ test_internal_diff ______________________________

differences = [<Difference pdftotext {} - -- pdftotext {} - []>, <Difference pdftk {} output - uncompress -- pdftk {} output - uncompress []>]

    @skip_unless_tools_exist('pdftk', 'pdftotext')
    def test_internal_diff(differences):
>       expected_diff = open(data('pdf_internal_expected_diff')).read()
E       NameError: name 'data' is not defined

tests/comparators/test_pdf.py:50: NameError
__________________________________ test_diff ___________________________________

differences = [<Difference sng -- sng []>]

    @skip_unless_tools_exist('sng')
    def test_diff(differences):
>       expected_diff = open(data('png_expected_diff')).read()
E       NameError: name 'data' is not defined

tests/comparators/test_png.py:45: NameError
__________________________________ test_diff ___________________________________

differences = [<Difference ppudump {} -- ppudump {} []>]

    @skip_unless_tool_is_at_least('ppudump', ppudump_version, '3.0.0')
    def test_diff(differences):
        print(differences[0].unified_diff)
>       expected_diff = open(data('ppu_expected_diff')).read()
E       NameError: name 'data' is not defined

tests/comparators/test_ppu.py:61: NameError
----------------------------- Captured stdout call -----------------------------
@@ -15,15 +15,15 @@
 Definitions stored      : 121
 Symbols stored          : 398
 
 Interface section
 ------------------
 Module Name: CastleGenericLists
 
-Source file 1 : castlegenericlists.pas 2016/02/17 15:03:46
+Source file 1 : castlegenericlists.pas 2016/02/17 15:04:53
 Uses unit: System (Crc: 09C1FD4E, IntfcCrc: 3A093E2F, IndCrc: FEDD6E0A)
 Uses unit: objpas (Crc: 663BC437, IntfcCrc: CA7886A2, IndCrc: 64D020AC)
 Uses unit: fgl (Crc: C38E0A5A, IntfcCrc: 470D2834, IndCrc: 0764D076)
 Link unit object file: castlegenericlists.o (static )
 DerefMapsize: 2
 DerefMap[0] = FGL
 DerefMap[1] = SYSTEM

_________________________________ test_header __________________________________

differences = [<Difference header -- header []>, <Difference content -- content [<Difference file list -- file list []>, <Difference ./dir/text -- ./dir/text []>]>]

    @pytest.mark.skipif(miss_rpm_module, reason='rpm module is not installed')
    @skip_unless_tools_exist('rpm2cpio')
    def test_header(differences):
        assert differences[0].source1 == 'header'
>       expected_diff = open(data('rpm_header_expected_diff')).read()
E       NameError: name 'data' is not defined

tests/comparators/test_rpm.py:53: NameError
_________________________________ test_listing _________________________________

differences = [<Difference header -- header []>, <Difference content -- content [<Difference file list -- file list []>, <Difference ./dir/text -- ./dir/text []>]>]

    @pytest.mark.skipif(miss_rpm_module, reason='rpm module is not installed')
    @skip_unless_tools_exist('rpm2cpio')
    def test_listing(differences):
        assert differences[1].source1 == 'content'
        assert differences[1].details[0].source1 == 'file list'
>       expected_diff = open(data('rpm_listing_expected_diff')).read()
E       NameError: name 'data' is not defined

tests/comparators/test_rpm.py:61: NameError
_________________________________ test_content _________________________________

differences = [<Difference header -- header []>, <Difference content -- content [<Difference file list -- file list []>, <Difference ./dir/text -- ./dir/text []>]>]

    @pytest.mark.skipif(miss_rpm_module, reason='rpm module is not installed')
    @skip_unless_tools_exist('rpm2cpio')
    def test_content(differences):
        assert differences[1].source1 == 'content'
        assert differences[1].details[1].source1 == './dir/text'
>       expected_diff = open(data('text_ascii_expected_diff')).read()
E       NameError: name 'data' is not defined

tests/comparators/test_rpm.py:69: NameError
_______________________________ test_superblock ________________________________

differences = [<Difference unsquashfs -s {} -- unsquashfs -s {} []>, <Difference unsquashfs -d  -lls {} -- unsquashfs -d  -lls {} []>, <Difference /link -- /link []>, <Difference /text -- /text []>]

    @skip_unless_tool_is_at_least('unsquashfs', unsquashfs_version, '4.3')
    def test_superblock(differences):
>       expected_diff = open(data('squashfs_superblock_expected_diff')).read()
E       NameError: name 'data' is not defined

tests/comparators/test_squashfs.py:60: NameError
_________________________________ test_symlink _________________________________

differences = [<Difference unsquashfs -s {} -- unsquashfs -s {} []>, <Difference unsquashfs -d  -lls {} -- unsquashfs -d  -lls {} []>, <Difference /link -- /link []>, <Difference /text -- /text []>]

    @skip_unless_tools_exist('unsquashfs')
    def test_symlink(differences):
        assert differences[2].comment == 'symlink'
>       expected_diff = open(data('symlink_expected_diff')).read()
E       NameError: name 'data' is not defined

tests/comparators/test_squashfs.py:66: NameError
____________________________ test_compressed_files _____________________________

differences = [<Difference unsquashfs -s {} -- unsquashfs -s {} []>, <Difference unsquashfs -d  -lls {} -- unsquashfs -d  -lls {} []>, <Difference /link -- /link []>, <Difference /text -- /text []>]

    @skip_unless_tools_exist('unsquashfs')
    def test_compressed_files(differences):
        assert differences[3].source1 == '/text'
        assert differences[3].source2 == '/text'
>       expected_diff = open(data('text_ascii_expected_diff')).read()
E       NameError: name 'data' is not defined

tests/comparators/test_squashfs.py:73: NameError
_____________________________ test_fuzzy_matching ______________________________

fuzzy_tar1 = <<class 'abc.TarFile'> /tmp/testrun/.pybuild/pythonX.Y_3.5/build/tests/comparators/../data/fuzzy1.tar>
fuzzy_tar2 = <<class 'abc.TarFile'> /tmp/testrun/.pybuild/pythonX.Y_3.5/build/tests/comparators/../data/fuzzy2.tar>

    @pytest.mark.skipif(miss_tlsh, reason='tlsh is missing')
    def test_fuzzy_matching(fuzzy_tar1, fuzzy_tar2):
        differences = fuzzy_tar1.compare(fuzzy_tar2).details
>       expected_diff = codecs.open(data('text_iso8859_expected_diff'), encoding='utf-8').read()
E       NameError: name 'data' is not defined

tests/comparators/test_utils.py:69: NameError
________________________ test_fuzzy_matching_only_once _________________________

fuzzy_tar1 = <<class 'abc.TarFile'> /tmp/testrun/.pybuild/pythonX.Y_3.5/build/tests/comparators/../data/fuzzy1.tar>
fuzzy_tar3 = <<class 'abc.TarFile'> /tmp/testrun/.pybuild/pythonX.Y_3.5/build/tests/comparators/../data/fuzzy3.tar>

    @pytest.mark.skipif(miss_tlsh, reason='tlsh is missing')
    def test_fuzzy_matching_only_once(fuzzy_tar1, fuzzy_tar3):
        differences = fuzzy_tar1.compare(fuzzy_tar3).details
        assert len(differences) == 2
>       expected_diff = codecs.open(data('text_iso8859_expected_diff'), encoding='utf-8').read()
E       NameError: name 'data' is not defined

tests/comparators/test_utils.py:79: NameError
________________________________ test_metadata _________________________________

differences = [<Difference zipinfo {} -- zipinfo {} []>, <Difference dir/text -- dir/text []>]

    @skip_unless_tools_exist('zipinfo')
    def test_metadata(differences):
>       expected_diff = open(data('zip_zipinfo_expected_diff')).read()
E       NameError: name 'data' is not defined

tests/comparators/test_zip.py:48: NameError
____________________________ test_compressed_files _____________________________

differences = [<Difference zipinfo {} -- zipinfo {} []>, <Difference dir/text -- dir/text []>]

    @skip_unless_tools_exist('zipinfo')
    def test_compressed_files(differences):
        assert differences[1].source1 == 'dir/text'
        assert differences[1].source2 == 'dir/text'
>       expected_diff = open(data('text_ascii_expected_diff')).read()
E       NameError: name 'data' is not defined

tests/comparators/test_zip.py:55: NameError
_____________________________ test_mozzip_metadata _____________________________

mozzip_differences = [<Difference zipinfo {} -- zipinfo {} []>, <Difference dir/text -- dir/text []>]
mozzip1 = <<class 'abc.MozillaZipFile'> /tmp/testrun/.pybuild/pythonX.Y_3.5/build/tests/comparators/../data/test1.mozzip>
mozzip2 = <<class 'abc.MozillaZipFile'> /tmp/testrun/.pybuild/pythonX.Y_3.5/build/tests/comparators/../data/test2.mozzip>

    @skip_unless_tools_exist('zipinfo')
    def test_mozzip_metadata(mozzip_differences, mozzip1, mozzip2):
>       expected_diff = open(data('mozzip_zipinfo_expected_diff')).read()
E       NameError: name 'data' is not defined

tests/comparators/test_zip.py:75: NameError
_________________________ test_mozzip_compressed_files _________________________

mozzip_differences = [<Difference zipinfo {} -- zipinfo {} []>, <Difference dir/text -- dir/text []>]

    @skip_unless_tools_exist('zipinfo')
    def test_mozzip_compressed_files(mozzip_differences):
        assert mozzip_differences[1].source1 == 'dir/text'
        assert mozzip_differences[1].source2 == 'dir/text'
>       expected_diff = open(data('text_ascii_expected_diff')).read()
E       NameError: name 'data' is not defined

tests/comparators/test_zip.py:84: NameError
============= 23 failed, 231 passed, 15 skipped in 308.10 seconds ==============
E: pybuild pybuild:276: test: plugin distutils failed with: exit code=1: cd /tmp/testrun/.pybuild/pythonX.Y_3.5/build; python3.5 -m pytest -vv -r sxX --cov=diffoscope --cov-report=term-missing --cov-report=html
dh_auto_test: pybuild --test --test-pytest -i python{version} -p 3.5 returned exit code 13
debian/rules:29: recipe for target 'build' failed
make: *** [build] Error 25
dpkg-buildpackage: error: debian/rules build gave error exit status 2
debuild: fatal error at line 1116:
dpkg-buildpackage -rfakeroot -us -uc failed
+ cleanup
+ '[' -e /chroots/chroot-run-sid.DYrGjeQuX/tmp/testrun/stats.csv ']'
++ ls -1 '/chroots/chroot-run-sid.DYrGjeQuX/tmp/debian-edu-doc_*.changes'
++ true
+ CHANGES=
+ '[' '!' -z '' ']'
+ '[' false = true ']'
+ '[' -d /chroots/chroot-run-sid.DYrGjeQuX/proc ']'
+ sudo umount -l /chroots/chroot-run-sid.DYrGjeQuX/proc
+ '[' -d /chroots/chroot-run-sid.DYrGjeQuX/testrun ']'
+ '[' -d /chroots/chroot-run-sid.DYrGjeQuX ']'
+ sudo rm -rf --one-file-system /chroots/chroot-run-sid.DYrGjeQuX
Mon 16 Jan 21:49:41 UTC 2017 - /srv/jenkins/bin/chroot-run.sh stopped running as /tmp/jenkins-script-tz0KEj5V, which will now be removed.
Build step 'Execute shell' marked build as failure



More information about the Qa-jenkins-scm mailing list