Closed Bug 1580183 Opened 5 years ago Closed 5 years ago

Perma fail | dom/tests/mochitest/geolocation/test_featurePolicy.html | Expected allowed for null - got "denied", expected "allowed" when Gecko 71 merges to Beta on 2019-10-14

Categories

(Core :: DOM: Geolocation, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla71
Tracking Status
firefox-esr60 --- unaffected
firefox-esr68 --- unaffected
firefox69 --- unaffected
firefox70 --- unaffected
firefox71 + verified

People

(Reporter: dluca, Assigned: tnguyen)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

[Tracking Requested - why for this release]:

TH Link:
https://treeherder.mozilla.org/#/jobs?repo=try&resultStatus=testfailed%2Cbusted%2Cexception%2Cretry%2Cusercancel%2Crunnable&revision=af202c84bd6e00997585902a7a7ff2fc06e28df5&selectedJob=265900793

Failure log:
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=265900793&repo=try&lineNumber=34380

TEST-INFO | started process screentopng
[task 2019-09-10T11:49:45.503Z] 11:49:45     INFO - TEST-INFO | screentopng: exit 0
[task 2019-09-10T11:49:45.505Z] 11:49:45     INFO - Buffered messages logged at 11:49:29
[task 2019-09-10T11:49:45.505Z] 11:49:45     INFO - TEST-PASS | dom/tests/mochitest/geolocation/test_featurePolicy.html | Expected denied for geolocation 'none' 
[task 2019-09-10T11:49:45.506Z] 11:49:45     INFO - Buffered messages logged at 11:49:32
[task 2019-09-10T11:49:45.506Z] 11:49:45     INFO - TEST-PASS | dom/tests/mochitest/geolocation/test_featurePolicy.html | Expected allowed for geolocation 
[task 2019-09-10T11:49:45.507Z] 11:49:45     INFO - Buffered messages logged at 11:49:36
[task 2019-09-10T11:49:45.508Z] 11:49:45     INFO - TEST-PASS | dom/tests/mochitest/geolocation/test_featurePolicy.html | Expected allowed for geolocation 'src' 
[task 2019-09-10T11:49:45.508Z] 11:49:45     INFO - Buffered messages logged at 11:49:40
[task 2019-09-10T11:49:45.509Z] 11:49:45     INFO - TEST-PASS | dom/tests/mochitest/geolocation/test_featurePolicy.html | Expected allowed for geolocation 'self' 
[task 2019-09-10T11:49:45.509Z] 11:49:45     INFO - Buffered messages logged at 11:49:44
[task 2019-09-10T11:49:45.509Z] 11:49:45     INFO - TEST-PASS | dom/tests/mochitest/geolocation/test_featurePolicy.html | Expected allowed for geolocation * 
[task 2019-09-10T11:49:45.510Z] 11:49:45     INFO - TEST-PASS | dom/tests/mochitest/geolocation/test_featurePolicy.html | Expected denied for geolocation http://random.net 
[task 2019-09-10T11:49:45.510Z] 11:49:45     INFO - Buffered messages finished
[task 2019-09-10T11:49:45.512Z] 11:49:45     INFO - TEST-UNEXPECTED-FAIL | dom/tests/mochitest/geolocation/test_featurePolicy.html | Expected allowed for null - got "denied", expected "allowed"
[task 2019-09-10T11:49:45.512Z] 11:49:45     INFO - SimpleTest.is@https://example.com/tests/SimpleTest/SimpleTest.js:322:16
[task 2019-09-10T11:49:45.512Z] 11:49:45     INFO - nextTest/window.continueTest@https://example.com/tests/dom/tests/mochitest/geolocation/test_featurePolicy.html:39:7
[task 2019-09-10T11:49:45.513Z] 11:49:45     INFO - send_results@https://example.com/tests/dom/tests/mochitest/geolocation/file_featurePolicy.html:42:10
[task 2019-09-10T11:49:45.513Z] 11:49:45     INFO - test_watchPosition/<@https://example.com/tests/dom/tests/mochitest/geolocation/file_featurePolicy.html:32:5
[task 2019-09-10T11:49:45.513Z] 11:49:45     INFO - GECKO(3364) | MEMORY STAT | vsize 2565MB | residentFast 177MB | heapAllocated 28MB
[task 2019-09-10T11:49:45.514Z] 11:49:45     INFO - TEST-OK | dom/tests/mochitest/geolocation/test_featurePolicy.html | took 16199ms
[task 2019-09-10T11:49:45.514Z] 11:49:45     INFO - GECKO(3364) | ++DOMWINDOW == 12 (0x7f3a38399800) [pid = 3409] [serial = 50] [outer = 0x7f3a3a5b0a60]
[task 2019-09-10T11:49:45.514Z] 11:49:45     INFO - TEST-START | dom/tests/mochitest/geolocation/test_geolocation_is_undefined_when_pref_is_off.html
[task 2019-09-10T11:49:45.515Z] 11:49:45     INFO - GECKO(3364) | ++DOMWINDOW == 13 (0x7f3a38394c00) [pid = 3409] [serial = 51] [outer = 0x7f3a3a5b0a60]
[task 2019-09-10T11:49:45.515Z] 11:49:45     INFO - GECKO(3364) | ++DOCSHELL 0x7f3a39c60000 == 11 [pid = 3409] [id = {75923181-5639-46ec-8aa0-42fe275b5e33}]
[task 2019-09-10T11:49:45.517Z] 11:49:45     INFO - GECKO(3364) | ++DOMWINDOW == 14 (0x7f3a38e983e0) [pid = 3409] [serial = 52] [outer = (nil)]
[task 2019-09-10T11:49:45.517Z] 11:49:45     INFO - GECKO(3364) | ++DOMWINDOW == 15 (0x7f3a3a18e800) [pid = 3409] [serial = 53] [outer = 0x7f3a38e983e0]
[task 2019-09-10T11:49:45.517Z] 11:49:45     INFO - GECKO(3364) | MEMORY STAT | vsize 2565MB | residentFast 177MB | heapAllocated 29MB
[task 2019-09-10T11:49:45.528Z] 11:49:45     INFO - TEST-OK | dom/tests/mochitest/geolocation/test_geolocation_is_undefined_when_pref_is_off.html | took 302ms
[task 2019-09-10T11:49:45.529Z] 11:49:45     INFO - GECKO(3364) | --DOMWINDOW == 14 (0x7f3a38374400) [pid = 3409] [serial = 45] [outer = (nil)] [url = https://example.com/tests/dom/tests/mochitest/geolocation/file_featurePolicy.html]
[task 2019-09-10T11:49:45.606Z] 11:49:45     INFO - GECKO(3364) | ++DOMWINDOW == 15 (0x7f3a38390000) [pid = 3409] [serial = 54] [outer = 0x7f3a3a5b0a60]
[task 2019-09-10T11:49:45.621Z] 11:49:45     INFO - TEST-START | dom/tests/mochitest/geolocation/test_manyCurrentConcurrent.html
[task 2019-09-10T11:49:45.629Z] 11:49:45     INFO - GECKO(3364) | --DOMWINDOW == 14 (0x7f3a38e985c0) [pid = 3409] [serial = 48] [outer = (nil)] [url = https://example.com/tests/dom/tests/mochitest/geolocation/file_featurePolicy.html]
[task 2019-09-10T11:49:45.629Z] 11:49:45     INFO - GECKO(3364) | --DOMWINDOW == 13 (0x7f3a38e98200) [pid = 3409] [serial = 46] [outer = (nil)] [url = https://example.com/tests/dom/tests/mochitest/geolocation/file_featurePolicy.html]
[task 2019-09-10T11:49:45.705Z] 11:49:45     INFO - GECKO(3364) | ++DOMWINDOW == 14 (0x7f3a39c71000) [pid = 3409] [serial = 55] [outer = 0x7f3a3a5b0a60]
[task 2019-09-10T11:49:45.935Z] 11:49:45     INFO - GECKO(3364) | --DOCSHELL 0x7f3a39c60000 == 10 [pid = 3409] [id = {75923181-5639-46ec-8aa0-42fe275b5e33}] [url = https://example.com/tests/dom/tests/mochitest/geolocation/test_geolocation_is_undefined_when_pref_is_off_iframe.html]
[task 2019-09-10T11:49:45.935Z] 11:49:45     INFO - GECKO(3364) | --DOCSHELL 0x7f3a39c4b000 == 9 [pid = 3409] [id = {fab214a1-6340-4490-a2e8-df0ef2fe88c7}] [url = https://example.com/tests/dom/tests/mochitest/geolocation/file_featurePolicy.html]
[task 2019-09-10T11:49:45.935Z] 11:49:45     INFO - GECKO(3364) | --DOCSHELL 0x7f3a38eab800 == 8 [pid = 3409] [id = {da05e865-7560-4d9f-83bb-6b48733c9264}] [url = https://example.com/tests/dom/tests/mochitest/geolocation/file_featurePolicy.html]
[task 2019-09-10T11:49:45.935Z] 11:49:45     INFO - GECKO(3364) | --DOCSHELL 0x7f3a38eb9800 == 7 [pid = 3409] [id = {0c5f4d0e-bc66-4bc5-b3fe-52ab4298e5ed}] [url = https://example.com/tests/dom/tests/mochitest/geolocation/file_featurePolicy.html]
[task 2019-09-10T11:49:45.936Z] 11:49:45     INFO - GECKO(3364) | --DOCSHELL 0x7f3a38eb6000 == 6 [pid = 3409] [id = {f49995c0-31f0-4d8b-abc4-f3254cb0d5c5}] [url = https://example.com/tests/dom/tests/mochitest/geolocation/file_featurePolicy.html]
[task 2019-09-10T11:49:45.936Z] 11:49:45     INFO - GECKO(3364) | --DOCSHELL 0x7f3a39c48800 == 5 [pid = 3409] [id = {4265a0aa-9f5a-43e9-af94-5a9b53f4c22d}] [url = https://example.com/tests/dom/tests/mochitest/geolocation/file_featurePolicy.html]
[task 2019-09-10T11:49:45.936Z] 11:49:45     INFO - GECKO(3364) | --DOCSHELL 0x7f3a39c60800 == 4 [pid = 3409] [id = {c89bbd65-8a32-435f-934c-7957c2a5292b}] [url = https://example.com/tests/dom/tests/mochitest/geolocation/file_featurePolicy.html]
[task 2019-09-10T11:49:45.936Z] 11:49:45     INFO - GECKO(3364) | --DOCSHELL 0x7f3a39c5a800 == 3 [pid = 3409] [id = {ed140b77-cc5d-4a1d-9d17-569534cab28a}] [url = https://example.com/tests/dom/tests/mochitest/geolocation/file_featurePolicy.html]
[task 2019-09-10T11:49:45.939Z] 11:49:45     INFO - GECKO(3364) | --DOMWINDOW == 13 (0x7f3a38374000) [pid = 3409] [serial = 47] [outer = (nil)] [url = https://example.com/tests/dom/tests/mochitest/geolocation/file_featurePolicy.html]
[task 2019-09-10T11:49:45.940Z] 11:49:45     INFO - GECKO(3364) | --DOMWINDOW == 12 (0x7f3a38373400) [pid = 3409] [serial = 49] [outer = (nil)] [url = https://example.com/tests/dom/tests/mochitest/geolocation/file_featurePolicy.html]
[task 2019-09-10T11:49:46.859Z] 11:49:46     INFO - GECKO(3364) | *** WIFI GEO: Use request cache:false reason:No cached data
[task 2019-09-10T11:49:46.859Z] 11:49:46     INFO - GECKO(3364) | *** WIFI GEO: Sending request
[task 2019-09-10T11:49:46.859Z] 11:49:46     INFO - GECKO(3364) | *** WIFI GEO: sending {}
[task 2019-09-10T11:49:46.875Z] 11:49:46     INFO - GECKO(3364) | *** WIFI GEO: server returned status: 200 --> {"status":"OK","location":{"lat":37.41857,"lng":-122.08769},"accuracy":42}

Looks like this start to fail when Bug 1579373 was merged to central.

Thomas: Could you please take a look at this bug?

Flags: needinfo?(tnguyen)
Regressed by: 1579373
Keywords: regression

[Tracking Requested - why for this release]:

Assignee: nobody → tnguyen
Flags: needinfo?(tnguyen)

Well, the problem is setting prefs does not take effect to the top level document (in beta only). I am trying to put prefs to mochitest.ini and see.

Setting prefs in test does not have effect to top level document. We
should move the prefs to default part of ini file

I don't see the failure happens, checkin needed

Keywords: checkin-needed

Pushed by csabou@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e8714b2fecdd
Move prefs setting to ini file in feature policy geolocation test r=baku

Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
Blocks: 1572461
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: