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

Jenkins Notification devnull at canonical.com
Fri Aug 2 16:11:31 UTC 2013


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

Changes:

[Rick Harding] Remove use of showView to control view display.

- minimized, sidebar, and fullscreen were using showView, remove that.
- Make sure they all destroy themselves cleanly
- Make sure that their destructor method is called when going from one view to
another.
- Update tests to work with these changes.

Note:
The test file was indented as it was wrapped in a closure to enable all suites
to share the addBrowserCotnainer function.

Tests were updated for additional cleanup and the "browser subapp display
tree" test beforeEach/after to adjust how we track if the main views were
indeed called during dispatching.

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

[Jeff Pihach] Add navigation icons to the inspector

This is a re-proposal of huw's branch: https://codereview.appspot.com/12322043/
There is only a minor padding change to center the icons from his branch.

R=benji
CC=
https://codereview.appspot.com/12320044

------------------------------------------
Started by an SCM change
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: "923 francesco.banconi at canonical.com-20130802153049-mxc4xgvwlaelropm
" 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/assets/images/inspector_configuration.png
+N  app/assets/images/inspector_configuration_selected.png
+N  app/assets/images/inspector_constraints.png
+N  app/assets/images/inspector_constraints_selected.png
+N  app/assets/images/inspector_status.png
+N  app/assets/images/inspector_status_selected.png
 M  app/subapps/browser/browser.js
 M  app/subapps/browser/views/charmresults.js
 M  app/subapps/browser/views/minimized.js
 M  app/templates/viewlet-manager.handlebars
 M  app/views/environment.js
 M  app/views/viewlet-manager.js
 M  lib/views/juju-inspector.less
 M  test/test_browser_app.js
All changes applied successfully.
Now on revision 925.
[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: "925 rick.harding at canonical.com-20130802154744-ds857lvjdv3sh3mb
" stderr: ""
[jujugui-test-charm] $ bzr log -v -r revid:francesco.banconi at canonical.com-20130802153049-mxc4xgvwlaelropm..revid:rick.harding at canonical.com-20130802154744-ds857lvjdv3sh3mb --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: "925 rick.harding at canonical.com-20130802154744-ds857lvjdv3sh3mb
" stderr: ""
RevisionState revno:925 revid:rick.harding at canonical.com-20130802154744-ds857lvjdv3sh3mb
[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/hudson2955240668048226366.sh
+ set -ex
+ cat
+ chmod +x /tmp/test-runner
+ sudo -E su -p -c /tmp/test-runner - jujugui-merger
Clean and Prep
2013-08-02 15:53:44,547 INFO Destroying environment 'juju-gui-testing' (type: openstack)...
2013-08-02 15:53:45,888 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
virtualenv virtualenv --system-site-packages
New python executable in virtualenv/bin/python
Installing distribute.............................................................................................................................................................................................done.
Installing pip...............done.
virtualenv/bin/easy_install archives/selenium-2.33.0.tar.gz
Processing selenium-2.33.0.tar.gz
Running selenium-2.33.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-AY0tYl/selenium-2.33.0/egg-dist-tmp-qbxdBu
Adding selenium 2.33.0 to easy-install.pth file

Installed /home/jujugui-merger/gui-branch/virtualenv/lib/python2.7/site-packages/selenium-2.33.0-py2.7.egg
Processing dependencies for selenium==2.33.0
Finished processing dependencies for selenium==2.33.0
ADDRESS	91.189.93.93	i-00008e43
Using image e8f6e1d9-3a8b-4948-b127-242721ce190d (ubuntu-released/ubuntu-precise-12.04-amd64-server-20130624-disk1.img)
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.236
Assigned IP to i-00008e43
Exposing the service...
2013-08-02 16:02:45,583 INFO Connecting to environment...
2013-08-02 16:02:48,439 INFO Connected to environment.
2013-08-02 16:02:50,474 INFO 'status' command finished successfully
Env: juju-gui-testing
APP_URL: http://91.189.93.93
Launching ie tests.
* Platform: Internet Explorer 10 (Windows)
* Testcase: TestAuthentication
* Details: https://saucelabs.com/jobs/3acc09f29d684b3986e3fa3600c55a1d
test_root_page (__main__.TestAuthentication) ... ok
test_service_page (__main__.TestAuthentication) ... ok
test_unit_page (__main__.TestAuthentication) ... ok
* Platform: Internet Explorer 10 (Windows)
* Testcase: TestBasics
* Details: https://saucelabs.com/jobs/f30fb6c82f86492290c0caf4bd103e4b
test_environment_connection (__main__.TestBasics) ... ok
test_environment_name (__main__.TestBasics) ... ok
test_gui_unit_tests (__main__.TestBasics) ... {u'suites': 123, u'tests': 959, u'passes': 943, u'start': {u'': None}, u'failures': 0, u'pending': 18}
ERROR
test_title (__main__.TestBasics) ... ok
* Platform: Internet Explorer 10 (Windows)
* Testcase: TestNotifications
* Details: https://saucelabs.com/jobs/d87a9197eab140048f686ff5b1e1c9c2
test_error (__main__.TestNotifications) ... ok
test_initial (__main__.TestNotifications) ... ok
* Platform: Internet Explorer 10 (Windows)
* Testcase: TestSandbox
* Details: https://saucelabs.com/jobs/472cca011d964fd2a57f79e0bf089b1e
- setting new options: sandbox=True
test_charm_deploy (__main__.TestSandbox) ... ok
- setting new options: sandbox=False
* Platform: Internet Explorer 10 (Windows)
* Testcase: TestStaging
* Details: https://saucelabs.com/jobs/332d272fed1e49dabb1c32916bd1dce3
test_charm_deploy (__main__.TestStaging) ... 
- restarting API backend with ip:10.55.60.236...
- done
ok
test_initial_services (__main__.TestStaging) ... ok
test_service_view (__main__.TestStaging) ... ok
test_unit_view (__main__.TestStaging) ... ok

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

----------------------------------------------------------------------
Ran 14 tests in 516.345s

FAILED (errors=1)
Message: 'Unable to complete test run.' 
Quitting...
2013-08-02 16:11:27,285 INFO Destroying environment 'juju-gui-testing' (type: openstack)...
2013-08-02 16:11:30,301 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] Collected exit code 1
Final instance state
i-00008e43 running i-00008e42 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