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

Jenkins Notification devnull at canonical.com
Thu Sep 13 12:50:47 UTC 2012


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

------------------------------------------
[...truncated 1546 lines...]
12:49:42 AptDaemon.PackageKit [INFO]: Initializing PackageKit compat layer
FAIL
test_open_progress (tests.test_progress.TestProgress) ... ok
test_open_progress_real_cache (tests.test_progress.TestProgress) ... ok
test_detect_unauthenticated (tests.test_simulate.DaemonTest)
Test if the installation of an unauthenticated packages fails ... 12:49:44 AptDaemon [INFO]: Initializing daemon
12:49:44 AptDaemon.PackageKit [INFO]: Initializing PackageKit compat layer
12:49:45 AptDaemon [INFO]: InstallPackages() was called: dbus.Array([dbus.String('silly-base')], signature=dbus.Signature('s'))
12:49:45 AptDaemon.Trans [INFO]: Queuing transaction /org/debian/apt/transaction/c5e1cbd3df774508be620a6d7b7bb060
12:49:45 AptDaemon.Worker [INFO]: Simulating trans: /org/debian/apt/transaction/c5e1cbd3df774508be620a6d7b7bb060
12:49:45 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:49:45 AptDaemon.Worker [INFO]: Processing transaction /org/debian/apt/transaction/c5e1cbd3df774508be620a6d7b7bb060
12:49:45 AptDaemon.Worker [INFO]: Finished transaction /org/debian/apt/transaction/c5e1cbd3df774508be620a6d7b7bb060
/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:49:46 AptDaemon [INFO]: Initializing daemon
12:49:46 AptDaemon.PackageKit [INFO]: Initializing PackageKit compat layer
12:49:46 AptDaemon [INFO]: InstallPackages() was called: dbus.Array([dbus.String('silly-base')], signature=dbus.Signature('s'))
12:49:46 AptDaemon.Trans [INFO]: Queuing transaction /org/debian/apt/transaction/2cbc85fe36ba4006baedb30007ca7dd9
12:49:46 AptDaemon.Worker [INFO]: Simulating trans: /org/debian/apt/transaction/2cbc85fe36ba4006baedb30007ca7dd9
12:49:46 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:49:46 AptDaemon.Worker [INFO]: Processing transaction /org/debian/apt/transaction/2cbc85fe36ba4006baedb30007ca7dd9
12:49:49 AptDaemon.Worker [INFO]: Finished transaction /org/debian/apt/transaction/2cbc85fe36ba4006baedb30007ca7dd9
/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:50:11 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:50:11 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:50:14 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:50:14 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:50:14 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/tmp5lra5mtmp/etc/apt/sources.list'

WARNING:root:could not open file '/tmp/tmp5lra5mtmp/etc/apt/sources.list'

WARNING:root:could not open file '/tmp/tmp5lra5mtmp/etc/apt/sources.list'

WARNING:root:could not open file '/tmp/tmp5lra5mtmp/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.JxJWwMEI7k/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.JxJWwMEI7k/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.17 was not provided by any .service files
    'False is not true : GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name :1.17 was not provided by any .service files' = self._formatMessage('False is not true : GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name :1.17 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.17 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.JxJWwMEI7k/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.JxJWwMEI7k/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.JxJWwMEI7k/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.30 was not provided by any .service files
    'False is not true : GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name :1.30 was not provided by any .service files' = self._formatMessage('False is not true : GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name :1.30 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.30 was not provided by any .service files')
    

----------------------------------------------------------------------
Ran 68 tests in 125.668s

FAILED (failures=4, errors=1, skipped=4)
adt-run: trace: & dsc0t-run-test: ----------------------------------------]
adt-run: trace1: ** needs_reset, previously=False
adt-run: trace: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ tests done.
adt-run: trace: ** stop
adt-run: trace: ** close, scratch=tb-scratch~/tmp/tmp.JxJWwMEI7k:-/|/tmp/tmp.JxJWwMEI7k/!
+ RC=4
+ 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 4
+ RET=4
+ [ 4 -gt 0 ]
+ log_failure_msg adt-run exited with status 4.
+ log_msg Failure: adt-run exited with status 4.\n
+ date +%F %X
+ printf 2012-09-13 12:50:44: Failure: adt-run exited with status 4.\n
2012-09-13 12:50:44: Failure: adt-run exited with status 4.
+ 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 54322 -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]:54322' (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 54322 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]:54322' (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-09-13 12:50:46: Info: Test artifacts copied to <http://10.189.74.2:8080/job/quantal-adt-aptdaemon/./ARCH=i386,label=albali/ws/results\n>
2012-09-13 12:50:46: 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 54322 -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]:54322' (ECDSA) to the list of known hosts.
sudo: unable to resolve host autopkgtest
+ exit 4
+ on_exit
+ log_info_msg Cleaning up
+ log_msg Info: Cleaning up\n
+ date +%F %X
+ printf 2012-09-13 12:50:47: Info: Cleaning up\n
2012-09-13 12:50:47: Info: Cleaning up
+ [ -f /dev/shm/adt/quantal-i386-aptdaemon-20120913_124400.img.pid ]
+ cat /dev/shm/adt/quantal-i386-aptdaemon-20120913_124400.img.pid
+ kill -9 79442
+ rm -f /dev/shm/adt/quantal-i386-aptdaemon-20120913_124400.img.pid
+ rm -f /dev/shm/adt/quantal-i386-aptdaemon-20120913_124400.img
+ rm -f /var/lock/adt/ssh.54322.lock
+ rm -f /var/lock/adt/vnc.5910.lock
+ [ -d /tmp/adt-i386.rU2vRr ]
+ rm -Rf /tmp/adt-i386.rU2vRr
+ exit 4
Build step 'Execute shell' marked build as failure
Archiving artifacts



More information about the ubuntu-testing-notifications mailing list