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

Jenkins Notification devnull at canonical.com
Fri Jul 26 20:29:45 UTC 2013


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

Changes:

[j.c.sackett] Removes the old API from the Charmview

-Replaces use of the old API and loadByPath with the new API and charm.
-Removes last_change from both models, as no such thing exists in the API;
replaces it by adding recent_commits and associated logic to old Charm model.
-CharmView now creates last_change data from the recent_commits. There's an
argument to be had for refactoring the template/view to properly use the charm
attrs, but as charmview will be destroyed once we have the new inspector, it's
not worth the effort.
-Assorted drive by fixes.
-Test updates.

R=jeff.pihach, rharding
CC=
https://codereview.appspot.com/11845043

------------------------------------------
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: "900 jeff.pihach at canonical.com-20130726164551-lj8blnyzydtcfw67
" 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/app.js
 M  app/models/charm.js
 M  app/templates/charm.handlebars
 M  app/views/charm.js
 M  test/test_charm_view.js
 M  undocumented
All changes applied successfully.
Now on revision 901.
[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: "901 jcsackett at canonical.com-20130726201232-nz1cfrx5nhqnxqja
" stderr: ""
[jujugui-test-charm] $ bzr log -v -r revid:jeff.pihach at canonical.com-20130726164551-lj8blnyzydtcfw67..revid:jcsackett at canonical.com-20130726201232-nz1cfrx5nhqnxqja --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: "901 jcsackett at canonical.com-20130726201232-nz1cfrx5nhqnxqja
" stderr: ""
RevisionState revno:901 revid:jcsackett at canonical.com-20130726201232-nz1cfrx5nhqnxqja
[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/hudson5843342750702927659.sh
+ set -ex
+ cat
+ chmod +x /tmp/test-runner
+ sudo -E su -p -c /tmp/test-runner - jujugui-merger
Clean and Prep
2013-07-26 20:16:13,680 INFO Destroying environment 'juju-gui-testing' (type: openstack)...
2013-07-26 20:16:15,403 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-EeQ26X/selenium-2.33.0/egg-dist-tmp-IlRwOt
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-00008dd5
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.233
Assigned IP to i-00008dd5
Exposing the service...
2013-07-26 20:24:06,587 INFO Connecting to environment...
2013-07-26 20:24:09,270 INFO Connected to environment.
2013-07-26 20:24:11,348 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/513561e74d43475eaf1555fa6f5c008d
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/bb617f6363b74e6b930b48a722356287
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/bbacbf2c082f4665aebf1f4439ece6d0
test_error (__main__.TestNotifications) ... ok
test_initial (__main__.TestNotifications) ... ok
* Platform: Internet Explorer 10 (Windows)
* Testcase: TestSandbox
* Details: https://saucelabs.com/jobs/bde00e098447412ca457db4e7d4f03bd
- 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/fc0c98131d724e4a971dadbc21248b27
test_charm_deploy (__main__.TestStaging) ... 
- restarting API backend with ip:10.55.60.233...
- 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 235 tests.

----------------------------------------------------------------------
Ran 14 tests in 330.082s

FAILED (failures=1)
Quitting...
2013-07-26 20:29:41,917 INFO Destroying environment 'juju-gui-testing' (type: openstack)...
2013-07-26 20:29:44,968 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-00008dd4 running i-00008dd5 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