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

Jenkins Notification devnull at canonical.com
Tue May 28 20:55:50 UTC 2013


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

Changes:

[Brad Crittenden] Create a redirecting http server

For 'make prod' and 'make devel', the use of the SimpleHTTPServer fails if a
path not represented on the file server is entered directly into the address
field.  This situation occurs if one manually enters a namespace
(e.g. ':gui:') or uses a feature flag.

This branch adds a small wrapper python program that returns '/index.html'
if the path does not exist on the file system.  This approach isn't perfect as
you get shunted back to the front page.

R=benji, gary.poster
CC=
https://codereview.appspot.com/9836043

------------------------------------------
[...truncated 4 lines...]
info result: bzr revision-info -d <http://10.189.74.2:8080/job/jujugui-test-charm/ws/> returned 0. Command output: "693 bac at canonical.com-20130528200557-fabcvoi63k9m2gp0
" 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".
+N  bin/http_server.py
+N  test/test_http_server.py
 M  .bzrignore
 M  Makefile
 M  test/test_deploy_charm_for_testing.py
All changes applied successfully.
Now on revision 694.
[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: "694 bac at canonical.com-20130528202245-9v60w94mc0rkc5hp
" stderr: ""
[jujugui-test-charm] $ bzr log -v -r revid:bac at canonical.com-20130528200557-fabcvoi63k9m2gp0..revid:bac at canonical.com-20130528202245-9v60w94mc0rkc5hp --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: "694 bac at canonical.com-20130528202245-9v60w94mc0rkc5hp
" stderr: ""
RevisionState revno:694 revid:bac at canonical.com-20130528202245-9v60w94mc0rkc5hp
[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/hudson4176897022004082863.sh
+ set -ex
+ cat
+ chmod +x /tmp/test-runner
+ sudo -E su -p -c /tmp/test-runner - jujugui-merger
Clean and Prep
2013-05-28 20:29:15,001 INFO Destroying environment 'juju-gui-testing' (type: openstack)...
2013-05-28 20:29:17,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] 
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-00007fef
Using image 4dade8d2-2b95-4e4c-b947-c5e3ff4a31ea (ubuntu-released/ubuntu-precise-12.04-amd64-server-20130527-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.255
Assigned IP to i-00007fef
Exposing the service...
2013-05-28 20:39:20,297 INFO Connecting to environment...
2013-05-28 20:39:22,957 INFO Connected to environment.
2013-05-28 20:39:25,032 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) ... ok
test_charm_deploy (__main__.TestStaging) ... ok
test_initial_services (__main__.TestStaging) ... ok
test_service_view (__main__.TestStaging) ... ok
test_unit_view (__main__.TestStaging) ... ok

----------------------------------------------------------------------
Ran 12 tests in 318.438s

OK
* Platform: Internet Explorer 10 (Windows)
* Testcase: TestAuthentication
* Details: https://saucelabs.com/jobs/26fec0325e054f39bcabd5c19cdd99f4
* Platform: Internet Explorer 10 (Windows)
* Testcase: TestBasics
* Details: https://saucelabs.com/jobs/d527a041ccc64647964089aad1d2fbe0
* Platform: Internet Explorer 10 (Windows)
* Testcase: TestSandbox
* Details: https://saucelabs.com/jobs/db811855581140c5bb1230559b321d7d
- setting new options: sandbox=True
- setting new options: sandbox=False
* Platform: Internet Explorer 10 (Windows)
* Testcase: TestStaging
* Details: https://saucelabs.com/jobs/d46ddd84fb9b4a5d8156319ac1ad4a5b

- restarting API backend with ip:10.55.60.255...
- done
Launching chrome 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) ... ok
test_charm_deploy (__main__.TestStaging) ... ok
test_initial_services (__main__.TestStaging) ... ok
test_service_view (__main__.TestStaging) ... ok
test_unit_view (__main__.TestStaging) ... ok

----------------------------------------------------------------------
Ran 12 tests in 229.651s

OK
* Platform: Chrome 26.0.1410.63 (Linux)
* Testcase: TestAuthentication
* Details: https://saucelabs.com/jobs/02b4ce76de2d45359b94caa8534d7fee
* Platform: Chrome 26.0.1410.63 (Linux)
* Testcase: TestBasics
* Details: https://saucelabs.com/jobs/90e75670a44e4306a7e7d9dde3dbaecc
* Platform: Chrome 26.0.1410.63 (Linux)
* Testcase: TestSandbox
* Details: https://saucelabs.com/jobs/5bcdc3ba36124cc6b37c0f593ecfeff6
- setting new options: sandbox=True
- setting new options: sandbox=False
* Platform: Chrome 26.0.1410.63 (Linux)
* Testcase: TestStaging
* Details: https://saucelabs.com/jobs/9511d2a037eb47c2aa0b2fbed9fdecea

- restarting API backend with ip:10.55.60.255...
- done
Launching firefox 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) ... ok
test_charm_deploy (__main__.TestStaging) ... ERROR
test_initial_services (__main__.TestStaging) ... ERROR
test_service_view (__main__.TestStaging) ... ERROR
test_unit_view (__main__.TestStaging) ... ERROR

======================================================================
ERROR: test_charm_deploy (__main__.TestStaging)
----------------------------------------------------------------------
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 407, in restart_api
    timeout=30)
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 338, in wait_for_script
    return cls.wait_for(condition, error=error, timeout=timeout)
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 92, in format_error
    raise e
TimeoutException: Message: 'Impossible to connect to the API backend after restart.' 

======================================================================
ERROR: test_initial_services (__main__.TestStaging)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_charm_running.py", line 158, in test_initial_services
    self.handle_login()
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 284, in handle_login
    self.wait_for_provider_type(error='Provider type not found.')
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 260, in wait_for_provider_type
    return self.wait_for(provider_type, error=error, timeout=timeout)
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 92, in format_error
    raise e
TimeoutException: Message: 'Provider type not found.' 

======================================================================
ERROR: test_service_view (__main__.TestStaging)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_charm_running.py", line 166, in test_service_view
    self.handle_login()
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 284, in handle_login
    self.wait_for_provider_type(error='Provider type not found.')
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 260, in wait_for_provider_type
    return self.wait_for(provider_type, error=error, timeout=timeout)
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 92, in format_error
    raise e
TimeoutException: Message: 'Provider type not found.' 

======================================================================
ERROR: test_unit_view (__main__.TestStaging)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_charm_running.py", line 184, in test_unit_view
    self.handle_login()
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 284, in handle_login
    self.wait_for_provider_type(error='Provider type not found.')
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 260, in wait_for_provider_type
    return self.wait_for(provider_type, error=error, timeout=timeout)
  File "/home/jujugui-merger/gui-branch/test/browser.py", line 92, in format_error
    raise e
TimeoutException: Message: 'Provider type not found.' 

----------------------------------------------------------------------
Ran 12 tests in 433.115s

FAILED (errors=4)
* Platform: Firefox 16.0.1 (Linux)
* Testcase: TestAuthentication
* Details: https://saucelabs.com/jobs/7831f23953444faab4d34b862d41ce83
* Platform: Firefox 16.0.1 (Linux)
* Testcase: TestBasics
* Details: https://saucelabs.com/jobs/72dbddb452214e8d9876220f6a3a5d6e
* Platform: Firefox 16.0.1 (Linux)
* Testcase: TestSandbox
* Details: https://saucelabs.com/jobs/9e7380abc31c446f8e5add83ddc83ab0
- setting new options: sandbox=True
- setting new options: sandbox=False
* Platform: Firefox 16.0.1 (Linux)
* Testcase: TestStaging
* Details: https://saucelabs.com/jobs/7332d6bfc4754f08ac3896ad71541bf9

- restarting API backend with ip:10.55.60.255...
Message: 'Impossible to connect to the API backend after restart.' 
Message: 'Provider type not found.' 
Message: 'Provider type not found.' 
Message: 'Provider type not found.' 
Quitting...
2013-05-28 20:55:46,865 INFO Destroying environment 'juju-gui-testing' (type: openstack)...
2013-05-28 20:55:49,746 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-00007fee running i-00007fef 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