Bug#848403: diffoscope: FTBFS randomly (Fatal Python error: deallocating None)

Ximin Luo infinity0 at debian.org
Sat Dec 24 19:35:00 UTC 2016


I still haven't managed to reproduce this myself but I'll just note for the record we have seen this on jenkins before:

https://jenkins.debian.net/job/reproducible_diffoscope_from_git_master/63/console

Santiago Vila:
> Package: src:diffoscope
> Version: 63
> Severity: serious
> 
> Hello folks.
> 
> I tried to build this package in stretch with "dpkg-buildpackage -A"
> (which is what the "Arch: all" autobuilder would do to build it)
> but it failed:
> 
> --------------------------------------------------------------------------------
> [...]
>  debian/rules build-indep
> dh build-indep --with python3 --with bash-completion --buildsystem=pybuild
>    dh_testdir -i -O--buildsystem=pybuild
>    dh_update_autotools_config -i -O--buildsystem=pybuild
>    dh_autoreconf -i -O--buildsystem=pybuild
>    dh_auto_configure -i -O--buildsystem=pybuild
> I: pybuild base:184: python3.5 setup.py config 
> running config
>    debian/rules override_dh_auto_build
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> register-python-argcomplete diffoscope > debian/diffoscope.bash-completion
> rst2man debian/trydiffoscope.1.rst debian/trydiffoscope.1
> rst2man debian/diffoscope.1.rst debian/diffoscope.1
> 
> [... snipped ...]
> 
> diffoscope/comparators/squashfs.py            144     19    87%   75, 91, 105, 111, 114, 126, 134, 154, 159-160, 163-164, 167-168, 181, 210-213, 227
> diffoscope/comparators/symlink.py              28      1    96%   35
> diffoscope/comparators/tar.py                  13      0   100%
> diffoscope/comparators/text.py                 25      2    92%   52-54
> diffoscope/comparators/utils.py               224     23    90%   67, 132-135, 182-183, 188-191, 195, 199, 300, 304, 308, 312, 320, 323, 326, 335, 345, 348, 353
> diffoscope/comparators/xz.py                   27      0   100%
> diffoscope/comparators/zip.py                  90      3    97%   64, 70, 73
> diffoscope/config.py                           24      2    92%   49, 57
> diffoscope/difference.py                      327     23    93%   75, 108, 163, 305, 311, 321-325, 335, 353, 411, 426-428, 446-450, 456-461
> diffoscope/exc.py                              15      8    47%   23-24, 210-217
> diffoscope/main.py                            170     32    81%   44-45, 160, 162, 164-165, 189, 198-203, 209, 224, 229, 240, 253, 258, 264-267, 273, 279, 284, 295, 297-301, 306
> diffoscope/presenters/__init__.py               0      0   100%
> diffoscope/presenters/html.py                 424    113    73%   253, 282, 367, 372, 374-376, 406, 409, 411, 437, 451, 456, 493-497, 506-509, 513-519, 536-560, 576-577, 580-581, 593-594, 597-601, 609-612, 622-625, 640, 653-656, 666-667, 672-673, 681-683, 713-715, 722, 739, 744-746, 752-753, 766-798
> diffoscope/presenters/icon.py                   1      0   100%
> diffoscope/presenters/text.py                  36      4    89%   34, 61-63
> diffoscope/progress.py                         68     21    69%   39-44, 47, 52, 57, 61, 66, 70, 95-104, 107-109, 112, 116, 119, 122
> -------------------------------------------------------------------------
> TOTAL                                        3793    599    84%
> Coverage HTML written to dir htmlcov
> 
> =========================== short test summary info ============================
> 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:79: guestfs not working on the system
> 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_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_utils.py:45: requires
> SKIP [1] .pybuild/pythonX.Y_3.5/build/tests/comparators/test_cbfs.py:75: requires cbfstool
> 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_cbfs.py:56: requires cbfstool
> SKIP [1] /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/tests/comparators/test_haskell.py:33: mismatch between system ghc and fixture
> SKIP [1] .pybuild/pythonX.Y_3.5/build/tests/comparators/test_macho.py:50: requires otool and lipo
> SKIP [1] /<<PKGBUILDDIR>>/.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_fsimage.py:50: guestfs not working on the system
> SKIP [1] .pybuild/pythonX.Y_3.5/build/tests/comparators/test_macho.py:43: requires otool and lipo
> 
> =================== 233 passed, 15 skipped in 237.38 seconds ===================
> Fatal Python error: deallocating None
> 
> Current thread 0x00007f9206754700 (most recent call first):
> Aborted
> E: pybuild pybuild:276: test: plugin distutils failed with: exit code=134: cd /<<PKGBUILDDIR>>/.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-indep' failed
> make: *** [build-indep] Error 25
> dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
> --------------------------------------------------------------------------------
> 
> The failure happens randomly on the single-CPU KVM/QEMU virtual machines
> I use as autobuilders. The approximate failure rate is about 10%.
> 
> I attach several build logs (made on different autobuilders).
> 
> If you could not reproduce this using sbuild on a single CPU virtual
> machine (as I did), of course trying a lot of times (because of the
> failure rate above) please do not downgrade or mark as unreproducible,
> I would then consider giving you access to a virtual machine on which
> I can reproduce it so that you can as well. (In such case, please
> contact me off-list for details).
> 
> Thanks.
> 
> 
> 
> _______________________________________________
> Reproducible-builds mailing list
> Reproducible-builds at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
> 


-- 
GPG: ed25519/56034877E1F87C35
GPG: rsa4096/1318EFAC5FBBDBCE
https://github.com/infinity0/pubkeys.git



More information about the Reproducible-builds mailing list