intermittent test failure: ProvisionerSuite.TestProvisionerRetriesTransientErrors

Bug #1749709 reported by John A Meinel on 2018-02-15
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju
Medium
Unassigned
2.3
Medium
Unassigned

Bug Description

might be related to bug #1394223, but not exactly a duplicate (as stated for bug #1693392). as those are about getting a panic, and this was just getting an Error and a test failure.

Seen here:
http://ci.jujucharms.com/job/github-check-merge-juju/157/console

----------------------------------------------------------------------
FAIL: provisioner_test.go:1492: ProvisionerSuite.TestProvisionerRetriesTransientErrors
...
[LOG] 0:01.594 INFO juju.testing reset successfully reset admin password
provisioner_test.go:1536:
    c.Assert(err, jc.ErrorIsNil)
... value *errors.Err = &errors.Err{message:"cannot set status", cause:(*errors.errorString)(0xc420b62360), previous:(*errors.Err)(0xc420895270), file:"github.com/juju/juju/state/status.go", line:296} ("cannot set status: failed to reload transaction: not found")
... error stack:
 failed to reload transaction: not found
 github.com/juju/juju/state/status.go:296:
 github.com/juju/juju/state/status.go:296: cannot set status

[LOG] 0:01.644 INFO juju.testing reset successfully reset admin password
OOPS: 79 passed, 1 skipped, 1 FAILED
--- FAIL: TestPackage (66.32s)

Failed to reload transaction sounds like an mgo error case.

John A Meinel (jameinel) wrote :

(was seen on the 2.3 branch.)

Tim Penhey (thumper) wrote :

Adding extra logging. It isn't obvious what the problem is, but the test is stupid.

The provisioner code will retry provisioning errors that have a value of true in the data map for the key "transient". However nothing except this test ever sets that value.

John A Meinel (jameinel) wrote :

several intermittent failures in this test:
 bug #1753407
 bug #1754021
 bug #1749709

though they all seem slightly different. We also just saw it again in s390 in develop:
 http://10.125.0.203:8080/job/RunUnittests-s390x/277/console

Failing test with extra logging enabled, needs some work to sort through
all the logs:
http://10.125.0.203:8080/job/RunUnittests-ppc64el/282/testReport/junit/github/com_juju_juju_worker_provisioner/TestPackage/

On Mon, Mar 12, 2018 at 5:14 PM, John A Meinel <email address hidden>
wrote:

> several intermittent failures in this test:
> bug #1753407
> bug #1754021
> bug #1749709
>
> though they all seem slightly different. We also just saw it again in s390
> in develop:
> http://10.125.0.203:8080/job/RunUnittests-s390x/277/console
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1749709
>
> Title:
> intermittent test failure:
> ProvisionerSuite.TestProvisionerRetriesTransientErrors
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/juju/+bug/1749709/+subscriptions
>

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers