RESOLVED INVALID Bug 203776
"ValueError('too many values to unpack') raised:" on imported css-backgrounds tests
https://bugs.webkit.org/show_bug.cgi?id=203776
Summary "ValueError('too many values to unpack') raised:" on imported css-backgrounds...
Simon Fraser (smfr)
Reported 2019-11-01 21:42:43 PDT
After importing css/css-backgrounds WPT, I hit this error when trying to run the tests: worker/2: ValueError('too many values to unpack') raised: File "/Volumes/Data/Development/system/webkit/OpenSource/Tools/Scripts/webkitpy/common/message_pool.py", line 268, in run worker.handle(message.name, message.src, *message.args) File "/Volumes/Data/Development/system/webkit/OpenSource/Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py", line 290, in handle self._run_test(test_input, test_list_name) File "/Volumes/Data/Development/system/webkit/OpenSource/Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py", line 311, in _run_test self._update_test_input(test_input) File "/Volumes/Data/Development/system/webkit/OpenSource/Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py", line 297, in _update_test_input test_input.reference_files = self._port.reference_files(test_input.test_name, device_type=self._port.target_host(self._worker_number).device_type) File "/Volumes/Data/Development/system/webkit/OpenSource/Tools/Scripts/webkitpy/port/base.py", line 539, in reference_files result = self._get_reftest_list(test_name) File "/Volumes/Data/Development/system/webkit/OpenSource/Tools/Scripts/webkitpy/port/base.py", line 512, in _get_reftest_list self._reftest_list[dirname] = Port._parse_reftest_list(self._filesystem, dirname) File "/Volumes/Data/Development/system/webkit/OpenSource/Tools/Scripts/webkitpy/port/base.py", line 529, in _parse_reftest_list expectation_type, test_file, ref_file = split_line split_line is: [u'fails', u'==', u'tall--cover--nonpercent-width-nonpercent-height.html', u'ref-tall-lime256x512-aqua256x256.html'] and this comes from line 89 in css/cass-backgrounds/background-size/vector/reftest.list which looks like: # We smear the background image when scaling it in these two tests... fails == tall--cover--nonpercent-width-nonpercent-height.html ref-tall-lime256x512-aqua256x256.html fails == tall--cover--nonpercent-width-nonpercent-height-viewbox.html ref-tall-lime256x512-aqua256x256.html We fail to handle lines with "fail" at the start.
Attachments
Patch (2.14 KB, patch)
2019-11-02 12:07 PDT, Simon Fraser (smfr)
no flags
Simon Fraser (smfr)
Comment 1 2019-11-02 11:58:03 PDT
*** Bug 203785 has been marked as a duplicate of this bug. ***
Simon Fraser (smfr)
Comment 2 2019-11-02 12:07:32 PDT
Alexey Proskuryakov
Comment 3 2019-11-02 14:54:33 PDT
EWS is failing webkitpy tests.
Jonathan Bedard
Comment 4 2019-11-04 07:32:51 PST
(In reply to Alexey Proskuryakov from comment #3) > EWS is failing webkitpy tests. My hunch is the tests aren't one of the two special cases, probably need to to edit them.
Radar WebKit Bug Importer
Comment 5 2020-09-21 15:36:59 PDT
Sam Sneddon [:gsnedders]
Comment 6 2021-04-30 18:43:05 PDT
reftest.list support was removed in bug 203783
Note You need to log in before you can comment on or make changes to this bug.