Bug: Intermittent browser/components/newtab/test/browser/browser_discovery_styles.js | applied and normalized color - "rgb(128, 128, 128)" == "rgb(255, 0, 0)" - got "rgb(128, 128, 128)", expected "rgb(255, 0, 0)" (operator ==)
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2021-09-15 18:57:29+00:00
Resolved: 2022-07-25 23:18:29+00:00

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

---
```
[task 2021-09-15T18:22:52.176Z] 18:22:52     INFO - TEST-START | browser/components/newtab/test/browser/browser_discovery_styles.js
[task 2021-09-15T18:22:53.059Z] 18:22:53     INFO - TEST-INFO | started process screenshot
[task 2021-09-15T18:22:53.123Z] 18:22:53     INFO - TEST-INFO | screenshot: exit 0
[task 2021-09-15T18:22:53.132Z] 18:22:53     INFO - Buffered messages logged at 18:22:52
[task 2021-09-15T18:22:53.132Z] 18:22:53     INFO - Entering test bound test_hr_override
[task 2021-09-15T18:22:53.133Z] 18:22:53     INFO - TEST-PASS | browser/components/newtab/test/browser/browser_discovery_styles.js | applied and normalized hr component width override - ["11px"] == true - 
[task 2021-09-15T18:22:53.133Z] 18:22:53     INFO - Leaving test bound test_hr_override
[task 2021-09-15T18:22:53.134Z] 18:22:53     INFO - Entering test bound test_multiple_overrides
[task 2021-09-15T18:22:53.134Z] 18:22:53     INFO - Buffered messages finished
[task 2021-09-15T18:22:53.135Z] 18:22:53     INFO - TEST-UNEXPECTED-FAIL | browser/components/newtab/test/browser/browser_discovery_styles.js | applied and normalized color - "rgb(128, 128, 128)" == "rgb(255, 0, 0)" - got "rgb(128, 128, 128)", expected "rgb(255, 0, 0)" (operator ==)
[task 2021-09-15T18:22:53.135Z] 18:22:53     INFO - Stack trace:
[task 2021-09-15T18:22:53.135Z] 18:22:53     INFO - is@resource://specialpowers/SpecialPowersSandbox.jsm:90:21
[task 2021-09-15T18:22:53.135Z] 18:22:53     INFO - test_multiple_overrides@chrome://mochitests/content/browser/browser/components/newtab/test/browser/browser_discovery_styles.js:78:7
[task 2021-09-15T18:22:53.136Z] 18:22:53     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-09-15T18:22:53.136Z] 18:22:53     INFO - TEST-UNEXPECTED-FAIL | browser/components/newtab/test/browser/browser_discovery_styles.js | applied and normalized font size - "16px" == "46.6583px" - got "16px", expected "46.6583px" (operator ==)
[task 2021-09-15T18:22:53.136Z] 18:22:53     INFO - Stack trace:
[task 2021-09-15T18:22:53.136Z] 18:22:53     INFO - is@resource://specialpowers/SpecialPowersSandbox.jsm:90:21
[task 2021-09-15T18:22:53.137Z] 18:22:53     INFO - test_multiple_overrides@chrome://mochitests/content/browser/browser/components/newtab/test/browser/browser_discovery_styles.js:79:7
[task 2021-09-15T18:22:53.137Z] 18:22:53     INFO - TEST-PASS | browser/components/newtab/test/browser/browser_discovery_styles.js | applied and normalized font weight - "400" == "400" - 
[task 2021-09-15T18:22:53.137Z] 18:22:53     INFO - Leaving test bound test_multiple_overrides
[task 2021-09-15T18:22:53.138Z] 18:22:53     INFO - Entering test bound test_url_filtering
[task 2021-09-15T18:22:53.507Z] 18:22:53     INFO - TEST-PASS | browser/components/newtab/test/browser/browser_discovery_styles.js | filtered out invalid background image url - "none" == "none" - 
[task 2021-09-15T18:22:53.510Z] 18:22:53     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-09-15T18:22:53.511Z] 18:22:53     INFO - TEST-UNEXPECTED-FAIL | browser/components/newtab/test/browser/browser_discovery_styles.js | applied, normalized and allowed content url - "normal" == "url(\"chrome://browser/content/browser.xul\")" - got "normal", expected "url(\"chrome://browser/content/browser.xul\")" (operator ==)
[task 2021-09-15T18:22:53.512Z] 18:22:53     INFO - Stack trace:
[task 2021-09-15T18:22:53.512Z] 18:22:53     INFO - is@resource://specialpowers/SpecialPowersSandbox.jsm:90:21
[task 2021-09-15T18:22:53.512Z] 18:22:53     INFO - test_url_filtering@chrome://mochitests/content/browser/browser/components/newtab/test/browser/browser_discovery_styles.js:119:7
[task 2021-09-15T18:22:53.512Z] 18:22:53     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-09-15T18:22:53.513Z] 18:22:53     INFO - TEST-UNEXPECTED-FAIL | browser/components/newtab/test/browser/browser_discovery_styles.js | applied, normalized and allowed cursor url - "auto" == "url(\"resource://activity-stream/cursor\"), auto" - got "auto", expected "url(\"resource://activity-stream/cursor\"), auto" (operator ==)
[task 2021-09-15T18:22:53.513Z] 18:22:53     INFO - Stack trace:
[task 2021-09-15T18:22:53.513Z] 18:22:53     INFO - is@resource://specialpowers/SpecialPowersSandbox.jsm:90:21
[task 2021-09-15T18:22:53.513Z] 18:22:53     INFO - test_url_filtering@chrome://mochitests/content/browser/browser/components/newtab/test/browser/browser_discovery_styles.js:124:7
[task 2021-09-15T18:22:53.514Z] 18:22:53     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-09-15T18:22:53.515Z] 18:22:53     INFO - TEST-UNEXPECTED-FAIL | browser/components/newtab/test/browser/browser_discovery_styles.js | applied, normalized and allowed list style image url - "none" == "url(\"https://img-getpocket.cdn.mozilla.net/list\")" - got "none", expected "url(\"https://img-getpocket.cdn.mozilla.net/list\")" (operator ==)
[task 2021-09-15T18:22:53.515Z] 18:22:53     INFO - Stack trace:
[task 2021-09-15T18:22:53.515Z] 18:22:53     INFO - is@resource://specialpowers/SpecialPowersSandbox.jsm:90:21
[task 2021-09-15T18:22:53.515Z] 18:22:53     INFO - test_url_filtering@chrome://mochitests/content/browser/browser/components/newtab/test/browser/browser_discovery_styles.js:129:7
[task 2021-09-15T18:22:53.518Z] 18:22:53     INFO - Leaving test bound test_url_filtering
[task 2021-09-15T18:22:53.518Z] 18:22:53     INFO - Entering test bound test_atrule_filtering
```