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

jenkins at jenkins.debian.net jenkins at jenkins.debian.net
Tue Nov 29 21:15:55 UTC 2016


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

[infinity0] Output coloured diff using colordiff(1) via

------------------------------------------
[...truncated 4751 lines...]
Coverage HTML written to dir htmlcov

=========================== short test summary info ============================
SKIP [1] .pybuild/pythonX.Y_3.5/build/tests/comparators/test_cbfs.py:64: requires cbfstool
SKIP [1] .pybuild/pythonX.Y_3.5/build/tests/comparators/test_cbfs.py:60: requires cbfstool
SKIP [1] .pybuild/pythonX.Y_3.5/build/tests/comparators/test_utils.py:45: requires
SKIP [1] .pybuild/pythonX.Y_3.5/build/tests/comparators/test_cbfs.py:56: requires cbfstool
SKIP [1] .pybuild/pythonX.Y_3.5/build/tests/comparators/test_fsimage.py:61: guestfs not working on the system
SKIP [1] .pybuild/pythonX.Y_3.5/build/tests/comparators/test_fsimage.py:79: guestfs not working on the system
SKIP [1] .pybuild/pythonX.Y_3.5/build/tests/comparators/test_macho.py:43: requires otool and lipo
SKIP [1] .pybuild/pythonX.Y_3.5/build/tests/comparators/test_cbfs.py:80: requires cbfstool
SKIP [1] .pybuild/pythonX.Y_3.5/build/tests/comparators/test_fsimage.py:50: guestfs not working on the system
SKIP [1] .pybuild/pythonX.Y_3.5/build/tests/comparators/test_cbfs.py:87: requires cbfstool
SKIP [1] .pybuild/pythonX.Y_3.5/build/tests/comparators/test_utils.py:49: requires /missing
SKIP [1] .pybuild/pythonX.Y_3.5/build/tests/comparators/test_macho.py:50: requires otool and lipo
SKIP [1] /tmp/testrun/.pybuild/pythonX.Y_3.5/build/tests/comparators/test_haskell.py:33: mismatch between system ghc and fixture
SKIP [1] /tmp/testrun/.pybuild/pythonX.Y_3.5/build/tests/comparators/test_haskell.py:47: mismatch between system ghc and fixture
SKIP [1] .pybuild/pythonX.Y_3.5/build/tests/comparators/test_cbfs.py:75: requires cbfstool

=================================== FAILURES ===================================
___________________________ test_non_existing_files ____________________________

capsys = <_pytest.capture.CaptureFixture object at 0x7f2975de9518>

    def test_non_existing_files(capsys):
        args = '/nonexisting1 /nonexisting2'
        with pytest.raises(SystemExit) as excinfo:
            main(args.split())
        assert excinfo.value.code == 2
        out, err = capsys.readouterr()
>       assert '/nonexisting1: No such file or directory' in err
E       assert '/nonexisting1: No such file or directory' in 'Traceback (most recent call last):\n  File "/tmp/testrun/.pybuild/pythonX.Y_3.5/build/diffoscope/main.py", line 291, ...py", line 69, in tool_check\n    raise RequiredToolNotFound(command)\ndiffoscope.exc.RequiredToolNotFound: colordiff\n'

tests/test_main.py:34: AssertionError
_____________________ test_non_existing_left_with_new_file _____________________

capsys = <_pytest.capture.CaptureFixture object at 0x7f2975ed1ef0>

    def test_non_existing_left_with_new_file(capsys):
        args = ['--new-file', '/nonexisting1', __file__]
        with pytest.raises(SystemExit) as excinfo:
            main(args)
>       assert excinfo.value.code == 1
E       assert 2 == 1
E        +  where 2 = SystemExit(2,).code
E        +    where SystemExit(2,) = <ExceptionInfo SystemExit tblen=2>.value

tests/test_main.py:41: AssertionError
----------------------------- Captured stderr call -----------------------------
Traceback (most recent call last):
  File "/tmp/testrun/.pybuild/pythonX.Y_3.5/build/diffoscope/main.py", line 291, in main
    sys.exit(run_diffoscope(parsed_args))
  File "/tmp/testrun/.pybuild/pythonX.Y_3.5/build/diffoscope/__init__.py", line 69, in tool_check
    raise RequiredToolNotFound(command)
diffoscope.exc.RequiredToolNotFound: colordiff
____________________ test_non_existing_right_with_new_file _____________________

capsys = <_pytest.capture.CaptureFixture object at 0x7f2975ea6160>

    def test_non_existing_right_with_new_file(capsys):
        args = ['--new-file', __file__, '/nonexisting2']
        with pytest.raises(SystemExit) as excinfo:
            main(args)
>       assert excinfo.value.code == 1
E       assert 2 == 1
E        +  where 2 = SystemExit(2,).code
E        +    where SystemExit(2,) = <ExceptionInfo SystemExit tblen=2>.value

tests/test_main.py:50: AssertionError
----------------------------- Captured stderr call -----------------------------
Traceback (most recent call last):
  File "/tmp/testrun/.pybuild/pythonX.Y_3.5/build/diffoscope/main.py", line 291, in main
    sys.exit(run_diffoscope(parsed_args))
  File "/tmp/testrun/.pybuild/pythonX.Y_3.5/build/diffoscope/__init__.py", line 69, in tool_check
    raise RequiredToolNotFound(command)
diffoscope.exc.RequiredToolNotFound: colordiff
____________________ test_non_existing_files_with_new_file _____________________

capsys = <_pytest.capture.CaptureFixture object at 0x7f2975ebc940>

    def test_non_existing_files_with_new_file(capsys):
        args = ['--new-file', '/nonexisting1', '/nonexisting2']
        with pytest.raises(SystemExit) as excinfo:
            main(args)
>       assert excinfo.value.code == 1
E       assert 2 == 1
E        +  where 2 = SystemExit(2,).code
E        +    where SystemExit(2,) = <ExceptionInfo SystemExit tblen=2>.value

tests/test_main.py:59: AssertionError
----------------------------- Captured stderr call -----------------------------
Traceback (most recent call last):
  File "/tmp/testrun/.pybuild/pythonX.Y_3.5/build/diffoscope/main.py", line 291, in main
    sys.exit(run_diffoscope(parsed_args))
  File "/tmp/testrun/.pybuild/pythonX.Y_3.5/build/diffoscope/__init__.py", line 69, in tool_check
    raise RequiredToolNotFound(command)
diffoscope.exc.RequiredToolNotFound: colordiff
__________________________ test_text_option_with_file __________________________

tmpdir = local('/tmp/pytest-of-root/pytest-0/test_text_option_with_file0')
capsys = <_pytest.capture.CaptureFixture object at 0x7f2975ebce80>

    def test_text_option_with_file(tmpdir, capsys):
        report_path = str(tmpdir.join('report.txt'))
        args = ['--text', report_path, TEST_TAR1_PATH, TEST_TAR2_PATH]
        with pytest.raises(SystemExit) as excinfo:
            main(args)
>       assert excinfo.value.code == 1
E       assert 2 == 1
E        +  where 2 = SystemExit(2,).code
E        +    where SystemExit(2,) = <ExceptionInfo SystemExit tblen=2>.value

tests/test_main.py:102: AssertionError
----------------------------- Captured stderr call -----------------------------
Traceback (most recent call last):
  File "/tmp/testrun/.pybuild/pythonX.Y_3.5/build/diffoscope/main.py", line 291, in main
    sys.exit(run_diffoscope(parsed_args))
  File "/tmp/testrun/.pybuild/pythonX.Y_3.5/build/diffoscope/__init__.py", line 69, in tool_check
    raise RequiredToolNotFound(command)
diffoscope.exc.RequiredToolNotFound: colordiff
________________________ test_text_option_with_stdiout _________________________

capsys = <_pytest.capture.CaptureFixture object at 0x7f2975e581d0>

    def test_text_option_with_stdiout(capsys):
        args = ['--text', '-', TEST_TAR1_PATH, TEST_TAR2_PATH]
        with pytest.raises(SystemExit) as excinfo:
            main(args)
>       assert excinfo.value.code == 1
E       assert 2 == 1
E        +  where 2 = SystemExit(2,).code
E        +    where SystemExit(2,) = <ExceptionInfo SystemExit tblen=2>.value

tests/test_main.py:113: AssertionError
----------------------------- Captured stderr call -----------------------------
Traceback (most recent call last):
  File "/tmp/testrun/.pybuild/pythonX.Y_3.5/build/diffoscope/main.py", line 291, in main
    sys.exit(run_diffoscope(parsed_args))
  File "/tmp/testrun/.pybuild/pythonX.Y_3.5/build/diffoscope/__init__.py", line 69, in tool_check
    raise RequiredToolNotFound(command)
diffoscope.exc.RequiredToolNotFound: colordiff
____________________________ test_no_report_option _____________________________

capsys = <_pytest.capture.CaptureFixture object at 0x7f2975def278>

    def test_no_report_option(capsys):
        args = [TEST_TAR1_PATH, TEST_TAR2_PATH]
        with pytest.raises(SystemExit) as excinfo:
            main(args)
>       assert excinfo.value.code == 1
E       assert 2 == 1
E        +  where 2 = SystemExit(2,).code
E        +    where SystemExit(2,) = <ExceptionInfo SystemExit tblen=2>.value

tests/test_main.py:122: AssertionError
----------------------------- Captured stderr call -----------------------------
Traceback (most recent call last):
  File "/tmp/testrun/.pybuild/pythonX.Y_3.5/build/diffoscope/main.py", line 291, in main
    sys.exit(run_diffoscope(parsed_args))
  File "/tmp/testrun/.pybuild/pythonX.Y_3.5/build/diffoscope/__init__.py", line 69, in tool_check
    raise RequiredToolNotFound(command)
diffoscope.exc.RequiredToolNotFound: colordiff
__________________________ test_html_option_with_file __________________________

tmpdir = local('/tmp/pytest-of-root/pytest-0/test_html_option_with_file0')
capsys = <_pytest.capture.CaptureFixture object at 0x7f2975de9f98>

    def test_html_option_with_file(tmpdir, capsys):
        report_path = str(tmpdir.join('report.html'))
        args = ['--html', report_path, TEST_TAR1_PATH, TEST_TAR2_PATH]
        with pytest.raises(SystemExit) as excinfo:
            main(args)
>       assert excinfo.value.code == 1
E       assert 2 == 1
E        +  where 2 = SystemExit(2,).code
E        +    where SystemExit(2,) = <ExceptionInfo SystemExit tblen=2>.value

tests/test_main.py:132: AssertionError
----------------------------- Captured stderr call -----------------------------
Traceback (most recent call last):
  File "/tmp/testrun/.pybuild/pythonX.Y_3.5/build/diffoscope/main.py", line 291, in main
    sys.exit(run_diffoscope(parsed_args))
  File "/tmp/testrun/.pybuild/pythonX.Y_3.5/build/diffoscope/__init__.py", line 69, in tool_check
    raise RequiredToolNotFound(command)
diffoscope.exc.RequiredToolNotFound: colordiff
_________________________ test_html_option_with_stdout _________________________

capsys = <_pytest.capture.CaptureFixture object at 0x7f2975e6cf28>

    def test_html_option_with_stdout(capsys):
        args = ['--html', '-', TEST_TAR1_PATH, TEST_TAR2_PATH]
        with pytest.raises(SystemExit) as excinfo:
            main(args)
>       assert excinfo.value.code == 1
E       assert 2 == 1
E        +  where 2 = SystemExit(2,).code
E        +    where SystemExit(2,) = <ExceptionInfo SystemExit tblen=2>.value

tests/test_main.py:143: AssertionError
----------------------------- Captured stderr call -----------------------------
Traceback (most recent call last):
  File "/tmp/testrun/.pybuild/pythonX.Y_3.5/build/diffoscope/main.py", line 291, in main
    sys.exit(run_diffoscope(parsed_args))
  File "/tmp/testrun/.pybuild/pythonX.Y_3.5/build/diffoscope/__init__.py", line 69, in tool_check
    raise RequiredToolNotFound(command)
diffoscope.exc.RequiredToolNotFound: colordiff
_____________________________ test_no_differences ______________________________

capsys = <_pytest.capture.CaptureFixture object at 0x7f2975e58b38>

    def test_no_differences(capsys):
        args = [TEST_TAR1_PATH, TEST_TAR1_PATH]
        with pytest.raises(SystemExit) as excinfo:
            main(args)
>       assert excinfo.value.code == 0
E       assert 2 == 0
E        +  where 2 = SystemExit(2,).code
E        +    where SystemExit(2,) = <ExceptionInfo SystemExit tblen=2>.value

tests/test_main.py:152: AssertionError
----------------------------- Captured stderr call -----------------------------
Traceback (most recent call last):
  File "/tmp/testrun/.pybuild/pythonX.Y_3.5/build/diffoscope/main.py", line 291, in main
    sys.exit(run_diffoscope(parsed_args))
  File "/tmp/testrun/.pybuild/pythonX.Y_3.5/build/diffoscope/__init__.py", line 69, in tool_check
    raise RequiredToolNotFound(command)
diffoscope.exc.RequiredToolNotFound: colordiff
============= 10 failed, 223 passed, 15 skipped in 143.45 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 1100:
dpkg-buildpackage -rfakeroot -us -uc --hook-check=cd ..;  --check-command=lintian failed
+ cleanup
+ '[' -e /chroots/chroot-run-sid.HyxOcQj4u/tmp/testrun/stats.csv ']'
++ ls -1 '/chroots/chroot-run-sid.HyxOcQj4u/tmp/debian-edu-doc_*.changes'
++ true
+ CHANGES=
+ '[' '!' -z '' ']'
+ '[' false = true ']'
+ '[' -d /chroots/chroot-run-sid.HyxOcQj4u/proc ']'
+ sudo umount -l /chroots/chroot-run-sid.HyxOcQj4u/proc
+ '[' -d /chroots/chroot-run-sid.HyxOcQj4u/testrun ']'
+ '[' -d /chroots/chroot-run-sid.HyxOcQj4u ']'
+ sudo rm -rf --one-file-system /chroots/chroot-run-sid.HyxOcQj4u
Tue 29 Nov 21:15:54 UTC 2016 - /srv/jenkins/bin/chroot-run.sh stopped running as /tmp/jenkins-script-VQc77RtB, which will now be removed.
Build step 'Execute shell' marked build as failure



More information about the Qa-jenkins-scm mailing list