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

Jenkins Notification devnull at canonical.com
Fri Mar 29 16:19:16 UTC 2013


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

Changes:

[Rick Harding] Create a view for the browser charm details.

- Drive by fixes for some missing deps
- Drive by for the api url in the prod config
- Refactory out the logic of the charm details from Fullscreen to it's own
view so it can be reused hopefully in the Sidebar View as well.
- Add the icon to the BrowserCharm model since it's new.
- Add the `file` Charmworld API endpoint used for loading the readme contents
if available.
- Fix broken HTML heh
- Add events with place holder functions for clicking 'add' and 'open
changelog'.
- Add basic tests for the BrowserCharmView
- If you want to QA, go to /bws/sidebar and select one of the charm links
displayed. It will load details for that charm. Note: there's an upstream
Charmworld API issue if the charm *does* have a README file. It'll throw an
error currently and a fix to Charmworld is submitted but not in staging yet.

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

------------------------------------------
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: "475 francesco.banconi at canonical.com-20130329153054-sr0snlh0nfzso0rk
" 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/views/charm.js
+N  test/test_browser_charm_details.js
 M  app/config-prod.js
 M  app/models/charm.js
 M  app/modules-debug.js
 M  app/store/charm.js
 M  app/subapps/browser/templates/browser_charm.handlebars
 M  app/subapps/browser/views/fullscreen.js
 M  app/subapps/browser/views/sidebar.js
 M  test/index.html
All changes applied successfully.
Now on revision 476.
[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: "476 rick.harding at canonical.com-20130329154043-bpk0x1tpotrwb4h5
" stderr: ""
[jujugui-test-charm] $ bzr log -v -r revid:francesco.banconi at canonical.com-20130329153054-sr0snlh0nfzso0rk..revid:rick.harding at canonical.com-20130329154043-bpk0x1tpotrwb4h5 --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: "476 rick.harding at canonical.com-20130329154043-bpk0x1tpotrwb4h5
" stderr: ""
RevisionState revno:476 revid:rick.harding at canonical.com-20130329154043-bpk0x1tpotrwb4h5
[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/hudson5096377118955517411.sh
+ set -ex
+ cat
+ chmod +x /tmp/test-runner
+ sudo -E su -p -c /tmp/test-runner - jujugui-merger
Clean and Prep
2013-03-29 15:53:34,553 INFO Destroying environment 'juju-gui-testing' (type: openstack)...
2013-03-29 15:53:37,588 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] 
Waiting for instances to terminate
Waiting for instances to terminate
Waiting for instances to terminate
This is taking too long. Now trying euca-terminate-instances.

+ euca-terminate-instances i-00007741
INSTANCE	i-00007741
+ set +x

+ euca-terminate-instances i-00007740
INSTANCE	i-00007740
+ set +x

Waiting for instances to terminate
Waiting for instances to terminate
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-00007743
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.202
Assigned IP to i-00007743
Exposing the service...
2013-03-29 16:13:27,413 INFO Connecting to environment...
2013-03-29 16:13:30,250 INFO Connected to environment.
2013-03-29 16:13:32,345 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 149.690s

OK
Browser: ie
Test run details at https://saucelabs.com/jobs/d0f627844d6f443e9bb6b1be2cfc0a9d
restart_api with ip:10.55.60.202
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 102.334s

OK
Browser: chrome
Test run details at https://saucelabs.com/jobs/00e2208cd71d4eddb8311776903ee19c
restart_api with ip:10.55.60.202
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 67, in test_gui_unit_tests
    self.fail(msg)
AssertionError: 10 failure(s) running 41 tests.

----------------------------------------------------------------------
Ran 6 tests in 89.695s

FAILED (failures=1)
Browser: firefox
Test run details at https://saucelabs.com/jobs/42bb413716c7407491df8fb5d9dcc92b
14 failure(s) running 38 tests.  Retrying.
restart_api with ip:10.55.60.202
Collected exit code 1
Final instance state
i-00007742 running i-00007743 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