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

Jenkins Notification devnull at canonical.com
Wed Apr 17 15:52:45 UTC 2013


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

------------------------------------------
Started by Naginator
[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: "569 nicola.larosa at canonical.com-20130417152239-u3dd33qfk8dk3b0v
" 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".
No revisions or tags to pull.
[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: "569 nicola.larosa at canonical.com-20130417152239-u3dd33qfk8dk3b0v
" stderr: ""
[jujugui-test-charm] $ bzr log -v -r revid:nicola.larosa at canonical.com-20130417152239-u3dd33qfk8dk3b0v..revid:nicola.larosa at canonical.com-20130417152239-u3dd33qfk8dk3b0v --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: "569 nicola.larosa at canonical.com-20130417152239-u3dd33qfk8dk3b0v
" stderr: ""
RevisionState revno:569 revid:nicola.larosa at canonical.com-20130417152239-u3dd33qfk8dk3b0v
[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/hudson7951501030794346324.sh
+ set -ex
+ cat
+ chmod +x /tmp/test-runner
+ sudo -E su -p -c /tmp/test-runner - jujugui-merger
Clean and Prep
2013-04-17 15:30:30,288 INFO Destroying environment 'juju-gui-testing' (type: openstack)...
2013-04-17 15:30:32,867 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-000079f3
INSTANCE	i-000079f3
+ 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
ADDRESS	91.189.93.93	i-000079f5
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.254
Assigned IP to i-000079f5
Exposing the service...
2013-04-17 15:50:56,609 INFO Connecting to environment...
2013-04-17 15:51:09,413 INFO Connected to environment.
2013-04-17 15:51:11,501 INFO 'status' command finished successfully
APP_URL= http://91.189.93.93
Launching ie tests.
test_environment_connection (__main__.TestBasics) ... ERROR
test_environment_name (__main__.TestBasics) ... ERROR
test_gui_unit_tests (__main__.TestBasics) ... ERROR
test_title (__main__.TestBasics) ... FAIL
test_charm_deploy (__main__.TestDeploy) ... ERROR
Browser: ie
Test run details at https://saucelabs.com/jobs/3f455555d2b540c79de3f93954ccc014
Message: u"JavaScript error (WARNING: The server did not provide any stacktrace information)\nCommand duration or timeout: 44 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: 9077787b-b82a-41dc-965f-4fe9e365ad6a\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: Method newInstance0 threw an error in None 
Method newInstance0 threw an error in None
Message: u"JavaScript error (WARNING: The server did not provide any stacktrace information)\nCommand duration or timeout: 32 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: 9077787b-b82a-41dc-965f-4fe9e365ad6a\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: Method newInstance0 threw an error in None 
Method newInstance0 threw an error in None
Message: u"Finding elements returned an unexpected error (WARNING: The server did not provide any stacktrace information)\nCommand duration or timeout: 20.06 seconds\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: 9077787b-b82a-41dc-965f-4fe9e365ad6a\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: Method newInstance0 threw an error in None 
Method newInstance0 threw an error in None
Message: u"JavaScript error (WARNING: The server did not provide any stacktrace information)\nCommand duration or timeout: 34 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: 9077787b-b82a-41dc-965f-4fe9e365ad6a\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: Method newInstance0 threw an error in None 
Method newInstance0 threw an error in None
restart_api with ip:10.55.60.ERROR
test_staging_services (__main__.TestDeploy) ... ERROR

======================================================================
ERROR: test_environment_connection (__main__.TestBasics)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_charm_running.py", line 27, in test_environment_connection
    self.handle_browser_warning()
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 157, in handle_browser_warning
    error='Function isBrowserSupported not found.')
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 228, in wait_for_script
    return self.wait_for(condition, error=error, timeout=timeout)
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 94, in format_error
    raise e
WebDriverException: Message: u"JavaScript error (WARNING: The server did not provide any stacktrace information)\nCommand duration or timeout: 44 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: 9077787b-b82a-41dc-965f-4fe9e365ad6a\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: Method newInstance0 threw an error in None 

======================================================================
ERROR: test_environment_name (__main__.TestBasics)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_charm_running.py", line 15, in test_environment_name
    self.handle_browser_warning()
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 157, in handle_browser_warning
    error='Function isBrowserSupported not found.')
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 228, in wait_for_script
    return self.wait_for(condition, error=error, timeout=timeout)
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 94, in format_error
    raise e
WebDriverException: Message: u"JavaScript error (WARNING: The server did not provide any stacktrace information)\nCommand duration or timeout: 32 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: 9077787b-b82a-41dc-965f-4fe9e365ad6a\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: Method newInstance0 threw an error in None 

======================================================================
ERROR: test_gui_unit_tests (__main__.TestBasics)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_charm_running.py", line 59, in test_gui_unit_tests
    total, failures = run_tests()
  File "test/test_charm_running.py", line 48, in run_tests
    self.wait_for_css_selector('#mocha-stats')
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 218, in wait_for_css_selector
    elements = self.wait_for(condition, error=error, timeout=timeout)
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 94, in format_error
    raise e
WebDriverException: Message: u"Finding elements returned an unexpected error (WARNING: The server did not provide any stacktrace information)\nCommand duration or timeout: 20.06 seconds\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: 9077787b-b82a-41dc-965f-4fe9e365ad6a\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: Method newInstance0 threw an error in None 

======================================================================
ERROR: test_charm_deploy (__main__.TestDeploy)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_charm_running.py", line 92, in test_charm_deploy
    self.handle_browser_warning()
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 157, in handle_browser_warning
    error='Function isBrowserSupported not found.')
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 228, in wait_for_script
    return self.wait_for(condition, error=error, timeout=timeout)
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 94, in format_error
    raise e
WebDriverException: Message: u"JavaScript error (WARNING: The server did not provide any stacktrace information)\nCommand duration or timeout: 34 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: 9077787b-b82a-41dc-965f-4fe9e365ad6a\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: Method newInstance0 threw an error in None 

======================================================================
ERROR: test_charm_deploy (__main__.TestDeploy)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jujugui-merger/gui-branch/lib/retry.py", line 31, in f_retry
    return f(*args, **kwargs)
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 251, in restart_api
    self.handle_browser_warning()
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 157, in handle_browser_warning
    error='Function isBrowserSupported not found.')
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 228, in wait_for_script
    return self.wait_for(condition, error=error, timeout=timeout)
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 94, in format_error
    raise e
WebDriverException: Message: u"JavaScript error (WARNING: The server did not provide any stacktrace information)\nCommand duration or timeout: 35 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: 9077787b-b82a-41dc-965f-4fe9e365ad6a\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: Method newInstance0 threw an error in None 

======================================================================
ERROR: test_staging_services (__main__.TestDeploy)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_charm_running.py", line 120, in test_staging_services
    self.handle_browser_warning()
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 157, in handle_browser_warning
    error='Function isBrowserSupported not found.')
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 228, in wait_for_script
    return self.wait_for(condition, error=error, timeout=timeout)
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 94, in format_error
    raise e
WebDriverException: Message: u"JavaScript error (WARNING: The server did not provide any stacktrace information)\nCommand duration or timeout: 34 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: 9077787b-b82a-41dc-965f-4fe9e365ad6a\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: Method newInstance0 threw an error in None 

======================================================================
FAIL: test_title (__main__.TestBasics)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_charm_running.py", line 11, in test_title
    self.assertTrue('Juju Admin' in self.driver.title)
AssertionError: False is not true

----------------------------------------------------------------------
Ran 6 tests in 92.480s

FAILED (failures=1, errors=6)
254
Message: u"JavaScript error (WARNING: The server did not provide any stacktrace information)\nCommand duration or timeout: 35 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: 9077787b-b82a-41dc-965f-4fe9e365ad6a\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: Method newInstance0 threw an error in None 
Method newInstance0 threw an error in None
Message: u"JavaScript error (WARNING: The server did not provide any stacktrace information)\nCommand duration or timeout: 34 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: 9077787b-b82a-41dc-965f-4fe9e365ad6a\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: Method newInstance0 threw an error in None 
Method newInstance0 threw an error in None
Collected exit code 1
Final instance state
i-000079f4 running i-000079f5 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