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

Jenkins Notification devnull at canonical.com
Tue May 28 21:29:36 UTC 2013


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

------------------------------------------
Started by user garyposter
[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: "694 bac at canonical.com-20130528202245-9v60w94mc0rkc5hp
" 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".
No revisions or tags to pull.
[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: "694 bac at canonical.com-20130528202245-9v60w94mc0rkc5hp
" stderr: ""
[jujugui-test-charm] $ bzr log -v -r revid:bac at canonical.com-20130528202245-9v60w94mc0rkc5hp..revid:bac at canonical.com-20130528202245-9v60w94mc0rkc5hp --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: "694 bac at canonical.com-20130528202245-9v60w94mc0rkc5hp
" stderr: ""
RevisionState revno:694 revid:bac at canonical.com-20130528202245-9v60w94mc0rkc5hp
[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/hudson4675378529670917060.sh
+ set -ex
+ cat
+ chmod +x /tmp/test-runner
+ sudo -E su -p -c /tmp/test-runner - jujugui-merger
Clean and Prep
2013-05-28 21:13:26,129 INFO Destroying environment 'juju-gui-testing' (type: openstack)...
2013-05-28 21:13:27,499 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-00007ff2
Using image 4dade8d2-2b95-4e4c-b947-c5e3ff4a31ea (ubuntu-released/ubuntu-precise-12.04-amd64-server-20130527-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.61.5
Assigned IP to i-00007ff2
Exposing the service...
2013-05-28 21:22:34,023 INFO Connecting to environment...
2013-05-28 21:22:43,662 INFO Connected to environment.
2013-05-28 21:22:45,757 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) ... ok
test_title (__main__.TestBasics) ... ok
test_charm_deploy (__main__.TestSandbox) ... ok
test_charm_deploy (__main__.TestStaging) ... ERROR
test_initial_services (__main__.TestStaging) ... ERROR
test_service_view (__main__.TestStaging) ... ERROR
test_unit_view (__main__.TestStaging) ... ERROR
ERROR

======================================================================
ERROR: test_charm_deploy (__main__.TestStaging)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jujugui-merger/gui-branch/lib/retry.py", line 44, in f_retry
    return f(*args, **kwargs)
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 397, in restart_api
    'sudo', 'service', 'juju-api-improv', 'restart')
  File "/usr/lib/python2.7/dist-packages/shelltoolbox/__init__.py", line 133, in callable_command
    return run(*all_args)
  File "/usr/lib/python2.7/dist-packages/shelltoolbox/__init__.py", line 452, in run
    raise exception
CalledProcessError: Command '['ssh', 'ubuntu at 10.55.61.5', 'sudo', 'service', 'juju-api-improv', 'restart']' returned non-zero exit status 255

======================================================================
ERROR: test_initial_services (__main__.TestStaging)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_charm_running.py", line 156, in test_initial_services
    self.load()
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 237, 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 156, in execute
    self.error_handler.check_response(response)
  File "/usr/lib/python2.7/dist-packages/selenium/webdriver/remote/errorhandler.py", line 125, in check_response
    raise exception_class(value)
WebDriverException: Message: 'ERROR Job c825ff87f46c41c4a4e73b236e38095d is not in progress. It may have recently finished, or experienced an error. You can learn more at https://saucelabs.com/jobs/c825ff87f46c41c4a4e73b236e38095d' 

======================================================================
ERROR: test_service_view (__main__.TestStaging)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_charm_running.py", line 164, in test_service_view
    self.load('/:gui:/service/haproxy/')  # Navigate to service details.
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 237, 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 156, in execute
    self.error_handler.check_response(response)
  File "/usr/lib/python2.7/dist-packages/selenium/webdriver/remote/errorhandler.py", line 125, in check_response
    raise exception_class(value)
WebDriverException: Message: 'ERROR Job c825ff87f46c41c4a4e73b236e38095d is not in progress. It may have recently finished, or experienced an error. You can learn more at https://saucelabs.com/jobs/c825ff87f46c41c4a4e73b236e38095d' 

======================================================================
ERROR: test_unit_view (__main__.TestStaging)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_charm_running.py", line 182, in test_unit_view
    self.load('/:gui:/unit/haproxy-0/')  # Navigate to unit details.
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 237, 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 156, in execute
    self.error_handler.check_response(response)
  File "/usr/lib/python2.7/dist-packages/selenium/webdriver/remote/errorhandler.py", line 125, in check_response
    raise exception_class(value)
WebDriverException: Message: 'ERROR Job c825ff87f46c41c4a4e73b236e38095d is not in progress. It may have recently finished, or experienced an error. You can learn more at https://saucelabs.com/jobs/c825ff87f46c41c4a4e73b236e38095d' 

======================================================================
ERROR: tearDownClass (__main__.TestStaging)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 223, in tearDownClass
    cls.driver.quit()
  File "/usr/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 446, in quit
    self.execute(Command.QUIT)
  File "/usr/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 156, in execute
    self.error_handler.check_response(response)
  File "/usr/lib/python2.7/dist-packages/selenium/webdriver/remote/errorhandler.py", line 125, in check_response
    raise exception_class(value)
WebDriverException: Message: 'ERROR Job c825ff87f46c41c4a4e73b236e38095d is not in progress. It may have recently finished, or experienced an error. You can learn more at https://saucelabs.com/jobs/c825ff87f46c41c4a4e73b236e38095d' 

----------------------------------------------------------------------
Ran 12 tests in 406.932s

FAILED (errors=5)
* Platform: Internet Explorer 10 (Windows)
* Testcase: TestAuthentication
* Details: https://saucelabs.com/jobs/dd882f4287a74a5d986b3a778d38a41f
* Platform: Internet Explorer 10 (Windows)
* Testcase: TestBasics
* Details: https://saucelabs.com/jobs/e6ea6bf2e15f4c90aa468add1ffd30e0
* Platform: Internet Explorer 10 (Windows)
* Testcase: TestSandbox
* Details: https://saucelabs.com/jobs/68190d056c83487bb4554b98d55e5703
- setting new options: sandbox=True
- setting new options: sandbox=False
* Platform: Internet Explorer 10 (Windows)
* Testcase: TestStaging
* Details: https://saucelabs.com/jobs/c825ff87f46c41c4a4e73b236e38095d

- restarting API backend with ip:10.55.61.5...
Command '['ssh', 'ubuntu at 10.55.61.5', 'sudo', 'service', 'juju-api-improv', 'restart']' returned non-zero exit status 255, Retrying in 3 seconds...

- restarting API backend with ip:10.55.61.5...
Quitting...
2013-05-28 21:29:33,126 INFO Destroying environment 'juju-gui-testing' (type: openstack)...
2013-05-28 21:29:36,068 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-00007ff2 running i-00007ff1 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