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

Jenkins Notification devnull at canonical.com
Thu Apr 4 14:57:49 UTC 2013


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

Changes:

[Brad Crittenden] Create EndpointsController.

Encapsulate the endpoints event handling.

R=jeff.pihach, bcsaller
CC=
https://codereview.appspot.com/8338043

------------------------------------------
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: "495 jcsackett at canonical.com-20130403204819-ikay4d54yngxgts1
" 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/store/endpoints.js
 M  app/app.js
 M  app/models/endpoints.js
 M  app/models/models.js
 M  app/modules-debug.js
 M  app/modules-prod.js
 M  app/views/environment.js
 M  app/views/topology/relation.js
 M  app/widgets/charm-search.js
 M  test/test_endpoints.js
 M  test/test_environment_view.js
All changes applied successfully.
Now on revision 496.
[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: "496 bac at canonical.com-20130404143926-5zw4dqgxj01rr3bt
" stderr: ""
[jujugui-test-charm] $ bzr log -v -r revid:jcsackett at canonical.com-20130403204819-ikay4d54yngxgts1..revid:bac at canonical.com-20130404143926-5zw4dqgxj01rr3bt --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: "496 bac at canonical.com-20130404143926-5zw4dqgxj01rr3bt
" stderr: ""
RevisionState revno:496 revid:bac at canonical.com-20130404143926-5zw4dqgxj01rr3bt
[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/hudson9144871353200591669.sh
+ set -ex
+ cat
+ chmod +x /tmp/test-runner
+ sudo -E su -p -c /tmp/test-runner - jujugui-merger
Clean and Prep
2013-04-04 14:41:25,988 INFO Destroying environment 'juju-gui-testing' (type: openstack)...
2013-04-04 14:41:27,457 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-00007855
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.6
Assigned IP to i-00007855
Exposing the service...
2013-04-04 14:53:30,271 INFO Connecting to environment...
2013-04-04 14:53:33,001 INFO Connected to environment.
2013-04-04 14:53:35,028 INFO 'status' command finished successfully
APP_URL= http://91.189.93.93
Launching ie tests.
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__.TestDeploy) ... ERROR
test_staging_services (__main__.TestDeploy) ... ERROR

======================================================================
ERROR: test_charm_deploy (__main__.TestDeploy)
----------------------------------------------------------------------
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 246, 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.6', 'sudo', 'service', 'juju-api-improv', 'restart']' returned non-zero exit status 255

======================================================================
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"Job 7ed30d60f65a4d02addcd579a6f7fd7f has already finished, and can't receive further commands. It may have experienced an error. You can learn more at https://saucelabs.com/jobs/7ed30d60f65a4d02addcd579a6f7fd7f" 

----------------------------------------------------------------------
Ran 6 tests in 253.115s

FAILED (errors=2)
Browser: ie
Test run details at https://saucelabs.com/jobs/7ed30d60f65a4d02addcd579a6f7fd7f
restart_api with ip:10.55.61.6
Command '['ssh', 'ubuntu at 10.55.61.6', 'sudo', 'service', 'juju-api-improv', 'restart']' returned non-zero exit status 255, Retrying in 3 seconds...
restart_api with ip:10.55.61.6
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'OKOK' 
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'OKOK' 
Collected exit code 1
Final instance state
i-00007853 running i-00007855 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