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

Jenkins Notification devnull at canonical.com
Tue Jun 11 15:09:36 UTC 2013


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

Changes:

[Rick Harding] Check for tab id and load tab in charm details.

- Make the hash part of the subapp state
- Do not reload or redraw the charm details because a different tab was
selected
- The anchor should update itself in the url as each tab is selected.
- Hitting a direct link to a specific charm with the tab id anchor will load
the charm details and auto load the tab specified.

R=j.c.sackett, jeff.pihach
CC=
https://codereview.appspot.com/10140047

------------------------------------------
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: "716 rick.harding at canonical.com-20130611140434-nyjkc0ckoy30r8zv
" 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/charm.js
 M  test/test_browser_charm_details.js
All changes applied successfully.
Now on revision 717.
[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: "717 rick.harding at canonical.com-20130611145010-v5gttldmzdyheq0g
" stderr: ""
[jujugui-test-charm] $ bzr log -v -r revid:rick.harding at canonical.com-20130611140434-nyjkc0ckoy30r8zv..revid:rick.harding at canonical.com-20130611145010-v5gttldmzdyheq0g --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: "717 rick.harding at canonical.com-20130611145010-v5gttldmzdyheq0g
" stderr: ""
RevisionState revno:717 revid:rick.harding at canonical.com-20130611145010-v5gttldmzdyheq0g
[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/hudson8774988574165624397.sh
+ set -ex
+ cat
+ chmod +x /tmp/test-runner
+ sudo -E su -p -c /tmp/test-runner - jujugui-merger
Clean and Prep
2013-06-11 14:51:15,805 INFO Destroying environment 'juju-gui-testing' (type: openstack)...
2013-06-11 14:51:17,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] 
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-00008355
INSTANCE	i-00008355
+ 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-00008357
Using image f2ca48ce-30d5-4f1f-9075-12e64510368d (ubuntu-released/ubuntu-precise-12.04-amd64-server-20130603-disk1.img)
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.213
Assigned IP to i-00008357
Exposing the service...
2013-06-11 15:04:01,390 INFO Connecting to environment...
2013-06-11 15:04:04,304 INFO Connected to environment.
2013-06-11 15:04:06,341 INFO 'status' command finished successfully
Env: juju-gui-testing
APP_URL: http://91.189.93.93
Launching ie tests.
test_root_page (__main__.TestAuthentication) ... ok
test_service_page (__main__.TestAuthentication) ... ok
test_unit_page (__main__.TestAuthentication) ... ok
test_environment_connection (__main__.TestBasics) ... ok
test_environment_name (__main__.TestBasics) ... ok
test_gui_unit_tests (__main__.TestBasics) ... ok
test_title (__main__.TestBasics) ... ok
test_charm_deploy (__main__.TestSandbox) ... ERROR
test_charm_deploy (__main__.TestStaging) ... ERROR
test_initial_services (__main__.TestStaging) ... ok
test_service_view (__main__.TestStaging) ... ok
test_unit_view (__main__.TestStaging) ... ok

======================================================================
ERROR: test_charm_deploy (__main__.TestSandbox)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_charm_running.py", line 251, in test_charm_deploy
    self.deploy('appflower')
  File "test/test_charm_running.py", line 126, in deploy
    deploy_button.click()
  File "/usr/lib/python2.7/dist-packages/selenium/webdriver/remote/webelement.py", line 52, in click
    self._execute(Command.CLICK_ELEMENT)
  File "/usr/lib/python2.7/dist-packages/selenium/webdriver/remote/webelement.py", line 205, in _execute
    return self._parent.execute(command, params)
  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)
ElementNotVisibleException: Message: u"Cannot click on element (WARNING: The server did not provide any stacktrace information)\nCommand duration or timeout: 81 milliseconds\nBuild info: version: '2.33.0', revision: '4e90c97', time: '2013-05-22 15:32:38'\nSystem info: os.name: 'Windows Server 2012', os.arch: 'x86', os.version: '6.2', java.version: '1.6.0_43'\nSession ID: da70e316-b0c3-49f1-ad26-d1a1d8212a1d\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__.TestStaging)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_charm_running.py", line 152, in test_charm_deploy
    self.deploy('appflower')
  File "test/test_charm_running.py", line 126, in deploy
    deploy_button.click()
  File "/usr/lib/python2.7/dist-packages/selenium/webdriver/remote/webelement.py", line 52, in click
    self._execute(Command.CLICK_ELEMENT)
  File "/usr/lib/python2.7/dist-packages/selenium/webdriver/remote/webelement.py", line 205, in _execute
    return self._parent.execute(command, params)
  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)
ElementNotVisibleException: Message: u"Cannot click on element (WARNING: The server did not provide any stacktrace information)\nCommand duration or timeout: 70 milliseconds\nBuild info: version: '2.33.0', revision: '4e90c97', time: '2013-05-22 15:32:38'\nSystem info: os.name: 'Windows Server 2012', os.arch: 'x86', os.version: '6.2', java.version: '1.6.0_43'\nSession ID: 3f88562b-ee2c-482b-9f88-b5315d1948c6\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 

----------------------------------------------------------------------
Ran 12 tests in 325.406s

FAILED (errors=2)
* Platform: Internet Explorer 10 (Windows)
* Testcase: TestAuthentication
* Details: https://saucelabs.com/jobs/8ad3025c795644919e1c4266057df5b9
* Platform: Internet Explorer 10 (Windows)
* Testcase: TestBasics
* Details: https://saucelabs.com/jobs/82f1aa3a4ca64b5a8f42fa03ba77aa61
* Platform: Internet Explorer 10 (Windows)
* Testcase: TestSandbox
* Details: https://saucelabs.com/jobs/9e59e326af3c460ba35f633931372977
- setting new options: sandbox=True
- setting new options: sandbox=False
* Platform: Internet Explorer 10 (Windows)
* Testcase: TestStaging
* Details: https://saucelabs.com/jobs/0c869acf7f8f438fb66cd1f1c335f0a0

- restarting API backend with ip:10.55.60.213...
- done
Quitting...
2013-06-11 15:09:32,252 INFO Destroying environment 'juju-gui-testing' (type: openstack)...
2013-06-11 15:09:35,250 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] Collected exit code 1
Final instance state
i-00008356 running i-00008357 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