intermittent failure github.com/juju/juju/cmd/juju/action ShowOutputSuite.TestRun
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
Medium
|
John A Meinel |
Bug Description
-------
FAIL: showoutput_
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_
testRunHelper(
c, s,
modelFlag,
)
showoutput_
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
Changed in juju: | |
status: | Fix Committed → Fix Released |
This happened twice in a row: ci.jujucharms. com/job/ github- merge-juju/ 273/testReport/ github/ com_juju_ juju_cmd_ juju_action/ TestPackage/
http://
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: ci.jujucharms. com/job/ github- merge- testReport/ junit/github/ com_juju_ juju_cmd_ juju_ ------- ------- ------- ------- ------- ------- ------- ------- ------- test.go: 59: ShowOutputSuite .TestRun test.go: 274: ActionsByNames{ }, ryID, test.go: 303:
>
> http://
> juju/272/
> action/TestPackage/
>
> -------
> FAIL: showoutput_
>
> 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_
> testRunHelper(
> c, s,
> makeFakeClient(
> t.withAPIDelay,
> t.withAPITimeout,
> t.withTags,
> t.withAPIResponse,
> params.
> t.withAPIError),
> t.expectedErr,
> t.expectedOutput,
> t.withClientWait,
> t.withClientQue
> modelFlag,
> )
> showoutput_
> 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
>
>
...