Closed Bug 1861916 Opened 8 months ago Closed 8 months ago

Perma [DO NOT USE FOR CLASSIFICATION] AttributeError: 'MarionetteProtocol' object has no attribute 'fedcm' | [DO NOT USE FOR CLASSIFICATION]

Categories

(Testing :: web-platform-tests, defect, P5)

defect

Tracking

(firefox122 fixed)

RESOLVED FIXED
122 Branch
Tracking Status
firefox122 --- fixed

People

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

References

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

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


[task 2023-10-30T07:10:43.279Z] 07:10:43     INFO - TEST-START | /credential-management/fedcm-abort.https.html
[task 2023-10-30T07:10:43.295Z] 07:10:43     INFO - Closing window b9d98f87-3b31-45f9-b9b7-c48f5551f3d0
[task 2023-10-30T07:10:43.514Z] 07:10:43  WARNING - Action select_fedcm_account failed
[task 2023-10-30T07:10:43.546Z] 07:10:43  WARNING - Traceback (most recent call last):
[task 2023-10-30T07:10:43.546Z] 07:10:43  WARNING -   File "Z:\task_169864586787865\build\tests\web-platform\tests\tools\wptrunner\wptrunner\executors\base.py", line 755, in process_action
[task 2023-10-30T07:10:43.546Z] 07:10:43  WARNING -     result = action_handler(payload)
[task 2023-10-30T07:10:43.546Z] 07:10:43  WARNING -   File "Z:\task_169864586787865\build\tests\web-platform\tests\tools\wptrunner\wptrunner\executors\actions.py", line 312, in __call__
[task 2023-10-30T07:10:43.546Z] 07:10:43  WARNING -     return self.protocol.fedcm.select_fedcm_account(account_index)
[task 2023-10-30T07:10:43.546Z] 07:10:43  WARNING - AttributeError: 'MarionetteProtocol' object has no attribute 'fedcm'
[task 2023-10-30T07:10:43.546Z] 07:10:43  WARNING - 
[task 2023-10-30T07:10:43.546Z] 07:10:43  WARNING - During handling of the above exception, another exception occurred:
[task 2023-10-30T07:10:43.546Z] 07:10:43  WARNING - 
[task 2023-10-30T07:10:43.546Z] 07:10:43  WARNING - Traceback (most recent call last):
[task 2023-10-30T07:10:43.546Z] 07:10:43  WARNING -   File "Z:\task_169864586787865\build\tests\web-platform\tests\tools\wptrunner\wptrunner\executors\executormarionette.py", line 855, in run_func
[task 2023-10-30T07:10:43.546Z] 07:10:43  WARNING -     self.result = True, self.func(self.protocol, self.url, self.timeout)
[task 2023-10-30T07:10:43.546Z] 07:10:43  WARNING -   File "Z:\task_169864586787865\build\tests\web-platform\tests\tools\wptrunner\wptrunner\executors\executormarionette.py", line 983, in do_testharness
[task 2023-10-30T07:10:43.546Z] 07:10:43  WARNING -     done, rv = handler(result)
[task 2023-10-30T07:10:43.546Z] 07:10:43  WARNING -   File "Z:\task_169864586787865\build\tests\web-platform\tests\tools\wptrunner\wptrunner\executors\base.py", line 738, in __call__
[task 2023-10-30T07:10:43.546Z] 07:10:43  WARNING -     return callback(url, payload)
[task 2023-10-30T07:10:43.546Z] 07:10:43  WARNING -   File "Z:\task_169864586787865\build\tests\web-platform\tests\tools\wptrunner\wptrunner\executors\base.py", line 759, in process_action
[task 2023-10-30T07:10:43.546Z] 07:10:43  WARNING -     if getattr(e, "obj") == self.protocol:
[task 2023-10-30T07:10:43.546Z] 07:10:43  WARNING - AttributeError: 'AttributeError' object has no attribute 'obj'
[task 2023-10-30T07:10:43.546Z] 07:10:43  WARNING - 
[task 2023-10-30T07:10:43.546Z] 07:10:43     INFO - TEST-ERROR | /credential-management/fedcm-abort.https.html | took 267ms
Summary: Intermittent AttributeError: 'MarionetteProtocol' object has no attribute 'fedcm' | single tracking bug → Perma [DO NOT USE FOR CLASSIFICATION] AttributeError: 'MarionetteProtocol' object has no attribute 'fedcm' | [DO NOT USE FOR CLASSIFICATION]

We previously tried to skip tracebacks for these failures by checking the obj property
on the error object. But that turns out to only work for recent Python versions, so
on older versions fall back to inspecting the error string to figure out which
object raised the exception. This is a bit of a hack, but it's probably OK to
solve the problem since it only really affects logging.

Assignee: nobody → james
Status: NEW → ASSIGNED
Flags: needinfo?(james)
Duplicate of this bug: 1848651
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/autoland/rev/d238dc5f29bd
Don't fail for Protocol attribute errors on Python < 3.10, r=Sasha
Status: ASSIGNED → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → 122 Branch
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/43281 for changes under testing/web-platform/tests
Upstream PR merged by moz-wptsync-bot
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0c5abf61eb5d
[wpt PR 43281] - [Gecko Bug 1861916] Don't fail for Protocol attribute errors on Python < 3.10, a=testonly
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/562192206622
[wpt PR 43281] - [Gecko Bug 1861916] Don't fail for Protocol attribute errors on Python < 3.10, a=testonly
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: