Build failed in Jenkins: raring-proposed-adt-software-center » amd64,albali #4

Jenkins Notification devnull at canonical.com
Mon Nov 5 08:20:13 UTC 2012


See <http://10.189.74.2:8080/job/raring-proposed-adt-software-center/./ARCH=amd64,label=albali/4/>

------------------------------------------
[...truncated 2416 lines...]
  File "./softwarecenter/backend/ubuntusso.py", line 138, in find_oauth_token_sync
    sso = self. _get_login_backend_and_connect()
  File "./softwarecenter/backend/ubuntusso.py", line 130, in _get_login_backend_and_connect
    _(SOFTWARE_CENTER_SSO_DESCRIPTION))
  File "./softwarecenter/backend/login.py", line 80, in get_login_backend
    sso_class = LoginBackendDbusSSO(window_id, appname, help_text)
  File "./softwarecenter/backend/login_impl/login_sso.py", line 46, in __init__
    self.bus = dbus.SessionBus()
  File "/usr/lib/python2.7/dist-packages/dbus/_dbus.py", line 211, in __new__
    mainloop=mainloop)
  File "/usr/lib/python2.7/dist-packages/dbus/_dbus.py", line 100, in __new__
    bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
  File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 122, in __new__
    bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoServer: Failed to connect to socket /tmp/dbus-tXI6F7G52x: Connection refused
Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/lib/python2.7/unittest/__main__.py", line 12, in <module>
    main(module=None)
  File "/usr/lib/python2.7/unittest/main.py", line 94, in __init__
    self.parseArgs(argv)
  File "/usr/lib/python2.7/unittest/main.py", line 149, in parseArgs
    self.createTests()
  File "/usr/lib/python2.7/unittest/main.py", line 158, in createTests
    self.module)
  File "/usr/lib/python2.7/unittest/loader.py", line 128, in loadTestsFromNames
    suites = [self.loadTestsFromName(name, module) for name in names]
  File "/usr/lib/python2.7/unittest/loader.py", line 91, in loadTestsFromName
    module = __import__('.'.join(parts_copy))
  File "tests/test_origin.py", line 13, in <module>
    class TestOrigins(unittest.TestCase):
  File "tests/test_origin.py", line 17, in TestOrigins
    url_accessable("http://de.archive.ubuntu.com/ubuntu", "dists/"),
  File "tests/utils.py", line 64, in url_accessable
    f = urlopen(url)
  File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 401, in open
    response = self._open(req, data)
  File "/usr/lib/python2.7/urllib2.py", line 419, in _open
    '_open', req)
  File "/usr/lib/python2.7/urllib2.py", line 379, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 1211, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "/usr/lib/python2.7/urllib2.py", line 1181, in do_open
    raise URLError(err)
urllib2.URLError: <urlopen error [Errno 110] Connection timed out>
test_mocked_recagent_post_submit_profile (tests.test_recagent.MockTestRecommenderAgent) ... ok
test_recagent_post_implicit_feedback (tests.test_recagent.RealTestRecommenderAgent) ... skipped 'server returns 401'
test_recagent_post_submit_profile (tests.test_recagent.RealTestRecommenderAgent) ... skipped 'server returns 401'
test_recagent_query_error (tests.test_recagent.RealTestRecommenderAgent) ... ok
test_recagent_query_profile (tests.test_recagent.RealTestRecommenderAgent) ... skipped 'server returns 401'
test_recagent_query_recommend_all_apps (tests.test_recagent.RealTestRecommenderAgent) ... FAIL
test_recagent_query_recommend_app (tests.test_recagent.RealTestRecommenderAgent) ... ok
test_recagent_query_recommend_me (tests.test_recagent.RealTestRecommenderAgent) ... skipped 'server returns 401'
test_recagent_query_recommend_top (tests.test_recagent.RealTestRecommenderAgent) ... ok
test_recagent_query_server_status (tests.test_recagent.RealTestRecommenderAgent) ... ok
test_recagent_query_submit_anon_profile (tests.test_recagent.RealTestRecommenderAgent) ... skipped 'server returns 401'

======================================================================
FAIL: test_recagent_query_recommend_all_apps (tests.test_recagent.RealTestRecommenderAgent)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "tests/test_recagent.py", line 113, in test_recagent_query_recommend_all_apps
    self.assertServerReturnsWithNoError()
  File "tests/test_recagent.py", line 66, in assertServerReturnsWithNoError
    self.assertFalse(self.error, "got error: '%s'" % self.error_msg)
AssertionError: got error: 'WARNING:__main__:504: {'status': '504', 'content-length': '92', 'via': '1.0 myrica.canonical.com:3128 (squid/2.7.STABLE7)', 'x-cache': 'MISS from myrica.canonical.com', 'transfer-encoding': 'chunked', 'x-cache-lookup': 'HIT from myrica.canonical.com:3128', 'strict-transport-security': 'max-age=2592000', 'vary': 'Accept-Encoding', '-content-encoding': 'gzip', 'cache-control': 'no-cache', 'date': 'Mon, 05 Nov 2012 08:07:46 GMT', 'content-type': 'text/html'}
'

----------------------------------------------------------------------
Ran 11 tests in 56.082s

FAILED (failures=1, skipped=5)
test_fake_aptd (tests.test_testutils.DummyBackendTestUtilsTestCase) ... 08:02:48 AptDaemon [INFO]: Initializing daemon
08:02:49 AptDaemon [INFO]: Quitting was requested
ok
test_start_stop_dummy_backend (tests.test_testutils.DummyBackendTestUtilsTestCase) ... FAIL
test_app_properties_helper_mock_with_custom_values (tests.test_testutils.TestUtilsTestCase) ... ok
test_app_properties_helper_mock_with_defaults (tests.test_testutils.TestUtilsTestCase) ... ok
test_url_accessable (tests.test_testutils.TestUtilsTestCase) ... ok

======================================================================
FAIL: test_start_stop_dummy_backend (tests.test_testutils.DummyBackendTestUtilsTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "tests/test_testutils.py", line 40, in test_start_stop_dummy_backend
    self.assertEqual(len(names), 6)
AssertionError: 4 != 6

----------------------------------------------------------------------
Ran 5 tests in 1.948s

FAILED (failures=1)
ERROR:root:Could not find any typelib for Gst
WARNING:root:failed to init network state watcher 'org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files'
WARNING:softwarecenter.fixme:logs to the root logger: '('softwarecenter/netstatus.py', 122, '__init_network_state')'
2012-11-05 08:15:46,773 - softwarecenter.fixme - WARNING - logs to the root logger: '('softwarecenter/netstatus.py', 122, '__init_network_state')'
2012-11-05 08:15:46,773 - root - WARNING - failed to init network state watcher 'org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files'
INFO:root:Attempting one time ping of archive.ubuntu.com to test if internet connectivity exists.
WARNING:softwarecenter.fixme:logs to the root logger: '('softwarecenter/netstatus.py', 151, 'test_ping')'
test_hardware_requirements_box (tests.gtk3.test_widgets.TestHWRequirements) ... 2012-11-05 08:15:46,875 - softwarecenter.fixme - WARNING - logs to the root logger: '('softwarecenter/netstatus.py', 151, 'test_ping')'
2012-11-05 08:15:46,874 - root - INFO - Attempting one time ping of archive.ubuntu.com to test if internet connectivity exists.
ok
test_hardware_requirements_label (tests.gtk3.test_widgets.TestHWRequirements) ... ok
test_hardware_requirements_label_utf8 (tests.gtk3.test_widgets.TestHWRequirements) ... ok
test_reviews_includes_any_language (tests.gtk3.test_widgets.TestUIReviewsList) ... ok
test_reviews_no_reviews_but_app_not_installed (tests.gtk3.test_widgets.TestUIReviewsList) ... ok
test_reviews_no_reviews_offer_to_write_one (tests.gtk3.test_widgets.TestUIReviewsList) ... ok
test_reviews_offers_to_relax_language (tests.gtk3.test_widgets.TestUIReviewsList) ... ok
test_actionbar (tests.gtk3.test_widgets.TestWidgets) ... ok
test_apptreeview (tests.gtk3.test_widgets.TestWidgets) ... INFO:softwarecenter.db.pkginfo_impl.aptcache:aptcache.open()
2012-11-05 08:15:47,640 - softwarecenter.db.pkginfo_impl.aptcache - INFO - aptcache.open()
INFO:softwarecenter.db.pkginfo_impl.aptcache:aptcache.open()
2012-11-05 08:15:48,097 - softwarecenter.db.pkginfo_impl.aptcache - INFO - aptcache.open()
INFO:softwarecenter.db.database:open() database: path=None use_axi=True use_agent=True
2012-11-05 08:15:48,553 - softwarecenter.db.database - INFO - open() database: path=None use_axi=True use_agent=True
WARNING:softwarecenter.region:failed to use geoclue: 'org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Geoclue.Master was not provided by any .service files'
2012-11-05 08:15:48,571 - softwarecenter.region - WARNING - failed to use geoclue: 'org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Geoclue.Master was not provided by any .service files'
ok
test_backforward (tests.gtk3.test_widgets.TestWidgets) ... ok
test_backforward_lp1034894 (tests.gtk3.test_widgets.TestWidgets) ... ok
test_buttons (tests.gtk3.test_widgets.TestWidgets) ... ok
test_containers (tests.gtk3.test_widgets.TestWidgets) ... ok
test_description (tests.gtk3.test_widgets.TestWidgets) ... ok
test_exhibits (tests.gtk3.test_widgets.TestWidgets) ... ok
test_screenshot_thumbnail (tests.gtk3.test_widgets.TestWidgets) ... INFO:softwarecenter.db.pkginfo_impl.aptcache:aptcache.open()
2012-11-05 08:15:56,545 - softwarecenter.db.pkginfo_impl.aptcache - INFO - aptcache.open()
INFO:root:ping output: 'Internet connection available!
PING archive.ubuntu.com (91.189.92.202) 56(84) bytes of data.

--- archive.ubuntu.com ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms

'
WARNING:softwarecenter.fixme:logs to the root logger: '('softwarecenter/netstatus.py', 168, 'test_ping')'
2012-11-05 08:15:56,902 - softwarecenter.fixme - WARNING - logs to the root logger: '('softwarecenter/netstatus.py', 168, 'test_ping')'
2012-11-05 08:15:56,902 - root - INFO - ping output: 'Internet connection available!
PING archive.ubuntu.com (91.189.92.202) 56(84) bytes of data.

--- archive.ubuntu.com ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms

'
INFO:softwarecenter.db.database:open() database: path=None use_axi=True use_agent=True
2012-11-05 08:15:57,070 - softwarecenter.db.database - INFO - open() database: path=None use_axi=True use_agent=True
WARNING:softwarecenter.simplefiledownloader:url changed from 'http://screenshots.ubuntu.com/screenshot-with-version/totem/3.4.3-0ubuntu4' to 'http://screenshots.ubuntu.com/screenshot-with-version/comix/4.0.4-1'
2012-11-05 08:15:57,083 - softwarecenter.simplefiledownloader - WARNING - url changed from 'http://screenshots.ubuntu.com/screenshot-with-version/totem/3.4.3-0ubuntu4' to 'http://screenshots.ubuntu.com/screenshot-with-version/comix/4.0.4-1'
FAIL
test_searchentry (tests.gtk3.test_widgets.TestWidgets) ... ok
test_show_image_dialog (tests.gtk3.test_widgets.TestWidgets) ... ok
test_spinner (tests.gtk3.test_widgets.TestWidgets) ... ok
test_stars (tests.gtk3.test_widgets.TestWidgets) ... ok
test_symbolic_icons (tests.gtk3.test_widgets.TestWidgets) ... ok
test_videoplayer (tests.gtk3.test_widgets.TestWidgets) ... ok
test_stop (tests.gtk3.test_widgets.VideoPlayerTestCase) ... ok
test_uri (tests.gtk3.test_widgets.VideoPlayerTestCase) ... ok

======================================================================
FAIL: test_screenshot_thumbnail (tests.gtk3.test_widgets.TestWidgets)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "tests/gtk3/test_widgets.py", line 129, in test_screenshot_thumbnail
    t.spinner.get_property("visible"))
AssertionError: False is not true

----------------------------------------------------------------------
Ran 24 tests in 10.884s

FAILED (failures=1)
+ exit 1
adt-run: trace: & dsc0t-run-tests: ----------------------------------------]
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.flZEjoLniI:-/|/tmp/tmp.flZEjoLniI/!
+ RC=4
+ [ 0 -eq 1 ]
+ chown -R ubuntu /home/ubuntu/adt-log
+ chmod og+r /var/log/syslog
+ chmod og+r /var/crash/_usr_lib_python3.3_unittest___init__.py.1000.crash
+ exit 4
+ RET=4
+ [ 0 -eq 1 ]
+ [ 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-11-05 08:20:07: Failure: adt-run exited with status 4.\n
2012-11-05 08:20:07: Failure: adt-run exited with status 4.
+ [ 0 -eq 0 ]
+ mkdir -p <http://10.189.74.2:8080/job/raring-proposed-adt-software-center/./ARCH=amd64,label=albali/ws/results>
+ ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o CheckHostIP=no -i /var/cache/adt/disks/adtkey -p 54329 -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]:54329' (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 54329 ubuntu at localhost:/home/ubuntu/adt-log/*
    /var/crash/*crash /var/log/syslog <http://10.189.74.2:8080/job/raring-proposed-adt-software-center/./ARCH=amd64,label=albali/ws/results>
+ true
+ log_info_msg Test artifacts copied to <http://10.189.74.2:8080/job/raring-proposed-adt-software-center/./ARCH=amd64,label=albali/ws/results>
+ log_msg Info: Test artifacts copied to <http://10.189.74.2:8080/job/raring-proposed-adt-software-center/./ARCH=amd64,label=albali/ws/results\n>
+ date +%F %X
+ printf 2012-11-05 08:20:12: Info: Test artifacts copied to <http://10.189.74.2:8080/job/raring-proposed-adt-software-center/./ARCH=amd64,label=albali/ws/results\n>
2012-11-05 08:20:12: Info: Test artifacts copied to <http://10.189.74.2:8080/job/raring-proposed-adt-software-center/./ARCH=amd64,label=albali/ws/results>
+ [ -n 2012-11-05_07-51-17 ]
+ log_info_msg Updating Jenkins results
+ log_msg Info: Updating Jenkins results\n
+ date +%F %X
+ printf 2012-11-05 08:20:12: Info: Updating Jenkins results\n
2012-11-05 08:20:12: Info: Updating Jenkins results
+ res=fail
+ [ 4 -eq 0 ]
+ OPTS=-d
+ [ 1 -eq 1 ]
+ OPTS=-d -P
+ /var/lib/ubuntu-iso-testing/auto-package-testing/bin/../jenkins/update-adt-result -d -P -r raring software-center amd64 fail
2012-11-05 08:20:12,757 DEBUG Debug mode enabled
2012-11-05 08:20:12,757 DEBUG aptroot: /var/lib/ubuntu-iso-testing/auto-package-testing/aptroot/raring-proposed-amd64
2012-11-05 08:20:12,758 DEBUG Loading status from /var/lib/ubuntu-iso-testing/auto-package-testing/aptroot/raring-proposed-amd64/var/cache/adt/raring-proposed_amd64_software-center
2012-11-05 08:20:12,758 DEBUG Writing status file
+ [ 0 -eq 0 ]
+ ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o CheckHostIP=no -i /var/cache/adt/disks/adtkey -p 54329 -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]:54329' (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-11-05 08:20:13: Info: Cleaning up\n
2012-11-05 08:20:13: Info: Cleaning up
+ [ -f /dev/shm/adt/raring-amd64-software-center-20121105_075117.img.pid ]
+ cat /dev/shm/adt/raring-amd64-software-center-20121105_075117.img.pid
+ kill -9 109653
+ rm -f /dev/shm/adt/raring-amd64-software-center-20121105_075117.img.pid
+ rm -f /dev/shm/adt/raring-amd64-software-center-20121105_075117.img
+ rm -f /var/lock/adt/ssh.54329.lock
+ rm -f /var/lock/adt/vnc.5917.lock
+ [ -d /tmp/adt-amd64.fnuv7D ]
+ rm -Rf /tmp/adt-amd64.fnuv7D
+ exit 4
Build step 'Execute shell' marked build as failure
Archiving artifacts



More information about the ubuntu-testing-notifications mailing list