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

Jenkins Notification devnull at canonical.com
Thu Jun 20 12:39:36 UTC 2013


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

Changes:

[Nicola Larosa] Further improve test independence.

Remove many test interdependencies by giving local window.flags variables
to modules that need it.

Use loadFixture everywhere instead of duplicating code, including in the
jujuTests.utils object itself.

Mark the remaining test interdependencies and defects, to be fixed later.

Remove a meaningless test at the bottom of test_startup.js.bottom .

Add removal of generated test_startup.js file to Makefile "clean" entry.

R=gary.poster, bac
CC=
https://codereview.appspot.com/10383047

------------------------------------------
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: "744 francesco.banconi at canonical.com-20130619110849-rz3o68ivz0mvq7pe
" 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  Makefile
 M  test/index.html
 M  test/test_app.js
 M  test/test_endpoints.js
 M  test/test_fakebackend.js
 M  test/test_feature_flags.js
 M  test/test_routing.js
 M  test/test_sandbox.js
 M  test/test_service_module.js
 M  test/test_service_view.js
 M  test/test_startup.js.bottom
 M  test/utils.js
All changes applied successfully.
Now on revision 745.
[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: "745 nicola.larosa at canonical.com-20130620120319-g0w8r6kyrgmwq6qp
" stderr: ""
[jujugui-test-charm] $ bzr log -v -r revid:francesco.banconi at canonical.com-20130619110849-rz3o68ivz0mvq7pe..revid:nicola.larosa at canonical.com-20130620120319-g0w8r6kyrgmwq6qp --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: "745 nicola.larosa at canonical.com-20130620120319-g0w8r6kyrgmwq6qp
" stderr: ""
RevisionState revno:745 revid:nicola.larosa at canonical.com-20130620120319-g0w8r6kyrgmwq6qp
[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/hudson6144358560664966780.sh
+ set -ex
+ cat
+ chmod +x /tmp/test-runner
+ sudo -E su -p -c /tmp/test-runner - jujugui-merger
Clean and Prep
2013-06-20 12:06:42,311 INFO Destroying environment 'juju-gui-testing' (type: openstack)...
2013-06-20 12:06:43,978 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-Rz3k7z/selenium-2.33.0/egg-dist-tmp-_tvn_3
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-000085de
Using image f2ca48ce-30d5-4f1f-9075-12e64510368d (ubuntu-released/ubuntu-precise-12.04-amd64-server-20130603-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.132
Assigned IP to i-000085de
Exposing the service...
2013-06-20 12:23:07,877 INFO Connecting to environment...
2013-06-20 12:23:10,639 INFO Connected to environment.
2013-06-20 12:23:12,706 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/85a48c2df3b345a79456efd70975e007
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/c434594804784815a32ad058618240c3
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/c53cbbbbdfe347ee8035d08d452fb95c
test_error (__main__.TestNotifications) ... ok
test_initial (__main__.TestNotifications) ... ok
* Platform: Internet Explorer 10 (Windows)
* Testcase: TestSandbox
* Details: https://saucelabs.com/jobs/8d678ea17f24465795b5de71b6c93d3e
- 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/545406c7fcfa45d69db5cb10d54a2dd2
test_charm_deploy (__main__.TestStaging) ... 
- restarting API backend with ip:10.55.60.132...
- done
ok
test_initial_services (__main__.TestStaging) ... ok
test_service_view (__main__.TestStaging) ... ok
test_unit_view (__main__.TestStaging) ... ok

----------------------------------------------------------------------
Ran 14 tests in 386.186s

OK
Launching chrome tests.
* Platform: Chrome 27.0.1453.110 (Linux)
* Testcase: TestAuthentication
* Details: https://saucelabs.com/jobs/96b457f43fc94e419f1b4e0cbaefd94d
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/190c003d1b5e44b2bda38ffe6e2cb919
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/0b45731e0c1a4af5ba7916b7e62d71e0
test_error (__main__.TestNotifications) ... ok
test_initial (__main__.TestNotifications) ... ok
* Platform: Chrome 27.0.1453.110 (Linux)
* Testcase: TestSandbox
* Details: https://saucelabs.com/jobs/a05b30f7cc5d4ae0951f94b213e6032a
- 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/8d3b9fbc95be49d88a9c2a7c4ee99ddb
test_charm_deploy (__main__.TestStaging) ... 
- restarting API backend with ip:10.55.60.132...
- done
ok
test_initial_services (__main__.TestStaging) ... ok
test_service_view (__main__.TestStaging) ... ok
test_unit_view (__main__.TestStaging) ... ok

----------------------------------------------------------------------
Ran 14 tests in 295.582s

OK
Launching firefox tests.
* Platform: Firefox 16.0.1 (Linux)
* Testcase: TestAuthentication
* Details: https://saucelabs.com/jobs/609ef8a0cb09436da744e772e143f867
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/b9db0654ac2f45cd8ebb2dcfde26ade4
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/adf967314b38431f9c3119d039398b62
test_error (__main__.TestNotifications) ... ok
test_initial (__main__.TestNotifications) ... ok
* Platform: Firefox 16.0.1 (Linux)
* Testcase: TestSandbox
* Details: https://saucelabs.com/jobs/807480ab0b9f4e3fadd53987a7080c5e
- 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/9efa87fb48144caaa6098648e6ceb5c0
test_charm_deploy (__main__.TestStaging) ... 
- restarting API backend with ip:10.55.60.132...
- 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 95, in test_gui_unit_tests
    self.fail(msg)
AssertionError: 2 failure(s) running 622 tests.

----------------------------------------------------------------------
Ran 14 tests in 297.489s

FAILED (failures=1)
Quitting...
2013-06-20 12:39:32,731 INFO Destroying environment 'juju-gui-testing' (type: openstack)...
2013-06-20 12:39:35,650 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-000085dd running i-000085de 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