Closed Bug 1629781 Opened 5 years ago Closed 5 years ago

Cannot run WPT on Windows due to `TypeError: unhashable type: 'dict'`

Categories

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

x86_64
Windows 10
defect
Not set
blocker

Tracking

(firefox77 fixed)

RESOLVED FIXED
mozilla77
Tracking Status
firefox77 --- fixed

People

(Reporter: masayuki, Assigned: ahal)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

I try to run a WPT test locally on my Win10 environment, but I cannot do it due to the following error:

TypeError: unhashable type: 'dict'

  File "m:\src\testing/web-platform/mach_commands.py", line 369, in run_web_platform_tests
    return wpt_runner.run(logger, **params)
  File "m:\src\testing/web-platform\mach_commands_base.py", line 44, in run
    result = wptrunner.start(**kwargs)
  File "m:\src\testing/web-platform/tests/tools/wptrunner\wptrunner\wptrunner.py", line 383, in start
    rv = not run_tests(**kwargs) or logged_critical.has_log
  File "m:\src\testing/web-platform/tests/tools/wptrunner\wptrunner\wptrunner.py", line 242, in run_tests
    logger.suite_start(test_source_cls.tests_by_group(tests, **test_source_kwargs),
  File "m:\src\testing/web-platform/tests/tools/wptrunner\wptrunner\testloader.py", line 379, in tests_by_group
    return {cls.group_metadata(None): [t.id for t in tests]}

The function tests_by_group was added by bug 1614643.

Flags: needinfo?(ahal)

Once I back out the patch, I can run WPT.

My apologies, I tested locally but I guess I used the chunking arguments so never hit this code path.

Assignee: nobody → ahal
Status: NEW → ASSIGNED
Component: Task Configuration → web-platform-tests
Flags: needinfo?(ahal)
Product: Firefox Build System → Testing
Pushed by ahalberstadt@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7f943eab2344 [wpt] Fix regression to './mach web-platform-tests' without chunking args, r=jgraham
Failed to create upstream wpt PR due to merge conflicts. This requires fixup from a wpt sync admin.
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/23114 for changes under testing/web-platform/tests
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: