Bug 263673
Summary: | `import-w3c-tests -t web-platform-tests/html/canvas/tools/templates` -> `ValueError: Malformed fuzzy value "{{ fuzzy }}"` | ||
---|---|---|---|
Product: | WebKit | Reporter: | Sam Sneddon [:gsnedders] <gsnedders> |
Component: | Tools / Tests | Assignee: | Sam Sneddon [:gsnedders] <gsnedders> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | g_squelart, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=264953 |
Sam Sneddon [:gsnedders]
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Sam Sneddon [:gsnedders]
Pull request: https://github.com/WebKit/WebKit/pull/19554
Sam Sneddon [:gsnedders]
Pull request: https://github.com/WebKit/WebKit/pull/20610
EWS
Committed 270878@main (71c0ce6cf2ce): <https://commits.webkit.org/270878@main>
Reviewed commits have been landed. Closing PR #20610 and removing active labels.
EWS
Committed 277673@main (b70287103be9): <https://commits.webkit.org/277673@main>
Reviewed commits have been landed. Closing PR #19554 and removing active labels.