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

Jenkins Notification devnull at canonical.com
Wed Apr 10 15:40:43 UTC 2013


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

Changes:

[Nicola Larosa] Add destroy_service to the Go environment.

Add destroy_service to the Go environment, with tests.

Remove handleSetConfig from the Go environment: it is the same
as handleServiceCalls, used in its place.

Add tests for destroy_service to the Python environment too.

Increase the timeout in the test's index.html, to make debug tests
pass on my slow machine.

R=frankban, bac
CC=
https://codereview.appspot.com/8618043

------------------------------------------
Started by an SCM change
[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: "527 bac at canonical.com-20130410145339-dlmbnr3cnn0j6ftb
" 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".
 M  app/store/env/go.js
 M  test/index.html
 M  test/test_env_go.js
 M  test/test_env_python.js
All changes applied successfully.
Now on revision 528.
[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: "528 nicola.larosa at canonical.com-20130410151743-ctzzqnwmiffyj0w3
" stderr: ""
[jujugui-test-charm] $ bzr log -v -r revid:bac at canonical.com-20130410145339-dlmbnr3cnn0j6ftb..revid:nicola.larosa at canonical.com-20130410151743-ctzzqnwmiffyj0w3 --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: "528 nicola.larosa at canonical.com-20130410151743-ctzzqnwmiffyj0w3
" stderr: ""
RevisionState revno:528 revid:nicola.larosa at canonical.com-20130410151743-ctzzqnwmiffyj0w3
[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/hudson8307140985767141243.sh
+ set -ex
+ cat
+ chmod +x /tmp/test-runner
+ sudo -E su -p -c /tmp/test-runner - jujugui-merger
Clean and Prep
2013-04-10 15:20:39,443 INFO Destroying environment 'juju-gui-testing' (type: openstack)...
2013-04-10 15:20:40,833 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
ADDRESS	91.189.93.93	i-00007928
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.210
Assigned IP to i-00007928
Exposing the service...
2013-04-10 15:39:05,267 INFO Connecting to environment...
2013-04-10 15:39:07,978 INFO Connected to environment.
2013-04-10 15:39:10,059 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/e2760709e752495bb16c5b3873764372
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: 4cb1df14-b289-4b01-a007-8995dfaf3730\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: 50 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: 4cb1df14-b289-4b01-a007-8995dfaf3730\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.25 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: 4cb1df14-b289-4b01-a007-8995dfaf3730\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: 51 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: 4cb1df14-b289-4b01-a007-8995dfaf3730\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: 4cb1df14-b289-4b01-a007-8995dfaf3730\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: 50 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: 4cb1df14-b289-4b01-a007-8995dfaf3730\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.25 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: 4cb1df14-b289-4b01-a007-8995dfaf3730\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: 51 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: 4cb1df14-b289-4b01-a007-8995dfaf3730\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: 4cb1df14-b289-4b01-a007-8995dfaf3730\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: 46 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: 4cb1df14-b289-4b01-a007-8995dfaf3730\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.220s

FAILED (failures=1, errors=6)
210
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: 4cb1df14-b289-4b01-a007-8995dfaf3730\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: 46 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: 4cb1df14-b289-4b01-a007-8995dfaf3730\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-00007928 running i-00007927 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