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

Jenkins Notification devnull at canonical.com
Thu Apr 25 22:31:29 UTC 2013


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

Changes:

[Rick Harding] Auto hide the browser when in :gui: views

- Add a route/middleware to always check if the browser app should be hidden.
- If so, mark it hidden and force the browser app to re-update it's visible
state.
- Add the helpers for this in the browser subapp by adding the hidden
attribute, a updateVisible() helper, and tests that routing is bypassed when
hidden.
- Some existing tests cover refactoring the hidden dom changes

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

------------------------------------------
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: "613 matthew.scott at canonical.com-20130425204957-80i3v9k7tnjt0j0y
" 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".
 M  app/app.js
 M  app/subapps/browser/browser.js
 M  test/test_app.js
 M  test/test_browser_app.js
All changes applied successfully.
Now on revision 614.
[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: "614 rick.harding at canonical.com-20130425220921-d389gipec5tvo1fb
" stderr: ""
[jujugui-test-charm] $ bzr log -v -r revid:matthew.scott at canonical.com-20130425204957-80i3v9k7tnjt0j0y..revid:rick.harding at canonical.com-20130425220921-d389gipec5tvo1fb --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: "614 rick.harding at canonical.com-20130425220921-d389gipec5tvo1fb
" stderr: ""
RevisionState revno:614 revid:rick.harding at canonical.com-20130425220921-d389gipec5tvo1fb
[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/hudson6728058924850551421.sh
+ set -ex
+ cat
+ chmod +x /tmp/test-runner
+ sudo -E su -p -c /tmp/test-runner - jujugui-merger
Clean and Prep
2013-04-25 22:16:22,868 INFO Destroying environment 'juju-gui-testing' (type: openstack)...
2013-04-25 22:16:24,258 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-00007b01
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.77
Assigned IP to i-00007b01
Exposing the service...
2013-04-25 22:28:20,694 INFO Connecting to environment...
2013-04-25 22:28:23,439 INFO Connected to environment.
2013-04-25 22:28:25,495 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) ... ERROR
test_title (__main__.TestBasics) ... ok
test_charm_deploy (__main__.TestDeploy) ... ok
test_staging_services (__main__.TestDeploy) ... ok

======================================================================
ERROR: test_gui_unit_tests (__main__.TestBasics)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_charm_running.py", line 63, in test_gui_unit_tests
    total, failures = run_tests()
  File "test/test_charm_running.py", line 56, in run_tests
    timeout=90)
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 94, in format_error
    raise e
TimeoutException: Message: 'Unable to complete test run.' 

----------------------------------------------------------------------
Ran 6 tests in 182.895s

FAILED (errors=1)
Browser: ie
Test run details at https://saucelabs.com/jobs/2ba42f3e5a8d4b7782ccd9db2fff095d
Message: 'Unable to complete test run.' 
{u'passes': 815, u'tests': 815, u'end': {u'': None}, u'suites': 120, u'start': {u'': None}, u'duration': 95499, u'failures': 0, u'pending': 0}
restart_api with ip:10.55.60.77
Collected exit code 1
Final instance state
i-00007b00 running i-00007b01 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