Bug: Intermittent browser/base/content/test/protectionsUI/browser_protectionsUI.js | The label is correctly set to <Something>. - Got "<Something>", expected "<Something>"
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2020-11-03 19:27:22+00:00
Resolved: 2021-08-16 06:35:14+00:00

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

---
```
[task 2020-11-03T17:39:12.725Z] 17:39:12     INFO - TEST-START | browser/base/content/test/protectionsUI/browser_protectionsUI.js
[task 2020-11-03T17:39:18.858Z] 17:39:18     INFO - TEST-INFO | started process screencapture
[task 2020-11-03T17:39:18.992Z] 17:39:18     INFO - TEST-INFO | screencapture: exit 0
[task 2020-11-03T17:39:18.992Z] 17:39:18     INFO - Buffered messages logged at 17:39:12
[task 2020-11-03T17:39:18.993Z] 17:39:18     INFO - Entering test bound setup
[task 2020-11-03T17:39:18.994Z] 17:39:18     INFO - Leaving test bound setup
[task 2020-11-03T17:39:18.994Z] 17:39:18     INFO - Entering test bound testToggleSwitch
[task 2020-11-03T17:39:18.994Z] 17:39:18     INFO - Console message: [JavaScript Error: "Unknown Collection "main/partitioning-exempt-urls"" {file: "resource://services-settings/RemoteSettingsClient.jsm" line: 160}]
[task 2020-11-03T17:39:18.994Z] 17:39:18     INFO - UnknownCollectionError@resource://services-settings/RemoteSettingsClient.jsm:160:5
[task 2020-11-03T17:39:18.994Z] 17:39:18     INFO - sync@resource://services-settings/RemoteSettingsClient.jsm:470:13
[task 2020-11-03T17:39:18.994Z] 17:39:18     INFO - 
[task 2020-11-03T17:39:18.995Z] 17:39:18     INFO - Console message: [JavaScript Warning: "The resource at “http://trackertest.org/” was blocked because content blocking is enabled." {file: "http://tracking.example.org/browser/browser/base/content/test/protectionsUI/trackingPage.html" line: 0}]
[task 2020-11-03T17:39:18.995Z] 17:39:18     INFO - Buffered messages logged at 17:39:13
[task 2020-11-03T17:39:18.995Z] 17:39:18     INFO - TEST-PASS | browser/base/content/test/protectionsUI/browser_protectionsUI.js | recorded telemetry for opening the popup - 
[task 2020-11-03T17:39:18.995Z] 17:39:18     INFO - TEST-PASS | browser/base/content/test/protectionsUI/browser_protectionsUI.js | The 'Site not working?' link should be visible. - 
[task 2020-11-03T17:39:18.995Z] 17:39:18     INFO - TEST-PASS | browser/base/content/test/protectionsUI/browser_protectionsUI.js | The 'Site Fixed?' link should be hidden. - 
[task 2020-11-03T17:39:18.996Z] 17:39:18     INFO - TEST-PASS | browser/base/content/test/protectionsUI/browser_protectionsUI.js | recorded sitenotworking_link telemetry event - 
[task 2020-11-03T17:39:18.996Z] 17:39:18     INFO - Buffered messages logged at 17:39:14
[task 2020-11-03T17:39:18.996Z] 17:39:18     INFO - TEST-PASS | browser/base/content/test/protectionsUI/browser_protectionsUI.js | recorded send_report_link telemetry event - 
[task 2020-11-03T17:39:18.996Z] 17:39:18     INFO - TEST-PASS | browser/base/content/test/protectionsUI/browser_protectionsUI.js | TP Switch should be enabled - 
[task 2020-11-03T17:39:18.996Z] 17:39:18     INFO - TEST-PASS | browser/base/content/test/protectionsUI/browser_protectionsUI.js | The 'Site not working?' link should be hidden after TP switch turns to off. - 
[task 2020-11-03T17:39:18.997Z] 17:39:18     INFO - TEST-PASS | browser/base/content/test/protectionsUI/browser_protectionsUI.js | The 'Site Fixed?' link should be hidden. - 
[task 2020-11-03T17:39:18.997Z] 17:39:18     INFO - Buffered messages logged at 17:39:15
[task 2020-11-03T17:39:18.997Z] 17:39:18     INFO - TEST-PASS | browser/base/content/test/protectionsUI/browser_protectionsUI.js | recorded etp_toggle_off telemetry event - 
[task 2020-11-03T17:39:18.997Z] 17:39:18     INFO - TEST-PASS | browser/base/content/test/protectionsUI/browser_protectionsUI.js | TP Switch should be disabled - 
[task 2020-11-03T17:39:18.997Z] 17:39:18     INFO - TEST-PASS | browser/base/content/test/protectionsUI/browser_protectionsUI.js | The 'Site not working?' link should be hidden if TP is off. - 
[task 2020-11-03T17:39:18.998Z] 17:39:18     INFO - TEST-PASS | browser/base/content/test/protectionsUI/browser_protectionsUI.js | The 'Site Fixed?' link should be visible. - 
[task 2020-11-03T17:39:18.998Z] 17:39:18     INFO - TEST-PASS | browser/base/content/test/protectionsUI/browser_protectionsUI.js | recorded sitenotworking_link telemetry event - 
[task 2020-11-03T17:39:18.998Z] 17:39:18     INFO - Buffered messages logged at 17:39:16
[task 2020-11-03T17:39:18.998Z] 17:39:18     INFO - TEST-PASS | browser/base/content/test/protectionsUI/browser_protectionsUI.js | The 'Site not working?' link should be still hidden after toggling TP
[task 2020-11-03T17:39:18.998Z] 17:39:18     INFO -      switch to on from off. - 
[task 2020-11-03T17:39:18.999Z] 17:39:18     INFO - TEST-PASS | browser/base/content/test/protectionsUI/browser_protectionsUI.js | The 'Site Fixed?' link should be hidden. - 
[task 2020-11-03T17:39:18.999Z] 17:39:18     INFO - Buffered messages logged at 17:39:17
[task 2020-11-03T17:39:18.999Z] 17:39:18     INFO - TEST-PASS | browser/base/content/test/protectionsUI/browser_protectionsUI.js | recorded etp_toggle_on telemetry event - 
[task 2020-11-03T17:39:18.999Z] 17:39:18     INFO - Leaving test bound testToggleSwitch
[task 2020-11-03T17:39:18.999Z] 17:39:18     INFO - Entering test bound testSettingsButton
[task 2020-11-03T17:39:18.999Z] 17:39:18     INFO - Console message: [JavaScript Warning: "The resource at “http://trackertest.org/” was blocked because content blocking is enabled." {file: "http://tracking.example.org/browser/browser/base/content/test/protectionsUI/trackingPage.html" line: 0}]
[task 2020-11-03T17:39:18.999Z] 17:39:18     INFO - Buffered messages logged at 17:39:18
[task 2020-11-03T17:39:19.000Z] 17:39:19     INFO - TEST-PASS | browser/base/content/test/protectionsUI/browser_protectionsUI.js | about:preferences has been opened successfully - 
[task 2020-11-03T17:39:19.000Z] 17:39:19     INFO - TEST-PASS | browser/base/content/test/protectionsUI/browser_protectionsUI.js | recorded settings telemetry event - 
[task 2020-11-03T17:39:19.000Z] 17:39:19     INFO - Leaving test bound testSettingsButton
[task 2020-11-03T17:39:19.000Z] 17:39:19     INFO - Entering test bound testTrackingProtectionLabel
[task 2020-11-03T17:39:19.000Z] 17:39:19     INFO - TEST-PASS | browser/base/content/test/protectionsUI/browser_protectionsUI.js | The label is correctly set to Custom. - 
[task 2020-11-03T17:39:19.000Z] 17:39:19     INFO - TEST-PASS | browser/base/content/test/protectionsUI/browser_protectionsUI.js | The label is correctly set to Standard. - 
[task 2020-11-03T17:39:19.001Z] 17:39:19     INFO - Buffered messages finished
[task 2020-11-03T17:39:19.001Z] 17:39:19     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/protectionsUI/browser_protectionsUI.js | The label is correctly set to Strict. - Got "Standard", expected "Strict"
[task 2020-11-03T17:39:19.001Z] 17:39:19     INFO - Stack trace:
[task 2020-11-03T17:39:19.001Z] 17:39:19     INFO - chrome://mochikit/content/browser-test.js:test_is:1332
[task 2020-11-03T17:39:19.001Z] 17:39:19     INFO - chrome://mochitests/content/browser/browser/base/content/test/protectionsUI/browser_protectionsUI.js:testTrackingProtectionLabel:293
[task 2020-11-03T17:39:19.001Z] 17:39:19     INFO - Leaving test bound testTrackingProtectionLabel
[task 2020-11-03T17:39:19.001Z] 17:39:19     INFO - Entering test bound testShowFullReportButton
[task 2020-11-03T17:39:20.071Z] 17:39:20     INFO - TEST-PASS | browser/base/content/test/protectionsUI/browser_protectionsUI.js | about:protections has been opened successfully - 
[task 2020-11-03T17:39:20.071Z] 17:39:20     INFO - TEST-PASS | browser/base/content/test/protectionsUI/browser_protectionsUI.js | recorded full_report telemetry event - 
[task 2020-11-03T17:39:20.102Z] 17:39:20     INFO - Leaving test bound testShowFullReportButton```