Bug#751575: adt-virt-schroot: fails to replicate tests which pass elsewhere
Package: autopkgtest
Version: 2.18
Severity: normal
ci.debian.net indicates that the tests are passing for my packages
but I am unable to port any other packages to autopkgtest as
adt-virt-schroot fails to replicate the success of the existing
packages:
$ adt-run --apt-source json-schema-validator --- schroot unstable
adt-run [2014-06-14 13:39:47]: version 2.18
adt-run: $ vserver: adt-virt-schroot unstable
adt-run: testbed dpkg architecture: amd64
adt-run: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ builds ...
adt-run: @@@@@@@@@@@@@@@@@@@@ apt apt0
(Reading database ... 41520 files and directories currently installed.)
Preparing to unpack .../adt-run.OZmkwX/adt-satdep.deb ...
Unpacking adt-satdep (0) over (0) ...
Reading package lists...
Building dependency tree...
Reading state information...
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
0 upgraded, 0 newly installed, 0 to remove and 16 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
E: Can not write log (Is /dev/pts mounted?) - openpty (2: No such file or directory)
Setting up adt-satdep (0) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
NOTICE: 'json-schema-validator' packaging is maintained in the 'Git' version control system at:
https://github.com/codehelp/pkg-json-schema-validator.git
Need to get 26.0 kB of source archives.
Get:1 http://ftp.uk.debian.org/debian/ sid/main json-schema-validator 2.3.1-3 (dsc) [2427 B]
Get:2 http://ftp.uk.debian.org/debian/ sid/main json-schema-validator 2.3.1-3 (tar) [20.1 kB]
Get:3 http://ftp.uk.debian.org/debian/ sid/main json-schema-validator 2.3.1-3 (diff) [3420 B]
Fetched 26.0 kB in 0s (35.9 kB/s)
gpgv: keyblock resource `/home/neil/.gnupg/trustedkeys.gpg': file open error
gpgv: Signature made Tue May 27 20:58:55 2014 UTC using RSA key ID 8143B682
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./json-schema-validator_2.3.1-3.dsc
dpkg-source: info: extracting json-schema-validator in json-schema-validator-2.3.1
dpkg-source: info: unpacking json-schema-validator_2.3.1.orig.tar.gz
dpkg-source: info: unpacking json-schema-validator_2.3.1-3.debian.tar.xz
adt-run: testing package json-schema-validator version 2.3.1-3
adt-run: * <apt:apt0> build not needed
adt-run: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ builds done.
adt-run: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ tests ...
adt-run: @@@@@@@@@@@@@@@@@@@@ test apt apt0
adt-run: @@@@@@@@@@ read control ...
adt-run: @@@@@@@@@@ run_tests ...
adt-run [2014-06-14 13:39:51]: & apt0t-testsuite: preparing
adt-run: & apt0t-testsuite: processing dependency @
adt-run: & apt0t-testsuite: synthesised dependency python-json-schema-validator
adt-run: & apt0t-testsuite: synthesised dependency python-json-schema-validator-doc
adt-run: & apt0t-testsuite: processing dependency django-testscenarios
adt-run: & apt0t-testsuite: literal dependency django-testscenarios
(Reading database ... 41520 files and directories currently installed.)
Preparing to unpack .../adt-run.OZmkwX/adt-satdep.deb ...
Unpacking adt-satdep (0) over (0) ...
Reading package lists...
Building dependency tree...
Reading state information...
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
0 upgraded, 0 newly installed, 0 to remove and 16 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
E: Can not write log (Is /dev/pts mounted?) - openpty (2: No such file or directory)
Setting up adt-satdep (0) ...
adt-run [2014-06-14 13:39:52]: & apt0t-testsuite: [-----------------------
bash: line 10: /dev/fd/62: No such file or directory
adt-run [2014-06-14 13:39:53]: & apt0t-testsuite: -----------------------]
adt-run: & apt0t-testsuite: - - - - - - - - - - results - - - - - - - - - -
apt0t-testsuite FAIL non-zero exit status 1
adt-run: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ tests done.
adt-run fails before the test suite has even been attempted.
Extra debug only gives:
adt-run1: testbed command ['su', '-s', '/bin/bash', 'neil', '-c', 'set -e\n buildtree="/tmp/adt-run.KBt3pS/apt0-build/json-schema-validator-2.3.1"\n rm -rf "/tmp/adt-run.KBt3pS/apt0t-testsuite-artifacts"; mkdir -m 1777 -- "/tmp/adt-run.KBt3pS/apt0t-testsuite-artifacts"\n export ADT_ARTIFACTS="/tmp/adt-run.KBt3pS/apt0t-testsuite-artifacts"\n export ADTTMP=$(mktemp -d --tmpdir adttmp.XXXXXX)\n trap "rm -rf $ADTTMP" EXIT INT QUIT PIPE\n chmod 755 $ADTTMP\n cd "$buildtree"\n chmod +x /tmp/adt-run.KBt3pS/apt0-build/json-schema-validator-2.3.1/debian/tests/testsuite\n touch /tmp/adt-run.KBt3pS/apt0t-testsuite-stdout /tmp/adt-run.KBt3pS/apt0t-testsuite-stderr\n /tmp/adt-run.KBt3pS/apt0-build/json-schema-validator-2.3.1/debian/tests/testsuite 2> >(tee /tmp/adt-run.KBt3pS/apt0t-testsuite-stderr >&2) > >(tee /tmp/adt-run.KBt3pS/apt0t-testsuite-stdout)\n '], kind test, sout raw, serr raw, env ['LANG=C']
bash: line 10: /dev/fd/62: No such file or directory
adt-run1: testbed command exited with code 1
adt-run [2014-06-14 13:44:33]: & apt0t-testsuite: -----------------------]
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.13-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages autopkgtest depends on:
ii apt-utils 1.0.4
ii libdpkg-perl 1.17.10
ii python3 3.4.1-1
ii python3-debian 0.1.22
autopkgtest recommends no packages.
Versions of packages autopkgtest suggests:
pn lxc <none>
pn qemu-system <none>
ii qemu-utils 2.0.0+dfsg-6+b1
ii schroot 1.6.10-1+b1
-- no debconf information
Reply to: