RESOLVED FIXED 178234
import-w3c-tests modifies test sources and sometimes causes them to fail
https://bugs.webkit.org/show_bug.cgi?id=178234
Summary import-w3c-tests modifies test sources and sometimes causes them to fail
Chris Dumez
Reported 2017-10-12 14:46:17 PDT
One of the checks for http://w3c-test.org/dom/nodes/MutationObserver-characterData.html is failing in our layout tests because the test importer has modified spacing in one of the HTML comments. The unmodified version of the test passes in WebKit.
Attachments
WIP Patch (863.47 KB, patch)
2017-10-12 15:17 PDT, Chris Dumez
no flags
WIP Patch (863.05 KB, patch)
2017-10-12 15:24 PDT, Chris Dumez
no flags
Patch (890.05 KB, patch)
2017-10-12 15:39 PDT, Chris Dumez
no flags
Patch (662.67 KB, patch)
2017-10-12 16:11 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2017-10-12 15:17:41 PDT
Created attachment 323578 [details] WIP Patch
Chris Dumez
Comment 2 2017-10-12 15:24:56 PDT
Created attachment 323581 [details] WIP Patch
Build Bot
Comment 3 2017-10-12 15:30:05 PDT
Attachment 323581 [details] did not pass style-queue: ERROR: Tools/Scripts/webkitpy/w3c/test_importer.py:436: at least two spaces before inline comment [pep8/E261] [5] Total errors found: 1 in 717 files If any of these errors are false positives, please file a bug against check-webkit-style.
Chris Dumez
Comment 4 2017-10-12 15:39:51 PDT
Chris Dumez
Comment 5 2017-10-12 16:11:42 PDT
Chris Dumez
Comment 6 2017-10-12 19:04:45 PDT
Comment on attachment 323589 [details] Patch Clearing flags on attachment: 323589 Committed r223273: <https://trac.webkit.org/changeset/223273>
Chris Dumez
Comment 7 2017-10-12 19:04:47 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 8 2017-10-12 19:05:17 PDT
Ryan Haddad
Comment 9 2017-10-13 09:33:10 PDT
This change introduced a webkitpy test failure: [1618/1654] webkitpy.w3c.test_importer_unittest.TestImporterTest.test_harnesslinks_conversion failed: Traceback (most recent call last): File "/Volumes/Data/slave/sierra-release-tests-wk2/build/Tools/Scripts/webkitpy/w3c/test_importer_unittest.py", line 162, in test_harnesslinks_conversion self.assertTrue('src="../' in fs.read_text_file('/mock-checkout/LayoutTests/w3c/csswg-tests/t/test.html')) AssertionError: False is not true https://build.webkit.org/builders/Apple%20Sierra%20Release%20WK2%20%28Tests%29/builds/4998/steps/webkitpy-test/logs/stdio
Chris Dumez
Comment 10 2017-10-13 10:06:02 PDT
(In reply to Ryan Haddad from comment #9) > This change introduced a webkitpy test failure: > [1618/1654] > webkitpy.w3c.test_importer_unittest.TestImporterTest. > test_harnesslinks_conversion failed: > Traceback (most recent call last): > File > "/Volumes/Data/slave/sierra-release-tests-wk2/build/Tools/Scripts/webkitpy/ > w3c/test_importer_unittest.py", line 162, in test_harnesslinks_conversion > self.assertTrue('src="../' in > fs.read_text_file('/mock-checkout/LayoutTests/w3c/csswg-tests/t/test.html')) > AssertionError: False is not true > > https://build.webkit.org/builders/ > Apple%20Sierra%20Release%20WK2%20%28Tests%29/builds/4998/steps/webkitpy-test/ > logs/stdio Should be addressed in <https://trac.webkit.org/changeset/223281>.
Note You need to log in before you can comment on or make changes to this bug.