[Python-apps-team] Bug#850234: mercurial: FTBFS randomly (failing tests)

Santiago Vila sanvila at debian.org
Thu Jan 5 10:05:28 UTC 2017


Package: src:mercurial
Version: 4.0-1
Severity: important

Dear maintainer:

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 python2,bash-completion
   dh_testdir -i
   dh_update_autotools_config -i
   dh_auto_configure -i
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/usr/bin/make all
make[2]: Entering directory '/<<PKGBUILDDIR>>'
python setup.py  build 
running build
running build_mo
creating mercurial/locale

[... snipped ...]

Skipped test-convert-cvs-branch.t: missing feature: cvs client/server
Skipped test-convert-hg-svn.t: missing feature: subversion python bindings
Skipped test-convert-svn-branches.t: missing feature: subversion python bindings
Skipped test-subrepo-git.t: missing feature: git command line client
Skipped test-convert-git.t: missing feature: git command line client
Skipped test-check-config.t: missing feature: running tests from repository
Skipped test-convert-p4-filetypes.t: missing feature: Perforce server and client
Skipped test-convert-svn-startrev.t: missing feature: subversion python bindings
Skipped test-mq-subrepo-svn.t: missing feature: subversion client and admin tools >= 1.3
Skipped test-convert-mtn.t: missing feature: monotone client (>= 1.0)
Skipped test-convert-svn-tags.t: missing feature: subversion python bindings
Skipped test-casecollision-merge.t: missing feature: case insensitive file system
Skipped test-convert-bzr.t: missing feature: Canonical's Bazaar client
Skipped test-convert-baz.t: missing feature: GNU Arch baz client
Skipped test-casefolding.t: missing feature: case insensitive file system
Skipped test-convert-bzr-directories.t: missing feature: Canonical's Bazaar client
Skipped test-convert-p4.t: missing feature: Perforce server and client
Skipped test-convert-tla.t: missing feature: GNU Arch tla client
Skipped test-convert-darcs.t: missing feature: darcs client
Skipped test-convert-tagsbranch-topology.t: missing feature: git command line client
Skipped test-mac-packages.t: missing feature: OS X packaging tools
Skipped test-chg.t: missing feature: running with chg
Skipped test-verify-repo-operations.py: missing feature: allow slow tests
Skipped test-convert-bzr-merges.t: missing feature: Canonical's Bazaar client
Skipped test-no-symlinks.t: system supports symbolic links
Skipped test-gpg.t: missing feature: gpg client
Skipped test-docker-packaging.t: missing feature: docker support
Skipped test-convert-bzr-ghosts.t: missing feature: Canonical's Bazaar client
Skipped test-convert-bzr-114.t: missing feature: Canonical's Bazaar client >= 1.14
Skipped test-convert-bzr-treeroot.t: missing feature: Canonical's Bazaar client
Skipped test-debian-packages.t: missing feature: debian packaging tools
Failed test-largefiles-update.t: output changed
# Ran 474 tests, 51 skipped, 0 warned, 1 failed.
python hash seed: 605604232
# Cleaning up HGTMP /tmp/hgtests.whcbiY 
Makefile:110: recipe for target 'tests' failed
make[2]: *** [tests] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test: make -j1 check TESTFLAGS=--verbose --timeout 1440 --jobs 1 --blacklist /<<PKGBUILDDIR>>/debian/mercurial.test_blacklist returned exit code 2
debian/rules:42: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:8: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------

This is just how the build ends, not necessarily the relevant part.

I've put several build logs here:

https://people.debian.org/~sanvila/build-logs/mercurial/

If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the page for this package.

The bug should be reproducible with sbuild on a single CPU virtual machine,
provided you try enough times (as the failure happens randomly).

Apparently test-largefiles-update.t has a tendency to fail.

Thanks.



More information about the Python-apps-team mailing list