Closed Bug 1809932 Opened 1 year ago Closed 1 year ago

Frequent toolkit/components/cookiebanners/test/browser/browser_cookiebannerservice_getRules.js | single tracking bug

Categories

(Core :: Privacy: Anti-Tracking, defect, P5)

defect

Tracking

()

RESOLVED FIXED
111 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox109 --- unaffected
firefox110 --- fixed
firefox111 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: pbz)

References

(Regression)

Details

(Keywords: intermittent-failure, intermittent-testcase, regression)

Attachments

(1 file)

Filed by: mlaza [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=402195424&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/MQ8pp3cqRhW0xcaOVZnSHQ/runs/0/artifacts/public/logs/live_backing.log


[task 2023-01-12T15:42:12.139Z] 15:42:12     INFO - TEST-START | toolkit/components/cookiebanners/test/browser/browser_cookiebannerservice_getRules.js
[task 2023-01-12T15:42:12.176Z] 15:42:12     INFO - TEST-INFO | started process screentopng
[task 2023-01-12T15:42:12.382Z] 15:42:12     INFO - TEST-INFO | screentopng: exit 0
[task 2023-01-12T15:42:12.383Z] 15:42:12     INFO - Buffered messages logged at 15:42:12
[task 2023-01-12T15:42:12.384Z] 15:42:12     INFO - Entering setup bound 
[task 2023-01-12T15:42:12.384Z] 15:42:12     INFO - Leaving setup bound 
[task 2023-01-12T15:42:12.385Z] 15:42:12     INFO - Entering test bound test_rules_getter_no_duplicates
[task 2023-01-12T15:42:12.386Z] 15:42:12     INFO - Buffered messages finished
[task 2023-01-12T15:42:12.386Z] 15:42:12     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/cookiebanners/test/browser/browser_cookiebannerservice_getRules.js | Rules getter should only return the two test rules. - Got 371, expected 2
[task 2023-01-12T15:42:12.387Z] 15:42:12     INFO - Stack trace:
[task 2023-01-12T15:42:12.387Z] 15:42:12     INFO - chrome://mochikit/content/browser-test.js:test_is:1477
[task 2023-01-12T15:42:12.388Z] 15:42:12     INFO - chrome://mochitests/content/browser/toolkit/components/cookiebanners/test/browser/browser_cookiebannerservice_getRules.js:test_rules_getter_no_duplicates:66
[task 2023-01-12T15:42:12.390Z] 15:42:12     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-01-12T15:42:12.390Z] 15:42:12     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/cookiebanners/test/browser/browser_cookiebannerservice_getRules.js | There should only be one rule with TEST_DOMAIN_A. - Got +0, expected 1
[task 2023-01-12T15:42:12.391Z] 15:42:12     INFO - Stack trace:
[task 2023-01-12T15:42:12.391Z] 15:42:12     INFO - chrome://mochikit/content/browser-test.js:test_is:1477
[task 2023-01-12T15:42:12.392Z] 15:42:12     INFO - chrome://mochitests/content/browser/toolkit/components/cookiebanners/test/browser/browser_cookiebannerservice_getRules.js:test_rules_getter_no_duplicates:71
[task 2023-01-12T15:42:12.392Z] 15:42:12     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-01-12T15:42:12.393Z] 15:42:12     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/cookiebanners/test/browser/browser_cookiebannerservice_getRules.js | There should only be one rule with TEST_DOMAIN_B. - Got +0, expected 1
[task 2023-01-12T15:42:12.394Z] 15:42:12     INFO - Stack trace:
[task 2023-01-12T15:42:12.394Z] 15:42:12     INFO - chrome://mochikit/content/browser-test.js:test_is:1477
[task 2023-01-12T15:42:12.395Z] 15:42:12     INFO - chrome://mochitests/content/browser/toolkit/components/cookiebanners/test/browser/browser_cookiebannerservice_getRules.js:test_rules_getter_no_duplicates:76
[task 2023-01-12T15:42:12.395Z] 15:42:12     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-01-12T15:42:12.395Z] 15:42:12     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/cookiebanners/test/browser/browser_cookiebannerservice_getRules.js | There should only be one rule with TEST_DOMAIN_C. - Got +0, expected 1
[task 2023-01-12T15:42:12.395Z] 15:42:12     INFO - Stack trace:
[task 2023-01-12T15:42:12.395Z] 15:42:12     INFO - chrome://mochikit/content/browser-test.js:test_is:1477
[task 2023-01-12T15:42:12.395Z] 15:42:12     INFO - chrome://mochitests/content/browser/toolkit/components/cookiebanners/test/browser/browser_cookiebannerservice_getRules.js:test_rules_getter_no_duplicates:81
[task 2023-01-12T15:42:12.396Z] 15:42:12     INFO - Leaving test bound test_rules_getter_no_duplicates
[task 2023-01-12T15:42:12.396Z] 15:42:12     INFO - GECKO(7426) | console.debug: CookieBannerListService: "init"
[task 2023-01-12T15:42:12.396Z] 15:42:12     INFO - GECKO(7426) | console.debug: CookieBannerListService: "importAllRules"
[task 2023-01-12T15:42:12.396Z] 15:42:12     INFO - GECKO(7426) | console.debug: CookieBannerListService: "importTestRules"
[task 2023-01-12T15:42:12.396Z] 15:42:12     INFO - GECKO(7426) | console.debug: CookieBannerListService: "importRules" [{id:"0e4cdbb8-b688-47e0-9c8b-4db620398dbd", click:{}, cookies:{optIn:[{name:"foo", value:"bar"}]}, domains:["example.com", "example.org"]}, {id:"0560e02c-a50f-4e7b-86e0-d6b7d258eb5f", click:{optOut:"#optOutBtn", presence:"#cookieBanner"}, cookies:{}, domains:["example.net"]}]
[task 2023-01-12T15:42:12.404Z] 15:42:12     INFO - GECKO(7426) | console.debug: CookieBannerListService: "importAllRules"
[task 2023-01-12T15:42:12.405Z] 15:42:12     INFO - GECKO(7426) | MEMORY STAT | vsize 11286MB | residentFast 394MB | heapAllocated 225MB
[task 2023-01-12T15:42:12.406Z] 15:42:12     INFO - TEST-OK | toolkit/components/cookiebanners/test/browser/browser_cookiebannerservice_getRules.js | took 265ms

Hello, could you take a look at this failure? Could it be caused by Bug 1804654 as there is a recent spike of failures after it landed? Thank you!

Flags: needinfo?(pbz)
Summary: Intermittent toolkit/components/cookiebanners/test/browser/browser_cookiebannerservice_getRules.js | single tracking bug → Frequent toolkit/components/cookiebanners/test/browser/browser_cookiebannerservice_getRules.js | single tracking bug

The test was added in Bug 1804654.

Regressed by: 1804654
Assignee: nobody → pbz
Status: NEW → ASSIGNED
Flags: needinfo?(pbz)

Set release status flags based on info from the regressing bug 1804654

Pushed by pzuhlcke@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/eced9962d19d
Add call to resetRules to flush any non-test rules. r=timhuang
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch

The patch landed in nightly and beta is affected.
:pbz, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox110 to wontfix.

For more information, please visit auto_nag documentation.

Flags: needinfo?(pbz)

Let's let this bake for another day to make sure it fixes the intermittent failure before uplifting.

Comment on attachment 9312631 [details]
Bug 1809932 - Add call to resetRules to flush any non-test rules. r=timhuang!

Beta/Release Uplift Approval Request

  • User impact if declined: No user impact, intermittent test failure in automation.
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Small test only change.
  • String changes made/needed:
  • Is Android affected?: Yes
Flags: needinfo?(pbz)
Attachment #9312631 - Flags: approval-mozilla-beta?

Comment on attachment 9312631 [details]
Bug 1809932 - Add call to resetRules to flush any non-test rules. r=timhuang!

Approved for 110 beta 5, thanks.

Attachment #9312631 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: