Bug 239087 - REGRESSION (r292696): lldb_webkit_unittest.TestSummaryProviders.serial_test_WTFStringImpl_SummaryProvider_null_string is a constant failure
Summary: REGRESSION (r292696): lldb_webkit_unittest.TestSummaryProviders.serial_test_W...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-04-11 14:21 PDT by Karl Rackler
Modified: 2022-04-12 15:03 PDT (History)
7 users (show)

See Also:


Attachments
Patch (1.40 KB, patch)
2022-04-11 14:34 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Karl Rackler 2022-04-11 14:21:40 PDT
lldb_webkit_unittest.TestSummaryProviders.serial_test_WTFStringImpl_SummaryProvider_null_string

The first build that the failure is seen on: 
https://build.webkit.org/#/builders/370/builds/2637

Diff: 
  Traceback (most recent call last):
    File "/Volumes/Data/worker/monterey-release-applesilicon-tests-wk2/build/Tools/lldb/lldb_webkit_unittest.py", line 110, in serial_test_WTFStringImpl_SummaryProvider_null_string
      self.assertEqual(summary, "{ length = 0, is8bit = 1, contents = '' }")
  AssertionError: '' != "{ length = 0, is8bit = 1, contents = '' }"
  + { length = 0, is8bit = 1, contents = '' }
Comment 1 Chris Dumez 2022-04-11 14:34:28 PDT
Created attachment 457287 [details]
Patch
Comment 2 Radar WebKit Bug Importer 2022-04-11 14:34:39 PDT
<rdar://problem/91589463>
Comment 3 EWS 2022-04-11 18:17:00 PDT
Committed r292750 (249534@main): <https://commits.webkit.org/249534@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 457287 [details].
Comment 4 Darin Adler 2022-04-12 11:02:40 PDT
Comment on attachment 457287 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=457287&action=review

> Tools/ChangeLog:9
> +        Revert change to aNullString made in r292696 as the the following test relies on this String being empty:
> +        lldb_webkit_unittest.TestSummaryProviders.serial_test_WTFStringImpl_SummaryProvider_null_string

Someone named an empty string "aNullString"! Great way to set a trap for Chris.
Comment 5 Alexey Proskuryakov 2022-04-12 14:53:19 PDT
We also have "anEmptyString" right below. Which is now identical to aNullString.
Comment 6 Chris Dumez 2022-04-12 15:03:40 PDT
(In reply to Alexey Proskuryakov from comment #5)
> We also have "anEmptyString" right below. Which is now identical to
> aNullString.

Yes, aNullString and anEmptyString are identical now and historically (before I tried to fix this non-sense recently and failed because I didn't realize this python test somehow relies on these).