Bug 261516

Summary: REGRESSION (267937@main): [ macOS ] webkitpy.w3c.test_converter_unittest.W3CTestConverterTest.test_convert_prefixed_properties: AssertionError: can't generate more tests than we have input data for
Product: WebKit Reporter: Karl Rackler <rackler>
Component: New BugsAssignee: Karl Rackler <rackler>
Status: RESOLVED FIXED    
Severity: Normal CC: koivisto, webkit-bot-watchers-bugzilla, 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=261468

Description Karl Rackler 2023-09-13 09:03:54 PDT
Description:
webkitpy.w3c.test_converter_unittest.W3CTestConverterTest.test_convert_prefixed_properties is a constant failure

Is a constant failure on macOS ToT and since 267937@main.

History:
https://results.webkit.org/?limit=50000&suite=webkitpy-tests&test=webkitpy.w3c.test_converter_unittest.W3CTestConverterTest.test_convert_prefixed_properties

Test run:
https://build.webkit.org/#/builders/699/builds/4920

Results: 
webkitpy.w3c.test_converter_unittest.W3CTestConverterTest.test_convert_prefixed_properties failed:
  Traceback (most recent call last):
    File "/Volumes/Data/worker/Apple-Ventura-Release-AppleSilicon-WK2-Tests/build/Tools/Scripts/webkitpy/w3c/test_converter_unittest.py", line 267, in test_convert_prefixed_properties
      test_content = self.generate_test_content_properties_and_values(converter.prefixed_properties, converter.prefixed_property_values, 18, test_html)
    File "/Volumes/Data/worker/Apple-Ventura-Release-AppleSilicon-WK2-Tests/build/Tools/Scripts/webkitpy/w3c/test_converter_unittest.py", line 394, in generate_test_content_properties_and_values
      test_content_property_values = self.generate_test_content(fully_property_values_list, num_test_properties_and_values, 'propvalue', test_content_properties[1])
    File "/Volumes/Data/worker/Apple-Ventura-Release-AppleSilicon-WK2-Tests/build/Tools/Scripts/webkitpy/w3c/test_converter_unittest.py", line 398, in generate_test_content
      assert num_test <= len(full_list), "can't generate more tests than we have input data for"
  AssertionError: can't generate more tests than we have input data for
Comment 1 Radar WebKit Bug Importer 2023-09-13 09:04:27 PDT
<rdar://problem/115433237>
Comment 2 Karl Rackler 2023-09-14 15:35:11 PDT
This issue can be reproduced using command:
test-webkitpy --verbose webkitpy.w3c.test_converter_unittest.W3CTestConverterTest.test_convert_prefixed_properties
Comment 3 Karl Rackler 2023-09-14 15:46:38 PDT
Pull request: https://github.com/WebKit/WebKit/pull/17789
Comment 4 EWS 2023-09-15 07:56:16 PDT
Committed 268019@main (2eccf91c9f88): <https://commits.webkit.org/268019@main>

Reviewed commits have been landed. Closing PR #17789 and removing active labels.
Comment 5 Karl Rackler 2023-09-15 09:31:43 PDT
Verified after landing <https://commits.webkit.org/268019@main> the test is consistently passing.