Closed Bug 1799602 Opened 3 years ago Closed 3 years ago

Intermittent /content-security-policy/reporting/report-uri-effective-directive.html | single tracking bug

Categories

(Core :: DOM: Security, defect, P5)

defect

Tracking

()

RESOLVED WORKSFORME

People

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

Details

(Keywords: intermittent-failure, intermittent-testcase, Whiteboard: [domsecurity-intermittent])

Filed by: mlaza [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=395887135&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/L4qabrLdSzW0fE-ZX4gE_A/runs/0/artifacts/public/logs/live_backing.log


[task 2022-11-08T06:01:43.889Z] 06:01:43     INFO - TEST-START | /content-security-policy/reporting/report-uri-effective-directive.html
[task 2022-11-08T06:01:43.893Z] 06:01:43     INFO - Closing window 04e47a5c-3278-4f99-b00e-260313703284
[task 2022-11-08T06:01:43.960Z] 06:01:43  WARNING - wptserve HTTPException in handler: 500
[task 2022-11-08T06:01:43.966Z] 06:01:43  WARNING - wptserve Traceback (most recent call last):
[task 2022-11-08T06:01:43.966Z] 06:01:43  WARNING -   File "Z:\task_166788346141037\build\tests\web-platform\tests\tools\wptserve\wptserve\handlers.py", line 361, in __call__
[task 2022-11-08T06:01:43.967Z] 06:01:43  WARNING -     rv = self.func(request, response)
[task 2022-11-08T06:01:43.967Z] 06:01:43  WARNING -   File "Z:\task_166788346141037\build\tests\web-platform\tests\reporting/resources/report.py", line 139, in main
[task 2022-11-08T06:01:43.967Z] 06:01:43  WARNING -     count += 1
[task 2022-11-08T06:01:43.967Z] 06:01:43  WARNING - TypeError: 'int' object is not iterable
[task 2022-11-08T06:01:43.967Z] 06:01:43  WARNING - 
[task 2022-11-08T06:01:43.967Z] 06:01:43  WARNING - During handling of the above exception, another exception occurred:
[task 2022-11-08T06:01:43.967Z] 06:01:43  WARNING - 
[task 2022-11-08T06:01:43.967Z] 06:01:43  WARNING - Traceback (most recent call last):
[task 2022-11-08T06:01:43.967Z] 06:01:43  WARNING -   File "Z:\task_166788346141037\build\tests\web-platform\tests\tools\wptserve\wptserve\server.py", line 289, in finish_handling
[task 2022-11-08T06:01:43.967Z] 06:01:43  WARNING -     handler(request, response)
[task 2022-11-08T06:01:43.967Z] 06:01:43  WARNING -   File "Z:\task_166788346141037\build\tests\web-platform\tests\tools\wptserve\wptserve\handlers.py", line 322, in __call__
[task 2022-11-08T06:01:43.967Z] 06:01:43  WARNING -     self._load_file(request, response, func)
[task 2022-11-08T06:01:43.967Z] 06:01:43  WARNING -   File "Z:\task_166788346141037\build\tests\web-platform\tests\tools\wptserve\wptserve\handlers.py", line 308, in _load_file
[task 2022-11-08T06:01:43.967Z] 06:01:43  WARNING -     return func(request, response, environ, path)
[task 2022-11-08T06:01:43.967Z] 06:01:43  WARNING -   File "Z:\task_166788346141037\build\tests\web-platform\tests\tools\wptserve\wptserve\handlers.py", line 317, in func
[task 2022-11-08T06:01:43.967Z] 06:01:43  WARNING -     handler(request, response)
[task 2022-11-08T06:01:43.967Z] 06:01:43  WARNING -   File "Z:\task_166788346141037\build\tests\web-platform\tests\tools\wptserve\wptserve\handlers.py", line 366, in __call__
[task 2022-11-08T06:01:43.968Z] 06:01:43  WARNING -     raise HTTPException(500, message=msg)
[task 2022-11-08T06:01:43.968Z] 06:01:43  WARNING - wptserve.utils.HTTPException: 500
[task 2022-11-08T06:01:43.968Z] 06:01:43  WARNING - 
[task 2022-11-08T06:01:43.968Z] 06:01:43  WARNING - wptserve Exception loading http://web-platform.test:8000/reporting/resources/report.py?op=put&reportID=ddddf342-335e-4022-83c4-68834764ee2a: 500
[task 2022-11-08T06:01:43.968Z] 06:01:43     INFO - wptserve 500
[task 2022-11-08T06:01:46.991Z] 06:01:46     INFO - 
[task 2022-11-08T06:01:46.991Z] 06:01:46     INFO - TEST-UNEXPECTED-FAIL | /content-security-policy/reporting/report-uri-effective-directive.html | Violation report status OK. - can't access property "body", data[0] is undefined
[task 2022-11-08T06:01:46.991Z] 06:01:46     INFO - report.onload<@http://web-platform.test:8000/content-security-policy/support/checkReport.sub.js?reportField=violated-directive&reportValue=script-src%20%27self%27:78:30
[task 2022-11-08T06:01:46.991Z] 06:01:46     INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2590:25
[task 2022-11-08T06:01:46.996Z] 06:01:46     INFO - Test.prototype.step_func/<@http://web-platform.test:8000/resources/testharness.js:2637:35
[task 2022-11-08T06:01:46.997Z] 06:01:46     INFO - TEST-OK | /content-security-policy/reporting/report-uri-effective-directive.html | took 3116ms

Tom, is this a bug in the test (suite)?

Assignee: nobody → tschuster

I am not sure, but I suspect this is some kind of issue with how the test server is written. count must be some kind of object instead of int? https://searchfox.org/mozilla-central/rev/185db4a5f794fa6afbbd446944bdeaf640ba7d72/testing/web-platform/tests/reporting/resources/report.py#139

Also this has only happened a single time so far.

I am just going to close this. There only ever was a single failure.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.