Closed Bug 1446639 Opened 2 years ago Closed 5 months ago

Intermittent browser/components/enterprisepolicies/tests/browser/browser_policy_block_about_addons.js | about:addons should display the net error page - false == true -

Categories

(Firefox :: Enterprise Policies, defect, P5)

defect

Tracking

()

RESOLVED FIXED
Firefox 69
Tracking Status
firefox67 --- wontfix
firefox68 --- fixed
firefox69 --- fixed

People

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

References

Details

(Keywords: intermittent-failure, Whiteboard: [stockwell unknown])

Attachments

(1 file)

Filed by: btara [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=168687835&repo=mozilla-central

https://queue.taskcluster.net/v1/task/DgNltM2XQWy7iz4e7bqXxQ/runs/0/artifacts/public/logs/live_backing.log

[task 2018-03-17T13:07:43.187Z] 13:07:43     INFO - Entering test bound setup
[task 2018-03-17T13:07:43.187Z] 13:07:43     INFO - TEST-PASS | browser/components/enterprisepolicies/tests/browser/browser_policy_block_about_addons.js | Sanity check the temporary file doesn't exist. - true == true - 
[task 2018-03-17T13:07:43.188Z] 13:07:43     INFO - Leaving test bound setup
[task 2018-03-17T13:07:43.188Z] 13:07:43     INFO - Entering test bound test_about_addons
[task 2018-03-17T13:07:43.188Z] 13:07:43     INFO - Buffered messages finished
[task 2018-03-17T13:07:43.189Z] 13:07:43     INFO - TEST-UNEXPECTED-FAIL | browser/components/enterprisepolicies/tests/browser/browser_policy_block_about_addons.js | about:addons should display the net error page - false == true - 
[task 2018-03-17T13:07:43.189Z] 13:07:43     INFO - Stack trace:
[task 2018-03-17T13:07:43.190Z] 13:07:43     INFO - resource://testing-common/content-task.js line 50 > eval:null:4
[task 2018-03-17T13:07:43.190Z] 13:07:43     INFO - TEST-PASS | browser/components/enterprisepolicies/tests/browser/browser_policy_block_about_addons.js | Policy Engine should report about:addons as not allowed - false == false - 
[task 2018-03-17T13:07:43.190Z] 13:07:43     INFO - Leaving test bound test_about_addons
[task 2018-03-17T13:07:43.191Z] 13:07:43     INFO - GECKO(2722) | Collecting coverage for: chrome://mochitests/content/browser/browser/components/enterprisepolicies/tests/browser/browser_policy_block_about_addons.js
[task 2018-03-17T13:07:43.670Z] 13:07:43     INFO - GECKO(2722) | Writing coverage to: /builds/worker/workspace/build/blobber_upload_dir/jscov_1521292063656.json
[task 2018-03-17T13:07:43.686Z] 13:07:43     INFO - GECKO(2722) | bytesized: setupPolicyEngineWithJson resolving
[task 2018-03-17T13:07:43.687Z] 13:07:43     INFO - TEST-PASS | browser/components/enterprisepolicies/tests/browser/browser_policy_block_about_addons.js | Engine is inactive at the end of the test - 
[task 2018-03-17T13:07:43.688Z] 13:07:43     INFO - GECKO(2722) | MEMORY STAT | vsize 2178MB | residentFast 360MB | heapAllocated 136MB
[task 2018-03-17T13:07:43.688Z] 13:07:43     INFO - TEST-OK | browser/components/enterprisepolicies/tests/browser/browser_policy_block_about_addons.js | took 1170ms
[task 2018-03-17T13:07:43.732Z] 13:07:43     INFO - checking window state
[task 2018-03-17T13:07:43.741Z] 13:07:43     INFO - TEST-START | browser/components/enterprisepolicies/tests/browser/browser_policy_block_about_config.js
[task 2018-03-17T13:07:43.824Z] 13:07:43     INFO - GECKO(2722) | bytesized: setupPolicyEngineWithJson resolving
[task 2018-03-17T13:07:43.825Z] 13:07:43     INFO - Not taking screenshot here: see the one that was previously logged
[task 2018-03-17T13:07:43.826Z] 13:07:43     INFO - Buffered messages logged at 13:07:43
[task 2018-03-17T13:07:43.827Z] 13:07:43     INFO - Entering test bound policies_headjs_startWithCleanSlate
[task 2018-03-17T13:07:43.828Z] 13:07:43     INFO - TEST-PASS | browser/components/enterprisepolicies/tests/browser/browser_policy_block_about_config.js | Engine is inactive at the start of the test - 
[task 2018-03-17T13:07:43.828Z] 13:07:43     INFO - Leaving test bound policies_headjs_startWithCleanSlate
[task 2018-03-17T13:07:43.829Z] 13:07:43     INFO - Entering test bound test_about_config
[task 2018-03-17T13:07:43.830Z] 13:07:43     INFO - TEST-PASS | browser/components/enterprisepolicies/tests/browser/browser_policy_block_about_config.js | Sanity check the temporary file doesn't exist. - true == true - 
[task 2018-03-17T13:07:43.830Z] 13:07:43     INFO - Buffered messages finished
[task 2018-03-17T13:07:43.833Z] 13:07:43     INFO - TEST-UNEXPECTED-FAIL | browser/components/enterprisepolicies/tests/browser/browser_policy_block_about_config.js | about:config should display the net error page - false == true - 
[task 2018-03-17T13:07:43.833Z] 13:07:43     INFO - Stack trace:
[task 2018-03-17T13:07:43.833Z] 13:07:43     INFO - resource://testing-common/content-task.js line 50 > eval:null:4
[task 2018-03-17T13:07:43.834Z] 13:07:43     INFO - TEST-PASS | browser/components/enterprisepolicies/tests/browser/browser_policy_block_about_config.js | Policy Engine should report about:config as not allowed - false == false - 
[task 2018-03-17T13:07:43.855Z] 13:07:43     INFO - Leaving test bound test_about_config
[task 2018-03-17T13:07:43.856Z] 13:07:43     INFO - GECKO(2722) | Collecting coverage for: chrome://mochitests/content/browser/browser/components/enterprisepolicies/tests/browser/browser_policy_block_about_config.js
[task 2018-03-17T13:07:44.725Z] 13:07:44     INFO - GECKO(2722) | Writing coverage to: /builds/worker/workspace/build/blobber_upload_dir/jscov_1521292064716.json
[task 2018-03-17T13:07:44.733Z] 13:07:44     INFO - GECKO(2722) | bytesized: setupPolicyEngineWithJson resolving
[task 2018-03-17T13:07:44.734Z] 13:07:44     INFO - TEST-PASS | browser/components/enterprisepolicies/tests/browser/browser_policy_block_about_config.js | Engine is inactive at the end of the test - 
[task 2018-03-17T13:07:44.735Z] 13:07:44     INFO - GECKO(2722) | MEMORY STAT | vsize 2178MB | residentFast 352MB | heapAllocated 126MB
[task 2018-03-17T13:07:44.737Z] 13:07:44     INFO - TEST-OK | browser/components/enterprisepolicies/tests/browser/browser_policy_block_about_config.js | took 997ms
[task 2018-03-17T13:07:44.785Z] 13:07:44     INFO - checking window state
[task 2018-03-17T13:07:44.793Z] 13:07:44     INFO - TEST-START | browser/components/enterprisepolicies/tests/browser/browser_policy_block_about_profiles.js
[task 2018-03-17T13:07:44.810Z] 13:07:44     INFO - GECKO(2722) | bytesized: setupPolicyEngineWithJson resolving
[task 2018-03-17T13:07:44.870Z] 13:07:44     INFO - Not taking screenshot here: see the one that was previously logged
[task 2018-03-17T13:07:44.871Z] 13:07:44     INFO - Buffered messages logged at 13:07:44
[task 2018-03-17T13:07:44.872Z] 13:07:44     INFO - Entering test bound policies_headjs_startWithCleanSlate
[task 2018-03-17T13:07:44.873Z] 13:07:44     INFO - TEST-PASS | browser/components/enterprisepolicies/tests/browser/browser_policy_block_about_profiles.js | Engine is inactive at the start of the test - 
[task 2018-03-17T13:07:44.873Z] 13:07:44     INFO - Leaving test bound policies_headjs_startWithCleanSlate
[task 2018-03-17T13:07:44.874Z] 13:07:44     INFO - Entering test bound setup
[task 2018-03-17T13:07:44.875Z] 13:07:44     INFO - TEST-PASS | browser/components/enterprisepolicies/tests/browser/browser_policy_block_about_profiles.js | Sanity check the temporary file doesn't exist. - true == true - 
[task 2018-03-17T13:07:44.876Z] 13:07:44     INFO - Leaving test bound setup
[task 2018-03-17T13:07:44.876Z] 13:07:44     INFO - Entering test bound test_about_profiles
[task 2018-03-17T13:07:44.877Z] 13:07:44     INFO - Buffered messages finished
[task 2018-03-17T13:07:44.878Z] 13:07:44     INFO - TEST-UNEXPECTED-FAIL | browser/components/enterprisepolicies/tests/browser/browser_policy_block_about_profiles.js | about:profiles should display the net error page - false == true - 
[task 2018-03-17T13:07:44.878Z] 13:07:44     INFO - Stack trace:
[task 2018-03-17T13:07:44.879Z] 13:07:44     INFO - resource://testing-common/content-task.js line 50 > eval:null:4
[task 2018-03-17T13:07:44.880Z] 13:07:44     INFO - TEST-PASS | browser/components/enterprisepolicies/tests/browser/browser_policy_block_about_profiles.js | Policy Engine should report about:profiles as not allowed - false == false - 
[task 2018-03-17T13:07:44.896Z] 13:07:44     INFO - Leaving test bound test_about_profiles
[task 2018-03-17T13:07:44.896Z] 13:07:44     INFO - GECKO(2722) | Collecting coverage for: chrome://mochitests/content/browser/browser/components/enterprisepolicies/tests/browser/browser_policy_block_about_profiles.js
[task 2018-03-17T13:07:45.699Z] 13:07:45     INFO - GECKO(2722) | Writing coverage to: /builds/worker/workspace/build/blobber_upload_dir/jscov_1521292065695.json
[task 2018-03-17T13:07:45.707Z] 13:07:45     INFO - GECKO(2722) | bytesized: setupPolicyEngineWithJson resolving
[task 2018-03-17T13:07:45.708Z] 13:07:45     INFO - TEST-PASS | browser/components/enterprisepolicies/tests/browser/browser_policy_block_about_profiles.js | Engine is inactive at the end of the test - 
[task 2018-03-17T13:07:45.710Z] 13:07:45     INFO - GECKO(2722) | MEMORY STAT | vsize 2170MB | residentFast 379MB | heapAllocated 151MB
[task 2018-03-17T13:07:45.711Z] 13:07:45     INFO - TEST-OK | browser/components/enterprisepolicies/tests/browser/browser_policy_block_about_profiles.js | took 917ms
[task 2018-03-17T13:07:45.760Z] 13:07:45     INFO - checking window state
[task 2018-03-17T13:07:45.769Z] 13:07:45     INFO - TEST-START | browser/components/enterprisepolicies/tests/browser/browser_policy_block_about_support.js
[task 2018-03-17T13:07:45.790Z] 13:07:45     INFO - GECKO(2722) | bytesized: setupPolicyEngineWithJson resolving
[task 2018-03-17T13:07:45.847Z] 13:07:45     INFO - Not taking screenshot here: see the one that was previously logged
[task 2018-03-17T13:07:45.847Z] 13:07:45     INFO - Buffered messages logged at 13:07:45
[task 2018-03-17T13:07:45.848Z] 13:07:45     INFO - Entering test bound policies_headjs_startWithCleanSlate
[task 2018-03-17T13:07:45.849Z] 13:07:45     INFO - TEST-PASS | browser/components/enterprisepolicies/tests/browser/browser_policy_block_about_support.js | Engine is inactive at the start of the test - 
[task 2018-03-17T13:07:45.850Z] 13:07:45     INFO - Leaving test bound policies_headjs_startWithCleanSlate
[task 2018-03-17T13:07:45.850Z] 13:07:45     INFO - Entering test bound setup
[task 2018-03-17T13:07:45.852Z] 13:07:45     INFO - TEST-PASS | browser/components/enterprisepolicies/tests/browser/browser_policy_block_about_support.js | Sanity check the temporary file doesn't exist. - true == true - 
[task 2018-03-17T13:07:45.852Z] 13:07:45     INFO - Leaving test bound setup
[task 2018-03-17T13:07:45.852Z] 13:07:45     INFO - Entering test bound test_about_support
[task 2018-03-17T13:07:45.852Z] 13:07:45     INFO - Buffered messages finished
Over the last 7 days there are 31 failures on this bug. Most of these happen on Linux, Linux x64, linux64-jsdcov
Here the most recent log example: https://treeherder.mozilla.org/logviewer.html#?repo=mozilla-central&job_id=170680793&lineNumber=4215

Here is a relevant part of that log: 

[task 2018-03-27T23:00:55.217Z] 23:00:55     INFO - TEST-UNEXPECTED-FAIL | browser/components/enterprisepolicies/tests/browser/browser_policy_block_about_addons.js | about:addons should display the net error page - false == true - 
[task 2018-03-27T23:00:55.217Z] 23:00:55     INFO - Stack trace:
[task 2018-03-27T23:00:55.218Z] 23:00:55     INFO - resource://testing-common/content-task.js line 50 > eval:null:4
[task 2018-03-27T23:00:55.218Z] 23:00:55     INFO - TEST-PASS | browser/components/enterprisepolicies/tests/browser/browser_policy_block_about_addons.js | Policy Engine should report about:addons as not allowed - false == false - 
[task 2018-03-27T23:00:55.219Z] 23:00:55     INFO - Leaving test bound test_about_addons
[task 2018-03-27T23:00:55.220Z] 23:00:55     INFO - GECKO(2321) | Collecting coverage for: chrome://mochitests/content/browser/browser/components/enterprisepolicies/tests/browser/browser_policy_block_about_addons.js
[task 2018-03-27T23:00:55.599Z] 23:00:55     INFO - GECKO(2321) | Writing coverage to: /builds/worker/workspace/build/blobber_upload_dir/jscov_1522191655595.json
[task 2018-03-27T23:00:55.620Z] 23:00:55     INFO - TEST-PASS | browser/components/enterprisepolicies/tests/browser/browser_policy_block_about_addons.js | Engine is inactive at the end of the test - 
[task 2018-03-27T23:00:55.622Z] 23:00:55     INFO - GECKO(2321) | MEMORY STAT | vsize 2150MB | residentFast 367MB | heapAllocated 137MB
[task 2018-03-27T23:00:55.623Z] 23:00:55     INFO - TEST-OK | browser/components/enterprisepolicies/tests/browser/browser_policy_block_about_addons.js | took 1062ms
[task 2018-03-27T23:00:55.664Z] 23:00:55     INFO - checking window state
[task 2018-03-27T23:00:55.668Z] 23:00:55     INFO - TEST-START | browser/components/enterprisepolicies/tests/browser/browser_policy_block_about_config.js
[task 2018-03-27T23:00:55.737Z] 23:00:55     INFO - Not taking screenshot here: see the one that was previously logged
[task 2018-03-27T23:00:55.737Z] 23:00:55     INFO - Buffered messages logged at 23:00:55
[task 2018-03-27T23:00:55.738Z] 23:00:55     INFO - Entering test bound policies_headjs_startWithCleanSlate
[task 2018-03-27T23:00:55.739Z] 23:00:55     INFO - TEST-PASS | browser/components/enterprisepolicies/tests/browser/browser_policy_block_about_config.js | Engine is inactive at the start of the test - 
[task 2018-03-27T23:00:55.739Z] 23:00:55     INFO - Leaving test bound policies_headjs_startWithCleanSlate
[task 2018-03-27T23:00:55.740Z] 23:00:55     INFO - Entering test bound test_about_config
[task 2018-03-27T23:00:55.740Z] 23:00:55     INFO - TEST-PASS | browser/components/enterprisepolicies/tests/browser/browser_policy_block_about_config.js | Sanity check the temporary file doesn't exist. - true == true - 
[task 2018-03-27T23:00:55.740Z] 23:00:55     INFO - Buffered messages finished
[task 2018-03-27T23:00:55.741Z] 23:00:55     INFO - TEST-UNEXPECTED-FAIL | browser/components/enterprisepolicies/tests/browser/browser_policy_block_about_config.js | about:config should display the net error page - false == true -
Flags: needinfo?(past)
Whiteboard: [stockwell needswork]
Perhaps Felipe knows about this test.
Component: General → Add-ons Manager
Flags: needinfo?(past) → needinfo?(felipc)
Product: Firefox → Toolkit
Component: Add-ons Manager → Enterprise Policies
Product: Toolkit → Firefox
There are a number of tests that test blocked pages like this one. I think we'll need to have a waitForCondition to make them more reliable. I'll add a helper to head.js and replace all of them with this helper
Assignee: nobody → felipc
Status: NEW → ASSIGNED
Flags: needinfo?(felipc)
Note to self: there's actually a BrowserTestUtils.waitForErrorPage helper that is more reliable
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → INCOMPLETE
Fail reappeared on autoland

Log link: https://treeherder.mozilla.org/logviewer.html#?job_id=195369290&repo=autoland&lineNumber=2424
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
very rare failure, so unassigning
Assignee: felipc → nobody
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
Status: REOPENED → RESOLVED
Closed: 2 years agoLast year
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---

This bug failed 43 times in the last 7 days. Occurs on windows7-32-shippable, windows7-32, macosx1010-64-shippable, osx-10-10-shippable, windows10-64 on opt build types.

Recent log:
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=246046767&repo=mozilla-central&lineNumber=2916

mkaply: Can you please take a look at this bug?

Flags: needinfo?(mozilla)

Taking.

Assignee: nobody → mozilla
Status: REOPENED → ASSIGNED
Flags: needinfo?(mozilla)

I can't recreate this, so the first thing I'm doing is updating the policy to show what the incorrect URL is versus just true/false.

This will help me figure out what state we are in.

Pushed by mozilla@kaply.com:
https://hg.mozilla.org/integration/autoland/rev/04ddaab38b60
Update policy tests to show URLs. r=jaws
Status: ASSIGNED → RESOLVED
Closed: Last year5 months ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 69
Regressions: 1553041

Should this have been kept open given that the patch just adds diagnostics? Or is the follow-on work going to be handled in bug 1553041?

Flags: needinfo?(mozilla)

Should this have been kept open given that the patch just adds diagnostics? Or is the follow-on work going to be handled in bug 1553041?

Handling followon there.

Flags: needinfo?(mozilla)
You need to log in before you can comment on or make changes to this bug.