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

Jenkins Notification devnull at canonical.com
Fri Apr 12 20:54:13 UTC 2013


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

Changes:

[Matthew Scott] Implement remove_units in go env

R=jeff.pihach, bac
CC=
https://codereview.appspot.com/8721043

[Brad Crittenden] Fix add_relation in fakebackend.

R=gary.poster, benji
CC=
https://codereview.appspot.com/8713043

[Rick Harding] TRIVIAL: Truncate the charm token description

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

------------------------------------------
[...truncated 39 lines...]
FAIL_FAST=1
JUJU_GUI_TEST_BROWSERS=ie chrome firefox

[EnvInject] - Variables injected successfully.
[jujugui-test-charm] $ /bin/sh -xe /tmp/hudson4714696671131367308.sh
+ set -ex
+ cat
+ chmod +x /tmp/test-runner
+ sudo -E su -p -c /tmp/test-runner - jujugui-merger
Clean and Prep
2013-04-12 20:30:56,690 INFO Destroying environment 'juju-gui-testing' (type: openstack)...
2013-04-12 20:30:59,434 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
Waiting for instances to terminate
Waiting for instances to terminate
This is taking too long. Now trying euca-terminate-instances.

+ euca-terminate-instances i-00007971
INSTANCE	i-00007971
+ set +x

+ euca-terminate-instances i-00007970
INSTANCE	i-00007970
+ set +x

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
ADDRESS	91.189.93.93	i-00007988
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.230
Assigned IP to i-00007988
Exposing the service...
2013-04-12 20:43:49,419 INFO Connecting to environment...
2013-04-12 20:43:52,292 INFO Connected to environment.
2013-04-12 20:43:54,334 INFO 'status' command finished successfully
APP_URL= http://91.189.93.93
Launching ie tests.
test_environment_connection (__main__.TestBasics) ... ERROR
test_environment_name (__main__.TestBasics) ... ERROR
test_gui_unit_tests (__main__.TestBasics) ... ERROR
test_title (__main__.TestBasics) ... ERROR
test_charm_deploy (__main__.TestDeploy) ... ERROR
ERROR
test_staging_services (__main__.TestDeploy) ... ERROR

======================================================================
ERROR: test_environment_connection (__main__.TestBasics)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_charm_running.py", line 26, in test_environment_connection
    self.load()
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 151, 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: ''

======================================================================
ERROR: test_environment_name (__main__.TestBasics)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_charm_running.py", line 14, in test_environment_name
    self.load()
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 151, 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: ''

======================================================================
ERROR: test_gui_unit_tests (__main__.TestBasics)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_charm_running.py", line 57, in test_gui_unit_tests
    self.load('/test/')
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 151, 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 147, in check_response
    raise exception_class(message, screen, stacktrace)
WebDriverException: Message: u'Due to a previous error, this job has already finished. You can learn more at https://saucelabs.com/jobs/c1c75b65e96a478f8bd0b8a16b58f751' 

======================================================================
ERROR: test_title (__main__.TestBasics)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_charm_running.py", line 10, in test_title
    self.load()
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 151, 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 147, in check_response
    raise exception_class(message, screen, stacktrace)
WebDriverException: Message: u'Due to a previous error, this job has already finished. You can learn more at https://saucelabs.com/jobs/c1c75b65e96a478f8bd0b8a16b58f751' 

======================================================================
ERROR: test_charm_deploy (__main__.TestDeploy)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_charm_running.py", line 91, in test_charm_deploy
    self.load()
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 151, 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 147, in check_response
    raise exception_class(message, screen, stacktrace)
WebDriverException: Message: u'Due to a previous error, this job has already finished. You can learn more at https://saucelabs.com/jobs/c1c75b65e96a478f8bd0b8a16b58f751' 

======================================================================
ERROR: test_charm_deploy (__main__.TestDeploy)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jujugui-merger/gui-branch/lib/retry.py", line 31, in f_retry
    return f(*args, **kwargs)
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 250, in restart_api
    self.load()
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 151, 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 147, in check_response
    raise exception_class(message, screen, stacktrace)
WebDriverException: Message: u'Due to a previous error, this job has already finished. You can learn more at https://saucelabs.com/jobs/c1c75b65e96a478f8bd0b8a16b58f751' 

======================================================================
ERROR: test_staging_services (__main__.TestDeploy)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_charm_running.py", line 119, in test_staging_services
    self.load()
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 151, 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 147, in check_response
    raise exception_class(message, screen, stacktrace)
WebDriverException: Message: u'Due to a previous error, this job has already finished. You can learn more at https://saucelabs.com/jobs/c1c75b65e96a478f8bd0b8a16b58f751' 

----------------------------------------------------------------------
Ran 6 tests in 618.033s

FAILED (errors=7)
Browser: ie
Test run details at https://saucelabs.com/jobs/c1c75b65e96a478f8bd0b8a16b58f751
restart_api with ip:10.55.60.230
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  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 147, in check_response
    raise exception_class(message, screen, stacktrace)
WebDriverException: Message: u'Due to a previous error, this job has already finished. You can learn more at https://saucelabs.com/jobs/c1c75b65e96a478f8bd0b8a16b58f751' 
Error in sys.exitfunc:
Traceback (most recent call last):
  File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  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 147, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: u'Due to a previous error, this job has already finished. You can learn more at https://saucelabs.com/jobs/c1c75b65e96a478f8bd0b8a16b58f751' 
Collected exit code 1
Final instance state
i-00007988 running i-00007987 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