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

Jenkins Notification devnull at canonical.com
Fri Aug 23 17:43:22 UTC 2013


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

Changes:

[Rick Harding] Fixes bad tests that landed.

- Not sure how they passed, but constraints is not passed in and needs to be
accounted for in tests.

R=
CC=
https://codereview.appspot.com/13007046

------------------------------------------
[...truncated 5 lines...]
" 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  test/test_env_go.js
All changes applied successfully.
Now on revision 976.
[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: "976 rick.harding at canonical.com-20130823171559-ilmwjsbammbdbrl0
" stderr: ""
[jujugui-test-charm] $ bzr log -v -r revid:rick.harding at canonical.com-20130823143748-lwkyt9cq1uzd3b2f..revid:rick.harding at canonical.com-20130823171559-ilmwjsbammbdbrl0 --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: "976 rick.harding at canonical.com-20130823171559-ilmwjsbammbdbrl0
" stderr: ""
RevisionState revno:976 revid:rick.harding at canonical.com-20130823171559-ilmwjsbammbdbrl0
[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/hudson8673921656929507543.sh
+ set -ex
+ cat
+ chmod +x /tmp/test-runner
+ sudo -E su -p -c /tmp/test-runner - jujugui-merger
Clean and Prep
2013-08-23 17:21:05,842 INFO Destroying environment 'juju-gui-testing' (type: openstack)...
2013-08-23 17:21:07,332 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-YGMsTN/selenium-2.33.0/egg-dist-tmp-sUCwC3
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-0000908c
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.61.4
Assigned IP to i-0000908c
Exposing the service...
2013-08-23 17:30:30,460 INFO Connecting to environment...
2013-08-23 17:30:43,222 INFO Connected to environment.
2013-08-23 17:30:45,297 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/db908d36b2294a6c8ebbb4494f97adcc
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/117543a91e8c4eb68ab3a92fccfedcad
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/72f2a0cebbf5404984f550828e9c73b0
test_error (__main__.TestNotifications) ... ERROR
test_initial (__main__.TestNotifications) ... ok
* Platform: Internet Explorer 10 (Windows)
* Testcase: TestSandbox
* Details: https://saucelabs.com/jobs/59632206dac147b19b44b1371f15c454
- setting new options: sandbox=True
test_charm_deploy (__main__.TestSandbox) ... ERROR
- setting new options: sandbox=False
* Platform: Internet Explorer 10 (Windows)
* Testcase: TestStaging
* Details: https://saucelabs.com/jobs/89b9fe097d6746eb93010f949a6d5f36
test_charm_deploy (__main__.TestStaging) ... ERROR

- restarting API backend with ip:10.55.61.4...

- restarting API backend with ip:10.55.61.4...
ERROR
test_initial_services (__main__.TestStaging) ... ERROR
test_service_view (__main__.TestStaging) ... ERROR
test_unit_view (__main__.TestStaging) ... ERROR
ERROR

======================================================================
ERROR: test_error (__main__.TestNotifications)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_charm_running.py", line 209, in test_error
    self.deploy(service)
  File "test/test_charm_running.py", line 158, in deploy
    get_deploy_button, error='Charm config panel is not visible.')
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 99, in format_error
    raise e
TimeoutException: Message: 'Charm config panel is not visible.' 

======================================================================
ERROR: test_charm_deploy (__main__.TestSandbox)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_charm_running.py", line 328, in test_charm_deploy
    self.deploy('appflower')
  File "test/test_charm_running.py", line 158, in deploy
    get_deploy_button, error='Charm config panel is not visible.')
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 99, in format_error
    raise e
TimeoutException: Message: 'Charm config panel is not visible.' 

======================================================================
ERROR: test_charm_deploy (__main__.TestStaging)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_charm_running.py", line 228, in test_charm_deploy
    self.deploy('appflower')
  File "test/test_charm_running.py", line 158, in deploy
    get_deploy_button, error='Charm config panel is not visible.')
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 99, in format_error
    raise e
TimeoutException: Message: 'Charm config panel is not visible.' 

======================================================================
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 419, 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.4', '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 233, in test_initial_services
    self.load()
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 244, in load
    self.driver.get(url)
  File "/home/jujugui-merger/gui-branch/virtualenv/local/lib/python2.7/site-packages/selenium-2.33.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.33.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.33.0-py2.7.egg/selenium/webdriver/remote/errorhandler.py", line 130, in check_response
    raise exception_class(value)
WebDriverException: Message: 'ERROR Job 89b9fe097d6746eb93010f949a6d5f36 is not in progress. It may have recently finished, or experienced an error. You can learn more at https://saucelabs.com/jobs/89b9fe097d6746eb93010f949a6d5f36' 

======================================================================
ERROR: test_service_view (__main__.TestStaging)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_charm_running.py", line 241, in test_service_view
    self.load('/:gui:/service/haproxy/')  # Navigate to service details.
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 244, in load
    self.driver.get(url)
  File "/home/jujugui-merger/gui-branch/virtualenv/local/lib/python2.7/site-packages/selenium-2.33.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.33.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.33.0-py2.7.egg/selenium/webdriver/remote/errorhandler.py", line 130, in check_response
    raise exception_class(value)
WebDriverException: Message: 'ERROR Job 89b9fe097d6746eb93010f949a6d5f36 is not in progress. It may have recently finished, or experienced an error. You can learn more at https://saucelabs.com/jobs/89b9fe097d6746eb93010f949a6d5f36' 

======================================================================
ERROR: test_unit_view (__main__.TestStaging)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_charm_running.py", line 259, in test_unit_view
    self.load('/:gui:/unit/haproxy-0/')  # Navigate to unit details.
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 244, in load
    self.driver.get(url)
  File "/home/jujugui-merger/gui-branch/virtualenv/local/lib/python2.7/site-packages/selenium-2.33.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.33.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.33.0-py2.7.egg/selenium/webdriver/remote/errorhandler.py", line 130, in check_response
    raise exception_class(value)
WebDriverException: Message: 'ERROR Job 89b9fe097d6746eb93010f949a6d5f36 is not in progress. It may have recently finished, or experienced an error. You can learn more at https://saucelabs.com/jobs/89b9fe097d6746eb93010f949a6d5f36' 

======================================================================
ERROR: tearDownClass (__main__.TestStaging)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 230, in tearDownClass
    cls.driver.quit()
  File "/home/jujugui-merger/gui-branch/virtualenv/local/lib/python2.7/site-packages/selenium-2.33.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.33.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.33.0-py2.7.egg/selenium/webdriver/remote/errorhandler.py", line 130, in check_response
    raise exception_class(value)
WebDriverException: Message: 'ERROR Job 89b9fe097d6746eb93010f949a6d5f36 is not in progress. It may have recently finished, or experienced an error. You can learn more at https://saucelabs.com/jobs/89b9fe097d6746eb93010f949a6d5f36' 

----------------------------------------------------------------------
Ran 14 tests in 752.747s

FAILED (errors=8)
Message: 'Charm config panel is not visible.' 
Message: 'Charm config panel is not visible.' 
Message: 'Charm config panel is not visible.' 
Command '['ssh', 'ubuntu at 10.55.61.4', 'sudo', 'service', 'juju-api-improv', 'restart']' returned non-zero exit status 255, Retrying in 3 seconds...
Quitting...
2013-08-23 17:43:18,504 INFO Destroying environment 'juju-gui-testing' (type: openstack)...
2013-08-23 17:43:21,360 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-0000908b running i-0000908c 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