LogsSuite.TestPruneLogsBySize intermittent failure count of pruned entries is not as expected

Bug #1803775 reported by Canonical Juju QA Bot
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Invalid
Medium
Unassigned

Bug Description

02:25:38 FAIL: logs_test.go:226: LogsSuite.TestPruneLogsBySize
02:25:38
02:25:38 [LOG] 0:00.046 DEBUG juju.state mongodb initialised
02:25:38 [LOG] 0:00.047 INFO juju.state running state anonymously; using unique client id
02:25:38 [LOG] 0:00.047 INFO juju.state starting standard state workers
02:25:38 [LOG] 0:00.048 INFO juju.state creating cloud image metadata storage
02:25:38 [LOG] 0:00.048 INFO juju.state started state for model-15f2ada7-0441-4740-873d-808dd49836d2 successfully
02:25:38 [LOG] 0:00.049 DEBUG juju.state.presence using $bit operations with Mongo 3.2.15
02:25:38 [LOG] 0:00.051 INFO juju.state initializing controller model 15f2ada7-0441-4740-873d-808dd49836d2
02:25:38 [LOG] 0:00.332 INFO juju.state running state anonymously; using unique client id
02:25:38 [LOG] 0:00.332 INFO juju.state starting standard state workers
02:25:38 [LOG] 0:00.333 INFO juju.state creating cloud image metadata storage
02:25:38 [LOG] 0:00.333 INFO juju.state started state for model-4947d7af-69c3-4402-8a4e-5adc3655fee8 successfully
02:25:38 [LOG] 0:00.335 DEBUG juju.state.presence using $bit operations with Mongo 3.2.15
02:25:38 [LOG] 0:08.199 INFO juju.state running state anonymously; using unique client id
02:25:38 [LOG] 0:08.199 INFO juju.state starting standard state workers
02:25:38 [LOG] 0:08.199 INFO juju.state creating cloud image metadata storage
02:25:38 [LOG] 0:08.199 INFO juju.state started state for model-87ed6f10-10ed-4737-8869-af9fae9ce024 successfully
02:25:38 [LOG] 0:08.201 DEBUG juju.state.presence using $bit operations with Mongo 3.2.15
02:25:38 [LOG] 0:19.244 DEBUG test pruned 2469 logs for model 87ed6f10-10ed-4737-8869-af9fae9ce024
02:25:38 [LOG] 0:19.244 DEBUG test pruned 394 logs for model 4947d7af-69c3-4402-8a4e-5adc3655fee8
02:25:38 logs_test.go:254:
02:25:38 c.Check(msg, gc.Equals, "pruning complete after 0s, pruned 3243 entries from 2 models, logs db now 1 MB")
02:25:38 ... obtained string = "pruning complete after 0s, pruned 2863 entries from 2 models, logs db now 1 MB"
02:25:38 ... expected string = "pruning complete after 0s, pruned 3243 entries from 2 models, logs db now 1 MB"
02:25:38
02:25:38 [LOG] 0:19.261 DEBUG juju.state closed state without error
02:25:38 [LOG] 0:19.262 DEBUG juju.state closed state without error
02:25:38 [LOG] 0:19.270 DEBUG juju.state closed state without error

http://10.125.0.203:8080/job/RunUnittests-arm64/1073/console

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

Since this failure was reported, we have made a lot changes in the area, including removing this test in favor of a more efficient one.

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

Other bug subscribers

Remote bug watches

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