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

Gary Poster gary.poster at canonical.com
Thu Apr 18 13:57:45 UTC 2013


The following is a list of CI failures.  I was able to dupe everything
except the last issue (the before all hook) by running "make
test-prod-server" and then running the full test suite in Firefox
repeatedly until I saw the error.   I was unable to dupe the first two
errors by running the charm configuration suite in isolation, or by
using "make test-server".

I've seen all three of these intermittently in the past.  We've talked
to Rick about the third in the past.

charm configuration:

- must show the description in  tooltip: expected '' to equal 'Name of
the service to be deployed.  Must be unique.'

- must hide the tooltip when its field scrolls away: expected false to
equal true

browser search widget:

- should support search change events: timeout of 200ms exceeded
@http://localhost:8084/test/assets/mocha.js:3974

charm panel:
- before all hook failed without data I could see in the saucelabs video.

Gary



On 04/18/2013 08:25 AM, Gary Poster wrote:
> I think someone re-introduced the test fragility that Jeff and I fixed
> last week, because we were not seeing this kind of problem for awhile.
> I'll make a high (possibly critical) card to investigate and fix.
> 
> Gary
> 
> On 04/18/2013 07:33 AM, Jenkins Notification wrote:
>> See <http://10.189.74.2:8080/job/jujugui-test-charm/319/>
>>
>> ------------------------------------------
>> Started by user frankban
>> [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: "572 francesco.banconi at canonical.com-20130418094405-jg353kjzzyxgfc2p
>> " 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: "572 francesco.banconi at canonical.com-20130418094405-jg353kjzzyxgfc2p
>> " stderr: ""
>> [jujugui-test-charm] $ bzr log -v -r revid:francesco.banconi at canonical.com-20130418094405-jg353kjzzyxgfc2p..revid:francesco.banconi at canonical.com-20130418094405-jg353kjzzyxgfc2p --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: "572 francesco.banconi at canonical.com-20130418094405-jg353kjzzyxgfc2p
>> " stderr: ""
>> RevisionState revno:572 revid:francesco.banconi at canonical.com-20130418094405-jg353kjzzyxgfc2p
>> [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/hudson5845418030468450604.sh
>> + set -ex
>> + cat
>> + chmod +x /tmp/test-runner
>> + sudo -E su -p -c /tmp/test-runner - jujugui-merger
>> Clean and Prep
>> 2013-04-18 11:11:07,415 INFO Destroying environment 'juju-gui-testing' (type: openstack)...
>> 2013-04-18 11:11:10,365 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-00007a16
>> INSTANCE	i-00007a16
>> + 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-00007a1b
>> 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.59
>> Assigned IP to i-00007a1b
>> Exposing the service...
>> 2013-04-18 11:25:59,101 INFO Connecting to environment...
>> 2013-04-18 11:26:01,821 INFO Connected to environment.
>> 2013-04-18 11:26:03,923 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) ... ok
>> test_title (__main__.TestBasics) ... ok
>> test_charm_deploy (__main__.TestDeploy) ... ok
>> test_staging_services (__main__.TestDeploy) ... ok
>>
>> ----------------------------------------------------------------------
>> Ran 6 tests in 158.420s
>>
>> OK
>> Browser: ie
>> Test run details at https://saucelabs.com/jobs/aa80b6997f12434c99b91202184eb53b
>> restart_api with ip:10.55.60.59
>> Launching chrome tests.
>> 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__.TestDeploy) ... ok
>> test_staging_services (__main__.TestDeploy) ... ok
>>
>> ----------------------------------------------------------------------
>> Ran 6 tests in 121.815s
>>
>> OK
>> Browser: chrome
>> Test run details at https://saucelabs.com/jobs/96470aa090df4467b3baf9221026b092
>> restart_api with ip:10.55.60.59
>> Launching firefox 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: 2 failure(s) running 74 tests.
>>
>> ----------------------------------------------------------------------
>> Ran 6 tests in 154.603s
>>
>> FAILED (failures=1)
>> Browser: firefox
>> Test run details at https://saucelabs.com/jobs/46851c7c88d44ed2aa2810046b05824f
>> 1 failure(s) running 66 tests.  Retrying.
>> 2 failure(s) running 75 tests.  Retrying.
>> 2 failure(s) running 75 tests.  Retrying.
>> 1 failure(s) running 66 tests.  Retrying.
>> restart_api with ip:10.55.60.59
>> Collected exit code 1
>> Final instance state
>> i-00007a1a running i-00007a1b 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