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

Jenkins Notification devnull at canonical.com
Tue Sep 24 16:28:23 UTC 2013


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

Changes:

[Benjamin Saller] Repair remove unit button

Python and Go have differnt remove unit signatures, we
called it in a loop with single names but the go env still
expected an array, not a string. This will conditionally
trigger the behavior based on env type.

R=jeff.pihach
CC=
https://codereview.appspot.com/13832044

[Benjamin Saller] Deploy charms without config options

QA showed that charms that didn't include options would trigger a number
of minor errors progressing down code paths that expected options. This
adds a test with the puppermaster charm and show successful deployment.

R=frankban, jeff.pihach, benjamin.saller
CC=
https://codereview.appspot.com/13852043

------------------------------------------
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: "1077 jeff.pihach at canonical.com-20130924151202-w3hxzfvt6we5a1ap
" 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  test/data/puppetmaster-api-response.json
 M  app/models/charm.js
 M  app/store/env/fakebackend.js
 M  app/views/ghost-inspector.js
 M  app/views/inspector.js
 M  test/test_fakebackend.js
 M  test/test_inspector_overview.js
 M  test/utils.js
All changes applied successfully.
Now on revision 1079.
[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: "1079 bcsaller at gmail.com-20130924153847-mxf26ovoq75elv30
" stderr: ""
[jujugui-test-charm] $ bzr log -v -r revid:jeff.pihach at canonical.com-20130924151202-w3hxzfvt6we5a1ap..revid:bcsaller at gmail.com-20130924153847-mxf26ovoq75elv30 --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: "1079 bcsaller at gmail.com-20130924153847-mxf26ovoq75elv30
" stderr: ""
RevisionState revno:1079 revid:bcsaller at gmail.com-20130924153847-mxf26ovoq75elv30
[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/hudson7772189952943537938.sh
+ set -ex
+ cat
+ chmod +x /tmp/test-runner
+ sudo -E su -p -c /tmp/test-runner - jujugui-merger
Clean and Prep
2013-09-24 15:52:47,476 INFO Destroying environment 'juju-gui-testing' (type: openstack)...
2013-09-24 15:52:48,939 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-13DOF8/selenium-2.35.0/egg-dist-tmp-Pjt0vo
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-00009450
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.154
Assigned IP to i-00009450
Exposing the service...
2013-09-24 16:02:14,504 INFO Connecting to environment...
2013-09-24 16:02:22,275 INFO Connected to environment.
2013-09-24 16:02:24,349 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/bd2767d6b9504a6c83611106d4338e8d
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/d507d367d1944a2fa6cf97f025e7a8c8
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/73d1215baae142389216ae3ff601f20f
test_error (__main__.TestNotifications) ... ok
test_initial (__main__.TestNotifications) ... ok
* Platform: Internet Explorer 10 (Windows)
* Testcase: TestSandbox
* Details: https://saucelabs.com/jobs/e3d676da2ede4d7dabad0aba66c479bf
- 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/a7165af416b94b6f8bd74b990b6f72fa
test_charm_deploy (__main__.TestStaging) ... 
- restarting API backend with ip:10.55.60.154...
- done
ok
test_initial_services (__main__.TestStaging) ... ok
test_service_view (__main__.TestStaging) ... ok
test_unit_view (__main__.TestStaging) ... ok

----------------------------------------------------------------------
Ran 14 tests in 601.525s

OK
Launching chrome tests.
* Platform: Chrome 28.0.1500.95 (Linux)
* Testcase: TestAuthentication
* Details: https://saucelabs.com/jobs/35ccc9cc80fb4079862d6d3603463e11
test_root_page (__main__.TestAuthentication) ... ok
test_service_page (__main__.TestAuthentication) ... ok
test_unit_page (__main__.TestAuthentication) ... ok
* Platform: Chrome 28.0.1500.95 (Linux)
* Testcase: TestBasics
* Details: https://saucelabs.com/jobs/b3ed1fa5ecea4fff8ae53a2ec1deae92
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 28.0.1500.95 (Linux)
* Testcase: TestNotifications
* Details: https://saucelabs.com/jobs/0e29ca033b4f450398d683a9c660f5f7
test_error (__main__.TestNotifications) ... ok
test_initial (__main__.TestNotifications) ... ok
* Platform: Chrome 28.0.1500.95 (Linux)
* Testcase: TestSandbox
* Details: https://saucelabs.com/jobs/edea5dfb5aca45418a052a293b6aba21
- setting new options: sandbox=True
test_charm_deploy (__main__.TestSandbox) ... ok
- setting new options: sandbox=False
* Platform: Chrome 28.0.1500.95 (Linux)
* Testcase: TestStaging
* Details: https://saucelabs.com/jobs/b9a412725add420495157f0d206535b3
test_charm_deploy (__main__.TestStaging) ... 
- restarting API backend with ip:10.55.60.154...
- done
ok
test_initial_services (__main__.TestStaging) ... ok
test_service_view (__main__.TestStaging) ... ok
test_unit_view (__main__.TestStaging) ... ok

----------------------------------------------------------------------
Ran 14 tests in 518.964s

OK
Launching firefox tests.
* Platform: Firefox 16.0.1 (Linux)
* Testcase: TestAuthentication
* Details: https://saucelabs.com/jobs/f716ed4ce32945678cb5f2db317bcecb
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/80b5fca5f9f6493b8f5b82e9cecfc702
test_environment_connection (__main__.TestBasics) ... ok
test_environment_name (__main__.TestBasics) ... ok
test_gui_unit_tests (__main__.TestBasics) ... FAIL
test_title (__main__.TestBasics) ... ok
* Platform: Firefox 16.0.1 (Linux)
* Testcase: TestNotifications
* Details: https://saucelabs.com/jobs/cfc90e86ad394991b437ace49bdacf31
test_error (__main__.TestNotifications) ... ok
test_initial (__main__.TestNotifications) ... ok
* Platform: Firefox 16.0.1 (Linux)
* Testcase: TestSandbox
* Details: https://saucelabs.com/jobs/a707b2884cea4572ae31ffc19d70c2b6
- 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/4bd0076744704e61a322f30a44aaa614
test_charm_deploy (__main__.TestStaging) ... 
- restarting API backend with ip:10.55.60.154...
- done
ok
test_initial_services (__main__.TestStaging) ... ok
test_service_view (__main__.TestStaging) ... ok
test_unit_view (__main__.TestStaging) ... ok

======================================================================
FAIL: test_gui_unit_tests (__main__.TestBasics)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_charm_running.py", line 99, in test_gui_unit_tests
    self.fail(msg)
AssertionError: 8 failure(s) running 750 tests.

----------------------------------------------------------------------
Ran 14 tests in 434.147s

FAILED (failures=1)
Quitting...
2013-09-24 16:28:19,662 INFO Destroying environment 'juju-gui-testing' (type: openstack)...
2013-09-24 16:28:22,770 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-0000944f running i-00009450 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