Bug: Intermittent browser/components/preferences/tests/browser_connection_dnsoverhttps.js | This test exceeded the timeout threshold. It should be rewritten or split up. If that's not possible, use requestLongerTimeout(N), but only as a last resort. -
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2021-03-11 13:11:22+00:00
Resolved: 2021-08-10 17:04:11+00:00

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

---
```
INFO - TEST-START | browser/components/preferences/tests/browser_connection_dnsoverhttps.js
[task 2021-03-11T11:46:04.435Z] 11:46:04     INFO - GECKO(1571) | 1615463164423	addons.xpi	ERROR	System addon update list error Error: got node name: html, expected: updates
[task 2021-03-11T11:47:57.560Z] 11:47:57     INFO - TEST-INFO | started process screentopng
[task 2021-03-11T11:47:57.847Z] 11:47:57     INFO - TEST-INFO | screentopng: exit 0
[task 2021-03-11T11:47:57.847Z] 11:47:57     INFO - <snipped 393 output lines - if you need more context, please use SimpleTest.requestCompleteLog() in your test>
[task 2021-03-11T11:47:57.847Z] 11:47:57     INFO - Buffered messages logged at 11:47:36
[task 2021-03-11T11:47:57.847Z] 11:47:57     INFO - starting test: select custom and enter new custom_uri pref value
[task 2021-03-11T11:47:57.847Z] 11:47:57     INFO - 443: testWithProperties: testing with {"name":"select custom and enter new custom_uri pref value","network.trr.uri":"","network.trr.custom_uri":"","clickMode":true,"selectResolver":"custom","inputUriKeys":"https://example.com","expectedModePref":2,"expectedFinalUriPref":"https://example.com","expectedFinalCustomUriPref":"https://example.com"}
[task 2021-03-11T11:47:57.847Z] 11:47:57     INFO - Buffered messages logged at 11:47:38
[task 2021-03-11T11:47:57.848Z] 11:47:57     INFO - TEST-PASS | browser/components/preferences/tests/browser_connection_dnsoverhttps.js | Check the proper URL is loaded - 
[task 2021-03-11T11:47:57.850Z] 11:47:57     INFO - TEST-PASS | browser/components/preferences/tests/browser_connection_dnsoverhttps.js | Element should not be null, when checking visibility - 
[task 2021-03-11T11:47:57.851Z] 11:47:57     INFO - TEST-PASS | browser/components/preferences/tests/browser_connection_dnsoverhttps.js | Overlay is visible - 
[task 2021-03-11T11:47:57.861Z] 11:47:57     INFO - found chrome://browser/skin/preferences/preferences.css
[task 2021-03-11T11:47:57.863Z] 11:47:57     INFO - found chrome://global/skin/in-content/common.css
[task 2021-03-11T11:47:57.863Z] 11:47:57     INFO - found chrome://browser/skin/preferences/dialog.css
[task 2021-03-11T11:47:57.864Z] 11:47:57     INFO - TEST-PASS | browser/components/preferences/tests/browser_connection_dnsoverhttps.js | All expectedStyleSheetURLs should have been found - 
[task 2021-03-11T11:47:57.864Z] 11:47:57     INFO - Buffered messages logged at 11:47:39
[task 2021-03-11T11:47:57.865Z] 11:47:57     INFO - TEST-PASS | browser/components/preferences/tests/browser_connection_dnsoverhttps.js | connection window opened - 
[task 2021-03-11T11:47:57.865Z] 11:47:57     INFO - 3745: testWithProperties: connections dialog now open
[task 2021-03-11T11:47:57.866Z] 11:47:57     INFO - 3747: testWithProperties: clickMode, waiting for the pref observer
[task 2021-03-11T11:47:57.866Z] 11:47:57     INFO - 3748: testWithProperties: clickMode, pref changed
[task 2021-03-11T11:47:57.866Z] 11:47:57     INFO - 3817: testWithProperties: clickMode, mouse click synthesized
[task 2021-03-11T11:47:57.866Z] 11:47:57     INFO - 3817: testWithProperties: selectResolver, creating change event
[task 2021-03-11T11:47:57.866Z] 11:47:57     INFO - 3840: testWithProperties: selectResolver, item value set and events dispatched
[task 2021-03-11T11:47:57.867Z] 11:47:57     INFO - 3841: testWithProperties: inputUriKeys, waiting for the pref observer
[task 2021-03-11T11:47:57.867Z] 11:47:57     INFO - 3842: testWithProperties: inputUriKeys, pref changed, now enter the new value
[task 2021-03-11T11:47:57.867Z] 11:47:57     INFO - 3850: testWithProperties: inputUriKeys, input and change events dispatched
[task 2021-03-11T11:47:57.868Z] 11:47:57     INFO - 3850: testWithProperties: calling acceptDialog
[task 2021-03-11T11:47:57.868Z] 11:47:57     INFO - 4051: testWithProperties: waiting for the dialogClosingPromise
[task 2021-03-11T11:47:57.869Z] 11:47:57     INFO - TEST-PASS | browser/components/preferences/tests/browser_connection_dnsoverhttps.js | connection window closed - 
[task 2021-03-11T11:47:57.869Z] 11:47:57     INFO - 4378: testWithProperties: waiting for any of uri and mode prefs to change
[task 2021-03-11T11:47:57.869Z] 11:47:57     INFO - 4381: testWithProperties: prefs changed
[task 2021-03-11T11:47:57.870Z] 11:47:57     INFO - Buffered messages logged at 11:47:40
[task 2021-03-11T11:47:57.875Z] 11:47:57     INFO - TEST-PASS | browser/components/preferences/tests/browser_connection_dnsoverhttps.js | uri pref ended up with the expected value - 
[task 2021-03-11T11:47:57.876Z] 11:47:57     INFO - TEST-PASS | browser/components/preferences/tests/browser_connection_dnsoverhttps.js | mode pref ended up with the expected value - 
[task 2021-03-11T11:47:57.876Z] 11:47:57     INFO - 4384: testWithProperties: fin
INFO - Leaving test bound testVariation
[task 2021-03-11T11:47:57.876Z] 11:47:57     INFO - Entering test bound testVariation
[task 2021-03-11T11:47:57.877Z] 11:47:57     INFO - starting test: return to default from custom
[task 2021-03-11T11:47:57.877Z] 11:47:57     INFO - 892: testWithProperties: testing with {"name":"return to default from custom","network.trr.mode":2,"network.trr.uri":"https://example.com","network.trr.custom_uri":"https://example.com","expectedUriValue":"https://example.com","expectedResolverListValue":"custom","selectResolver":"https://mozilla.cloudflare-dns.com/dns-query","expectedFinalUriPref":"https://mozilla.cloudflare-dns.com/dns-query","expectedFinalCustomUriPref":"https://example.com"}
[task 2021-03-11T11:47:57.877Z] 11:47:57     INFO - Buffered messages logged at 11:47:44
[task 2021-03-11T11:47:57.878Z] 11:47:57     INFO - TEST-PASS | browser/components/preferences/tests/browser_connection_dnsoverhttps.js | Check the proper URL is loaded - 
[task 2021-03-11T11:47:57.878Z] 11:47:57     INFO - TEST-PASS | browser/components/preferences/tests/browser_connection_dnsoverhttps.js | Element should not be null, when checking visibility - 
[task 2021-03-11T11:47:57.886Z] 11:47:57     INFO - TEST-PASS | browser/components/preferences/tests/browser_connection_dnsoverhttps.js | Overlay is visible - 
[task 2021-03-11T11:47:57.888Z] 11:47:57     INFO - found chrome://browser/skin/preferences/preferences.css
[task 2021-03-11T11:47:57.888Z] 11:47:57     INFO - found chrome://global/skin/in-content/common.css
[task 2021-03-11T11:47:57.889Z] 11:47:57     INFO - found chrome://browser/skin/preferences/dialog.css
[task 2021-03-11T11:47:57.889Z] 11:47:57     INFO - TEST-PASS | browser/components/preferences/tests/browser_connection_dnsoverhttps.js | All expectedStyleSheetURLs should have been found - 
[task 2021-03-11T11:47:57.889Z] 11:47:57     INFO - TEST-PASS | browser/components/preferences/tests/browser_connection_dnsoverhttps.js | connection window opened - 
[task 2021-03-11T11:47:57.890Z] 11:47:57     INFO - 4492: testWithProperties: connections dialog now open
[task 2021-03-11T11:47:57.890Z] 11:47:57     INFO - TEST-PASS | browser/components/preferences/tests/browser_connection_dnsoverhttps.js | URI textbox has expected value - 
[task 2021-03-11T11:47:57.891Z] 11:47:57     INFO - TEST-PASS | browser/components/preferences/tests/browser_connection_dnsoverhttps.js | resolver menulist has expected value - 
[task 2021-03-11T11:47:57.891Z] 11:47:57     INFO - 4984: testWithProperties: selectResolver, creating change event
[task 2021-03-11T11:47:57.893Z] 11:47:57     INFO - Buffered messages logged at 11:47:45
[task 2021-03-11T11:47:57.893Z] 11:47:57     INFO - 5002: testWithProperties: selectResolver, item value set and events dispatched
[task 2021-03-11T11:47:57.894Z] 11:47:57     INFO - 5003: testWithProperties: calling acceptDialog
[task 2021-03-11T11:47:57.895Z] 11:47:57     INFO - 5174: testWithProperties: waiting for the dialogClosingPromise
[task 2021-03-11T11:47:57.895Z] 11:47:57     INFO - TEST-PASS | browser/components/preferences/tests/browser_connection_dnsoverhttps.js | connection window closed - 
[task 2021-03-11T11:47:57.896Z] 11:47:57     INFO - 5498: testWithProperties: waiting for any of uri and mode prefs to change
[task 2021-03-11T11:47:57.896Z] 11:47:57     INFO - 5500: testWithProperties: prefs changed
[task 2021-03-11T11:47:57.897Z] 11:47:57     INFO - TEST-PASS | browser/components/preferences/tests/browser_connection_dnsoverhttps.js | uri pref ended up with the expected value - 
[task 2021-03-11T11:47:57.897Z] 11:47:57     INFO - 5502: testWithProperties: fin
[task 2021-03-11T11:47:57.897Z] 11:47:57     INFO - Leaving test bound testVariation
[task 2021-03-11T11:47:57.898Z] 11:47:57     INFO - Entering test bound testVariation
[task 2021-03-11T11:47:57.907Z] 11:47:57     INFO - starting test: clear the custom uri
[task 2021-03-11T11:47:57.908Z] 11:47:57     INFO - 433: testWithProperties: testing with {"name":"clear the custom uri","network.trr.mode":2,"network.trr.uri":"https://example.com","network.trr.custom_uri":"https://example.com","expectedUriValue":"https://example.com","expectedResolverListValue":"custom","inputUriKeys":"","expectedFinalUriPref":"https://mozilla.cloudflare-dns.com/dns-query","expectedFinalCustomUriPref":""}
[task 2021-03-11T11:47:57.908Z] 11:47:57     INFO - Buffered messages logged at 11:47:49
[task 2021-03-11T11:47:57.911Z] 11:47:57     INFO - TEST-PASS | browser/components/preferences/tests/browser_connection_dnsoverhttps.js | Check the proper URL is loaded - 
[task 2021-03-11T11:47:57.912Z] 11:47:57     INFO - TEST-PASS | browser/components/preferences/tests/browser_connection_dnsoverhttps.js | Element should not be null, when checking visibility - 
[task 2021-03-11T11:47:57.912Z] 11:47:57     INFO - TEST-PASS | browser/components/preferences/tests/browser_connection_dnsoverhttps.js | Overlay is visible - 
[task 2021-03-11T11:47:57.913Z] 11:47:57     INFO - found chrome://browser/skin/preferences/preferences.css
[task 2021-03-11T11:47:57.913Z] 11:47:57     INFO - found chrome://global/skin/in-content/common.css
[task 2021-03-11T11:47:57.913Z] 11:47:57     INFO - found chrome://browser/skin/preferences/dialog.css
[task 2021-03-11T11:47:57.914Z] 11:47:57     INFO - TEST-PASS | browser/components/preferences/tests/browser_connection_dnsoverhttps.js | All expectedStyleSheetURLs should have been found - 
[task 2021-03-11T11:47:57.914Z] 11:47:57     INFO - Buffered messages logged at 11:47:50
<...>
INFO - TEST-PASS | browser/components/preferences/tests/browser_connection_dnsoverhttps.js | connection window closed - 
[task 2021-03-11T11:47:57.928Z] 11:47:57     INFO - 5549: testWithProperties: waiting for any of uri and mode prefs to change
[task 2021-03-11T11:47:57.929Z] 11:47:57     INFO - 5554: testWithProperties: prefs changed
[task 2021-03-11T11:47:57.929Z] 11:47:57     INFO - TEST-PASS | browser/components/preferences/tests/browser_connection_dnsoverhttps.js | uri pref ended up with the expected value - 
[task 2021-03-11T11:47:57.929Z] 11:47:57     INFO - 5556: testWithProperties: fin
[task 2021-03-11T11:47:57.930Z] 11:47:57     INFO - Leaving test bound testVariation
[task 2021-03-11T11:47:57.930Z] 11:47:57     INFO - Buffered messages finished
[task 2021-03-11T11:47:57.930Z] 11:47:57     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_connection_dnsoverhttps.js | This test exceeded the timeout threshold. It should be rewritten or split up. If that's not possible, use requestLongerTimeout(N), but only as a last resort. - 
[task 2021-03-11T11:47:57.930Z] 11:47:57     INFO - GECKO(1571) | MEMORY STAT | vsize 130551593MB | residentFast 3160MB
[task 2021-03-11T11:47:57.931Z] 11:47:57     INFO - TEST-OK | browser/components/preferences/tests/browser_connection_dnsoverhttps.js | took 127654ms
[task 2021-03-11T11:47:57.931Z] 11:47:57     INFO - checking window state
[task 2021-03-11T11:47:57.967Z] 11:47:57     INFO - TEST-START | browser/components/preferences/tests/browser_containers_name_input.js```