Build failed in Jenkins: quantal-adt-software-center » i386,albali #39

Jenkins Notification devnull at canonical.com
Wed Sep 19 16:57:25 UTC 2012


See <http://10.189.74.2:8080/job/quantal-adt-software-center/./ARCH=i386,label=albali/39/>

------------------------------------------
[...truncated 2282 lines...]
Testing test_origin...                            [ FAIL ]
Testing test_i18n...                              [  OK  ]
Testing test_aptd...                              [  OK  ]
Testing test_pep8...                              [  OK  ]
Testing test_login_backend...                     [  OK  ]
Testing test_config...                            [  OK  ]
Testing test_ubuntu_sso_api...                    [  OK  ]
Testing test_application...                       [  OK  ]
Testing test_channels...                          [  OK  ]
Testing test_pkginfo...                           [  OK  ]
Testing test_scagent...                           [  OK  ]
Testing test_hw...                                [  OK  ]
Testing test_where_is_it...                       [  OK  ]
Testing test_dataprovider...                      [ FAIL ]
Testing test_utils...                             [  OK  ]
Testing test_addons...                            [  OK  ]
Testing test_plugin...                            [  OK  ]
Testing test_xapian_query...                      [  OK  ]
Testing test_debfileapplication...                [  OK  ]
Testing test_spawn_helper...                      [  OK  ]
Testing test_database...                          [ FAIL ]
Testing test_xapian...                            [  OK  ]
Testing test_downloader...                        [  OK  ]
Testing test_mime...                              [  OK  ]
Testing test_rnr_api...                           [  OK  ]
Testing test_gwibber...                           [  OK  ]
Testing test_logging...                           [  OK  ]
Testing test_netstatus...                         [  OK  ]
Testing test_purchase_backend...                  [  OK  ]
Testing test_recagent...                          [ FAIL ]
Testing test_pyflakes...                          [  OK  ]
Testing test_enquire...                           [  OK  ]
Testing test_apthistory...                        [  OK  ]
Testing test_startup...                           [  OK  ]
Testing test_distro...                            [  OK  ]
Testing test_htmlize...                           [  OK  ]
Testing test_testutils...                         [  OK  ]
Testing test_description_norm...                  [  OK  ]
Testing test_categories...                        [  OK  ]
Testing test_region...                            [  OK  ]
Testing test_ppa_iconfilename...                  [  OK  ]
Testing test_reinstall_purchased...               [  OK  ]
Testing test_cmdfiner...                          [  OK  ]
Testing test_package_info...                      [  OK  ]
FAILED:  test_origin test_dataprovider test_database test_recagent
Check tests/output/ directory for the details
+ cat ./tests/output/test_database.out.FAIL ./tests/output/test_dataprovider.out.FAIL ./tests/output/test_origin.out.FAIL ./tests/output/test_recagent.out.FAIL
test_package_state_arch_any (tests.test_database.AppDetailsPkgStateTestCase) ... ok
test_package_state_no_series (tests.test_database.AppDetailsPkgStateTestCase) ... ok
test_package_state_purchased_enable_repo (tests.test_database.AppDetailsPkgStateTestCase) ... ok
test_package_state_purchased_not_available (tests.test_database.AppDetailsPkgStateTestCase) ... ok
test_channel_detection_extras (tests.test_database.AppDetailsSCAApplicationParser) ... ok
test_channel_detection_partner (tests.test_database.AppDetailsSCAApplicationParser) ... ok
test_currency (tests.test_database.AppDetailsSCAApplicationParser) ... ok
test_date_no_published (tests.test_database.AppDetailsSCAApplicationParser) ... ok
test_region_blacklist (tests.test_database.AppDetailsSCAApplicationParser)
Test that the region blacklist ignores blacklisted locations ... ok
test_region_blacklist_blacklists (tests.test_database.AppDetailsSCAApplicationParser)
Test that the region blacklist adds non-blacklisted locations ... ok
test_region_whitelist_blacklists (tests.test_database.AppDetailsSCAApplicationParser)
Test that the whitelist ignores non-whitelist locations ... ok
test_region_whitelist_whitelists (tests.test_database.AppDetailsSCAApplicationParser)
Test that the whitelist adds whitelisted locations ... ok
test_multiple_version_pkg_states (tests.test_database.MultipleVersionsSupportTestCase) ... ok
test_not_automatic_channel_support (tests.test_database.MultipleVersionsSupportTestCase) ... ok
test_not_automatic_version (tests.test_database.MultipleVersionsSupportTestCase) ... ok
test_app_enquire (tests.test_database.TestDatabase) ... ok
test_appdetails (tests.test_database.TestDatabase) ... ok
test_application (tests.test_database.TestDatabase) ... ok
test_application_details (tests.test_database.TestDatabase) ... ok
test_build_from_software_center_agent (tests.test_database.TestDatabase) ... ok
test_for_purchase_apps_date_published (tests.test_database.TestDatabase) ... ok
test_hardware_requirements_satisfied (tests.test_database.TestDatabase) ... ok
test_is_pkgname_known (tests.test_database.TestDatabase) ... ok
test_license_string_data_from_software_center_agent (tests.test_database.TestDatabase) ... ok
test_multiple_versions_sorting (tests.test_database.TestDatabase) ... ok
test_package_states (tests.test_database.TestDatabase) ... ok
test_packagename_is_application (tests.test_database.TestDatabase) ... ok
test_parse_axi_values_file (tests.test_database.TestDatabase) ... ok
test_region_requirements_satisfied (tests.test_database.TestDatabase) ... ok
test_regression_index_terms (tests.test_database.TestDatabase)
this tests for a regression that we had in the term indexer ... ok
test_update_from_appstream_xml (tests.test_database.TestDatabase) ... ok
test_update_from_desktop_file (tests.test_database.TestDatabase) ... ok
test_update_from_json_string (tests.test_database.TestDatabase) ... ok
test_update_from_var_lib_apt_lists (tests.test_database.TestDatabase) ... FAIL
test_whats_new (tests.test_database.TestDatabase) ... ok
test_track_db_open (tests.test_database.TrackDBTestCase) ... ok
test_utils_get_installed_apps_list (tests.test_database.UtilsTestCase) ... ok
test_utils_get_installed_package_list (tests.test_database.UtilsTestCase) ... ok
test_name_mangling_for_query_parser (tests.test_database.XapianQueryParserWorkarounds) ... ok
test_query_parser_wildcard (tests.test_database.XapianQueryParserWorkarounds) ... ok

======================================================================
FAIL: test_update_from_var_lib_apt_lists (tests.test_database.TestDatabase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "tests/test_database.py", line 150, in test_update_from_var_lib_apt_lists
    self.assertEqual(i, 1)
AssertionError: 0 != 1

----------------------------------------------------------------------
Ran 40 tests in 30.611s

FAILED (failures=1)
test_get_categories (tests.test_dataprovider.DataProviderTestCase) ... ok
test_get_category_internet (tests.test_dataprovider.DataProviderTestCase) ... ok
test_get_category_top_rated (tests.test_dataprovider.DataProviderTestCase) ... ok
test_get_category_whats_new (tests.test_dataprovider.DataProviderTestCase) ... ok
test_get_details (tests.test_dataprovider.DataProviderTestCase) ... FAIL
test_get_details_non_desktop (tests.test_dataprovider.DataProviderTestCase) ... ok
test_get_subcategories (tests.test_dataprovider.DataProviderTestCase) ... ok
test_have_data_in_db (tests.test_dataprovider.DataProviderTestCase) ... ok
test_dbus_for_real (tests.test_dataprovider.DbusForRealTestCase) ... skipped 'not reliable yet'
test_empty_dict_set (tests.test_dataprovider.PropertyDictExceptionsTestCase) ... ok
test_normal_dict (tests.test_dataprovider.PropertyDictExceptionsTestCase) ... ok
test_normal_set (tests.test_dataprovider.PropertyDictExceptionsTestCase) ... ok
test_simple (tests.test_dataprovider.PropertyDictExceptionsTestCase) ... ok

======================================================================
FAIL: test_get_details (tests.test_dataprovider.DataProviderTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "tests/test_dataprovider.py", line 119, in test_get_details
    self.assertEqual(result["is_desktop_dependency"], True)
AssertionError: False != True

----------------------------------------------------------------------
Ran 13 tests in 3.854s

FAILED (failures=1, skipped=1)
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 111] Connection refused>
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': 'Wed, 19 Sep 2012 16:54:42 GMT', 'content-type': 'text/html'}
'

----------------------------------------------------------------------
Ran 11 tests in 56.343s

FAILED (failures=1, skipped=5)
+ 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.UBqFOXDKDb:-/|/tmp/tmp.UBqFOXDKDb/!
+ RC=4
+ chown -R ubuntu /home/ubuntu/adt-log
+ chmod og+r /var/log/syslog
+ chmod og+r /var/crash/_usr_lib_python3.2_unittest___init__.py.1000.crash
+ 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-19 16:57:17: Failure: adt-run exited with status 4.\n
2012-09-19 16:57:17: Failure: adt-run exited with status 4.
+ mkdir -p <http://10.189.74.2:8080/job/quantal-adt-software-center/./ARCH=i386,label=albali/ws/results>
+ ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o CheckHostIP=no -i /var/cache/adt/disks/adtkey -p 54325 -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]:54325' (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 54325 ubuntu at localhost:/home/ubuntu/adt-log/* /var/crash/*crash /var/log/syslog <http://10.189.74.2:8080/job/quantal-adt-software-center/./ARCH=i386,label=albali/ws/results>
Warning: Permanently added '[localhost]:54325' (ECDSA) to the list of known hosts.
+ log_info_msg Test artifacts copied to <http://10.189.74.2:8080/job/quantal-adt-software-center/./ARCH=i386,label=albali/ws/results>
+ log_msg Info: Test artifacts copied to <http://10.189.74.2:8080/job/quantal-adt-software-center/./ARCH=i386,label=albali/ws/results\n>
+ date +%F %X
+ printf 2012-09-19 16:57:24: Info: Test artifacts copied to <http://10.189.74.2:8080/job/quantal-adt-software-center/./ARCH=i386,label=albali/ws/results\n>
2012-09-19 16:57:24: Info: Test artifacts copied to <http://10.189.74.2:8080/job/quantal-adt-software-center/./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 54325 -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]:54325' (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-19 16:57:24: Info: Cleaning up\n
2012-09-19 16:57:24: Info: Cleaning up
+ [ -f /dev/shm/adt/quantal-i386-software-center-20120919_162358.img.pid ]
+ cat /dev/shm/adt/quantal-i386-software-center-20120919_162358.img.pid
+ kill -9 36605
+ rm -f /dev/shm/adt/quantal-i386-software-center-20120919_162358.img.pid
+ rm -f /dev/shm/adt/quantal-i386-software-center-20120919_162358.img
+ rm -f /var/lock/adt/ssh.54325.lock
+ rm -f /var/lock/adt/vnc.5916.lock
+ [ -d /tmp/adt-i386.bsAxm7 ]
+ rm -Rf /tmp/adt-i386.bsAxm7
+ exit 4
Build step 'Execute shell' marked build as failure
Archiving artifacts



More information about the ubuntu-testing-notifications mailing list