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

Jenkins Notification devnull at canonical.com
Fri Sep 27 18:33:38 UTC 2013


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

Changes:

[Gary Poster] Added bundle token HTML shell

This branch adds content to the bundle token, some of which is just dummy placement content.

There is also a drive-by fix for the charm details panel header content not being spaced correctly.

R=gary.poster
CC=
https://codereview.appspot.com/14011045

------------------------------------------
[...truncated 35 lines...]
JUJU_GUI_TEST_BROWSERS=ie chrome firefox

[EnvInject] - Variables injected successfully.
[jujugui-test-charm] $ /bin/sh -xe /tmp/hudson6180066739080753440.sh
+ set -ex
+ cat
+ chmod +x /tmp/test-runner
+ sudo -E su -p -c /tmp/test-runner - jujugui-merger
Clean and Prep
2013-09-27 18:11:25,146 INFO Destroying environment 'juju-gui-testing' (type: openstack)...
2013-09-27 18:11:29,687 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-ngr9r6/selenium-2.35.0/egg-dist-tmp-E6qgto
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-000094e5
Using image adeaac8b-6547-43b0-819f-0d018b2beb00 (ubuntu-released/ubuntu-precise-12.04-amd64-server-20130909-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.15
Assigned IP to i-000094e5
Error running 'status --environment juju-gui-testing --format json'
2013-09-27 18:19:42,118 DEBUG Initializing juju status runtime
2013-09-27 18:19:42,127 DEBUG openstack: using auth-mode 'userpass' with https://keystone.canonistack.canonical.com:443/v2.0/
2013-09-27 18:19:42,127 INFO Connecting to environment...
2013-09-27 18:19:42,592 DEBUG openstack: authenticated til u'2013-09-28T18:19:42Z'
2013-09-27 18:19:42,592 DEBUG access object-store @ https://swift.canonistack.canonical.com/v1/AUTH_199db4f89161432fadbf71977bba81ce/622e3564a2e151a774479192ca89719b690a348b/provider-state
2013-09-27 18:19:42,593 DEBUG openstack: GET 'https://swift.canonistack.canonical.com/v1/AUTH_199db4f89161432fadbf71977bba81ce/622e3564a2e151a774479192ca89719b690a348b/provider-state'
2013-09-27 18:19:44,525 DEBUG openstack: 200 'zookeeper-instances: [6f28e621-0361-4b7e-a29d-d267b7952a8b]\n'
2013-09-27 18:19:44,526 DEBUG access compute @ https://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/servers/6f28e621-0361-4b7e-a29d-d267b7952a8b
2013-09-27 18:19:44,526 DEBUG openstack: GET 'https://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/servers/6f28e621-0361-4b7e-a29d-d267b7952a8b'
2013-09-27 18:19:45,143 DEBUG openstack: 200 '{"server": {"status": "ACTIVE", "updated": "2013-09-27T18:13:40Z", "hostId": "c30ce2905eda83bbc56480f266b8e42e46bcc228aa25df749670ad57", "addresses": {"canonistack": [{"version": 4, "addr": "10.55.60.251"}]}, "links": [{"href": "http://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/servers/6f28e621-0361-4b7e-a29d-d267b7952a8b", "rel": "self"}, {"href": "http://nova-lcy01.canonistack.canonical.com/199db4f89161432fadbf71977bba81ce/servers/6f28e621-0361-4b7e-a29d-d267b7952a8b", "rel": "bookmark"}], "key_name": null, "image": {"id": "adeaac8b-6547-43b0-819f-0d018b2beb00", "links": [{"href": "http://nova-lcy01.canonistack.canonical.com/199db4f89161432fadbf71977bba81ce/images/adeaac8b-6547-43b0-819f-0d018b2beb00", "rel": "bookmark"}]}, "OS-EXT-STS:task_state": null, "OS-EXT-STS:vm_state": "active", "flavor": {"id": "2", "links": [{"href": "http://nova-lcy01.canonistack.canonical.com/199db4f89161432fadbf71977bba81ce/flavors/2", "rel": "bookmark"}]}, "id": "6f28e621-0361-4b7e-a29d-d267b7952a8b", "security_groups": [{"name": "juju-juju-gui-testing"}, {"name": "juju-juju-gui-testing-0"}], "user_id": "aab8c33815784618a280952800117432", "name": "juju juju-gui-testing instance 0", "created": "2013-09-27T18:13:32Z", "tenant_id": "199db4f89161432fadbf71977bba81ce", "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "progress": 0, "OS-EXT-STS:power_state": 1, "config_drive": "", "metadata": {}}}'
2013-09-27 18:19:45,144 DEBUG Connecting to environment using 10.55.60.251...
2013-09-27 18:19:45,145 DEBUG Spawning SSH process with remote_user="ubuntu" remote_host="10.55.60.251" remote_port="2181" local_port="47467".
2013-09-27 18:19:46,152:11114(0x7f90a10ab700):ZOO_INFO at log_env@658: Client environment:zookeeper.version=zookeeper C client 3.3.6
2013-09-27 18:19:46,152:11114(0x7f90a10ab700):ZOO_INFO at log_env@662: Client environment:host.name=lp-quantal-server-amd64
2013-09-27 18:19:46,152:11114(0x7f90a10ab700):ZOO_INFO at log_env@669: Client environment:os.name=Linux
2013-09-27 18:19:46,152:11114(0x7f90a10ab700):ZOO_INFO at log_env@670: Client environment:os.arch=3.5.0-40-generic
2013-09-27 18:19:46,152:11114(0x7f90a10ab700):ZOO_INFO at log_env@671: Client environment:os.version=#62-Ubuntu SMP Thu Aug 22 00:55:19 UTC 2013
2013-09-27 18:19:46,153:11114(0x7f90a10ab700):ZOO_INFO at log_env@679: Client environment:user.name=(null)
2013-09-27 18:19:46,153:11114(0x7f90a10ab700):ZOO_INFO at log_env@687: Client environment:user.home=/home/jujugui-merger
2013-09-27 18:19:46,153:11114(0x7f90a10ab700):ZOO_INFO at log_env@699: Client environment:user.dir=/home/jujugui-merger/gui-branch
2013-09-27 18:19:46,153:11114(0x7f90a10ab700):ZOO_INFO at zookeeper_init@727: Initiating client connection, host=localhost:47467 sessionTimeout=30000 watcher=0x7f90a0b94700 sessionId=0 sessionPasswd=<null> context=0x2f0fc50 flags=0
2013-09-27 18:19:46,154:11114(0x7f909c871700):ZOO_INFO at check_events@1585: initiated connection to server [127.0.0.1:47467]
2013-09-27 18:19:46,400:11114(0x7f909c871700):ZOO_INFO at check_events@1632: session establishment complete on server [127.0.0.1:47467], sessionId=0x14160a17ef60013, negotiated timeout=30000
2013-09-27 18:19:46,483 DEBUG Environment is initialized.
2013-09-27 18:19:46,484 INFO Connected to environment.
2013-09-27 18:19:47,666 DEBUG access compute @ https://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/servers/detail
2013-09-27 18:19:47,666 DEBUG openstack: GET 'https://nova-lcy01.canonistack.canonical.com/v2/199db4f89161432fadbf71977bba81ce/servers/detail'
2013-09-27 18:19:47,672:11114(0x7f90a10ab700):ZOO_INFO at zookeeper_close@2302: Closing zookeeper sessionId=0x14160a17ef60013 to [127.0.0.1:47467]

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 397, in errback
    self._startRunCallbacks(fail)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 464, in _startRunCallbacks
    self._runCallbacks()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 551, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1101, in gotResult
    _inlineCallbacks(r, g, deferred)
--- <exception caught here> ---
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1045, in _inlineCallbacks
    result = g.send(result)
  File "/usr/lib/python2.7/dist-packages/juju/control/status.py", line 94, in status
    state = yield command(scope)
twisted.internet.error.DNSLookupError: DNS lookup failed: address 'nova-lcy01.canonistack.canonical.com' not found: [Errno -3] Temporary failure in name resolution.
2013-09-27 18:19:47,685 ERROR Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 397, in errback
    self._startRunCallbacks(fail)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 464, in _startRunCallbacks
    self._runCallbacks()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 551, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1101, in gotResult
    _inlineCallbacks(r, g, deferred)
--- <exception caught here> ---
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1045, in _inlineCallbacks
    result = g.send(result)
  File "/usr/lib/python2.7/dist-packages/juju/control/status.py", line 94, in status
    state = yield command(scope)
twisted.internet.error.DNSLookupError: DNS lookup failed: address 'nova-lcy01.canonistack.canonical.com' not found: [Errno -3] Temporary failure in name resolution.

2013-09-27 18:19:47,685 ERROR DNS lookup failed: address 'nova-lcy01.canonistack.canonical.com' not found: [Errno -3] Temporary failure in name resolution.

Command '['juju', '-v', 'status', '--environment', 'juju-gui-testing', '--format', 'json']' returned non-zero exit status 1, Retrying in 3 seconds...
Exposing the service...
2013-09-27 18:21:30,942 INFO Connecting to environment...
2013-09-27 18:21:34,695 INFO Connected to environment.
2013-09-27 18:21:36,799 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/06ce36e9dba94a078717944cf5425cae
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/216369545f9b462892800a9665a9b994
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/7b0615f1c8994ca88348b231c1a87686
test_error (__main__.TestNotifications) ... ok
test_initial (__main__.TestNotifications) ... ok
* Platform: Internet Explorer 10 (Windows)
* Testcase: TestSandbox
* Details: https://saucelabs.com/jobs/fc42c76450c343b7aaf940ea8c8ba1a1
- 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/d1a264d53d864032b1d4d03d108b3ee1
test_charm_deploy (__main__.TestStaging) ... 
- restarting API backend with ip:10.55.61.15...

- restarting API backend with ip:10.55.61.15...
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.15', '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 d1a264d53d864032b1d4d03d108b3ee1 is not in progress. It may have recently finished, or experienced an error. You can learn more at https://saucelabs.com/jobs/d1a264d53d864032b1d4d03d108b3ee1' 

======================================================================
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 d1a264d53d864032b1d4d03d108b3ee1 is not in progress. It may have recently finished, or experienced an error. You can learn more at https://saucelabs.com/jobs/d1a264d53d864032b1d4d03d108b3ee1' 

======================================================================
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 d1a264d53d864032b1d4d03d108b3ee1 is not in progress. It may have recently finished, or experienced an error. You can learn more at https://saucelabs.com/jobs/d1a264d53d864032b1d4d03d108b3ee1' 

======================================================================
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 d1a264d53d864032b1d4d03d108b3ee1 is not in progress. It may have recently finished, or experienced an error. You can learn more at https://saucelabs.com/jobs/d1a264d53d864032b1d4d03d108b3ee1' 

----------------------------------------------------------------------
Ran 14 tests in 715.493s

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

Quitting...
2013-09-27 18:33:33,111 INFO Destroying environment 'juju-gui-testing' (type: openstack)...
2013-09-27 18:33:37,844 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-000094e5 running i-000094e4 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