Build failed in Jenkins: quantal-adt-aptdaemon » i386,albali #21

Jenkins Notification devnull at canonical.com
Tue Oct 2 12:15:36 UTC 2012


See <http://10.189.74.2:8080/job/quantal-adt-aptdaemon/./ARCH=i386,label=albali/21/>

------------------------------------------
[...truncated 1506 lines...]
12:15:10 AptDaemon.PackageKit [INFO]: Initializing PackageKit compat layer
12:15:11 AptDaemon [INFO]: InstallPackages() was called: dbus.Array([dbus.String('silly-base')], signature=dbus.Signature('s'))
12:15:11 AptDaemon.Trans [INFO]: Queuing transaction /org/debian/apt/transaction/b2974b6ea9ac475c8df632c83e7fccd1
12:15:11 AptDaemon.Worker [INFO]: Simulating trans: /org/debian/apt/transaction/b2974b6ea9ac475c8df632c83e7fccd1
12:15:11 AptDaemon.Worker [INFO]: Committing packages: dbus.Array([dbus.String('silly-base')], signature=dbus.Signature('s')), dbus.Array([], signature=dbus.Signature('s')), dbus.Array([], signature=dbus.Signature('s')), dbus.Array([], signature=dbus.Signature('s')), dbus.Array([], signature=dbus.Signature('s')), dbus.Array([], signature=dbus.Signature('s'))
12:15:11 AptDaemon.Worker [INFO]: Processing transaction /org/debian/apt/transaction/b2974b6ea9ac475c8df632c83e7fccd1
12:15:11 AptDaemon.Worker [INFO]: Finished transaction /org/debian/apt/transaction/b2974b6ea9ac475c8df632c83e7fccd1
/usr/lib/python3.2/unittest/case.py:468: ResourceWarning: unclosed file <_io.FileIO name=20 mode='rb'>
  function, args, kwargs = self._cleanups.pop()
ok
test_environment (tests.test_simulate.DaemonTest)
Ensure that the test environment works. ... 12:15:11 AptDaemon [INFO]: Initializing daemon
12:15:11 AptDaemon.PackageKit [INFO]: Initializing PackageKit compat layer
12:15:12 AptDaemon [INFO]: InstallPackages() was called: dbus.Array([dbus.String('silly-base')], signature=dbus.Signature('s'))
12:15:12 AptDaemon.Trans [INFO]: Queuing transaction /org/debian/apt/transaction/521ab5bd543c4c209f6bcca61dfa7a24
12:15:12 AptDaemon.Worker [INFO]: Simulating trans: /org/debian/apt/transaction/521ab5bd543c4c209f6bcca61dfa7a24
12:15:12 AptDaemon.Worker [INFO]: Committing packages: dbus.Array([dbus.String('silly-base')], signature=dbus.Signature('s')), dbus.Array([], signature=dbus.Signature('s')), dbus.Array([], signature=dbus.Signature('s')), dbus.Array([], signature=dbus.Signature('s')), dbus.Array([], signature=dbus.Signature('s')), dbus.Array([], signature=dbus.Signature('s'))
12:15:12 AptDaemon.Worker [INFO]: Processing transaction /org/debian/apt/transaction/521ab5bd543c4c209f6bcca61dfa7a24
12:15:14 AptDaemon.Worker [INFO]: Finished transaction /org/debian/apt/transaction/521ab5bd543c4c209f6bcca61dfa7a24
/usr/lib/python3.2/unittest/case.py:468: ResourceWarning: unclosed file <_io.FileIO name=19 mode='rb'>
  function, args, kwargs = self._cleanups.pop()
ok
test_valid_package_names (tests.test_valid_package_names.TestValidPacakgeNames) ... ok
test_add_license_key (tests.test_worker.WorkerTestCase)
Test the installation of license key files. ... ok
test_add_license_key_unsecure (tests.test_worker.WorkerTestCase)
Test if we refuse to install license key files to an unsecure ... ok
test_check_unauth (tests.test_worker.WorkerTestCase)
Test if packages from an unauthenticated repo are detected. ... ok
test_downgrade (tests.test_worker.WorkerTestCase)
Test downgrading of packages. ... Selecting previously unselected package silly-base.
(Reading database ... 0 files and directories currently installed.)
Unpacking silly-base (from .../silly-base_0.1-0update1_all.deb) ...
Setting up silly-base (0.1-0update1) ...
ok
test_fix_broken_depends (tests.test_worker.WorkerTestCase)
Test the fixing of broken dependencies. ... Selecting previously unselected package silly-base.
(Reading database ... 0 files and directories currently installed.)
Unpacking silly-base (from .../repo/silly-base_0.1-0_all.deb) ...
Setting up silly-base (0.1-0) ...
Selecting previously unselected package silly-broken.
(Reading database ... 7 files and directories currently installed.)
Unpacking silly-broken (from .../silly-broken_0.1-0_all.deb) ...
dpkg: silly-broken: dependency problems, but configuring anyway as you requested:
 silly-broken depends on silly-unavailbale; however:
  Package silly-unavailbale is not installed.

Setting up silly-broken (0.1-0) ...
ok
test_install (tests.test_worker.WorkerTestCase)
Test installation of a package from a repository. ... ok
test_install_broken_depends (tests.test_worker.WorkerTestCase)
Test the that installing a package with broken dependencies ... ok
test_install_file (tests.test_worker.WorkerTestCase)
Test the installation of a local package file. ... 12:15:22 AptDaemon.Worker [WARNING]: An additional step to open the cache is required
WARNING:AptDaemon.Worker:An additional step to open the cache is required
12:15:22 AptDaemon.Worker [WARNING]: An additional step to open the cache is required
WARNING:AptDaemon.Worker:An additional step to open the cache is required
ok
test_install_unknown_file (tests.test_worker.WorkerTestCase)
Test the installation of a local package file which is not known ... 12:15:23 AptDaemon.Worker [WARNING]: An additional step to open the cache is required
WARNING:AptDaemon.Worker:An additional step to open the cache is required
12:15:23 AptDaemon.Worker [WARNING]: An additional step to open the cache is required
WARNING:AptDaemon.Worker:An additional step to open the cache is required
ok
test_modify_apt_auth_fallback (tests.test_worker.WorkerTestCase) ... 12:15:23 AptDaemon.Worker [WARNING]: can not replace existing netrc entry for 'private-ppa.launchpad.net/project-foo' prepending it instead
WARNING:AptDaemon.Worker:can not replace existing netrc entry for 'private-ppa.launchpad.net/project-foo' prepending it instead
ok
test_purge (tests.test_worker.WorkerTestCase)
Test the purging of packages. ... Selecting previously unselected package silly-base.
(Reading database ... 0 files and directories currently installed.)
Unpacking silly-base (from .../repo/silly-base_0.1-0_all.deb) ...
Setting up silly-base (0.1-0) ...
Selecting previously unselected package silly-config.
(Reading database ... 7 files and directories currently installed.)
Unpacking silly-config (from .../silly-config_0.1-0_all.deb) ...
Setting up silly-config (0.1-0) ...
ok
test_remove (tests.test_worker.WorkerTestCase)
Test the removal of packages. ... Selecting previously unselected package silly-base.
(Reading database ... 0 files and directories currently installed.)
Unpacking silly-base (from .../repo/silly-base_0.1-0_all.deb) ...
Setting up silly-base (0.1-0) ...
Selecting previously unselected package silly-essential.
(Reading database ... 7 files and directories currently installed.)
Unpacking silly-essential (from .../silly-essential_0.1-0_all.deb) ...
Setting up silly-essential (0.1-0) ...
Selecting previously unselected package silly-depend-base.
(Reading database ... 10 files and directories currently installed.)
Unpacking silly-depend-base (from .../silly-depend-base_0.1-0_all.deb) ...
Setting up silly-depend-base (0.1-0) ...
ok
test_remove_obsolete (tests.test_worker.WorkerTestCase)
Test the removal of obsoleted packages. ... Selecting previously unselected package silly-base.
(Reading database ... 0 files and directories currently installed.)
Unpacking silly-base (from .../repo/silly-base_0.1-0_all.deb) ...
Setting up silly-base (0.1-0) ...
Selecting previously unselected package silly-depend-base.
(Reading database ... 7 files and directories currently installed.)
Unpacking silly-depend-base (from .../silly-depend-base_0.1-0_all.deb) ...
Setting up silly-depend-base (0.1-0) ...
ok
test_update_cache (tests.test_worker.WorkerTestCase)
Test updating the cache using a local repository. ... SKIP: Fails under nosetests3
test_upgrade_system (tests.test_worker.WorkerTestCase)
Test upgrading the system. ... Selecting previously unselected package silly-base.
(Reading database ... 0 files and directories currently installed.)
Unpacking silly-base (from .../repo/silly-base_0.1-0_all.deb) ...
Setting up silly-base (0.1-0) ...
ok
test_use_apt_auth_conf (tests.test_worker.WorkerTestCase)
Test if credentials of repositories are store securely in a ... WARNING:root:could not open file '/tmp/tmp.DygTIjR74w/dsc0-build/tmpdir/tmpb3yqemtmp/etc/apt/sources.list'

WARNING:root:could not open file '/tmp/tmp.DygTIjR74w/dsc0-build/tmpdir/tmpb3yqemtmp/etc/apt/sources.list'

WARNING:root:could not open file '/tmp/tmp.DygTIjR74w/dsc0-build/tmpdir/tmpb3yqemtmp/etc/apt/sources.list'

WARNING:root:could not open file '/tmp/tmp.DygTIjR74w/dsc0-build/tmpdir/tmpb3yqemtmp/etc/apt/sources.list'

ok

======================================================================
ERROR: test_install_signature (tests.test_pk.PackageKitTest)
Test installing a new GPG key
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/tmp.DygTIjR74w/dsc0-build/aptdaemon-0.45+bzr861/tests/test_pk.py", line 430, in test_install_signature
    lambda p, t, d: True, None)
  File "/usr/lib/python3/dist-packages/gi/types.py", line 47, in function
    return info.invoke(*args, **kwargs)
gi._glib.GError: Failed to download and install the key CF982D18 from hkp://localhost:19191:


======================================================================
FAIL: test_install_signature_error (tests.test_pk.PackageKitTest)
Test installing a new GPG key with failing server
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/tmp.DygTIjR74w/dsc0-build/aptdaemon-0.45+bzr861/tests/test_pk.py", line 447, in test_install_signature_error
    self.assertTrue('Failed to download' in str(e), e)
AssertionError: False is not true : GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name :1.18 was not provided by any .service files
    'False is not true : GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name :1.18 was not provided by any .service files' = self._formatMessage('False is not true : GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name :1.18 was not provided by any .service files', "%s is not true" % safe_repr(False))
>>  raise self.failureException('False is not true : GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name :1.18 was not provided by any .service files')
    

======================================================================
FAIL: test_repo_enable_errors (tests.test_pk.PackageKitTest)
Test errors when adding a repository.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/tmp.DygTIjR74w/dsc0-build/aptdaemon-0.45+bzr861/tests/test_pk.py", line 410, in test_repo_enable_errors
    self.assertTrue('format' in str(e))
AssertionError: False is not true
    'False is not true' = self._formatMessage('False is not true', "%s is not true" % safe_repr(False))
>>  raise self.failureException('False is not true')
    

======================================================================
FAIL: test_unimplemented (tests.test_pk.PackageKitTest)
Test proper error message on unimplemented method.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/tmp.DygTIjR74w/dsc0-build/aptdaemon-0.45+bzr861/tests/test_pk.py", line 457, in test_unimplemented
    self.assertTrue('implemented' in str(e))
AssertionError: False is not true
    'False is not true' = self._formatMessage('False is not true', "%s is not true" % safe_repr(False))
>>  raise self.failureException('False is not true')
    

======================================================================
FAIL: test_what_provides_unsupported (tests.test_pk.PackageKitTest)
Test querying for provides for unsupported type.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/tmp.DygTIjR74w/dsc0-build/aptdaemon-0.45+bzr861/tests/test_pk.py", line 248, in test_what_provides_unsupported
    self.assertTrue("codec" in str(e), e)
AssertionError: False is not true : GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name :1.31 was not provided by any .service files
    'False is not true : GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name :1.31 was not provided by any .service files' = self._formatMessage('False is not true : GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name :1.31 was not provided by any .service files', "%s is not true" % safe_repr(False))
>>  raise self.failureException('False is not true : GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name :1.31 was not provided by any .service files')
    

----------------------------------------------------------------------
Ran 68 tests in 78.707s

FAILED (failures=4, errors=1, skipped=4)
make[1]: *** [test-python3.2] Error 1
make[1]: Leaving directory `/tmp/tmp.DygTIjR74w/dsc0-build/aptdaemon-0.45+bzr861'
make: *** [build] Error 2
blame: arg:aptdaemon_0.45+bzr861-0ubuntu5.dsc dsc:aptdaemon
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~/tmp/tmp.DygTIjR74w:-/|/tmp/tmp.DygTIjR74w/!
+ RC=12
+ [ 0 -eq 1 ]
+ chown -R ubuntu /home/ubuntu/adt-log
+ chmod og+r /var/log/syslog
+ chmod og+r /var/crash/*
chmod: cannot access `/var/crash/*': No such file or directory
+ true
+ exit 12
+ RET=12
+ [ 0 -eq 1 ]
+ [ 12 -gt 0 ]
+ log_failure_msg adt-run exited with status 12.
+ log_msg Failure: adt-run exited with status 12.\n
+ date +%F %X
+ printf 2012-10-02 12:15:35: Failure: adt-run exited with status 12.\n
2012-10-02 12:15:35: Failure: adt-run exited with status 12.
+ [ 0 -eq 0 ]
+ mkdir -p <http://10.189.74.2:8080/job/quantal-adt-aptdaemon/./ARCH=i386,label=albali/ws/results>
+ ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o CheckHostIP=no -i /var/cache/adt/disks/adtkey -p 54328 -t -o BatchMode=yes -l ubuntu localhost sudo chown -R ubuntu /home/ubuntu/adt-log; find  -type f -empty | xargs rm
Pseudo-terminal will not be allocated because stdin is not a terminal.
Warning: Permanently added '[localhost]:54328' (ECDSA) to the list of known hosts.
sudo: unable to resolve host autopkgtest
find: `./.autopkgtest/gpg': Permission denied
+ scp -r -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o CheckHostIP=no -i /var/cache/adt/disks/adtkey -P 54328 ubuntu at localhost:/home/ubuntu/adt-log/* /var/crash/*crash /var/log/syslog <http://10.189.74.2:8080/job/quantal-adt-aptdaemon/./ARCH=i386,label=albali/ws/results>
Warning: Permanently added '[localhost]:54328' (ECDSA) to the list of known hosts.
scp: /var/crash/*crash: No such file or directory
+ true
+ log_info_msg Test artifacts copied to <http://10.189.74.2:8080/job/quantal-adt-aptdaemon/./ARCH=i386,label=albali/ws/results>
+ log_msg Info: Test artifacts copied to <http://10.189.74.2:8080/job/quantal-adt-aptdaemon/./ARCH=i386,label=albali/ws/results\n>
+ date +%F %X
+ printf 2012-10-02 12:15:36: Info: Test artifacts copied to <http://10.189.74.2:8080/job/quantal-adt-aptdaemon/./ARCH=i386,label=albali/ws/results\n>
2012-10-02 12:15:36: Info: Test artifacts copied to <http://10.189.74.2:8080/job/quantal-adt-aptdaemon/./ARCH=i386,label=albali/ws/results>
+ [ 0 -eq 0 ]
+ ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o CheckHostIP=no -i /var/cache/adt/disks/adtkey -p 54328 -t -o BatchMode=yes -l ubuntu localhost sudo poweroff
Pseudo-terminal will not be allocated because stdin is not a terminal.
Warning: Permanently added '[localhost]:54328' (ECDSA) to the list of known hosts.
sudo: unable to resolve host autopkgtest
+ exit 12
+ on_exit
+ log_info_msg Cleaning up
+ log_msg Info: Cleaning up\n
+ date +%F %X
+ printf 2012-10-02 12:15:36: Info: Cleaning up\n
2012-10-02 12:15:36: Info: Cleaning up
+ [ -f /dev/shm/adt/quantal-i386-aptdaemon-20121002_121203.img.pid ]
+ cat /dev/shm/adt/quantal-i386-aptdaemon-20121002_121203.img.pid
+ kill -9 38032
+ rm -f /dev/shm/adt/quantal-i386-aptdaemon-20121002_121203.img.pid
+ rm -f /dev/shm/adt/quantal-i386-aptdaemon-20121002_121203.img
+ rm -f /var/lock/adt/ssh.54328.lock
+ rm -f /var/lock/adt/vnc.5916.lock
+ [ -d /tmp/adt-i386.YKD1XZ ]
+ rm -Rf /tmp/adt-i386.YKD1XZ
+ exit 12
Build step 'Execute shell' marked build as failure
Archiving artifacts



More information about the ubuntu-testing-notifications mailing list