intermittent test failure: ProvisionerSuite.TestProvisionerRetriesTransientErrors

Bug #1749709 reported by John A Meinel
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Invalid
Medium
Unassigned
2.3
Won't Fix
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.

Revision history for this message
John A Meinel (jameinel) wrote :

(was seen on the 2.3 branch.)

Revision history for this message
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.

Revision history for this message
Tim Penhey (thumper) wrote :
Revision history for this message
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

Revision history for this message
John A Meinel (jameinel) wrote : Re: [Bug 1749709] Re: intermittent test failure: ProvisionerSuite.TestProvisionerRetriesTransientErrors

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
>

Revision history for this message
Anastasia (anastasia-macmood) wrote :

we have done a bit of work on provisioner tests and this one is no longer in our codebase.

Changed in juju:
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.