Your message dated Fri, 07 Feb 2014 15:18:57 +0000
with message-id <[email protected]>
and subject line Bug#737242: fixed in autopkgtest 2.7.1
has caused the Debian Bug report #737242,
regarding adt-run: suboptimal diagnostics if all tests were skipped
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
737242: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=737242
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: autopkgtest
Version: 2.7

I have a package which has one test with breaks-testbed restriction, and no other test. This is what happens when I try to run the tests against virt-server that doesn't support this restriction:

# sudo adt-run -B adequate-0.11.4// --- adt-virt-null
adt-run: $ vserver: adt-virt-null
adt-run: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ builds ...
adt-run: @@@@@@@@@@@@@@@@@@@@ ubtree ubtree0
adt-run: $ ubtree0-extract: sh -ec <SCRIPT> x 
/tmp/adt-run.4JfFHd/ubtree0-build/tmpdir /tmp/adt-run.4JfFHd/ubtree0-build/real-tree
dpkg-source: info: using options from 
/tmp/adt-run.4JfFHd/ubtree0-build/real-tree/debian/source/options: 
--compression=gzip
adequate             SKIP Test breaks testbed but testbed does not advertise 
revert-full-system
adt-run: * <ubtree:ubtree0> build not needed
adt-run: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ builds done.
adt-run: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ tests ...
adt-run: @@@@@@@@@@@@@@@@@@@@ test ubtree ubtree0
adequate             SKIP Test breaks testbed but testbed does not advertise 
revert-full-system
adt-run: @@@@@@@@@@ run_tests ...
*                    SKIP package has metadata but no tests
adt-run: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ tests done.


The “package has metadata but no tests” message is misleading. The package certainly does have tests, it's just all of them were skipped. Additionally, the exit status is 10, which is not one of the codes documented in the manual page:

# echo $?
10


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 3.12-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages autopkgtest depends on:
ii  apt-utils      0.9.15
ii  debhelper      9.20131227
ii  pbuilder       0.215
ii  python         2.7.5-5
ii  python-debian  0.1.21+nmu3

--
Jakub Wilk

--- End Message ---
--- Begin Message ---
Source: autopkgtest
Source-Version: 2.7.1

We believe that the bug you reported is fixed in the latest version of
autopkgtest, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Martin Pitt <[email protected]> (supplier of updated autopkgtest package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 07 Feb 2014 14:52:42 +0100
Source: autopkgtest
Binary: autopkgtest autopkgtest-xenlvm
Architecture: source all
Version: 2.7.1
Distribution: unstable
Urgency: medium
Maintainer: Autopkgtest team <[email protected]>
Changed-By: Martin Pitt <[email protected]>
Description: 
 autopkgtest - automatic as-installed testing for Debian packages
 autopkgtest-xenlvm - Xen/LVM2 based testbed snapshot system
Closes: 737242 737632
Changes: 
 autopkgtest (2.7.1) unstable; urgency=medium
 .
   * VirtSubproc.py, command(): Intercept/retry on EAGAIN.
   * runner/adt-run: Robustify cleanup of empty "binaries" output directory, it
     does not always work in __del__().
   * adt-run: Replace direct invocation of "debian/rules build" with
     "dpkg-buildpackage -us -uc -b". dpkg-buildpackage is the de-facto
     interface these days (also on the buildds), and does additional things now
     such as passing build flags or cleaning the package. This also implies
     dpkg-source --before build to apply patches, so remove the explicit call
     to that again. (Closes: #737632)
   * adt-run: If all tests get skipped, but there are some tests, don't claim
     that there are none. (Closes: #737242)
   * adt-run: When expanding @builddeps@, add "make" as test almost always need
     it to call "make installcheck" or similar.
   * Print package version as first adt-run message ("@devel@" when running out
     of source tree).
   * Turn VirtSubproc.Timeout into a proper exception class (RuntimeError).
   * Make VirtSubproc.bomb() useful outside the mainloop, so that we can
     use it in utility functions that are used outside of runners.
   * VirtSubproc: Add a "timeout" context manager which plumbs timeout_start(),
     timeout_end() and bomb() (if an exit message is given) or a Timeout
     exception (otherwise) together in the right way, for convenience.
Checksums-Sha1: 
 eeab0fc193eb5f24bd510754e641bf2ac66471da 1736 autopkgtest_2.7.1.dsc
 facbd1d9307ddc90143612580f23ddbeca817028 96073 autopkgtest_2.7.1.tar.gz
 8679819a3b2ae0cdc742f9639ebf4ad2b9934184 58614 autopkgtest_2.7.1_all.deb
 e82bf7b6c3ba99139be9ab7cd7e43e3869382d0d 44600 autopkgtest-xenlvm_2.7.1_all.deb
Checksums-Sha256: 
 8da9a86a5767e8faca084065bcc91849955ac759640616e70ae1055f84bbe253 1736 
autopkgtest_2.7.1.dsc
 4856ea6bd5d8983892438873d00f23909590d796a6f814382009379aff5a0d56 96073 
autopkgtest_2.7.1.tar.gz
 a32062b23478f59a39a4817d38619ca51bcc9d34720407af6c555105175f60be 58614 
autopkgtest_2.7.1_all.deb
 2009f153a3daaddb82f76667c5ff13c6e997364980b2b7df7ed036637bf03f85 44600 
autopkgtest-xenlvm_2.7.1_all.deb
Files: 
 01a88a4d7312b83af3578b85fc29b1f0 1736 devel optional autopkgtest_2.7.1.dsc
 4731eb7010f938a1f6f9a6889225ed31 96073 devel optional autopkgtest_2.7.1.tar.gz
 777d920d6afd827cf5b16eb3ccb64681 58614 devel optional autopkgtest_2.7.1_all.deb
 4c53a4c170d3acb3e06f411d71b25e48 44600 devel optional 
autopkgtest-xenlvm_2.7.1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJS9OV3AAoJENFO8V2v4RNH90QP/jfZ7I+UAA7U2SY7ABzAqFm0
71873vpVTA8IsnuzoX80WDWyqkPmglhxINdI1EXRU/e3dQ5Id2eSastJzeV5o5rP
MIU6qtEGRQfDe+gpsjbViggNL91WlPyLPhBlK08bW9b1zfX/bLatCHByYLl7Tl5+
A62TRUEdPjGhOEDPfUBA5hQPzFTIidOHvnuU3udzCoy7v4hMINT9i/qBRIXUiTBN
q8Z55eU3xieUyWZCUN1gM7GYa5m7FLZZhXeSSsc5ssHcY0yG59HTCsDxDP0TDSU7
SM3LID436U8Kx9xy1BXz8vo8NaPJb2Z2y2bhe4AfjSB8rAJvfAbg1TYB6LnUiwmQ
ie/ASVj3Sqk4T1/PyQ1eWxZKujfL/1nt8HUk53jGoIiS8NQHj4Bx1sKe0IukAeXc
/2sWHXJGUOq+4u4vvmQ0+JYE7nr9WqNaKVip2JX47jFP+PFPB2eAp6hVXXwRetd0
wmLuhYtz/S6IWD42HTMbsx/+tmX9Y+dIb459elgwyJn0zigLy8z1ledQX5hcYgcQ
hVA2bDN6M3Lqt9KdGxXGRZ4C3PhqAGJsi7erc7IPy7h8CWtFcBb+ihSAjIgEW27B
+QnrIUZyazy415ElHPZr61/C9ipwSc/qR/D5rXP6wgD8aCvG+s7JnM9ptVgKwu/G
92Pdrxutajyp9ich1HZK
=ZCxs
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to