[Qa-jenkins-scm] Build failed in Jenkins: reproducible_diffoscope_from_git #994

jenkins at jenkins.debian.net jenkins at jenkins.debian.net
Wed Feb 10 16:54:03 GMT 2021


See <https://jenkins.debian.net/job/reproducible_diffoscope_from_git/994/display/redirect?page=changes>

Changes:

[lamby] Use assert_diff (over get_data) in FIT/U-boot comparator.

[lamby] Update fit_expected_diff.


------------------------------------------
[...truncated 409.96 KB...]
tests/comparators/test_xsb.py::test_identification PASSED                [ 94%]
tests/comparators/test_xsb.py::test_no_differences PASSED                [ 94%]
tests/comparators/test_xsb.py::test_diff PASSED                          [ 94%]
tests/comparators/test_xsb.py::test_compare_non_existing PASSED          [ 94%]
tests/comparators/test_xz.py::test_identification PASSED                 [ 94%]
tests/comparators/test_xz.py::test_no_differences PASSED                 [ 95%]
tests/comparators/test_xz.py::test_content_source PASSED                 [ 95%]
tests/comparators/test_xz.py::test_content_source_without_extension PASSED [ 95%]
tests/comparators/test_xz.py::test_content_diff PASSED                   [ 95%]
tests/comparators/test_xz.py::test_compare_non_existing PASSED           [ 95%]
tests/comparators/test_zip.py::test_identification PASSED                [ 96%]
tests/comparators/test_zip.py::test_no_differences PASSED                [ 96%]
tests/comparators/test_zip.py::test_metadata PASSED                      [ 96%]
tests/comparators/test_zip.py::test_compressed_files PASSED              [ 96%]
tests/comparators/test_zip.py::test_extra_fields PASSED                  [ 97%]
tests/comparators/test_zip.py::test_compare_non_existing PASSED          [ 97%]
tests/comparators/test_zip.py::test_mozzip_identification PASSED         [ 97%]
tests/comparators/test_zip.py::test_mozzip_no_differences PASSED         [ 97%]
tests/comparators/test_zip.py::test_mozzip_metadata PASSED               [ 97%]
tests/comparators/test_zip.py::test_mozzip_compressed_files PASSED       [ 98%]
tests/comparators/test_zip.py::test_mozzip_compare_non_existing PASSED   [ 98%]
tests/comparators/test_zip.py::test_jmod_identification PASSED           [ 98%]
tests/comparators/test_zip.py::test_jmod_no_differences PASSED           [ 98%]
tests/comparators/test_zip.py::test_jmod_metadata PASSED                 [ 98%]
tests/comparators/test_zip.py::test_encrypted PASSED                     [ 99%]
tests/comparators/test_zip.py::test_commented PASSED                     [ 99%]
tests/comparators/test_zst.py::test_identification PASSED                [ 99%]
tests/comparators/test_zst.py::test_no_differences PASSED                [ 99%]
tests/comparators/test_zst.py::test_content_source PASSED                [100%]

=================================== FAILURES ===================================
____________________________ test_android_manifest _____________________________

differences = [<Difference zipinfo {} -- zipinfo {} []>, <Difference AndroidManifest.xml (decoded) -- AndroidManifest.xml (decoded) [<Difference AndroidManifest.xml -- AndroidManifest.xml []>]>, <Difference APK metadata -- APK metadata []>]

    @skip_unless_tools_exist("zipinfo")
    @skip_unless_tool_is_at_least("apktool", apktool_version, "2.5.0")
    @pytest.mark.skipif(
        sys.version_info < (3, 8), reason="requires Python 3.8 or higher"
    )
    def test_android_manifest(differences):
        assert differences[1].source1 == "AndroidManifest.xml (decoded)"
        assert differences[1].source2 == "AndroidManifest.xml (decoded)"
        expected_diff = get_data("apk_manifest_expected_diff")
>       assert differences[1].details[0].unified_diff == expected_diff
E       assert ('@@ -1,9 +1,9 @@\n'\n ' <?xml version="1.0" encoding="utf-8"?>\n'\n '-<manifest xmlns:android="http://schemas.android.com/apk/res/android" '\n 'android:versionCode="1" android:versionName="1.0" package="com.any.any" '\n 'platformBuildVersionCode="24" platformBuildVersionName="7.0.0">\n'\n '+<manifest xmlns:android="http://schemas.android.com/apk/res/android" '\n 'android:versionCode="2" android:versionName="2.0" package="com.any.any" '\n 'platformBuildVersionCode="24" platformBuildVersionName="7.0.0">\n'\n '   <uses-permission android:name="android.permission.INTERNET"/>\n'\n '   <uses-permission '\n 'android:name="android.permission.ACCESS_COARSE_LOCATION"/>\n'\n '   <uses-permission '\n 'android:name="android.permission.ACCESS_FINE_LOCATION"/>\n'\n '   <application>\n'\n '     <activity android:name="com.any.any.SomeActivity">\n'\n '       <intent-filter>\n'\n '         <action android:name="android.intent.action.MAIN"/>\n') == ('@@ -1,9 +1,9 @@\n'\n ' <?xml version="1.0" encoding="utf-8"?>\n'\n '-<manifest xmlns:android="http://schemas.android.com/apk/res/android" '\n 'android:versionCode="1" android:versionName="" package="com.any.any" '\n 'platformBuildVersionCode="24" platformBuildVersionName="7.0.0">\n'\n '+<manifest xmlns:android="http://schemas.android.com/apk/res/android" '\n 'android:versionCode="2" android:versionName="" package="com.any.any" '\n 'platformBuildVersionCode="24" platformBuildVersionName="7.0.0">\n'\n '   <uses-permission android:name=""/>\n'\n '   <uses-permission android:name=""/>\n'\n '   <uses-permission android:name=""/>\n'\n '   <application>\n'\n '     <activity android:name="">\n'\n '       <intent-filter>\n'\n '         <action android:name=""/>\n')
E           @@ -1,9 +1,9 @@
E            <?xml version="1.0" encoding="utf-8"?>
E         - -<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="" package="com.any.any" platformBuildVersionCode="24" platformBuildVersionName="7.0.0">
E         ?                                                                                                                    ^
E         + -<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.0" package="com.any.any" platformBuildVersionCode="24" platformBuildVersionName="7.0.0">
E         ?                                                                                                                    ^^^^
E         - +<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="2" android:versionName="" package="com.any.any" platformBuildVersionCode="24" platformBuildVersionName="7.0.0">
E         ?                                                                                                                    ^
E         + +<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="2" android:versionName="2.0" package="com.any.any" platformBuildVersionCode="24" platformBuildVersionName="7.0.0">
E         ?                                                                                                                    ^^^^
E         -    <uses-permission android:name=""/>
E         -    <uses-permission android:name=""/>
E         -    <uses-permission android:name=""/>
E         +    <uses-permission android:name="android.permission.INTERNET"/>
E         +    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
E         +    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
E              <application>
E         -      <activity android:name="">
E         +      <activity android:name="com.any.any.SomeActivity">
E                  <intent-filter>
E         -          <action android:name=""/>
E         +          <action android:name="android.intent.action.MAIN"/>

differences = [<Difference zipinfo {} -- zipinfo {} []>,
 <Difference AndroidManifest.xml (decoded) -- AndroidManifest.xml (decoded) [<Difference AndroidManifest.xml -- AndroidManifest.xml []>]>,
 <Difference APK metadata -- APK metadata []>]
expected_diff = ('@@ -1,9 +1,9 @@\n'
 ' <?xml version="1.0" encoding="utf-8"?>\n'
 '-<manifest xmlns:android="http://schemas.android.com/apk/res/android" '
 'android:versionCode="1" android:versionName="" package="com.any.any" '
 'platformBuildVersionCode="24" platformBuildVersionName="7.0.0">\n'
 '+<manifest xmlns:android="http://schemas.android.com/apk/res/android" '
 'android:versionCode="2" android:versionName="" package="com.any.any" '
 'platformBuildVersionCode="24" platformBuildVersionName="7.0.0">\n'
 '   <uses-permission android:name=""/>\n'
 '   <uses-permission android:name=""/>\n'
 '   <uses-permission android:name=""/>\n'
 '   <application>\n'
 '     <activity android:name="">\n'
 '       <intent-filter>\n'
 '         <action android:name=""/>\n')

tests/comparators/test_apk.py:84: AssertionError
------------------------------ Captured log setup ------------------------------
WARNING  diffoscope.comparators.directory:directory.py:178 Unable to stat file "APK metadata" or "APK metadata" ([Errno 2] No such file or directory: 'APK metadata')
--------- generated xml file: /tmp/job-exports/test-results/tests.xml ----------

----------- coverage: platform linux, python 3.9.1-final-0 -----------
Name                                         Stmts   Miss  Cover   Missing
--------------------------------------------------------------------------
diffoscope/__init__.py                           1      0   100%
diffoscope/changes.py                          122     52    57%   84, 92, 95, 104, 111, 118, 139, 176, 182, 188, 194-198, 204, 210, 226-229, 232-235, 244, 256-288, 306-308, 313-316, 323, 335
diffoscope/comparators/__init__.py              47     21    55%   137-143, 148-157, 162-171
diffoscope/comparators/android.py               43      1    98%   49
diffoscope/comparators/apk.py                  120      2    98%   43, 223
diffoscope/comparators/ar.py                    27      0   100%
diffoscope/comparators/berkeley_db.py           20      0   100%
diffoscope/comparators/binary.py                17      0   100%
diffoscope/comparators/binwalk.py               61      6    90%   32-33, 37-39, 74
diffoscope/comparators/bzip2.py                 25      0   100%
diffoscope/comparators/cbfs.py                  89     43    52%   39-40, 46, 49, 55-66, 69, 72, 75, 79-91, 104-114, 145-148, 152-166, 169
diffoscope/comparators/cpio.py                  10      0   100%
diffoscope/comparators/deb.py                  126      9    93%   37-39, 52, 77, 136, 189-191
diffoscope/comparators/debian.py               149      4    97%   77-79, 106-111
diffoscope/comparators/debian_fallback.py       17      0   100%
diffoscope/comparators/decompile.py            193     99    49%   40-41, 60-61, 64-69, 73, 76, 80, 88-99, 103-111, 118, 121, 124, 134-135, 139, 142, 145, 158-161, 167, 171, 177, 180, 183, 186, 192-203, 206-212, 224-231, 234, 241, 245, 249, 253, 257-260, 264-275, 279-284, 307-327, 330, 336, 339, 342-343, 346-347
diffoscope/comparators/device.py                49      6    88%   49-52, 87-90
diffoscope/comparators/dex.py                   29      1    97%   36
diffoscope/comparators/directory.py            164     42    74%   54-57, 113-121, 127-130, 134-158, 191-192, 195, 198-219, 281
diffoscope/comparators/docx.py                  14      0   100%
diffoscope/comparators/dtb.py                   14      0   100%
diffoscope/comparators/elf.py                  316     31    90%   76, 81-82, 220, 235, 242, 337, 381, 403-405, 413, 425-427, 435, 466, 498-507, 515, 528, 539, 545, 558-562, 574-579, 636-639
diffoscope/comparators/ffprobe.py               27      0   100%
diffoscope/comparators/fit.py                   53      1    98%   109
diffoscope/comparators/fontconfig.py            26      0   100%
diffoscope/comparators/fonts.py                 16      0   100%
diffoscope/comparators/fsimage.py               85     18    79%   33-35, 43, 50-51, 58-64, 68-70, 76, 81-82, 86, 131
diffoscope/comparators/gettext.py               37      0   100%
diffoscope/comparators/gif.py                   42     12    71%   52-57, 61, 84-101
diffoscope/comparators/git.py                   29      0   100%
diffoscope/comparators/gnumeric.py              19      0   100%
diffoscope/comparators/gzip.py                  27      0   100%
diffoscope/comparators/haskell.py               60     13    78%   37, 47, 85-87, 96, 102-109, 113, 124-125, 142, 145
diffoscope/comparators/hdf.py                   14      0   100%
diffoscope/comparators/icc.py                   14      0   100%
diffoscope/comparators/image.py                 84     12    86%   135-136, 152-165, 184-185, 195-201
diffoscope/comparators/ipk.py                    4      0   100%
diffoscope/comparators/iso9660.py               52      3    94%   33, 72, 95
diffoscope/comparators/java.py                  51      4    92%   94-97, 106
diffoscope/comparators/javascript.py            13      0   100%
diffoscope/comparators/json.py                  56     10    82%   34-36, 54-55, 81, 90-91, 95, 99
diffoscope/comparators/kbx.py                   18      1    94%   35
diffoscope/comparators/llvm.py                  22      0   100%
diffoscope/comparators/lz4.py                   28      0   100%
diffoscope/comparators/macho.py                 57     28    51%   32-34, 38, 41, 45-48, 53, 58, 63, 68, 81-89, 95-151
diffoscope/comparators/missing_file.py          53      3    94%   71, 74, 93
diffoscope/comparators/mono.py                  14      0   100%
diffoscope/comparators/ocaml.py                 19      0   100%
diffoscope/comparators/odt.py                   14      0   100%
diffoscope/comparators/ogg.py                   14      0   100%
diffoscope/comparators/openssh.py               14      0   100%
diffoscope/comparators/openssl.py               23      2    91%   37, 69
diffoscope/comparators/pcap.py                  14      0   100%
diffoscope/comparators/pdf.py                   46      5    89%   30-32, 55, 89
diffoscope/comparators/pe32.py                  18      5    72%   31, 41-44, 52
diffoscope/comparators/pgp.py                   59      5    92%   72, 103-104, 110-112
diffoscope/comparators/png.py                   32      2    94%   78-79
diffoscope/comparators/ppu.py                   57     16    72%   73, 85-98, 101-107
diffoscope/comparators/ps.py                    25      2    92%   50-51
diffoscope/comparators/rdata.py                 58     21    64%   91-116, 153, 156, 164-171
diffoscope/comparators/rpm.py                   71      1    99%   41
diffoscope/comparators/rpm_fallback.py          11      0   100%
diffoscope/comparators/rust.py                  32      0   100%
diffoscope/comparators/sqlite.py                14      0   100%
diffoscope/comparators/squashfs.py             172     33    81%   98, 116, 130, 138, 141, 155, 163, 185-207, 210-213, 216, 219, 246-247, 290-292
diffoscope/comparators/symlink.py               35      2    94%   58-59
diffoscope/comparators/tar.py                   12      0   100%
diffoscope/comparators/text.py                  27      2    93%   71-73
diffoscope/comparators/uimage.py                24      0   100%
diffoscope/comparators/utils/__init__.py         0      0   100%
diffoscope/comparators/utils/archive.py         98     13    87%   55, 59, 63, 67, 108-109, 125, 128, 131, 140, 150, 153, 158
diffoscope/comparators/utils/command.py         56      3    95%   63, 77, 105
diffoscope/comparators/utils/compare.py         93     12    87%   77, 92, 109-110, 123, 136-144
diffoscope/comparators/utils/container.py      120      7    94%   66, 70, 115-119, 205
diffoscope/comparators/utils/file.py           285     55    81%   39-40, 53-59, 84-98, 105, 111, 282-297, 344-346, 353, 357, 361, 446-449, 463-466, 474, 478-482, 511, 522-535, 554, 562, 572, 578, 587
diffoscope/comparators/utils/fuzzy.py           33      2    94%   27-28
diffoscope/comparators/utils/libarchive.py     183     22    88%   45-48, 52-55, 67-70, 74-77, 81-84, 132-135, 174, 203, 211, 214, 227, 241, 255-256, 325-326
diffoscope/comparators/utils/operation.py       26      6    77%   33, 40, 48, 55, 62, 66
diffoscope/comparators/utils/specialize.py      32      2    94%   78, 81
diffoscope/comparators/wasm.py                  19      0   100%
diffoscope/comparators/xml.py                   48      3    94%   67, 150-151
diffoscope/comparators/xsb.py                   17      0   100%
diffoscope/comparators/xz.py                    28      0   100%
diffoscope/comparators/zip.py                  138      4    97%   148, 151, 208-209
diffoscope/comparators/zst.py                   26      1    96%   38
diffoscope/config.py                            44      4    91%   77-88
diffoscope/diff.py                             426     58    86%   101, 138, 191, 229, 231-233, 275-278, 291-319, 370, 401, 559-560, 571, 588, 590, 594, 609, 614, 647-648, 651-652, 674-675, 678-688, 696-699, 709-712, 727
diffoscope/difference.py                       224     17    92%   118, 220-224, 243, 278, 285-286, 305, 340-343, 386, 392, 416, 447
diffoscope/environ.py                           13      0   100%
diffoscope/exc.py                               21      0   100%
diffoscope/excludes.py                          24      5    79%   31-36, 43-45
diffoscope/external_tools.py                     5      0   100%
diffoscope/feeders.py                           83      3    96%   36, 116-117
diffoscope/logging.py                           28      4    86%   30-31, 36-37
diffoscope/main.py                             290     73    75%   60-62, 66-68, 74, 434, 442-449, 461-465, 472-498, 512, 552, 580-622, 639, 692, 707-708, 730, 737-738, 743, 748-756, 774, 776-779, 784-790, 805
diffoscope/path.py                               7      0   100%
diffoscope/presenters/__init__.py                0      0   100%
diffoscope/presenters/formats.py                37      4    89%   97-100
diffoscope/presenters/html/__init__.py           1      0   100%
diffoscope/presenters/html/html.py             472    125    74%   82-89, 143-146, 150, 152-154, 268-269, 272, 307, 334, 351-362, 421, 432, 445-449, 454, 461-468, 479, 484-496, 499-514, 545-548, 552-557, 560, 566-570, 595-604, 609-621, 626-640, 655, 675-678, 753, 755, 819, 835, 846-878, 896
diffoscope/presenters/html/templates.py         11      0   100%
diffoscope/presenters/icon.py                    1      0   100%
diffoscope/presenters/json.py                   32      1    97%   55
diffoscope/presenters/markdown.py               19      0   100%
diffoscope/presenters/restructuredtext.py       25      0   100%
diffoscope/presenters/text.py                   44      7    84%   61-66, 71-72, 81-82
diffoscope/presenters/utils.py                 166     14    92%   42, 71, 153, 158, 165, 307, 343, 354, 357, 422-427
diffoscope/profiling.py                         40      0   100%
diffoscope/progress.py                         168     18    89%   34-36, 45-52, 78, 89-90, 95, 120, 225, 240-241, 249
diffoscope/readers/__init__.py                   9      0   100%
diffoscope/readers/json.py                      17      1    94%   34
diffoscope/readers/utils.py                      2      0   100%
diffoscope/tempfiles.py                         46      4    91%   77-78, 101-102
diffoscope/tools.py                             70     13    81%   25-26, 56-57, 67-68, 107, 120, 125, 140-143
diffoscope/utils.py                             38      1    97%   45
--------------------------------------------------------------------------
TOTAL                                         6910   1000    86%
Coverage HTML written to dir htmlcov

=========================== short test summary info ============================
SKIPPED [1] tests/comparators/test_cbfs.py:100: requires cbfstool
SKIPPED [1] tests/comparators/test_cbfs.py:105: requires cbfstool
SKIPPED [1] tests/comparators/test_cbfs.py:110: requires cbfstool
SKIPPED [1] tests/comparators/test_cbfs.py:122: requires cbfstool
SKIPPED [1] tests/comparators/test_cbfs.py:134: requires cbfstool
SKIPPED [1] tests/comparators/test_cbfs.py:142: requires cbfstool
SKIPPED [1] tests/comparators/test_dex.py:91: requires javap (try installing default-jdk-headless | default-jdk | java-sdk) >= 14.0 (11.0.10 detected)
SKIPPED [1] tests/comparators/test_elf_decompiler.py:78: radare2 didn't recognize pdgj command
SKIPPED [1] tests/comparators/test_elf_decompiler.py:88: radare2 didn't recognize pdgj command
SKIPPED [1] tests/comparators/test_elf_decompiler.py:98: requires r2pipe Python module
SKIPPED [1] tests/comparators/test_gif.py:58: requires gifbuild (try installing giflib-tools) and compose and convert (try installing imagemagick) and identify (try installing imagemagick)
SKIPPED [1] tests/comparators/test_gif.py:68: requires gifbuild (try installing giflib-tools) and compose and convert (try installing imagemagick) and identify (try installing imagemagick)
SKIPPED [1] tests/comparators/test_haskell.py:35: mismatch between system ghc and fixture
SKIPPED [1] tests/comparators/test_haskell.py:52: mismatch between system ghc and fixture
SKIPPED [1] tests/comparators/test_ico_image.py:77: requires img2txt (try installing caca-utils) and compose and convert (try installing imagemagick) and identify (try installing imagemagick)
SKIPPED [1] tests/comparators/test_java.py:97: requires javap (try installing default-jdk-headless | default-jdk | java-sdk) >= 14.0 (11.0.10 detected)
SKIPPED [1] tests/comparators/test_jpeg_image.py:85: requires img2txt (try installing caca-utils) and compose and convert (try installing imagemagick) and identify (try installing imagemagick)
SKIPPED [1] tests/comparators/test_macho.py:49: requires otool and lipo
SKIPPED [1] tests/comparators/test_macho.py:57: requires otool and lipo
SKIPPED [1] tests/comparators/test_png.py:59: requires sng (try installing sng) and compose and convert (try installing imagemagick) and identify (try installing imagemagick)
SKIPPED [1] tests/comparators/test_utils.py:49: requires
SKIPPED [1] tests/comparators/test_utils.py:54: requires /missing
============ 1 failed, 446 passed, 22 skipped in 473.97s (0:07:53) =============
E: pybuild pybuild:353: test: plugin distutils failed with: exit code=1: cd /tmp/testrun/.pybuild/cpython3_3.9/build; python3.9 -m pytest -vv -r sxX -l --cov=diffoscope --cov-report=term-missing --cov-report=html --junit-xml=/tmp/job-exports/test-results/tests.xml
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.9 returned exit code 13
make: *** [debian/rules:35: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
debuild: fatal error at line 1182:
dpkg-buildpackage -us -uc -ui failed
'/chroots/chroot-run-sid.Kxf5EsRJj//tmp/job-exports/test-results' -> '<https://jenkins.debian.net/job/reproducible_diffoscope_from_git/ws/job-exports/test-results'>
'/chroots/chroot-run-sid.Kxf5EsRJj//tmp/job-exports/test-results/tests.xml' -> '<https://jenkins.debian.net/job/reproducible_diffoscope_from_git/ws/job-exports/test-results/tests.xml'>
Wed 10 Feb 16:54:02 UTC 2021 - chroot-run.sh stopped running as /tmp/jenkins-script-gXVZ7D1d, which will now be removed.
Build step 'Execute shell' marked build as failure



More information about the Qa-jenkins-scm mailing list