Closed Bug 1711652 Opened 3 years ago Closed 3 years ago

TypeError: run_web_platform_tests() missing 1 required positional argument: 'command_context'

Categories

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

Default
defect

Tracking

(firefox89 unaffected, firefox90 fixed)

RESOLVED FIXED
90 Branch
Tracking Status
firefox89 --- unaffected
firefox90 --- fixed

People

(Reporter: whimboo, Assigned: whimboo)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Running any wpt test via mach since bug 1696251 has been landed on mozilla-central results in the following failure:

mach wpt --webdriver-binary=target/debug/geckodriver --webdriver-arg=-vv testing/web-platform/tests/webdriver/tests/new_session/response.py
Error running mach:

    ['wpt', '--webdriver-binary=target/debug/geckodriver', '--webdriver-arg=-vv', 'testing/web-platform/tests/webdriver/tests/new_session/response.py']

The error occurred in the implementation of the invoked mach command.

This should never occur and is likely a bug in the implementation of that
command.
You can invoke |./mach busted| to check if this issue is already on file. If it
isn't, please use |./mach busted file wpt| to report it. If |./mach busted| is
misbehaving, you can also inspect the dependencies of bug 1543241.

If filing a bug, please include the full output of mach, including this error
message.

The details of the failure are as follows:

TypeError: run_web_platform_tests() missing 1 required positional argument: 'command_context'

  File "/Users/henrik/code/gecko/testing/web-platform/mach_commands.py", line 527, in run_wpt
    return self.run_web_platform_tests(**params)
Assignee: nobody → hskupin
Status: NEW → ASSIGNED
Pushed by hskupin@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/bc68a098adee
Fix broken call of run_web_platform_tests() due to missing command context. r=jgraham
Pushed by archaeopteryx@coole-files.de:
https://hg.mozilla.org/integration/autoland/rev/482c239f5354
Fix broken call of run_web_platform_tests() due to missing command context: Fix typo. r=me CLOSED TREE
Pushed by ncsoregi@mozilla.com:
https://hg.mozilla.org/mozilla-central/rev/578e276ade2e
Fix broken call of run_web_platform_tests() due to missing command context. r=jgraham a=graft
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: