Comment 1 for bug 1759461

Revision history for this message
John A Meinel (jameinel) wrote : Re: [Bug 1759461] [NEW] intermittent failure github.com/juju/juju/cmd/juju/action ShowOutputSuite.TestRun

This happened twice in a row:
http://ci.jujucharms.com/job/github-merge-juju/273/testReport/github/com_juju_juju_cmd_juju_action/TestPackage/

it seems it should be looked at soon.

On Wed, Mar 28, 2018 at 7:52 AM, John A Meinel <email address hidden>
wrote:

> Public bug reported:
>
> http://ci.jujucharms.com/job/github-merge-
> juju/272/testReport/junit/github/com_juju_juju_cmd_juju_
> action/TestPackage/
>
> ----------------------------------------------------------------------
> FAIL: showoutput_test.go:59: ShowOutputSuite.TestRun
>
> test 0 (model flag -m): should handle wait-time formatting errors
> test 0 (model flag --model): should handle wait-time formatting errors
> test 1 (model flag -m): should timeout if result never comes
> test 1 (model flag --model): should timeout if result never comes
> test 2 (model flag -m): should pass api error through properly
> test 2 (model flag --model): should pass api error through properly
> test 3 (model flag -m): should fail with no tag matches
> test 3 (model flag --model): should fail with no tag matches
> test 4 (model flag -m): should fail with no results
> test 4 (model flag --model): should fail with no results
> test 5 (model flag -m): should error correctly with multiple results
> test 5 (model flag --model): should error correctly with multiple results
> test 6 (model flag -m): should pass through an error from the API server
> test 6 (model flag --model): should pass through an error from the API
> server
> test 7 (model flag -m): should only return once status is no longer
> running or pending
> test 7 (model flag --model): should only return once status is no longer
> running or pending
> showoutput_test.go:274:
> testRunHelper(
> c, s,
> makeFakeClient(
> t.withAPIDelay,
> t.withAPITimeout,
> t.withTags,
> t.withAPIResponse,
> params.ActionsByNames{},
> t.withAPIError),
> t.expectedErr,
> t.expectedOutput,
> t.withClientWait,
> t.withClientQueryID,
> modelFlag,
> )
> showoutput_test.go:303:
> c.Check(err, gc.ErrorMatches, expectedErr)
> ... value = nil
> ... regex string = "test timed out before wait time"
> ... Error value is nil
>
> test 8 (model flag -m): should pretty-print action output
> test 8 (model flag --model): should pretty-print action output
> test 9 (model flag -m): should pretty-print action output with no
> completed time
> test 9 (model flag --model): should pretty-print action output with no
> completed time
> test 10 (model flag -m): should pretty-print action output with no
> enqueued time
> test 10 (model flag --model): should pretty-print action output with no
> enqueued time
> test 11 (model flag -m): should pretty-print action output with no started
> time
> test 11 (model flag --model): should pretty-print action output with no
> started time
> test 12 (model flag -m): should set an appropriate timer and wait, get a
> result
> test 12 (model flag --model): should set an appropriate timer and wait,
> get a result
> OOPS: 8 passed, 1 FAILED
>
> ** Affects: juju
> Importance: Medium
> Status: Triaged
>
>
> ** Tags: actions intermittent-failure
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1759461
>
> Title:
> intermittent failure github.com/juju/juju/cmd/juju/action
> ShowOutputSuite.TestRun
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/juju/+bug/1759461/+subscriptions
>