Build failed in Jenkins: jujugui-test-charm #745
Jenkins Notification
devnull at canonical.com
Tue Sep 17 19:32:37 UTC 2013
See <http://10.189.74.2:8080/job/jujugui-test-charm/745/changes>
Changes:
[Benji York] Polish up the Charmwold API v2
This branch is another step toward adding v3 support. The whole branch was
too big so this branch was split out as an intermediary.
R=gary.poster
CC=
https://codereview.appspot.com/13627048
------------------------------------------
[...truncated 43 lines...]
Clean and Prep
2013-09-17 19:09:27,456 INFO Destroying environment 'juju-gui-testing' (type: openstack)...
2013-09-17 19:09:29,831 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-VgmUeu/selenium-2.35.0/egg-dist-tmp-wbWJJl
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-0000930f
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.60.231
Assigned IP to i-0000930f
Exposing the service...
2013-09-17 19:18:32,902 INFO Connecting to environment...
2013-09-17 19:18:35,636 INFO Connected to environment.
2013-09-17 19:18:37,750 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/ad2e9c05602f4bfeb8f2d9faf1088b19
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/f2c549ab4fb146b1a64c852fc8912c81
test_environment_connection (__main__.TestBasics) ... ok
test_environment_name (__main__.TestBasics) ... Message: u"JavaScript error (WARNING: The server did not provide any stacktrace information)\nCommand duration or timeout: 25 milliseconds\nBuild info: version: '2.30.0', revision: 'dc1ef9c', time: '2013-02-19 00:15:27'\nSystem info: os.name: 'Windows Server 2012', os.arch: 'x86', os.version: '6.2', java.version: '1.6.0_43'\nSession ID: fc08a37a-8d94-454d-8a3e-cb3e82af96e3\nDriver info: org.openqa.selenium.ie.InternetExplorerDriver\nCapabilities [{platform=WINDOWS, elementScrollBehavior=0, javascriptEnabled=true, enablePersistentHover=true, ignoreZoomSetting=false, browserName=internet explorer, enableElementCacheCleanup=true, unexpectedAlertBehaviour=dismiss, version=10, cssSelectorsEnabled=true, ignoreProtectedModeSettings=false, requireWindowFocus=false, allowAsynchronousJavaScript=false, handlesAlerts=true, initialBrowserUrl=, nativeEvents=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:554)
at org.openqa.selenium.remote.RemoteWebDriver.executeScript (RemoteWebDriver.java:462)
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$2.invoke (EventFiringWebDriver.java:101)
at com.sun.proxy.$Proxy1.executeScript (None:-1)
at org.openqa.selenium.support.events.EventFiringWebDriver.executeScript (EventFiringWebDriver.java:209)
at org.openqa.selenium.remote.server.handler.ExecuteScript.call (ExecuteScript.java:55)
at org.openqa.selenium.remote.server.handler.ExecuteScript.call (ExecuteScript.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)
[u' at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (None:-2)', u' at sun.reflect.NativeConstructorAccessorImpl.newInstance (None:-1)', u' at sun.reflect.DelegatingConstructorAccessorImpl.newInstance (None:-1)', u' at java.lang.reflect.Constructor.newInstance (None:-1)', u' at org.openqa.selenium.remote.ErrorHandler.createThrowable (ErrorHandler.java:187)', u' at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed (ErrorHandler.java:145)', u' at org.openqa.selenium.remote.RemoteWebDriver.execute (RemoteWebDriver.java:554)', u' at org.openqa.selenium.remote.RemoteWebDriver.executeScript (RemoteWebDriver.java:462)', u' at sun.reflect.NativeMethodAccessorImpl.invoke0 (None:-2)', u' at sun.reflect.NativeMethodAccessorImpl.invoke (None:-1)', u' at sun.reflect.DelegatingMethodAccessorImpl.invoke (None:-1)', u' at java.lang.reflect.Method.invoke (None:-1)', u' at org.openqa.selenium.support.events.EventFiringWebDriver$2.invoke (EventFiringWebDriver.java:101)', u' at com.sun.proxy.$Proxy1.executeScript (None:-1)', u' at org.openqa.selenium.support.events.EventFiringWebDriver.executeScript (EventFiringWebDriver.java:209)', u' at org.openqa.selenium.remote.server.handler.ExecuteScript.call (ExecuteScript.java:55)', u' at org.openqa.selenium.remote.server.handler.ExecuteScript.call (ExecuteScript.java:1)', u' at java.util.concurrent.FutureTask$Sync.innerRun (None:-1)', u' at java.util.concurrent.FutureTaERROR
test_gui_unit_tests (__main__.TestBasics) ... {u'passes': 1217, u'tests': 1232, u'end': {u'': None}, u'suites': 172, u'start': {u'': None}, u'duration': 313226, u'failures': 0, u'pending': 15}
ERROR
test_title (__main__.TestBasics) ... ok
* Platform: Internet Explorer 10 (Windows)
* Testcase: TestNotifications
* Details: https://saucelabs.com/jobs/87727355a9c243188a45fa5e4f31fd9c
test_error (__main__.TestNotifications) ... ok
test_initial (__main__.TestNotifications) ... ok
* Platform: Internet Explorer 10 (Windows)
* Testcase: TestSandbox
* Details: https://saucelabs.com/jobs/9f918dc0190b4d8eb4f71d287ea16ab2
- setting new options: sandbox=True
test_charm_deploy (__main__.TestSandbox) ... ERROR
- setting new options: sandbox=False
ERROR
ERROR
======================================================================
ERROR: test_environment_name (__main__.TestBasics)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_charm_running.py", line 33, in test_environment_name
self.handle_browser_warning()
File "/home/jujugui-merger/gui-branch/test/browser.py", line 274, in handle_browser_warning
error='Function isBrowserSupported not found.')
File "/home/jujugui-merger/gui-branch/test/browser.py", line 369, in wait_for_script
return cls.wait_for(condition, error=error, timeout=timeout)
File "/home/jujugui-merger/gui-branch/test/browser.py", line 99, in format_error
raise e
WebDriverException: Message: u"JavaScript error (WARNING: The server did not provide any stacktrace information)\nCommand duration or timeout: 25 milliseconds\nBuild info: version: '2.30.0', revision: 'dc1ef9c', time: '2013-02-19 00:15:27'\nSystem info: os.name: 'Windows Server 2012', os.arch: 'x86', os.version: '6.2', java.version: '1.6.0_43'\nSession ID: fc08a37a-8d94-454d-8a3e-cb3e82af96e3\nDriver info: org.openqa.selenium.ie.InternetExplorerDriver\nCapabilities [{platform=WINDOWS, elementScrollBehavior=0, javascriptEnabled=true, enablePersistentHover=true, ignoreZoomSetting=false, browserName=internet explorer, enableElementCacheCleanup=true, unexpectedAlertBehaviour=dismiss, version=10, cssSelectorsEnabled=true, ignoreProtectedModeSettings=false, requireWindowFocus=false, allowAsynchronousJavaScript=false, handlesAlerts=true, initialBrowserUrl=, nativeEvents=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:554)
at org.openqa.selenium.remote.RemoteWebDriver.executeScript (RemoteWebDriver.java:462)
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$2.invoke (EventFiringWebDriver.java:101)
at com.sun.proxy.$Proxy1.executeScript (None:-1)
at org.openqa.selenium.support.events.EventFiringWebDriver.executeScript (EventFiringWebDriver.java:209)
at org.openqa.selenium.remote.server.handler.ExecuteScript.call (ExecuteScript.java:55)
at org.openqa.selenium.remote.server.handler.ExecuteScript.call (ExecuteScript.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_gui_unit_tests (__main__.TestBasics)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_charm_running.py", line 82, in test_gui_unit_tests
total, failures = run_tests()
File "test/test_charm_running.py", line 74, in run_tests
timeout=300)
File "/home/jujugui-merger/gui-branch/test/browser.py", line 99, in format_error
raise e
TimeoutException: Message: 'Unable to complete test run.'
======================================================================
ERROR: test_charm_deploy (__main__.TestSandbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_charm_running.py", line 332, in test_charm_deploy
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 163, in execute
response = self.command_executor.execute(driver_command, params)
File "/home/jujugui-merger/gui-branch/virtualenv/local/lib/python2.7/site-packages/selenium-2.35.0-py2.7.egg/selenium/webdriver/remote/remote_connection.py", line 353, in execute
return self._request(url, method=command_info[0], data=data)
File "/home/jujugui-merger/gui-branch/virtualenv/local/lib/python2.7/site-packages/selenium-2.35.0-py2.7.egg/selenium/webdriver/remote/remote_connection.py", line 400, 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 1181, in do_open
raise URLError(err)
URLError: <urlopen error [Errno 110] Connection timed out>
======================================================================
ERROR: tearDownClass (__main__.TestSandbox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test_charm_running.py", line 328, in tearDownClass
super(TestSandbox, cls).tearDownClass()
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 163, in execute
response = self.command_executor.execute(driver_command, params)
File "/home/jujugui-merger/gui-branch/virtualenv/local/lib/python2.7/site-packages/selenium-2.35.0-py2.7.egg/selenium/webdriver/remote/remote_connection.py", line 353, in execute
return self._request(url, method=command_info[0], data=data)
File "/home/jujugui-merger/gui-branch/virtualenv/local/lib/python2.7/site-packages/selenium-2.35.0-py2.7.egg/selenium/webdriver/remote/remote_connection.py", line 400, 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 1181, in do_open
raise URLError(err)
URLError: <urlopen error [Errno 110] Connection timed out>
======================================================================
ERROR: setUpClass (__main__.TestStaging)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/jujugui-merger/gui-branch/test/browser.py", line 222, in setUpClass
command_executor=command_executor)
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 72, in __init__
self.start_session(desired_capabilities, browser_profile)
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 114, in start_session
'desiredCapabilities': desired_capabilities,
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 163, in execute
response = self.command_executor.execute(driver_command, params)
File "/home/jujugui-merger/gui-branch/virtualenv/local/lib/python2.7/site-packages/selenium-2.35.0-py2.7.egg/selenium/webdriver/remote/remote_connection.py", line 353, in execute
return self._request(url, method=command_info[0], data=data)
File "/home/jujugui-merger/gui-branch/virtualenv/local/lib/python2.7/site-packages/selenium-2.35.0-py2.7.egg/selenium/webdriver/remote/remote_connection.py", line 400, 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 1181, in do_open
raise URLError(err)
URLError: <urlopen error [Errno 110] Connection timed out>
----------------------------------------------------------------------
Ran 10 tests in 835.542s
FAILED (errors=5)
sk.run (None:-1)', u' at org.openqa.selenium.remote.server.DefaultSession$1.run (DefaultSession.java:167)', u' at java.util.concurrent.ThreadPoolExecutor$Worker.runTask (None:-1)', u' at java.util.concurrent.ThreadPoolExecutor$Worker.run (None:-1)', u' at java.lang.Thread.run (None:-1)']
Message: 'Unable to complete test run.'
Quitting...
2013-09-17 19:32:33,757 INFO Destroying environment 'juju-gui-testing' (type: openstack)...
2013-09-17 19:32:36,830 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-0000930f running i-0000930e 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