Build failed in Jenkins: jujugui-test-charm #214

Jenkins Notification devnull at canonical.com
Tue Apr 2 16:54:54 UTC 2013


See <http://10.189.74.2:8080/job/jujugui-test-charm/214/changes>

Changes:

[Rick Harding] Add support for loading QA data into charm detail

- Update the store with the api call to the /qa.
- Add support to the charm detail view to load qa data when the Quality tab is
selected.
- Add code to summarize the scoring for the template to make life easy for it.
- Add tests for the scoring summary and clicking the quality tab.

R=jeff.pihach, j.c.sackett
CC=
https://codereview.appspot.com/8171047

------------------------------------------
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on lp-quantal-server-amd64
$ bzr revision-info -d <http://10.189.74.2:8080/job/jujugui-test-charm/ws/>
info result: bzr revision-info -d <http://10.189.74.2:8080/job/jujugui-test-charm/ws/> returned 0. Command output: "483 matthew.scott at canonical.com-20130402152531-jp2o0r8stzw96kha
" stderr: ""
[jujugui-test-charm] $ bzr pull --overwrite lp:juju-gui
You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data.  See "bzr help launchpad-login".
http://bazaar.launchpad.net/~juju-gui/juju-gui/trunk is permanently redirected to http://bazaar.launchpad.net/~juju-gui/juju-gui/trunk/changes
You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data.  See "bzr help launchpad-login".
+N  app/subapps/browser/templates/browser_qa.handlebars
+N  test/data/qa.json
 M  app/store/charm.js
 M  app/subapps/browser/templates/browser_charm.handlebars
 M  app/subapps/browser/views/charm.js
 M  test/test_browser_charm_details.js
All changes applied successfully.
Now on revision 484.
[jujugui-test-charm] $ bzr revert
$ bzr revision-info -d <http://10.189.74.2:8080/job/jujugui-test-charm/ws/>
info result: bzr revision-info -d <http://10.189.74.2:8080/job/jujugui-test-charm/ws/> returned 0. Command output: "484 rick.harding at canonical.com-20130402155856-83fdx0c5xjxm270g
" stderr: ""
[jujugui-test-charm] $ bzr log -v -r revid:matthew.scott at canonical.com-20130402152531-jp2o0r8stzw96kha..revid:rick.harding at canonical.com-20130402155856-83fdx0c5xjxm270g --long --show-ids
Getting local revision...
$ bzr revision-info -d <http://10.189.74.2:8080/job/jujugui-test-charm/ws/>
info result: bzr revision-info -d <http://10.189.74.2:8080/job/jujugui-test-charm/ws/> returned 0. Command output: "484 rick.harding at canonical.com-20130402155856-83fdx0c5xjxm270g
" stderr: ""
RevisionState revno:484 revid:rick.harding at canonical.com-20130402155856-83fdx0c5xjxm270g
[EnvInject] - Injecting environment variables from a build step.
[EnvInject] - Injecting as environment variables the properties content 
JUJU_INSTANCE_IP=91.189.93.93
JUJU_BRANCH=lp:juju-gui
JUJU_CHARM=cs:~juju-gui/precise/juju-gui
FAIL_FAST=1
JUJU_GUI_TEST_BROWSERS=ie chrome firefox

[EnvInject] - Variables injected successfully.
[jujugui-test-charm] $ /bin/sh -xe /tmp/hudson366443147482862064.sh
+ set -ex
+ cat
+ chmod +x /tmp/test-runner
+ sudo -E su -p -c /tmp/test-runner - jujugui-merger
Clean and Prep
2013-04-02 16:36:34,557 INFO Destroying environment 'juju-gui-testing' (type: openstack)...
2013-04-02 16:36:36,051 INFO 'destroy_environment' command finished successfully
WARNING: this command will destroy the 'juju-gui-testing' environment (type: openstack).
This includes all machines, services, data, and other resources. Continue [y/N] 
Lightweight Checkout of lp:juju-gui
You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data.  See "bzr help launchpad-login".
JUJU_INSTANCE_IP=91.189.93.93
Running Tests
ADDRESS	91.189.93.93	i-000077ed
Bootstrapping...
Deploying service...
Setting origin for charm to deploy lp:juju-gui
Waiting for service to start...
Assigning JUJU_INSTANCE_IP 91.189.93.93
Storing Internal IP as 10.55.60.201
Assigned IP to i-000077ed
Exposing the service...
2013-04-02 16:48:26,395 INFO Connecting to environment...
2013-04-02 16:48:29,072 INFO Connected to environment.
2013-04-02 16:48:31,152 INFO 'status' command finished successfully
APP_URL= http://91.189.93.93
Launching ie tests.
test_environment_connection (__main__.TestBasics) ... ok
test_environment_name (__main__.TestBasics) ... ok
test_gui_unit_tests (__main__.TestBasics) ... ok
test_title (__main__.TestBasics) ... ok
test_charm_deploy (__main__.TestDeploy) ... ok
test_staging_services (__main__.TestDeploy) ... ok

----------------------------------------------------------------------
Ran 6 tests in 156.081s

OK
Browser: ie
Test run details at https://saucelabs.com/jobs/d75741d8f244473d832604d304a0694d
restart_api with ip:10.55.60.201
Launching chrome tests.
test_environment_connection (__main__.TestBasics) ... ok
test_environment_name (__main__.TestBasics) ... ok
test_gui_unit_tests (__main__.TestBasics) ... ok
test_title (__main__.TestBasics) ... ok
test_charm_deploy (__main__.TestDeploy) ... ok
test_staging_services (__main__.TestDeploy) ... ok

----------------------------------------------------------------------
Ran 6 tests in 106.077s

OK
Browser: chrome
Test run details at https://saucelabs.com/jobs/afa9e1c890734827b2b1dccbbb4f6064
restart_api with ip:10.55.60.201
Launching firefox tests.
test_environment_connection (__main__.TestBasics) ... ok
test_environment_name (__main__.TestBasics) ... ok
test_gui_unit_tests (__main__.TestBasics) ... FAIL
test_title (__main__.TestBasics) ... ok
test_charm_deploy (__main__.TestDeploy) ... ok
test_staging_services (__main__.TestDeploy) ... ok

======================================================================
FAIL: test_gui_unit_tests (__main__.TestBasics)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_charm_running.py", line 72, in test_gui_unit_tests
    self.fail(msg)
AssertionError: 14 failure(s) running 40 tests.

----------------------------------------------------------------------
Ran 6 tests in 118.820s

FAILED (failures=1)
Browser: firefox
Test run details at https://saucelabs.com/jobs/5156923930894f959650aebe275924e0
9 failure(s) running 32 tests.  Retrying.
13 failure(s) running 36 tests.  Retrying.
20 failure(s) running 46 tests.  Retrying.
21 failure(s) running 50 tests.  Retrying.
restart_api with ip:10.55.60.201
Collected exit code 1
Final instance state
i-000077ed running i-000077eb running
+ cat /home/jujugui-merger/exit-status
+ ec=1
+ [ 0 -eq 1 ]
+ wc -l
+ cat /home/jujugui-merger/instance-state
+ [ 2 -lt 2 ]
+ wc -l
+ grep error\|stopped
+ cat /home/jujugui-merger/instance-state
+ [ 0 -gt 0 ]
+ exit 1
Build step 'Execute shell' marked build as failure



More information about the Juju-GUI mailing list