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

Jenkins Notification devnull at canonical.com
Tue Apr 23 18:14:08 UTC 2013


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

------------------------------------------
Started by user garyposter
[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: "600 rick.harding at canonical.com-20130423173003-a1ep3scwo8q3t8lv
" 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: "600 rick.harding at canonical.com-20130423173003-a1ep3scwo8q3t8lv
" stderr: ""
[jujugui-test-charm] $ bzr log -v -r revid:rick.harding at canonical.com-20130423173003-a1ep3scwo8q3t8lv..revid:rick.harding at canonical.com-20130423173003-a1ep3scwo8q3t8lv --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: "600 rick.harding at canonical.com-20130423173003-a1ep3scwo8q3t8lv
" stderr: ""
RevisionState revno:600 revid:rick.harding at canonical.com-20130423173003-a1ep3scwo8q3t8lv
[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/hudson8271988364741224755.sh
+ set -ex
+ cat
+ chmod +x /tmp/test-runner
+ sudo -E su -p -c /tmp/test-runner - jujugui-merger
Clean and Prep
2013-04-23 17:54:44,943 INFO Destroying environment 'juju-gui-testing' (type: openstack)...
2013-04-23 17:54:47,841 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-00007aa8
INSTANCE	i-00007aa8
+ set +x

Waiting for instances to terminate
Waiting for instances to terminate
Waiting for instances to terminate
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-00007aab
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.182
Assigned IP to i-00007aab
Exposing the service...
2013-04-23 18:11:57,909 INFO Connecting to environment...
2013-04-23 18:12:00,680 INFO Connected to environment.
2013-04-23 18:12:02,696 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
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
TimeoutException: Message: 'Function isBrowserSupported not found.' 

======================================================================
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
TimeoutException: Message: 'Function isBrowserSupported not found.' 

======================================================================
ERROR: test_gui_unit_tests (__main__.TestBasics)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_charm_running.py", line 63, in test_gui_unit_tests
    total, failures = run_tests()
  File "test/test_charm_running.py", line 51, in run_tests
    self.driver.execute_script('window.focus();')
  File "/usr/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 388, in execute_script
    {'script': script, 'args':converted_args})['value']
  File "/usr/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 156, in execute
    self.error_handler.check_response(response)
  File "/usr/lib/python2.7/dist-packages/selenium/webdriver/remote/errorhandler.py", line 147, in check_response
    raise exception_class(message, screen, stacktrace)
WebDriverException: Message: u"JavaScript error (WARNING: The server did not provide any stacktrace information)\nCommand duration or timeout: 31 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: bca51b73-3de4-400c-b51c-48121e4ac4f4\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 96, 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
TimeoutException: Message: 'Function isBrowserSupported not found.' 

======================================================================
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
TimeoutException: Message: 'Function isBrowserSupported not found.' 

======================================================================
ERROR: test_staging_services (__main__.TestDeploy)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_charm_running.py", line 124, 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
TimeoutException: Message: 'Function isBrowserSupported not found.' 

======================================================================
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 124.344s

FAILED (failures=1, errors=6)
Browser: ie
Test run details at https://saucelabs.com/jobs/a3f25ec9eee14b2ab8344f35cb0b1839
Message: 'Function isBrowserSupported not found.' 
Message: 'Function isBrowserSupported not found.' 
Message: 'Function isBrowserSupported not found.' 
restart_api with ip:10.55.60.182
Message: 'Function isBrowserSupported not found.' 
Message: 'Function isBrowserSupported not found.' 
Collected exit code 1
Final instance state
i-00007aab running i-00007aaa 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