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

Jenkins Notification devnull at canonical.com
Fri Apr 12 07:10:32 UTC 2013


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

------------------------------------------
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: "540 gary.poster at canonical.com-20130411232025-2p05u0yavdid1yl2
" 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: "540 gary.poster at canonical.com-20130411232025-2p05u0yavdid1yl2
" stderr: ""
[jujugui-test-charm] $ bzr log -v -r revid:gary.poster at canonical.com-20130411232025-2p05u0yavdid1yl2..revid:gary.poster at canonical.com-20130411232025-2p05u0yavdid1yl2 --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: "540 gary.poster at canonical.com-20130411232025-2p05u0yavdid1yl2
" stderr: ""
RevisionState revno:540 revid:gary.poster at canonical.com-20130411232025-2p05u0yavdid1yl2
[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/hudson6236137605682996745.sh
+ set -ex
+ cat
+ chmod +x /tmp/test-runner
+ sudo -E su -p -c /tmp/test-runner - jujugui-merger
Clean and Prep
2013-04-12 06:28:58,542 INFO Destroying environment 'juju-gui-testing' (type: openstack)...
2013-04-12 06:29:01,554 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-00007955
INSTANCE	i-00007955
+ 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-0000795b
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.230
Assigned IP to i-0000795b
Exposing the service...
2013-04-12 07:08:56,484 INFO Connecting to environment...
2013-04-12 07:08:59,322 INFO Connected to environment.
2013-04-12 07:09:01,393 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/65fcd690ee9b4e2bb8229e1d1320a1b3
Message: u"JavaScript error (WARNING: The server did not provide any stacktrace information)\nCommand duration or timeout: 33 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: d287146d-b128-43dc-bc31-5aca6924860a\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: 45 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: d287146d-b128-43dc-bc31-5aca6924860a\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.02 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: d287146d-b128-43dc-bc31-5aca6924860a\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: 33 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: d287146d-b128-43dc-bc31-5aca6924860a\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: 33 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: d287146d-b128-43dc-bc31-5aca6924860a\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: 45 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: d287146d-b128-43dc-bc31-5aca6924860a\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.02 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: d287146d-b128-43dc-bc31-5aca6924860a\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: 33 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: d287146d-b128-43dc-bc31-5aca6924860a\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 44, in f_retry
    return f(*args, **kwargs)
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 246, 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.60.230', 'sudo', 'service', 'juju-api-improv', 'restart']' returned non-zero exit status 255

======================================================================
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: 48 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: d287146d-b128-43dc-bc31-5aca6924860a\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 89.788s

FAILED (failures=1, errors=6)
230
Command '['ssh', 'ubuntu at 10.55.60.230', 'sudo', 'service', 'juju-api-improv', 'restart']' returned non-zero exit status 255, Retrying in 3 seconds...
restart_api with ip:10.55.60.230
Message: u"JavaScript error (WARNING: The server did not provide any stacktrace information)\nCommand duration or timeout: 48 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: d287146d-b128-43dc-bc31-5aca6924860a\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-0000795b running i-0000795a 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