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

Gary Poster gary.poster at canonical.com
Tue Apr 23 17:55:28 UTC 2013


Looks spurious.  I restarted.

Gary

On 04/23/2013 01:45 PM, Jenkins Notification wrote:
> See <http://10.189.74.2:8080/job/jujugui-test-charm/347/changes>
> 
> Changes:
> 
> [Rick Harding] Fixes #1167514 and #1171529 charm token display
> 
> - Hack the charm-token widget to not use the BrowserCharm.id to set the node's
> ID attribute. There's no promise that the tokens are unique on a page of
> display.
> - Update the editorial to set the active CSS on selected charms.
> - Update the subapp to make sure the editorial is rendered with a currently
> selected charm if the url is actually a /sidebar/charm/id state.
> 
> R=jeff.pihach, j.c.sackett
> CC=
> https://codereview.appspot.com/8920043
> 
> ------------------------------------------
> 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: "599 rick.harding at canonical.com-20130423161407-f4rol92i8w2me5r4
> " 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/subapps/browser/browser.js
>  M  app/subapps/browser/views/editorial.js
>  M  app/templates/charm-token.handlebars
>  M  app/widgets/charm-token.js
>  M  test/test_charm_token.js
> All changes applied successfully.
> Now on revision 600.
> [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-20130423161407-f4rol92i8w2me5r4..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/hudson126516328779567722.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:31:50,866 INFO Destroying environment 'juju-gui-testing' (type: openstack)...
> 2013-04-23 17:31:52,299 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-00007aa9
> 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-00007aa9
> Exposing the service...
> 2013-04-23 17:42:56,617 INFO Connecting to environment...
> 2013-04-23 17:42:59,446 INFO Connected to environment.
> 2013-04-23 17:43:01,492 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: 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: b3c6d180-e9c9-4c00-8986-60342473ba85\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.345s
> 
> FAILED (failures=1, errors=6)
> Browser: ie
> Test run details at https://saucelabs.com/jobs/e19441870bce4b9f8abbe172d72c6042
> 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-00007aa8 running i-00007aa9 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