[Webkit-unassigned] [Bug 263673] New: `import-w3c-tests -t web-platform-tests/html/canvas/tools/templates` -> `ValueError: Malformed fuzzy value "{{ fuzzy }}"`
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Oct 25 10:45:48 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=263673
Bug ID: 263673
Summary: `import-w3c-tests -t
web-platform-tests/html/canvas/tools/templates` ->
`ValueError: Malformed fuzzy value "{{ fuzzy }}"`
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Keywords: InRadar
Severity: Normal
Priority: P2
Component: Tools / Tests
Assignee: webkit-unassigned at lists.webkit.org
Reporter: gsnedders at apple.com
CC: g_squelart at apple.com,
webkit-bug-importer at group.apple.com
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 at main, while WPT was at https://github.com/web-platform-tests/wpt/commit/d1f3f8d5a1c9f22ce5157867b37ca53cb613dbc0 .
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20231025/99d9c8cd/attachment.htm>
More information about the webkit-unassigned
mailing list