It's a real failure! (wasRe: Build failed in Jenkins: jujugui-test-charm #288)
Gary Poster
gary.poster at canonical.com
Fri Apr 12 22:44:02 UTC 2013
On 04/12/2013 05:57 PM, Gary Poster wrote:
> For once, CI is reporting a real failure in trunk.
>
> BrowserCharm
> tracks recent commits in the last 30 days.
> expected 1 to equal 3
>
> I'll report back when I see ehat revision caused this.
It's an older date-dependent test that just went off in a time bomb, I
think.
Also the valueFn is not being lazy for me, for some reason, so I had to
switch it to a getter.
http://paste.ubuntu.com/5702985/ fixed it for me. Rick will look at it
later when he gets a chance.
>
> Gary
>
> On 04/12/2013 05:37 PM, Jenkins Notification wrote:
>> See <http://10.189.74.2:8080/job/jujugui-test-charm/288/>
>>
>> ------------------------------------------
>> 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: "546 matthew.scott at canonical.com-20130412192755-jsz53pjnp1gx3t25
>> " 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: "546 matthew.scott at canonical.com-20130412192755-jsz53pjnp1gx3t25
>> " stderr: ""
>> [jujugui-test-charm] $ bzr log -v -r revid:matthew.scott at canonical.com-20130412192755-jsz53pjnp1gx3t25..revid:matthew.scott at canonical.com-20130412192755-jsz53pjnp1gx3t25 --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: "546 matthew.scott at canonical.com-20130412192755-jsz53pjnp1gx3t25
>> " stderr: ""
>> RevisionState revno:546 revid:matthew.scott at canonical.com-20130412192755-jsz53pjnp1gx3t25
>> [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/hudson5054252219165882907.sh
>> + set -ex
>> + cat
>> + chmod +x /tmp/test-runner
>> + sudo -E su -p -c /tmp/test-runner - jujugui-merger
>> Clean and Prep
>> 2013-04-12 21:21:05,440 INFO Destroying environment 'juju-gui-testing' (type: openstack)...
>> 2013-04-12 21:21:08,316 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-00007987
>> INSTANCE i-00007987
>> + 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-0000798a
>> 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.230
>> Assigned IP to i-0000798a
>> Exposing the service...
>> 2013-04-12 21:35:22,976 INFO Connecting to environment...
>> 2013-04-12 21:35:26,220 INFO Connected to environment.
>> 2013-04-12 21:35:28,311 INFO 'status' command finished successfully
>> APP_URL= http://91.189.93.93
>> Launching ie tests.
>> test_environment_connection (__main__.TestBasics) ... ok
>> test_environment_name (__main__.TestBasics) ... ok
>> test_gui_unit_tests (__main__.TestBasics) ... FAIL
>> test_title (__main__.TestBasics) ... ok
>> test_charm_deploy (__main__.TestDeploy) ... ok
>> test_staging_services (__main__.TestDeploy) ... ok
>>
>> ======================================================================
>> FAIL: test_gui_unit_tests (__main__.TestBasics)
>> ----------------------------------------------------------------------
>> Traceback (most recent call last):
>> File "test/test_charm_running.py", line 72, in test_gui_unit_tests
>> self.fail(msg)
>> AssertionError: 1 failure(s) running 472 tests.
>>
>> ----------------------------------------------------------------------
>> Ran 6 tests in 133.789s
>>
>> FAILED (failures=1)
>> Browser: ie
>> Test run details at https://saucelabs.com/jobs/33d98e954f064c31bb6314fb7007aebf
>> restart_api with ip:10.55.60.230
>> Collected exit code 1
>> Final instance state
>> i-00007989 running i-0000798a running
>> + cat /home/jujugui-merger/exit-status
>> + ec=1
>> + [ 0 -eq 1 ]
>> + cat /home/jujugui-merger/instance-state
>> + wc -l
>> + [ 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