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

Jenkins Notification devnull at canonical.com
Wed Jun 19 08:53:08 UTC 2013


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

Changes:

[Francesco Banconi] Add CI tests exercising notifications.

Ensure no initial errors are displayed.

R=gary.poster, teknico
CC=
https://codereview.appspot.com/10383043

------------------------------------------
[...truncated 26 lines...]
[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/hudson6910538466229118058.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 08:30:54,327 INFO Destroying environment 'juju-gui-testing' (type: openstack)...
2013-06-19 08:30:56,162 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-Iz0LLL/selenium-2.33.0/egg-dist-tmp-pTtQva
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-00008509
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.64
Assigned IP to i-00008509
Exposing the service...
2013-06-19 08:41:42,361 INFO Connecting to environment...
2013-06-19 08:41:45,100 INFO Connected to environment.
2013-06-19 08:41:47,178 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/84a47934c0a945fe94bfe6243cb6efcc
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/fdd547fe5a9041749a0deb4beab8da08
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/fe0b373f596044f4b36e0d9ab56ea43f
test_error (__main__.TestNotifications) ... ok
test_initial (__main__.TestNotifications) ... ok
* Platform: Internet Explorer 10 (Windows)
* Testcase: TestSandbox
* Details: https://saucelabs.com/jobs/9048431bf8eb4350b77a6f5fef67147c
- 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/a6a5597020614fb3bb4c49a07fd56f5a
test_charm_deploy (__main__.TestStaging) ... 
- restarting API backend with ip:10.55.60.64...
- done
ok
test_initial_services (__main__.TestStaging) ... ok
test_service_view (__main__.TestStaging) ... ok
test_unit_view (__main__.TestStaging) ... ok

----------------------------------------------------------------------
Ran 14 tests in 377.282s

OK
Launching chrome tests.
* Platform: Chrome 27.0.1453.110 (Linux)
* Testcase: TestAuthentication
* Details: https://saucelabs.com/jobs/b0d4789530f243809c5bb795ee542af1
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/a7aed1d896934145a6b26d04f3641bc9
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/add1b5a18e134b398f6f5b2b46245620
test_error (__main__.TestNotifications) ... ok
test_initial (__main__.TestNotifications) ... ok
* Platform: Chrome 27.0.1453.110 (Linux)
* Testcase: TestSandbox
* Details: https://saucelabs.com/jobs/c66ee7c0a8a14dfab27a4ecc58821454
- setting new options: sandbox=True
test_charm_deploy (__main__.TestSandbox) ... ERROR
- setting new options: sandbox=False
* Platform: Chrome 27.0.1453.110 (Linux)
* Testcase: TestStaging
* Details: https://saucelabs.com/jobs/1a9cefc7fa434ca8bc3ad667b6d90bc1
test_charm_deploy (__main__.TestStaging) ... ERROR

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

======================================================================
ERROR: test_charm_deploy (__main__.TestSandbox)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_charm_running.py", line 324, in test_charm_deploy
    self.assert_deployed('appflower')
  File "test/test_charm_running.py", line 169, in assert_deployed
    self.click(zoom_out)
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 258, in click
    element.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)
WebDriverException: Message: u"Element is not clickable at point (22, 680.5). Other element would receive the click: <p>...</p> (WARNING: The server did not provide any stacktrace information)\nCommand duration or timeout: 84 milliseconds\nBuild info: version: '2.30.0', revision: 'dc1ef9c', time: '2013-02-19 00:15:27'\nSystem info: os.name: 'Linux', os.arch: 'i386', os.version: '3.2.0-45-virtual', java.version: '1.6.0_31'\nSession ID: e53b769b7b04758743e2c5df17f9e979\nDriver info: org.openqa.selenium.chrome.ChromeDriver\nCapabilities [{platform=LINUX, chrome.chromedriverVersion=26.0.1383.0, acceptSslCerts=false, javascriptEnabled=true, browserName=chrome, rotatable=false, locationContextEnabled=false, version=27.0.1453.110, cssSelectorsEnabled=true, databaseEnabled=false, handlesAlerts=true, browserConnectionEnabled=false, nativeEvents=true, webStorageEnabled=true, applicationCacheEnabled=false, 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:554)
    at org.openqa.selenium.remote.RemoteWebElement.execute (RemoteWebElement.java:268)
    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) 

======================================================================
ERROR: test_charm_deploy (__main__.TestStaging)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_charm_running.py", line 224, in test_charm_deploy
    self.assert_deployed('appflower')
  File "test/test_charm_running.py", line 169, in assert_deployed
    self.click(zoom_out)
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 258, in click
    element.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)
WebDriverException: Message: u"Element is not clickable at point (22, 680.5). Other element would receive the click: <p>...</p> (WARNING: The server did not provide any stacktrace information)\nCommand duration or timeout: 74 milliseconds\nBuild info: version: '2.30.0', revision: 'dc1ef9c', time: '2013-02-19 00:15:27'\nSystem info: os.name: 'Linux', os.arch: 'i386', os.version: '3.2.0-45-virtual', java.version: '1.6.0_31'\nSession ID: 412452ddf7f38899588180faa1bbab5d\nDriver info: org.openqa.selenium.chrome.ChromeDriver\nCapabilities [{platform=LINUX, chrome.chromedriverVersion=26.0.1383.0, acceptSslCerts=false, javascriptEnabled=true, browserName=chrome, rotatable=false, locationContextEnabled=false, version=27.0.1453.110, cssSelectorsEnabled=true, databaseEnabled=false, handlesAlerts=true, browserConnectionEnabled=false, nativeEvents=true, webStorageEnabled=true, applicationCacheEnabled=false, 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:554)
    at org.openqa.selenium.remote.RemoteWebElement.execute (RemoteWebElement.java:268)
    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 299.395s

FAILED (errors=2)
Quitting...
2013-06-19 08:53:04,515 INFO Destroying environment 'juju-gui-testing' (type: openstack)...
2013-06-19 08:53:07,377 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-00008508 running i-00008509 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