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

Jenkins Notification devnull at canonical.com
Wed Jun 19 12:01:34 UTC 2013


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

------------------------------------------
[...truncated 22 lines...]
RevisionState revno:744 revid:francesco.banconi at canonical.com-20130619110849-rz3o68ivz0mvq7pe
[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/hudson5427367652553238426.sh
+ set -ex
+ cat
+ chmod +x /tmp/test-runner
+ sudo -E su -p -c /tmp/test-runner - jujugui-merger
Clean and Prep
2013-06-19 11:32:29,916 INFO Destroying environment 'juju-gui-testing' (type: openstack)...
2013-06-19 11:32:31,303 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-00008533
INSTANCE	i-00008533
+ 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
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-00fQ8r/selenium-2.33.0/egg-dist-tmp-XePFy2
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-0000853f
Using image f2ca48ce-30d5-4f1f-9075-12e64510368d (ubuntu-released/ubuntu-precise-12.04-amd64-server-20130603-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.60.207
Assigned IP to i-0000853f
Exposing the service...
2013-06-19 11:43:45,424 INFO Connecting to environment...
2013-06-19 11:43:48,180 INFO Connected to environment.
2013-06-19 11:43:50,226 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/07d91b6f0490443381c7c32bdb3505b7
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/d6d9c3c3b8a849ee9b09ecb660103e15
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/72f8e75bbc5f40eba242cd8a57e13353
test_error (__main__.TestNotifications) ... ok
test_initial (__main__.TestNotifications) ... ok
* Platform: Internet Explorer 10 (Windows)
* Testcase: TestSandbox
* Details: https://saucelabs.com/jobs/ef2995bc166f4c67a16f771340940f4b
- 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/49c9b8b774824495ae0c982f896a00d9
test_charm_deploy (__main__.TestStaging) ... 
- restarting API backend with ip:10.55.60.207...
- done
ok
test_initial_services (__main__.TestStaging) ... ok
test_service_view (__main__.TestStaging) ... ok
test_unit_view (__main__.TestStaging) ... ok

----------------------------------------------------------------------
Ran 14 tests in 399.710s

OK
Launching chrome tests.
* Platform: Chrome 27.0.1453.110 (Linux)
* Testcase: TestAuthentication
* Details: https://saucelabs.com/jobs/57a5747fd3f747bc82cd4c2480dd5d8d
test_root_page (__main__.TestAuthentication) ... ok
test_service_page (__main__.TestAuthentication) ... ok
test_unit_page (__main__.TestAuthentication) ... ok
* Platform: Chrome 27.0.1453.110 (Linux)
* Testcase: TestBasics
* Details: https://saucelabs.com/jobs/f65811e6a91042a786c2a045c52b2f31
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: Chrome 27.0.1453.110 (Linux)
* Testcase: TestNotifications
* Details: https://saucelabs.com/jobs/5452fe2889f64347818754ae7f1733e3
test_error (__main__.TestNotifications) ... ok
test_initial (__main__.TestNotifications) ... ok
* Platform: Chrome 27.0.1453.110 (Linux)
* Testcase: TestSandbox
* Details: https://saucelabs.com/jobs/1dd22dd1d3704375985ee7c16d549986
- setting new options: sandbox=True
test_charm_deploy (__main__.TestSandbox) ... ok
- setting new options: sandbox=False
* Platform: Chrome 27.0.1453.110 (Linux)
* Testcase: TestStaging
* Details: https://saucelabs.com/jobs/db387bafcefa4cb3b088cf623ddbfc51
test_charm_deploy (__main__.TestStaging) ... 
- restarting API backend with ip:10.55.60.207...
- done
ok
test_initial_services (__main__.TestStaging) ... ok
test_service_view (__main__.TestStaging) ... ok
test_unit_view (__main__.TestStaging) ... ok

----------------------------------------------------------------------
Ran 14 tests in 295.860s

OK
Launching firefox tests.
* Platform: Firefox 16.0.1 (Linux)
* Testcase: TestAuthentication
* Details: https://saucelabs.com/jobs/f7a0b33960774f0db9047b2d6e153954
test_root_page (__main__.TestAuthentication) ... ok
test_service_page (__main__.TestAuthentication) ... ok
test_unit_page (__main__.TestAuthentication) ... ok
* Platform: Firefox 16.0.1 (Linux)
* Testcase: TestBasics
* Details: https://saucelabs.com/jobs/32d8e555767d4d408bb7fbabd356d5a5
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: Firefox 16.0.1 (Linux)
* Testcase: TestNotifications
* Details: https://saucelabs.com/jobs/a6e55a855803413ba8571c544de66742
test_error (__main__.TestNotifications) ... ok
test_initial (__main__.TestNotifications) ... ok
* Platform: Firefox 16.0.1 (Linux)
* Testcase: TestSandbox
* Details: https://saucelabs.com/jobs/e146a2ee6f264320a2b0861a89e7b013
- setting new options: sandbox=True
test_charm_deploy (__main__.TestSandbox) ... ok
- setting new options: sandbox=False
* Platform: Firefox 16.0.1 (Linux)
* Testcase: TestStaging
* Details: https://saucelabs.com/jobs/d8f3dba287fb415ca59f69b47b0f33ea
test_charm_deploy (__main__.TestStaging) ... ERROR

- restarting API backend with ip:10.55.60.207...
- done
test_initial_services (__main__.TestStaging) ... ok
test_service_view (__main__.TestStaging) ... ok
test_unit_view (__main__.TestStaging) ... ok

======================================================================
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 149, in deploy
    charm_token.click()
  File "/home/jujugui-merger/gui-branch/virtualenv/local/lib/python2.7/site-packages/selenium-2.33.0-py2.7.egg/selenium/webdriver/remote/webelement.py", line 54, in click
    self._execute(Command.CLICK_ELEMENT)
  File "/home/jujugui-merger/gui-branch/virtualenv/local/lib/python2.7/site-packages/selenium-2.33.0-py2.7.egg/selenium/webdriver/remote/webelement.py", line 228, in _execute
    return self._parent.execute(command, params)
  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 158, in check_response
    raise exception_class(message, screen, stacktrace)
StaleElementReferenceException: Message: u"Element not found in the cache - perhaps the page has changed since it was looked up\nCommand duration or timeout: 27.11 seconds\nFor documentation on this error, please visit: http://seleniumhq.org/exceptions/stale_element_reference.html\nBuild info: version: '2.27.0', revision: '18259', time: '2012-12-05 19:24:26'\nSystem info: os.name: 'Linux', os.arch: 'i386', os.version: '3.2.0-45-virtual', java.version: '1.6.0_31'\nSession ID: 1613cc62-34d1-45c4-90a1-6f872aa0a95a\nDriver info: org.openqa.selenium.firefox.FirefoxDriver\nCapabilities [{platform=LINUX, acceptSslCerts=true, javascriptEnabled=true, browserName=firefox, rotatable=false, locationContextEnabled=true, version=16.0.1, cssSelectorsEnabled=true, databaseEnabled=true, handlesAlerts=true, browserConnectionEnabled=true, nativeEvents=false, webStorageEnabled=true, applicationCacheEnabled=true, takesScreenshot=true}]" ; Stacktrace: 
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (None:-2)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance (None:-1)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance (None:-1)
    at java.lang.reflect.Constructor.newInstance (None:-1)
    at org.openqa.selenium.remote.ErrorHandler.createThrowable (ErrorHandler.java:187)
    at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed (ErrorHandler.java:145)
    at org.openqa.selenium.remote.RemoteWebDriver.execute (RemoteWebDriver.java:533)
    at org.openqa.selenium.remote.RemoteWebElement.execute (RemoteWebElement.java:246)
    at org.openqa.selenium.remote.RemoteWebElement.click (RemoteWebElement.java:79)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (None:-2)
    at sun.reflect.NativeMethodAccessorImpl.invoke (None:-1)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (None:-1)
    at java.lang.reflect.Method.invoke (None:-1)
    at org.openqa.selenium.support.events.EventFiringWebDriver$EventFiringWebElement$1.invoke (EventFiringWebDriver.java:327)
    at $Proxy2.click (None:-1)
    at org.openqa.selenium.support.events.EventFiringWebDriver$EventFiringWebElement.click (EventFiringWebDriver.java:340)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (None:-2)
    at sun.reflect.NativeMethodAccessorImpl.invoke (None:-1)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (None:-1)
    at java.lang.reflect.Method.invoke (None:-1)
    at org.openqa.selenium.remote.server.KnownElements$1.invoke (KnownElements.java:63)
    at $Proxy3.click (None:-1)
    at org.openqa.selenium.remote.server.handler.ClickElement.call (ClickElement.java:29)
    at org.openqa.selenium.remote.server.handler.ClickElement.call (ClickElement.java:1)
    at java.util.concurrent.FutureTask$Sync.innerRun (None:-1)
    at java.util.concurrent.FutureTask.run (None:-1)
    at org.openqa.selenium.remote.server.DefaultSession$1.run (DefaultSession.java:167)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask (None:-1)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (None:-1)
    at java.lang.Thread.run (None:-1) 

----------------------------------------------------------------------
Ran 14 tests in 363.981s

FAILED (errors=1)
Quitting...
2013-06-19 12:01:30,472 INFO Destroying environment 'juju-gui-testing' (type: openstack)...
2013-06-19 12:01:33,490 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-0000853f running i-0000853e 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