RESOLVED FIXED 263673
`import-w3c-tests -t web-platform-tests/html/canvas/tools/templates` -> `ValueError: Malformed fuzzy value "{{ fuzzy }}"`
https://bugs.webkit.org/show_bug.cgi?id=263673
Summary `import-w3c-tests -t web-platform-tests/html/canvas/tools/templates` -> `Valu...
Sam Sneddon [:gsnedders]
Reported 2023-10-25 10:45:48 PDT
rdar://115101277 Summary: `import-w3c-tests -t web-platform-tests/html/canvas/tools/templates` crashes with `ValueError: Malformed fuzzy value "{{ fuzzy }}"` Steps To Reproduce: 1. In a terminal, go to a clean WebKit repo. 2. Run `import-w3c-tests -t web-platform-tests/html/canvas/tools/templates`. Results: ``` Downloading W3C test repositories Fetching https://github.com/web-platform-tests/wpt.git... Checking out revision origin/master Scanning /Volumes/WebKit/OpenSource/WebKitBuild/w3c-tests/web-platform-tests/html/canvas/tools/templates/... Traceback (most recent call last): File "/Volumes/WebKit/OpenSource/Tools/Scripts/import-w3c-tests", line 35, in <module> sys.exit(test_importer.main(sys.argv[1:], sys.stdout, sys.stderr)) File "/Volumes/WebKit/OpenSource/Tools/Scripts/webkitpy/w3c/test_importer.py", line 101, in main test_importer.do_import() File "/Volumes/WebKit/OpenSource/Tools/Scripts/webkitpy/w3c/test_importer.py", line 227, in do_import self.find_importable_tests(self.filesystem.join(self.source_directory, test_path)) File "/Volumes/WebKit/OpenSource/Tools/Scripts/webkitpy/w3c/test_importer.py", line 350, in find_importable_tests test_info = test_parser.analyze_test() File "/Volumes/WebKit/OpenSource/Tools/Scripts/webkitpy/w3c/test_parser.py", line 149, in analyze_test test_info['fuzzy'] = self.fuzzy_metadata() File "/Volumes/WebKit/OpenSource/Tools/Scripts/webkitpy/w3c/test_parser.py", line 217, in fuzzy_metadata raise ValueError("Malformed fuzzy value \"%s\"" % fuzzy_data) ValueError: Malformed fuzzy value "{{ fuzzy }}" ``` Tested at c734176258bc aka 267716@main, while WPT was at https://github.com/web-platform-tests/wpt/commit/d1f3f8d5a1c9f22ce5157867b37ca53cb613dbc0 .
Attachments
Sam Sneddon [:gsnedders]
Comment 1 2023-10-25 11:06:39 PDT
Sam Sneddon [:gsnedders]
Comment 2 2023-11-16 08:03:13 PST
EWS
Comment 3 2023-11-17 03:14:07 PST
Committed 270878@main (71c0ce6cf2ce): <https://commits.webkit.org/270878@main> Reviewed commits have been landed. Closing PR #20610 and removing active labels.
EWS
Comment 4 2024-04-18 07:57:24 PDT
Committed 277673@main (b70287103be9): <https://commits.webkit.org/277673@main> Reviewed commits have been landed. Closing PR #19554 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.