Perma KeyError: 'samesite_lax' during cookies/samesite/img.html DONT USE FOR CLASSIFICATION

RESOLVED FIXED in Firefox 65

Status

defect
P5
normal
RESOLVED FIXED
9 months ago
9 months ago

People

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

Tracking

Version 3
mozilla65
Points:
---

Firefox Tracking Flags

(firefox65 fixed)

Details

Attachments

(1 attachment, 1 obsolete attachment)

This happens during cookies/samesite/img.html, even though the test completes successfully (where "successfully" in this case means the test fails, as expected). This test and its expectations haven't changed since they were imported into m-c several months ago.


[task 2018-11-09T05:02:37.255Z] 05:02:37     INFO - TEST-START | /cookies/samesite/img.html
[task 2018-11-09T05:02:37.272Z] 05:02:37     INFO - Closing window 4294967360
[task 2018-11-09T05:02:37.389Z] 05:02:37     INFO - PID 5196 | ++DOCSHELL 0x7ff5c1129800 == 18 [pid = 5312] [id = {a136efce-d7bd-4fae-9f9a-c9bf4c04120c}]
[task 2018-11-09T05:02:37.390Z] 05:02:37     INFO - PID 5196 | ++DOMWINDOW == 38 (0x7ff5c11d6a00) [pid = 5312] [serial = 91] [outer = (nil)]
[task 2018-11-09T05:02:37.459Z] 05:02:37     INFO - PID 5196 | ++DOMWINDOW == 39 (0x7ff5c0d6a000) [pid = 5312] [serial = 92] [outer = 0x7ff5c11d6a00]
[task 2018-11-09T05:02:37.516Z] 05:02:37     INFO - PID 5196 | ++DOMWINDOW == 40 (0x7ff5c1114400) [pid = 5312] [serial = 93] [outer = 0x7ff5c11d6a00]
[task 2018-11-09T05:02:38.630Z] 05:02:38  WARNING - Traceback (most recent call last):
[task 2018-11-09T05:02:38.632Z] 05:02:38  WARNING -   File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/wptserve/handlers.py", line 312, in __call__
[task 2018-11-09T05:02:38.632Z] 05:02:38  WARNING -     rv = self.func(request, response)
[task 2018-11-09T05:02:38.633Z] 05:02:38  WARNING -   File "/builds/worker/workspace/build/tests/web-platform/tests/cookies/resources/imgIfMatch.py", line 9, in main
[task 2018-11-09T05:02:38.634Z] 05:02:38  WARNING -     cookiesWithMatchingNames = request.cookies.get_list(name)
[task 2018-11-09T05:02:38.639Z] 05:02:38  WARNING -   File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/wptserve/request.py", line 578, in get_list
[task 2018-11-09T05:02:38.639Z] 05:02:38  WARNING -     return dict.__getitem__(self, key)
[task 2018-11-09T05:02:38.639Z] 05:02:38  WARNING - KeyError: 'samesite_lax'
[task 2018-11-09T05:02:38.639Z] 05:02:38  WARNING - 
[task 2018-11-09T05:02:38.639Z] 05:02:38  WARNING - Traceback (most recent call last):
[task 2018-11-09T05:02:38.639Z] 05:02:38  WARNING -   File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/wptserve/handlers.py", line 312, in __call__
[task 2018-11-09T05:02:38.639Z] 05:02:38  WARNING -     rv = self.func(request, response)
[task 2018-11-09T05:02:38.639Z] 05:02:38  WARNING -   File "/builds/worker/workspace/build/tests/web-platform/tests/cookies/resources/imgIfMatch.py", line 9, in main
[task 2018-11-09T05:02:38.639Z] 05:02:38  WARNING -     cookiesWithMatchingNames = request.cookies.get_list(name)
[task 2018-11-09T05:02:38.639Z] 05:02:38  WARNING -   File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/wptserve/request.py", line 578, in get_list
[task 2018-11-09T05:02:38.639Z] 05:02:38  WARNING -     return dict.__getitem__(self, key)
[task 2018-11-09T05:02:38.639Z] 05:02:38  WARNING - KeyError: 'samesite_strict'
[task 2018-11-09T05:02:38.639Z] 05:02:38  WARNING - 
[task 2018-11-09T05:02:39.125Z] 05:02:39  WARNING - Traceback (most recent call last):
[task 2018-11-09T05:02:39.126Z] 05:02:39  WARNING -   File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/wptserve/handlers.py", line 312, in __call__
[task 2018-11-09T05:02:39.126Z] 05:02:39  WARNING -     rv = self.func(request, response)
[task 2018-11-09T05:02:39.126Z] 05:02:39  WARNING -   File "/builds/worker/workspace/build/tests/web-platform/tests/cookies/resources/imgIfMatch.py", line 9, in main
[task 2018-11-09T05:02:39.129Z] 05:02:39  WARNING -     cookiesWithMatchingNames = request.cookies.get_list(name)
[task 2018-11-09T05:02:39.130Z] 05:02:39  WARNING -   File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/wptserve/request.py", line 578, in get_list
[task 2018-11-09T05:02:39.130Z] 05:02:39  WARNING -     return dict.__getitem__(self, key)
[task 2018-11-09T05:02:39.130Z] 05:02:39  WARNING - KeyError: 'samesite_strict'
[task 2018-11-09T05:02:39.130Z] 05:02:39  WARNING - 
[task 2018-11-09T05:02:39.130Z] 05:02:39  WARNING - Traceback (most recent call last):
[task 2018-11-09T05:02:39.130Z] 05:02:39  WARNING -   File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/wptserve/handlers.py", line 312, in __call__
[task 2018-11-09T05:02:39.131Z] 05:02:39  WARNING -     rv = self.func(request, response)
[task 2018-11-09T05:02:39.132Z] 05:02:39  WARNING -   File "/builds/worker/workspace/build/tests/web-platform/tests/cookies/resources/imgIfMatch.py", line 9, in main
[task 2018-11-09T05:02:39.132Z] 05:02:39  WARNING -     cookiesWithMatchingNames = request.cookies.get_list(name)
[task 2018-11-09T05:02:39.132Z] 05:02:39  WARNING -   File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/wptserve/request.py", line 578, in get_list
[task 2018-11-09T05:02:39.132Z] 05:02:39  WARNING -     return dict.__getitem__(self, key)
[task 2018-11-09T05:02:39.132Z] 05:02:39  WARNING - KeyError: 'samesite_lax'
[task 2018-11-09T05:02:39.133Z] 05:02:39  WARNING - 
[task 2018-11-09T05:02:39.147Z] 05:02:39     INFO - PID 5196 | --DOMWINDOW == 2 (0x7f9b29314000) [pid = 5397] [serial = 2] [outer = (nil)] [url = about:blank]
[task 2018-11-09T05:02:39.306Z] 05:02:39     INFO - PID 5196 | --DOMWINDOW == 18 (0x7f8c3041ec00) [pid = 5196] [serial = 14] [outer = (nil)] [url = about:blank]
[task 2018-11-09T05:02:39.307Z] 05:02:39     INFO - PID 5196 | --DOMWINDOW == 17 (0x7f8c5ab20c00) [pid = 5196] [serial = 12] [outer = (nil)] [url = about:blank]
[task 2018-11-09T05:02:39.307Z] 05:02:39     INFO - PID 5196 | --DOMWINDOW == 16 (0x7f8c5ab1dc00) [pid = 5196] [serial = 10] [outer = (nil)] [url = about:blank]
[task 2018-11-09T05:02:39.307Z] 05:02:39     INFO - PID 5196 | --DOMWINDOW == 15 (0x7f8c5ab1b000) [pid = 5196] [serial = 8] [outer = (nil)] [url = about:blank]
[task 2018-11-09T05:02:39.307Z] 05:02:39     INFO - PID 5196 | --DOMWINDOW == 14 (0x7f8c3f10e800) [pid = 5196] [serial = 2] [outer = (nil)] [url = about:blank]
[task 2018-11-09T05:02:39.729Z] 05:02:39     INFO - ............
[task 2018-11-09T05:02:39.730Z] 05:02:39     INFO - TEST-OK | /cookies/samesite/img.html | took 2476ms
Summary: Intermittent KeyError: 'samesite_lax' → Intermittent KeyError: 'samesite_lax' during cookies/samesite/img.html
Summary: Intermittent KeyError: 'samesite_lax' during cookies/samesite/img.html → Perma KeyError: 'samesite_lax' during cookies/samesite/img.html DONT USE FOR CLASSIFICATION
Assignee: nobody → wkocher
Attachment #9027308 - Attachment is obsolete: true
Pushed by wkocher@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ffe333026cf8
Only __getitem__() in dicts that include the desired key to avoid printing tracebacks r=jgraham
https://hg.mozilla.org/mozilla-central/rev/ffe333026cf8
Status: NEW → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/14267 for changes under testing/web-platform/tests
Upstream PR merged
You need to log in before you can comment on or make changes to this bug.