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

Jenkins Notification devnull at canonical.com
Wed Sep 11 02:39:49 UTC 2013


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

Changes:

[Gary Poster] Refactor and rename BindingEngine._storeChanged

This is a small clean-up branch in preparation to cleaning up some of the conflict resolution edge cases.  It is largely about refactoring and renaming BindingEngine._storeChanged.

* BindingEngine._storeChanged is now called _nodeChangeHandler.
* That method simply calls out to the new method _nodeChanged.  It takes a node rather than an event with a node.
* Factored _getBinding out of _nodeChanged to make the code read better and to test the functionality independently.
* Adjusted tests to use _nodeChanged.
* Refactored tests to reuse more code and clean up some lint.
* Added tests for _getBinding.

In addition to those related changes, I made one more peripheral change: I removed an unused argument to unsyncedFields.

R=benjamin.saller
CC=
https://codereview.appspot.com/13265045

------------------------------------------
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: "1026 gary.poster at canonical.com-20130910192544-iep740phslhj51g8
" 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/views/databinding.js
 M  app/views/inspector.js
 M  test/test_databinding.js
 M  test/test_inspector_constraints.js
 M  test/test_inspector_settings.js
All changes applied successfully.
Now on revision 1027.
[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: "1027 gary.poster at canonical.com-20130911021533-69nneqp0yizmqfjf
" stderr: ""
[jujugui-test-charm] $ bzr log -v -r revid:gary.poster at canonical.com-20130910192544-iep740phslhj51g8..revid:gary.poster at canonical.com-20130911021533-69nneqp0yizmqfjf --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: "1027 gary.poster at canonical.com-20130911021533-69nneqp0yizmqfjf
" stderr: ""
RevisionState revno:1027 revid:gary.poster at canonical.com-20130911021533-69nneqp0yizmqfjf
[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/hudson6469151460709038495.sh
+ set -ex
+ cat
+ chmod +x /tmp/test-runner
+ sudo -E su -p -c /tmp/test-runner - jujugui-merger
Clean and Prep
2013-09-11 02:21:06,462 INFO Destroying environment 'juju-gui-testing' (type: openstack)...
2013-09-11 02:21:07,933 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-zrxpLE/selenium-2.35.0/egg-dist-tmp-mqHck4
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-0000921b
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.191
Assigned IP to i-0000921b
Exposing the service...
2013-09-11 02:29:42,637 INFO Connecting to environment...
2013-09-11 02:29:45,460 INFO Connected to environment.
2013-09-11 02:29:47,517 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/9f666142bc7a41c899e5f03a0366f997
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/a226e1f80b6f4d3ab81ca51a224f36f4
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/44c58487cec84d20bf1b42042d312eb6
test_error (__main__.TestNotifications) ... ERROR
test_initial (__main__.TestNotifications) ... ok
* Platform: Internet Explorer 10 (Windows)
* Testcase: TestSandbox
* Details: https://saucelabs.com/jobs/13b0733fe11040f8bc12e24c22558047
- 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/98ee8084e3104b8888c9fc30babd9039
test_charm_deploy (__main__.TestStaging) ... 
- restarting API backend with ip:10.55.60.191...
- 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 597.768s

FAILED (errors=1)
Message: 'Charm details page is not visible.' 
Quitting...
2013-09-11 02:39:45,731 INFO Destroying environment 'juju-gui-testing' (type: openstack)...
2013-09-11 02:39:48,849 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-0000921b running i-0000921a 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