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

Jenkins Notification devnull at canonical.com
Fri Oct 25 22:11:46 UTC 2013


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

Changes:

[Jeff Pihach] Removes strictBundle flag

Also includes a driveby to fix some of the onboarding tests

R=matthew.scott
CC=
https://codereview.appspot.com/17340043

------------------------------------------
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: "1154 huw.wilkins at canonical.com-20131025154836-dy2smllypfji7swz
" 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/subapps/browser/views/bundle.js
 M  test/data/browserbundle.json
 M  test/test_browser_app.js
 M  test/test_bundle_details_view.js
All changes applied successfully.
Now on revision 1155.
[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: "1155 jeff.pihach at canonical.com-20131025214700-ol6g0vwc0jex68i3
" stderr: ""
[jujugui-test-charm] $ bzr log -v -r revid:huw.wilkins at canonical.com-20131025154836-dy2smllypfji7swz..revid:jeff.pihach at canonical.com-20131025214700-ol6g0vwc0jex68i3 --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: "1155 jeff.pihach at canonical.com-20131025214700-ol6g0vwc0jex68i3
" stderr: ""
RevisionState revno:1155 revid:jeff.pihach at canonical.com-20131025214700-ol6g0vwc0jex68i3
[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/hudson7113566676781812751.sh
+ set -ex
+ cat
+ chmod +x /tmp/test-runner
+ sudo -E su -p -c /tmp/test-runner - jujugui-merger
Clean and Prep
2013-10-25 21:51:07,080 INFO Destroying environment 'juju-gui-testing' (type: openstack)...
2013-10-25 21:51:10,003 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] 
Waiting for instances to terminate
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.35.0.tar.gz
Processing selenium-2.35.0.tar.gz
Running selenium-2.35.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-eGS9t8/selenium-2.35.0/egg-dist-tmp-cqTXcJ
Adding selenium 2.35.0 to easy-install.pth file

Installed /home/jujugui-merger/gui-branch/virtualenv/lib/python2.7/site-packages/selenium-2.35.0-py2.7.egg
Processing dependencies for selenium==2.35.0
Finished processing dependencies for selenium==2.35.0
ADDRESS	91.189.93.93	i-00009950
Using image 35f6fac2-f403-40a4-8823-9fbd5d9a13ad (ubuntu-released/ubuntu-precise-12.04-amd64-server-20131024-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.32
Assigned IP to i-00009950
Exposing the service...
2013-10-25 22:02:01,492 INFO Connecting to environment...
2013-10-25 22:02:04,314 INFO Connected to environment.
2013-10-25 22:02:06,312 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/5a124f0da0b24b108e18e862aa0d4073
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/19db6236caee4115ad4f3a8631d9d4c5
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/205a9345765147f4a1dea17227cdfa06
test_error (__main__.TestNotifications) ... ok
test_initial (__main__.TestNotifications) ... ok
* Platform: Internet Explorer 10 (Windows)
* Testcase: TestSandbox
* Details: https://saucelabs.com/jobs/d267967ee5034401a8386d3ea8c7869b
- 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/b152df84aedd442f9baeebd271f9b894
test_charm_deploy (__main__.TestStaging) ... 
- restarting API backend with ip:10.55.61.32...

- restarting API backend with ip:10.55.61.32...
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 429, 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.32', '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 244, in test_initial_services
    self.load()
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 254, in load
    self.driver.get(url)
  File "/home/jujugui-merger/gui-branch/virtualenv/local/lib/python2.7/site-packages/selenium-2.35.0-py2.7.egg/selenium/webdriver/remote/webdriver.py", line 177, in get
    self.execute(Command.GET, {'url': url})
  File "/home/jujugui-merger/gui-branch/virtualenv/local/lib/python2.7/site-packages/selenium-2.35.0-py2.7.egg/selenium/webdriver/remote/webdriver.py", line 165, in execute
    self.error_handler.check_response(response)
  File "/home/jujugui-merger/gui-branch/virtualenv/local/lib/python2.7/site-packages/selenium-2.35.0-py2.7.egg/selenium/webdriver/remote/errorhandler.py", line 136, in check_response
    raise exception_class(value)
WebDriverException: Message: 'ERROR Job b152df84aedd442f9baeebd271f9b894 is not in progress. It may have recently finished, or experienced an error. You can learn more at https://saucelabs.com/jobs/b152df84aedd442f9baeebd271f9b894' 

======================================================================
ERROR: test_service_view (__main__.TestStaging)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_charm_running.py", line 252, in test_service_view
    self.load('/:gui:/service/haproxy/')  # Navigate to service details.
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 254, in load
    self.driver.get(url)
  File "/home/jujugui-merger/gui-branch/virtualenv/local/lib/python2.7/site-packages/selenium-2.35.0-py2.7.egg/selenium/webdriver/remote/webdriver.py", line 177, in get
    self.execute(Command.GET, {'url': url})
  File "/home/jujugui-merger/gui-branch/virtualenv/local/lib/python2.7/site-packages/selenium-2.35.0-py2.7.egg/selenium/webdriver/remote/webdriver.py", line 165, in execute
    self.error_handler.check_response(response)
  File "/home/jujugui-merger/gui-branch/virtualenv/local/lib/python2.7/site-packages/selenium-2.35.0-py2.7.egg/selenium/webdriver/remote/errorhandler.py", line 136, in check_response
    raise exception_class(value)
WebDriverException: Message: 'ERROR Job b152df84aedd442f9baeebd271f9b894 is not in progress. It may have recently finished, or experienced an error. You can learn more at https://saucelabs.com/jobs/b152df84aedd442f9baeebd271f9b894' 

======================================================================
ERROR: test_unit_view (__main__.TestStaging)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_charm_running.py", line 270, in test_unit_view
    self.load('/:gui:/unit/haproxy-0/')  # Navigate to unit details.
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 254, in load
    self.driver.get(url)
  File "/home/jujugui-merger/gui-branch/virtualenv/local/lib/python2.7/site-packages/selenium-2.35.0-py2.7.egg/selenium/webdriver/remote/webdriver.py", line 177, in get
    self.execute(Command.GET, {'url': url})
  File "/home/jujugui-merger/gui-branch/virtualenv/local/lib/python2.7/site-packages/selenium-2.35.0-py2.7.egg/selenium/webdriver/remote/webdriver.py", line 165, in execute
    self.error_handler.check_response(response)
  File "/home/jujugui-merger/gui-branch/virtualenv/local/lib/python2.7/site-packages/selenium-2.35.0-py2.7.egg/selenium/webdriver/remote/errorhandler.py", line 136, in check_response
    raise exception_class(value)
WebDriverException: Message: 'ERROR Job b152df84aedd442f9baeebd271f9b894 is not in progress. It may have recently finished, or experienced an error. You can learn more at https://saucelabs.com/jobs/b152df84aedd442f9baeebd271f9b894' 

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

----------------------------------------------------------------------
Ran 14 tests in 575.921s

FAILED (errors=5)
Command '['ssh', 'ubuntu at 10.55.61.32', 'sudo', 'service', 'juju-api-improv', 'restart']' returned non-zero exit status 255: ssh: connect to host 10.55.61.32 port 22: Connection timed out

Quitting...
2013-10-25 22:11:42,743 INFO Destroying environment 'juju-gui-testing' (type: openstack)...
2013-10-25 22:11:45,848 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-00009950 running i-0000994f 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