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

Jenkins Notification devnull at canonical.com
Wed May 22 13:55:37 UTC 2013


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

Changes:

[j.c.sackett] Replaces spinner.gif with spin.js spinner

This branch is the first part of standardizing our spinners in jujugui,
matching the ones used in the charmbrowser with the one when the canvas is
loading.

- Wraps a min version of spin.js in a YUI module.
- Uses that module in overlay-indicator.js

NB: This means there is a dupe of spin.js in the code tree. The spinner.gif is
still in the tree as well. I will do a follow up branch removing all of that,
but I wanted the user-facing bits working and solid before doing the cleanup.

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

------------------------------------------
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: "678 benji.york at canonical.com-20130521141333-fq6ym75l3cyva775
" 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  app/assets/javascripts/spinner.js
 M  Makefile
 M  app/modules-debug.js
 M  app/widgets/overlay-indicator.js
 M  bin/merge-files
 M  test/test_overlay_indicator.js
All changes applied successfully.
Now on revision 679.
[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: "679 jcsackett at canonical.com-20130522133425-ts01tr6c8rsqmbjl
" stderr: ""
[jujugui-test-charm] $ bzr log -v -r revid:benji.york at canonical.com-20130521141333-fq6ym75l3cyva775..revid:jcsackett at canonical.com-20130522133425-ts01tr6c8rsqmbjl --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: "679 jcsackett at canonical.com-20130522133425-ts01tr6c8rsqmbjl
" stderr: ""
RevisionState revno:679 revid:jcsackett at canonical.com-20130522133425-ts01tr6c8rsqmbjl
[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/hudson7207587202150520783.sh
+ set -ex
+ cat
+ chmod +x /tmp/test-runner
+ sudo -E su -p -c /tmp/test-runner - jujugui-merger
Clean and Prep
2013-05-22 13:36:46,085 INFO Destroying environment 'juju-gui-testing' (type: openstack)...
2013-05-22 13:36:47,524 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-00007e3d
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.80
Assigned IP to i-00007e3d
Exposing the service...
2013-05-22 13:45:44,337 INFO Connecting to environment...
2013-05-22 13:45:47,192 INFO Connected to environment.
2013-05-22 13:45:49,238 INFO 'status' command finished successfully
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) ... ERROR
test_charm_deploy (__main__.TestStaging) ... ok
test_initial_services (__main__.TestStaging) ... ok
test_service_view (__main__.TestStaging) ... ok
test_unit_view (__main__.TestStaging) ... ok

======================================================================
ERROR: test_charm_deploy (__main__.TestSandbox)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_charm_running.py", line 248, in test_charm_deploy
    self.load()
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 228, in load
    self.driver.get(url)
  File "/usr/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 168, in get
    self.execute(Command.GET, {'url': url})
  File "/usr/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 154, in execute
    response = self.command_executor.execute(driver_command, params)
  File "/usr/lib/python2.7/dist-packages/selenium/webdriver/remote/remote_connection.py", line 283, in execute
    return self._request(url, method=command_info[0], data=data)
  File "/usr/lib/python2.7/dist-packages/selenium/webdriver/remote/remote_connection.py", line 324, in _request
    response = opener.open(request)
  File "/usr/lib/python2.7/urllib2.py", line 401, in open
    response = self._open(req, data)
  File "/usr/lib/python2.7/urllib2.py", line 419, in _open
    '_open', req)
  File "/usr/lib/python2.7/urllib2.py", line 379, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 1211, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "/usr/lib/python2.7/urllib2.py", line 1184, in do_open
    r = h.getresponse(buffering=True)
  File "/usr/lib/python2.7/httplib.py", line 1034, in getresponse
    response.begin()
  File "/usr/lib/python2.7/httplib.py", line 407, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python2.7/httplib.py", line 371, in _read_status
    raise BadStatusLine(line)
BadStatusLine: ''

======================================================================
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: 1 failure(s) running 729 tests.

----------------------------------------------------------------------
Ran 12 tests in 587.025s

FAILED (failures=1, errors=1)
* Browser: ie
* Testcase: TestAuthentication
* Details: https://saucelabs.com/jobs/d55b2299efe44e6984619a69823d7a75
* Browser: ie
* Testcase: TestBasics
* Details: https://saucelabs.com/jobs/38224796d1764f18a17c835515ef2ad9
* Browser: ie
* Testcase: TestSandbox
* Details: https://saucelabs.com/jobs/6b46469e257b453dbc09b95e565502f0
- setting new options: sandbox=True
- setting new options: sandbox=False
* Browser: ie
* Testcase: TestStaging
* Details: https://saucelabs.com/jobs/707cbac1c1ee45c09d6016be63636869

- restarting API backend with ip:10.55.60.80...
- done
Collected exit code 1
Final instance state
i-00007e3a running i-00007e3d 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