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

Jenkins Notification devnull at canonical.com
Fri Sep 13 04:10:21 UTC 2013


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

Changes:

[Gary Poster] Fix lint and tests

Tweak code so tests pass.

R=
CC=
https://codereview.appspot.com/13250048

------------------------------------------
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: "1037 bac at canonical.com-20130912200237-0btowy7i233kesse
" 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/config-debug.js
 M  app/config-prod.js
 M  app/models/models.js
All changes applied successfully.
Now on revision 1038.
[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: "1038 gary.poster at canonical.com-20130913034633-t12ho831pmbk742h
" stderr: ""
[jujugui-test-charm] $ bzr log -v -r revid:bac at canonical.com-20130912200237-0btowy7i233kesse..revid:gary.poster at canonical.com-20130913034633-t12ho831pmbk742h --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: "1038 gary.poster at canonical.com-20130913034633-t12ho831pmbk742h
" stderr: ""
RevisionState revno:1038 revid:gary.poster at canonical.com-20130913034633-t12ho831pmbk742h
[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/hudson3168221717063730205.sh
+ set -ex
+ cat
+ chmod +x /tmp/test-runner
+ sudo -E su -p -c /tmp/test-runner - jujugui-merger
Clean and Prep
2013-09-13 03:51:06,219 INFO Destroying environment 'juju-gui-testing' (type: openstack)...
2013-09-13 03:51:07,696 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.35.0.tar.gz
Processing selenium-2.35.0.tar.gz
Running selenium-2.35.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-cXrSVu/selenium-2.35.0/egg-dist-tmp-s_0adL
Adding selenium 2.35.0 to easy-install.pth file

Installed /home/jujugui-merger/gui-branch/virtualenv/lib/python2.7/site-packages/selenium-2.35.0-py2.7.egg
Processing dependencies for selenium==2.35.0
Finished processing dependencies for selenium==2.35.0
ADDRESS	91.189.93.93	i-00009264
Using image adeaac8b-6547-43b0-819f-0d018b2beb00 (ubuntu-released/ubuntu-precise-12.04-amd64-server-20130909-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.226
Assigned IP to i-00009264
Exposing the service...
2013-09-13 03:59:58,806 INFO Connecting to environment...
2013-09-13 04:00:01,968 INFO Connected to environment.
2013-09-13 04:00:04,080 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/02050fb038a84f4d9b75081153d17505
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/edb6da3d929c433381b6e85613c5d40b
test_environment_connection (__main__.TestBasics) ... ok
test_environment_name (__main__.TestBasics) ... ok
test_gui_unit_tests (__main__.TestBasics) ... ok
test_title (__main__.TestBasics) ... ok
* Platform: Internet Explorer 10 (Windows)
* Testcase: TestNotifications
* Details: https://saucelabs.com/jobs/9df6019f8d944856b70e599f6641ac74
test_error (__main__.TestNotifications) ... ERROR
test_initial (__main__.TestNotifications) ... ok
* Platform: Internet Explorer 10 (Windows)
* Testcase: TestSandbox
* Details: https://saucelabs.com/jobs/f678344694e44b65ae3350210aae03d5
- 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/a3bb0ee831d74e8796aea4c8dd3383c1
test_charm_deploy (__main__.TestStaging) ... 
- restarting API backend with ip:10.55.60.226...
- done
ok
test_initial_services (__main__.TestStaging) ... ok
test_service_view (__main__.TestStaging) ... ok
test_unit_view (__main__.TestStaging) ... ok

======================================================================
ERROR: test_error (__main__.TestNotifications)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_charm_running.py", line 210, in test_error
    self.deploy(service)
  File "test/test_charm_running.py", line 154, in deploy
    get_add_button, error='Charm details page is not visible.')
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 99, in format_error
    raise e
TimeoutException: Message: 'Charm details page is not visible.' 

----------------------------------------------------------------------
Ran 14 tests in 613.567s

FAILED (errors=1)
Message: 'Charm details page is not visible.' 
Quitting...
2013-09-13 04:10:18,099 INFO Destroying environment 'juju-gui-testing' (type: openstack)...
2013-09-13 04:10:21,108 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-00009264 running i-00009263 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