[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

automatic bug filing by test robot



Now that gdebi-core is in back in lenny I've got my automatic package
testing robot working on lenny again.  (I got stalled last time due to
leaving Canonical and being busy for a while.)

Mostly what it does right now is build a package, discover that the
package doesn't have any autopkgtest tests declared in
debian/tests/control, and then go on to the next package; it also does
test installs.  This is useful as it tests buildability and
installability (but of course having functional tests in packages
would be good too - the documentation for this is currently in
 /usr/share/doc/autopkgtest/README.package-tests.gz
in autopkgtest).

I'm hoping to shortly turn on the automatic bug filing mechanism.
I'm writing now to give people a chance to object :-).

Also, if you have any comments about the format of the email,
supporting references, etc., that would be helpful.

Below is an example report, which would be sent to submit@bugs
instead if I had it enabled.

Ian.

From: Ian Jackson <ian@davenant.greenend.org.uk>
To: ian@davenant.greenend.org.uk
Subject: autopkgtest lenny aolserver4: erroneous package!
Date: Mon, 25 Aug 2008 18:18:13 +0100

Source: aolserver4
Version: 4.5.0-16
User: autopkgtest@packages.debian.org
Usertags: autopkgtest

 Test executed for:  lenny  source  aolserver4
 Outcome: erroneous package!
  blame: arg:/volatile/ian/adt-tmp/aolserver4/src/aolserver4_4.5.0-16.dsc dsc:aolserver4
  badpkg: rules build failed with exit code 2
  quitting: erroneous package: rules build failed with exit code 2
  
  erroneous package!

This message is automatically generated by the autopkgtest package
testing system.  You are receiving it because:
 The test results appear to indicate a problem with the package
 and reports for package maintainers for lenny are being directed to
 ian@davenant.greenend.org.uk

The top and tail of the test log, which is intended to be sufficient
to diagnose most failures, can be found below.  However, in case this
is not sufficient, a complete log can be found along with output
files, saved temporary files, and so on, at:
 http://www.chiark.greenend.org.uk/~ijackson//autopkgtest/lenny-source/

The test environment is an i386 Xen guest with limited amounts of
memory.  The relevant dependencies are installed for each test but
very few other packages.  Most autopkgtest reports are FTBFS problems.
Failures to satisfy build-dependencies are sometimes due to ambiguity
rather than simple lack of a suitable package.

While this bug remains open and assigned to this package, no further
retesting will be done and no additional bugs will be filed.  When you
have corrected the problem, close the bug and your package will be
immediately eligible for retesting.

If this automatic testing and bug filing is undesirable for certain
packages(s) please let me know and I will add them to my blacklist.

If you have any questions about this service please contact me at:
 Ian Jackson <ian@davenant.greenend.org.uk>

Regards,
Ian

-8<-
++++++ fetching http://mirror.relativity.greenend.org.uk/mirror/debian-ftp//dists/lenny/main/source/Sources.gz ++++++
++++++ selecting ++++++
package forced: aolserver4

Package: aolserver4
Binary: aolserver4, aolserver4-core, aolserver4-dev, aolserver4-doc
Version: 4.5.0-16
Priority: optional
Section: web
Maintainer: Francesco Paolo Lovergine <frankie@debian.org>
Build-Depends: sharutils, patch, debhelper (>= 5), tcl-dev (>= 8.4), dpatch, groff, zlib1g-dev
Architecture: any
Standards-Version: 3.8.0
Format: 1.0
Directory: pool/main/a/aolserver4
Files:
 61e3d55473354b30beb9db6826c9e736 1136 aolserver4_4.5.0-16.dsc
 72dc769aa82aa26fb14b606bdfc523f8 3790402 aolserver4_4.5.0.orig.tar.gz
 16b060f0c7ed443780476a72aa0af3cd 98812 aolserver4_4.5.0-16.diff.gz
Homepage: http://www.aolserver.com/
Checksums-Sha1: 
 f6617920949bd8308e0f996668a517f19d68c363 3790402 aolserver4_4.5.0.orig.tar.gz
 7cde762aaf30fd6c6e33e407694b2c942ec31976 98812 aolserver4_4.5.0-16.diff.gz
Checksums-Sha256: 
 77f48d257e4fd73e1d9e06d42c2c64fce5a84f6b9f1970990054734530449992 3790402 aolserver4_4.5.0.orig.tar.gz
 20164d6356f2d9e099db60aa3c81620930a010e9a3dd3c2a82b6c861d31a2b2e 98812 aolserver4_4.5.0-16.diff.gz

++++++ fetching http://mirror.relativity.greenend.org.uk/mirror/debian-ftp//pool/main/a/aolserver4/aolserver4_4.5.0-16.dsc ++++++
++++++ fetching http://mirror.relativity.greenend.org.uk/mirror/debian-ftp//pool/main/a/aolserver4/aolserver4_4.5.0.orig.tar.gz ++++++
++++++ fetching http://mirror.relativity.greenend.org.uk/mirror/debian-ftp//pool/main/a/aolserver4/aolserver4_4.5.0-16.diff.gz ++++++
++++++ fetching http://mirror.relativity.greenend.org.uk/mirror/debian-ftp//pool/main/a/aolserver4/aolserver4_4.5.0.orig.tar.gz ++++++
++++++ fetching http://mirror.relativity.greenend.org.uk/mirror/debian-ftp//pool/main/a/aolserver4/aolserver4_4.5.0-16.diff.gz ++++++
++++++ fetching http://mirror.relativity.greenend.org.uk/mirror/debian-ftp//pool/main/a/aolserver4/aolserver4_4.5.0.orig.tar.gz ++++++
++++++ fetching http://mirror.relativity.greenend.org.uk/mirror/debian-ftp//pool/main/a/aolserver4/aolserver4_4.5.0-16.diff.gz ++++++
++++++ starting test ++++++
+ adt-run --tmp-dir /volatile/ian/adt-tmp/aolserver4/tmp --output-dir /volatile/ian/adt-tmp/aolserver4/out --log-file /volatile/ian/adt-tmp/aolserver4/log --summary /volatile/ian/adt-tmp/_summary --built-binaries-filter=__ --source /volatile/ian/adt-tmp/aolserver4/src/aolserver4_4.5.0-16.dsc --- adt-virt-xenlvm --userv --distro=lenny --
adt-run: trace: ** init
adt-run: trace: ** start
adt-run: trace: $ vserver: adt-virt-xenlvm --userv --distro=lenny --
adt-run: trace: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ starting
adt-run: trace: ** open, scratch=None
adt-run: trace: * initialising
adt-run: trace: * no key generation needed
adt-run: trace: * reset
adt-run: trace: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ builds ...
adt-run: trace: @@@@@@@@@@@@@@@@@@@@ dsc dsc0
adt-run: trace: * publish
adt-run: trace: $ ftparchive: sh -ec <SCRIPT> x /volatile/ian/adt-tmp/aolserver4/tmp/binaries /home/ian/.autopkgtest/gpg
adt-run: trace: $ apt-key: sh -ec <SCRIPT>
OK
Get:1 http://mirror.relativity.greenend.org.uk lenny Release.gpg [189B]
Get:2 file:  Release.gpg [189B]
Get:3 http://mirror.relativity.greenend.org.uk lenny Release [74.4kB]
Get:4 file:  Release [724B]
Get:5 http://mirror.relativity.greenend.org.uk lenny/main Packages/DiffIndex [2038B]
Get:6 http://mirror.relativity.greenend.org.uk lenny/contrib Packages/DiffIndex [2023B]
Hit http://mirror.relativity.greenend.org.uk lenny/non-free Packages/DiffIndex
Get:7 http://mirror.relativity.greenend.org.uk lenny/main 2008-08-24-0848.13.pdiff [11.5kB]
Get:8 http://mirror.relativity.greenend.org.uk lenny/contrib 2008-08-24-2034.23.pdiff [29B]
Get:9 http://mirror.relativity.greenend.org.uk lenny/main 2008-08-24-0848.13.pdiff [11.5kB]
Get:10 http://mirror.relativity.greenend.org.uk lenny/contrib 2008-08-24-2034.23.pdiff [29B]
Get:11 http://mirror.relativity.greenend.org.uk lenny/main 2008-08-24-0848.13.pdiff [11.5kB]
Get:12 http://mirror.relativity.greenend.org.uk lenny/contrib 2008-08-24-2034.23.pdiff [29B]
Get:13 http://mirror.relativity.greenend.org.uk lenny/main 2008-08-24-2034.23.pdiff [8602B]
Get:14 http://mirror.relativity.greenend.org.uk lenny/main 2008-08-24-2034.23.pdiff [8602B]
Get:15 http://mirror.relativity.greenend.org.uk lenny/main 2008-08-24-2034.23.pdiff [8602B]
Fetched 98.9kB in 12s (7938B/s)
Reading package lists...
adt-run: trace: * publish reinstall checking...
adt-run: trace: * publish install...
adt-run: trace: * publish done
adt-run: trace: $ dsc0: python -c <SCRIPT>
adt-run: trace: $ dsc0-extract: sh -ec <SCRIPT> x /root/adt-downtmp/dsc0-build/tmpdir /root/adt-downtmp/dsc0/aolserver4_4.5.0-16.dsc
+ spec=/root/adt-downtmp/dsc0/aolserver4_4.5.0-16.dsc
++ pwd
+ origpwd=/root/adt-downtmp/dsc0-build
+ cd /root/adt-downtmp/dsc0-build
+ chown adtxenu .
+ TMPDIR=/root/adt-downtmp/dsc0-build/tmpdir
+ rm -rf -- /root/adt-downtmp/dsc0-build/tmpdir
+ export TMPDIR
+ su adtxenu -c 'mkdir -- "$TMPDIR"'
+ spec=/root/adt-downtmp/dsc0/aolserver4_4.5.0-16.dsc
+ origpwd=/root/adt-downtmp/dsc0-build
+ su adtxenu -c '
\t\t\tdpkg-source -x $spec
\t\t\t'
gpg: new configuration file `/home/adtxenu/.gnupg/gpg.conf' created
gpg: WARNING: options in `/home/adtxenu/.gnupg/gpg.conf' are not yet active during this run
gpg: Signature made Wed Jul 23 08:49:17 2008 UTC using DSA key ID E9F2C747
gpg: Can't check signature: public key not found
dpkg-source: extracting aolserver4 in aolserver4-4.5.0
dpkg-source: info: unpacking aolserver4_4.5.0.orig.tar.gz
dpkg-source: info: applying aolserver4_4.5.0-16.diff.gz
+ cd aolserver4-4.5.0/.
+ pwd
+ set +e
+ test -f debian/tests/control
+ echo 1
adt-run: trace: * <dsc:dsc0> build needed for binaries
adt-run: trace: $ dsc0: python -c <SCRIPT>
\rExtracting templates from packages: 20%\rExtracting templates from packages: 41%\rExtracting templates from packages: 61%\rExtracting templates from packages: 82%\rExtracting templates from packages: 100%
adt-run: trace: $ dsc0-build: sh -ec <SCRIPT> x /root/adt-downtmp/dsc0-build/tmpdir /root/adt-downtmp/dsc0-build/aolserver4-4.5.0
+ TMPDIR=/root/adt-downtmp/dsc0-build/tmpdir
+ rm -rf -- /root/adt-downtmp/dsc0-build/tmpdir
+ export TMPDIR
+ su adtxenu -c 'mkdir -- "$TMPDIR"'
+ cd /root/adt-downtmp/dsc0-build/aolserver4-4.5.0
+ dpkg-checkbuilddeps
+ su adtxenu -c 'debian/rules build'
test -d debian/patched || install -d debian/patched
dpatch  apply-all  
applying patch Makefile to ./ ...patch: **** Can't create file /root/adt-downtmp/dsc0-build/aolserver4-4.5.0/debian/tmp/po5iEhG8 : No such file or directory
 failed.
make: *** [patch-stamp] Error 1
blame: arg:/volatile/ian/adt-tmp/aolserver4/src/aolserver4_4.5.0-16.dsc dsc:aolserver4
badpkg: rules build failed with exit code 2
adt-run: erroneous package: rules build failed with exit code 2
adt-run: trace: ** stop
adt-run: trace: ** close, scratch=tb-scratch~/root/adt-downtmp:-/|/root/adt-downtmp/!
device-mapper: remove ioctl failed: Device or resource busy
Command failed
device-mapper: remove ioctl failed: Device or resource busy
Command failed
++++++ RESULTS erroneous package! ++++++
++++++ bundling ++++++
++++++ uploading ++++++
++++++ contacting maintainer_email_override ++++++
++++++ tested. ++++++


Reply to: