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

Jenkins Notification devnull at canonical.com
Thu Jun 27 15:14:39 UTC 2013


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

Changes:

[Nicola Larosa] Fix PyJuju sandbox remove relation tests.

Fix some broken tests in the PyJuju sandbox, namely the relation removal
ones that call the generateAndRelateServices utility function.

R=frankban, benji
CC=
https://codereview.appspot.com/10677043

------------------------------------------
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: "772 matthew.scott at canonical.com-20130626211941-k8rso7emp5cj1in5
" 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  test/test_sandbox.js
All changes applied successfully.
Now on revision 773.
[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: "773 nicola.larosa at canonical.com-20130627144301-dv9drf5f80r4c9ff
" stderr: ""
[jujugui-test-charm] $ bzr log -v -r revid:matthew.scott at canonical.com-20130626211941-k8rso7emp5cj1in5..revid:nicola.larosa at canonical.com-20130627144301-dv9drf5f80r4c9ff --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: "773 nicola.larosa at canonical.com-20130627144301-dv9drf5f80r4c9ff
" stderr: ""
RevisionState revno:773 revid:nicola.larosa at canonical.com-20130627144301-dv9drf5f80r4c9ff
[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/hudson1394007555610905613.sh
+ set -ex
+ cat
+ chmod +x /tmp/test-runner
+ sudo -E su -p -c /tmp/test-runner - jujugui-merger
Clean and Prep
2013-06-27 14:46:06,216 INFO Destroying environment 'juju-gui-testing' (type: openstack)...
2013-06-27 14:46:07,722 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-sKk9Qb/selenium-2.33.0/egg-dist-tmp-m8bhh_
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-00008729
Using image c3883bd2-ebd2-41a7-93e9-7c6d597b225b (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.125
Assigned IP to i-00008729
Exposing the service...
2013-06-27 14:56:08,250 INFO Connecting to environment...
2013-06-27 14:56:10,959 INFO Connected to environment.
2013-06-27 14:56:13,003 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/f58cf54a3d294ff2b861243973e5dc02
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/60e34211f3df4bdb929115b0c830bf78
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/06dc1687d6ec455c9f524b9f793d05fa
test_error (__main__.TestNotifications) ... ok
test_initial (__main__.TestNotifications) ... ok
* Platform: Internet Explorer 10 (Windows)
* Testcase: TestSandbox
* Details: https://saucelabs.com/jobs/c51fedc0684b44b5a85a45577dca4551
- 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/e4f5cd25bf1649ff95da5a8041c6a837
test_charm_deploy (__main__.TestStaging) ... 
- restarting API backend with ip:10.55.60.125...
- done
ok
test_initial_services (__main__.TestStaging) ... ok
test_service_view (__main__.TestStaging) ... ok
test_unit_view (__main__.TestStaging) ... ok

----------------------------------------------------------------------
Ran 14 tests in 404.910s

OK
Launching chrome tests.
* Platform: Chrome 27.0.1453.110 (Linux)
* Testcase: TestAuthentication
* Details: https://saucelabs.com/jobs/186026afdf144af6a81e3f3c29cf3f6f
test_root_page (__main__.TestAuthentication) ... ok
test_service_page (__main__.TestAuthentication) ... ok
test_unit_page (__main__.TestAuthentication) ... ok
* Platform: Chrome 27.0.1453.110 (Linux)
* Testcase: TestBasics
* Details: https://saucelabs.com/jobs/b228aaf789ec41ae91154341ee0ab217
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: Chrome 27.0.1453.110 (Linux)
* Testcase: TestNotifications
* Details: https://saucelabs.com/jobs/66e8427a33644ef89a49949ff8918195
test_error (__main__.TestNotifications) ... ok
test_initial (__main__.TestNotifications) ... ok
* Platform: Chrome 27.0.1453.110 (Linux)
* Testcase: TestSandbox
* Details: https://saucelabs.com/jobs/4c1a355945df415e9a10e4df2e619cef
- setting new options: sandbox=True
test_charm_deploy (__main__.TestSandbox) ... ok
- setting new options: sandbox=False
* Platform: Chrome 27.0.1453.110 (Linux)
* Testcase: TestStaging
* Details: https://saucelabs.com/jobs/ba6ded405e9a42edb4755bfadce07db1
test_charm_deploy (__main__.TestStaging) ... 
- restarting API backend with ip:10.55.60.125...
- done
ok
test_initial_services (__main__.TestStaging) ... ok
test_service_view (__main__.TestStaging) ... ok
test_unit_view (__main__.TestStaging) ... ok

----------------------------------------------------------------------
Ran 14 tests in 326.228s

OK
Launching firefox tests.
* Platform: Firefox 16.0.1 (Linux)
* Testcase: TestAuthentication
* Details: https://saucelabs.com/jobs/abcde49ec2004b74ba33de7797d900af
test_root_page (__main__.TestAuthentication) ... ok
test_service_page (__main__.TestAuthentication) ... ok
test_unit_page (__main__.TestAuthentication) ... ok
* Platform: Firefox 16.0.1 (Linux)
* Testcase: TestBasics
* Details: https://saucelabs.com/jobs/0bd2423ff7df460e974fcda62141e4c6
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: Firefox 16.0.1 (Linux)
* Testcase: TestNotifications
* Details: https://saucelabs.com/jobs/993eb77abecc469ca6aaaac8dcef1ce4
test_error (__main__.TestNotifications) ... ERROR
test_initial (__main__.TestNotifications) ... FAIL
* Platform: Firefox 16.0.1 (Linux)
* Testcase: TestSandbox
* Details: https://saucelabs.com/jobs/419585623bf649d6a7cb945ce72e2ae1
- setting new options: sandbox=True
test_charm_deploy (__main__.TestSandbox) ... ok
- setting new options: sandbox=False
* Platform: Firefox 16.0.1 (Linux)
* Testcase: TestStaging
* Details: https://saucelabs.com/jobs/7aabc7f8b9a944428394c4aca8630549
test_charm_deploy (__main__.TestStaging) ... 
- restarting API backend with ip:10.55.60.125...
- 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 209, in test_error
    self.deploy(service)
  File "test/test_charm_running.py", line 148, in deploy
    get_charm_token, error='Charm sidebar is not visible.')
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 99, in format_error
    raise e
TimeoutException: Message: 'Charm sidebar is not visible.' 

======================================================================
FAIL: test_initial (__main__.TestNotifications)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_charm_running.py", line 200, in test_initial
    self.assertEqual(0, len(notifications))
AssertionError: 0 != 1

----------------------------------------------------------------------
Ran 14 tests in 371.109s

FAILED (failures=1, errors=1)
Message: 'Charm sidebar is not visible.' 
Quitting...
2013-06-27 15:14:35,963 INFO Destroying environment 'juju-gui-testing' (type: openstack)...
2013-06-27 15:14:38,845 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-00008729 running i-00008727 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