Perma [Tier 2] AttributeError: 'NoneType' object has no attribute 'default_expected'
Categories
(Testing :: web-platform-tests, defect, P5)
Tracking
(firefox-esr115 unaffected, firefox123 unaffected, firefox124 unaffected, firefox125 wontfix, firefox126 fixed)
| Tracking | Status | |
|---|---|---|
| firefox-esr115 | --- | unaffected |
| firefox123 | --- | unaffected |
| firefox124 | --- | unaffected |
| firefox125 | --- | wontfix |
| firefox126 | --- | fixed |
People
(Reporter: intermittent-bug-filer, Assigned: Sasha)
References
(Regression)
Details
(Keywords: intermittent-failure, regression)
Attachments
(1 file, 1 obsolete file)
Filed by: smolnar [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=450729409&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/YG_Wk1pIQN2bWG859ESybg/runs/0/artifacts/public/logs/live_backing.log
{"action": "log", "time": 1710406795369, "thread": "MainThread", "pid": 19, "source": "web-platform-tests", "message": " /css/filter-effects/backdrop-filter-basic-opacity-2.html ('PASS', []) ('PASS', ['ERROR']) True", "level": "DEBUG"}
[task 2024-03-14T08:59:55.378Z] Traceback (most recent call last):
[task 2024-03-14T08:59:55.378Z] File "/builds/worker/checkouts/gecko/testing/web-platform/mach_commands.py", line 397, in run
[task 2024-03-14T08:59:55.378Z] return fissionregressions.run(logger, src_root, obj_root, **kwargs)
[task 2024-03-14T08:59:55.378Z] File "/builds/worker/checkouts/gecko/testing/web-platform/fissionregressions.py", line 463, in run
[task 2024-03-14T08:59:55.378Z] baseline_results = allowed_results(baseline_test, name)
[task 2024-03-14T08:59:55.378Z] File "/builds/worker/checkouts/gecko/testing/web-platform/fissionregressions.py", line 204, in allowed_results
[task 2024-03-14T08:59:55.378Z] return test.expected(subtest), test.known_intermittent(subtest)
[task 2024-03-14T08:59:55.378Z] File "/builds/worker/checkouts/gecko/testing/web-platform/tests/tools/wptrunner/wptrunner/wpttest.py", line 435, in expected
[task 2024-03-14T08:59:55.378Z] default = self.subtest_result_cls.default_expected
[task 2024-03-14T08:59:55.378Z] AttributeError: 'NoneType' object has no attribute 'default_expected'
[task 2024-03-14T08:59:55.378Z] > /builds/worker/checkouts/gecko/testing/web-platform/tests/tools/wptrunner/wptrunner/wpttest.py(435)expected()
[task 2024-03-14T08:59:55.378Z] -> default = self.subtest_result_cls.default_expected
[taskcluster:error] Task timeout after 2700 seconds. Force killing container.
[taskcluster 2024-03-14 09:37:03.906Z] === Task Finished ===
[taskcluster 2024-03-14 09:37:03.907Z] Unsuccessful task run with exit code: -1 completed in 2701.244 seconds
Comment 1•1 year ago
|
||
@Sasha, could you check out this perma wpt lint failure?
started to fail after the latest wpt-sync
| Assignee | ||
Comment 2•1 year ago
|
||
Updated•1 year ago
|
| Assignee | ||
Updated•1 year ago
|
Comment 3•1 year ago
|
||
Set release status flags based on info from the regressing bug 1885040
| Comment hidden (Intermittent Failures Robot) |
Comment 5•1 year ago
|
||
But reftests shouldn't have subtests. So I think the patch is kind of wallpapering over the problem, which I suspect is really an error in the data.
Maybe https://searchfox.org/mozilla-central/source/testing/web-platform/tests/tools/wptrunner/wptrunner/wpttest.py#435 should raise a ValueError in this case with a message that makes the error more obvious? And perhaps we should just ignore the error in fissionregressions.py in that case, since it seems to be the only tool that actually errors out here, rather than just not trying to access the problematic data.
But in any case I'm going to put up a patch to fix the underlying issue, which seems to be caused by rewriting a testharness test as a reftest, which is a scenario the sync doesn't fully handle (should remove all subtest expectation data in that case).
Comment 6•1 year ago
|
||
Updated•1 year ago
|
Comment 8•1 year ago
|
||
Set release status flags based on info from the regressing bug 1885040
Comment 9•1 year ago
|
||
Backed out for causing perma wpt canvas failures @ /html/canvas/element/filters/2d.filter.canvasFilterObject.<...>
Backout link: https://hg.mozilla.org/integration/autoland/rev/450538ee1ca2a3ef8685321eee6e2f8a14e47aa6
Comment 11•1 year ago
|
||
Comment 12•1 year ago
|
||
| bugherder | ||
Comment 13•1 year ago
|
||
The patch landed in nightly and beta is affected.
:Sasha, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- If no, please set
status-firefox125towontfix.
For more information, please visit BugBot documentation.
| Assignee | ||
Updated•1 year ago
|
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
Description
•