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

Jenkins Notification devnull at canonical.com
Thu May 23 19:09:53 UTC 2013


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

Changes:

[Rick Harding] Move the featureFlag processor into window scope.

- In order to check for feature flags the processing must be done before the
app starts
- Adds some tests to verify we parse the url correctly with our regex/etc.
- Update the app.js to not deal with feature flags. It's done in index.html.
- Update the simulateEvents to be triggered by the feature flag existing vs
the custom route.

R=bcsaller, gary.poster, jeff.pihach
CC=
https://codereview.appspot.com/9682046

------------------------------------------
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: "683 jeff.pihach at canonical.com-20130522223029-p4lgkmr1ppvjtou7
" 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/test_feature_flags.js
 M  app/app.js
 M  app/index.html
 M  test/index.html
 M  test/test_routing.js
 M  test/test_startup.js.bottom
All changes applied successfully.
Now on revision 684.
[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: "684 rick.harding at canonical.com-20130523185033-pmqmbvua0hmjywuk
" stderr: ""
[jujugui-test-charm] $ bzr log -v -r revid:jeff.pihach at canonical.com-20130522223029-p4lgkmr1ppvjtou7..revid:rick.harding at canonical.com-20130523185033-pmqmbvua0hmjywuk --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: "684 rick.harding at canonical.com-20130523185033-pmqmbvua0hmjywuk
" stderr: ""
RevisionState revno:684 revid:rick.harding at canonical.com-20130523185033-pmqmbvua0hmjywuk
[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/hudson1633967373048794633.sh
+ set -ex
+ cat
+ chmod +x /tmp/test-runner
+ sudo -E su -p -c /tmp/test-runner - jujugui-merger
Clean and Prep
2013-05-23 18:51:59,786 INFO Destroying environment 'juju-gui-testing' (type: openstack)...
2013-05-23 18:52:01,709 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
ADDRESS	91.189.93.93	i-00007ed5
Using image 54139fc1-83cc-4d83-8bbb-f268ac747d8e (ubuntu-released/ubuntu-precise-12.04-amd64-server-20130516-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.139
Assigned IP to i-00007ed5
Exposing the service...
2013-05-23 19:04:26,221 INFO Connecting to environment...
2013-05-23 19:04:28,953 INFO Connected to environment.
2013-05-23 19:04:30,996 INFO 'status' command finished successfully
Env: juju-gui-testing
APP_URL: http://91.189.93.93
Launching ie tests.
test_root_page (__main__.TestAuthentication) ... ok
test_service_page (__main__.TestAuthentication) ... ok
test_unit_page (__main__.TestAuthentication) ... ok
test_environment_connection (__main__.TestBasics) ... ok
test_environment_name (__main__.TestBasics) ... ok
test_gui_unit_tests (__main__.TestBasics) ... FAIL
test_title (__main__.TestBasics) ... ok
test_charm_deploy (__main__.TestSandbox) ... ok
test_charm_deploy (__main__.TestStaging) ... 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 92, in test_gui_unit_tests
    self.fail(msg)
AssertionError: 4 failure(s) running 821 tests.

----------------------------------------------------------------------
Ran 12 tests in 317.807s

FAILED (failures=1)
* Platform: Internet Explorer 10 (Windows)
* Testcase: TestAuthentication
* Details: https://saucelabs.com/jobs/2744a29f5ae642678fc7d456b7c6693c
* Platform: Internet Explorer 10 (Windows)
* Testcase: TestBasics
* Details: https://saucelabs.com/jobs/5db6e6e52b384231801db7cad1d18e60
* Platform: Internet Explorer 10 (Windows)
* Testcase: TestSandbox
* Details: https://saucelabs.com/jobs/2ab5d0211f6e4caf863ca3a7ac62df5a
- setting new options: sandbox=True
- setting new options: sandbox=False
* Platform: Internet Explorer 10 (Windows)
* Testcase: TestStaging
* Details: https://saucelabs.com/jobs/2a2dcd9f9b114ab688e5f3b3bbde0124

- restarting API backend with ip:10.55.60.139...
- done
Quitting...
2013-05-23 19:09:49,541 INFO Destroying environment 'juju-gui-testing' (type: openstack)...
2013-05-23 19:09:52,384 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-00007ed4 running i-00007ed5 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