Package: mercurial Version: 2.8.1-2 User: [email protected] Usertags: autopkgtest
Hello, mercurial's autopkgtest currently fails [1] in two different ways: * testsuite: | adt-run: & dsc0t-testsuite: - - - - - - - - - - stderr - - - - - - - - - - | warning: Tested with unexpected mercurial lib: /usr/lib/python2.7/dist-packages/mercurial | (expected /usr/bin/mercurial) autopkgtests must not write anything to stderr by default, so that unexpected warnings etc. are caught. If this is expected and cannot easily be suppressed, then you can add "Restrictions: allow-stderr" to its control stanza, as in attached debdiff. * hgsubversion: In Ubuntu's CI machinery we don't have access to outside servers like alioth. This of course does not directly affect Debian, I mostly mentioned it to explain why I disabled that particular test in Ubuntu in case you wonder. Would you accept a patch that sets up a local svn repository with some example commits and then imports from that? This makes the test independent of network, connectivity, or alioth problems, and as autopkgtest is primarily meant to be a "do I have everything required in the package" smoketest, it should suffice. I attach the current Ubuntu debdiff for reference, but please don't apply it as-is to Debian. Thanks for considering, Martin [1] http://d-jenkins.ubuntu-ci:8080/view/Trusty/view/AutoPkgTest/job/trusty-adt-mercurial/15/ARCH=i386,label=adt/ -- Martin Pitt | http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
diff -Nru mercurial-2.8.1/debian/changelog mercurial-2.8.1/debian/changelog --- mercurial-2.8.1/debian/changelog 2013-12-08 01:04:06.000000000 +0100 +++ mercurial-2.8.1/debian/changelog 2014-01-16 16:47:40.000000000 +0100 @@ -1,3 +1,13 @@ +mercurial (2.8.1-2ubuntu1) trusty; urgency=medium + + * debian/tests/control: + - Add "allow-stderr" restriction to "testsuite" as it prints out a "Tested + with unexpected mercurial lib:" warning. + - Disable hgsubversion test as it needs access to anonscm.debian.org which + we don't have in Ubuntu CI. + + -- Martin Pitt <[email protected]> Thu, 16 Jan 2014 16:46:31 +0100 + mercurial (2.8.1-2) unstable; urgency=low * Pass -f to rm so that repeated builds succeed (Closes: #731623). diff -Nru mercurial-2.8.1/debian/tests/control mercurial-2.8.1/debian/tests/control --- mercurial-2.8.1/debian/tests/control 2013-11-25 07:24:36.000000000 +0100 +++ mercurial-2.8.1/debian/tests/control 2014-01-16 16:46:24.000000000 +0100 @@ -1,8 +1,9 @@ Tests: testsuite Depends: @, zip, unzip, netbase, python-subversion, monotone, cvs, bzr, tla, darcs +Restrictions: allow-stderr -Tests: hgsubversion -Depends: @, hgsubversion +#Tests: hgsubversion +#Depends: @, hgsubversion Tests: mercurial-git Depends: @, mercurial-git, git

