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

Jenkins Notification devnull at canonical.com
Fri Aug 23 14:59:21 UTC 2013


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

Changes:

[Rick Harding] Add support for providing constraints on deploy.

- The deploy methods for both environments assume constraints is an empty
object.
- This adds support for the constraints on both go/python environments.
- For the go environment we have to map the names of the constraints from the
ones provided to the user to the Go Caps names required.
- Updates fakebackend and sandboxes for the changes accepting constraints as
well.
- This required adding another argument to env.deploy() and a bunch of adding
a 'null' constraints argument to those calls. This, of course, led to lint'ing
needing to kick in and resize the long lines.

R=jeff.pihach, matthew.scott
CC=
https://codereview.appspot.com/13084045

------------------------------------------
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: "974 jcsackett at canonical.com-20130823134231-j916bvuf7512v2x2
" 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/store/env/fakebackend.js
 M  app/store/env/go.js
 M  app/store/env/python.js
 M  app/store/env/sandbox.js
 M  app/views/charm-panel.js
 M  app/views/charm.js
 M  app/views/ghost-inspector.js
 M  test/test_charm_panel.js
 M  test/test_env_go.js
 M  test/test_env_python.js
 M  test/test_fakebackend.js
 M  test/test_sandbox_go.js
 M  test/test_sandbox_python.js
All changes applied successfully.
Now on revision 975.
[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: "975 rick.harding at canonical.com-20130823143748-lwkyt9cq1uzd3b2f
" stderr: ""
[jujugui-test-charm] $ bzr log -v -r revid:jcsackett at canonical.com-20130823134231-j916bvuf7512v2x2..revid:rick.harding at canonical.com-20130823143748-lwkyt9cq1uzd3b2f --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: "975 rick.harding at canonical.com-20130823143748-lwkyt9cq1uzd3b2f
" stderr: ""
RevisionState revno:975 revid:rick.harding at canonical.com-20130823143748-lwkyt9cq1uzd3b2f
[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/hudson5243527330025557972.sh
+ set -ex
+ cat
+ chmod +x /tmp/test-runner
+ sudo -E su -p -c /tmp/test-runner - jujugui-merger
Clean and Prep
2013-08-23 14:41:13,265 INFO Destroying environment 'juju-gui-testing' (type: openstack)...
2013-08-23 14:41:14,842 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-BatZ_Y/selenium-2.33.0/egg-dist-tmp-IawqlR
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-00009089
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.250
Assigned IP to i-00009089
Exposing the service...
2013-08-23 14:51:02,202 INFO Connecting to environment...
2013-08-23 14:51:05,088 INFO Connected to environment.
2013-08-23 14:51:07,170 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/cd997d1e3c6a47d190d89b7d86025670
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/5b1312d1c70045aeb536c1d2c861cfcb
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: Internet Explorer 10 (Windows)
* Testcase: TestNotifications
* Details: https://saucelabs.com/jobs/0efa6cb841f0467f83d1353c2afcba1a
test_error (__main__.TestNotifications) ... ERROR
test_initial (__main__.TestNotifications) ... ok
* Platform: Internet Explorer 10 (Windows)
* Testcase: TestSandbox
* Details: https://saucelabs.com/jobs/35ba8e4780274118836c447cb8cf37b2
- setting new options: sandbox=True
test_charm_deploy (__main__.TestSandbox) ... ERROR
- setting new options: sandbox=False
* Platform: Internet Explorer 10 (Windows)
* Testcase: TestStaging
* Details: https://saucelabs.com/jobs/b13255ff2b0a454991b4df81c8331fb8
test_charm_deploy (__main__.TestStaging) ... ERROR

- restarting API backend with ip:10.55.60.250...
- done
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 158, in deploy
    get_deploy_button, error='Charm config panel is not visible.')
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 99, in format_error
    raise e
TimeoutException: Message: 'Charm config panel is not visible.' 

======================================================================
ERROR: test_charm_deploy (__main__.TestSandbox)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_charm_running.py", line 328, in test_charm_deploy
    self.deploy('appflower')
  File "test/test_charm_running.py", line 158, in deploy
    get_deploy_button, error='Charm config panel is not visible.')
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 99, in format_error
    raise e
TimeoutException: Message: 'Charm config panel is not visible.' 

======================================================================
ERROR: test_charm_deploy (__main__.TestStaging)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_charm_running.py", line 228, in test_charm_deploy
    self.deploy('appflower')
  File "test/test_charm_running.py", line 158, in deploy
    get_deploy_button, error='Charm config panel is not visible.')
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 99, in format_error
    raise e
TimeoutException: Message: 'Charm config panel is not visible.' 

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

----------------------------------------------------------------------
Ran 14 tests in 490.362s

FAILED (failures=1, errors=3)
Message: 'Charm config panel is not visible.' 
Message: 'Charm config panel is not visible.' 
Message: 'Charm config panel is not visible.' 
Quitting...
2013-08-23 14:59:17,986 INFO Destroying environment 'juju-gui-testing' (type: openstack)...
2013-08-23 14:59:21,071 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-00009089 running i-00009088 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