<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>226540</bug_id>
          
          <creation_ts>2021-06-02 09:49:36 -0700</creation_ts>
          <short_desc>[test-webkit-lldb] 3 dump_class_layout_unittest.TestDumpClassLayout tests failing with Xcode 12.5</short_desc>
          <delta_ts>2021-06-09 14:31:29 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=226603</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ryan Haddad">ryanhaddad</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>jbedard</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1766041</commentid>
    <comment_count>0</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2021-06-02 09:49:36 -0700</bug_when>
    <thetext>3 dump_class_layout_unittest.TestDumpClassLayout tests are failing on bots with Xcode 12.5 install

[14/42] dump_class_layout_unittest.TestDumpClassLayout.serial_test_MemberHasBitfieldPadding failed:
  Traceback (most recent call last):
    File &quot;/Volumes/Data/worker/bigsur-release-tests-wk2/build/Tools/lldb/dump_class_layout_unittest.py&quot;, line 358, in serial_test_MemberHasBitfieldPadding
      self.assertEqual(EXPECTED_RESULT, actual_layout.as_string())
  AssertionError: &apos;  +0[383 chars]2 &lt;  2&gt;       &lt;PADDING: 2 bytes&gt;\n  +4 &lt;  4&gt;  [387 chars]50 %&apos; != &apos;  +0[383 chars]2 &lt;  1&gt;       &lt;PADDING: 1 bytes&gt;\n  +4 &lt;  4&gt;  [387 chars]98 %&apos;
      +0 &lt; 24&gt; MemberHasBitfieldPadding
      +0 &lt; 16&gt;     ClassWithPaddedBitfields bitfieldMember
      +0 &lt;  1&gt;       bool boolMember
      +1 &lt; :1&gt;       unsigned int bitfield1 : 1
      +1 &lt; :1&gt;       bool bitfield2 : 1
      +1 &lt; :2&gt;       unsigned int bitfield3 : 2
      +1 &lt; :1&gt;       unsigned int bitfield4 : 1
      +1 &lt; :2&gt;       unsigned long bitfield5 : 2
      +1 &lt; :1&gt;       &lt;UNUSED BITS: 1 bit&gt;
  -   +2 &lt;  2&gt;       &lt;PADDING: 2 bytes&gt;
  ?         ^                  ^
  +   +2 &lt;  1&gt;       &lt;PADDING: 1 bytes&gt;
  ?         ^                  ^
      +4 &lt;  4&gt;       int intMember
      +8 &lt; :1&gt;       unsigned int bitfield7 : 1
      +8 &lt; :9&gt;       unsigned int bitfield8 : 9
      +9 &lt; :1&gt;       bool bitfield9 : 1
      +9 &lt; :5&gt;       &lt;UNUSED BITS: 5 bits&gt;
     +10 &lt;  6&gt;   &lt;PADDING: 6 bytes&gt;
     +16 &lt; :1&gt;   bool bitfield1 : 1
     +16 &lt; :7&gt;   &lt;UNUSED BITS: 7 bits&gt;
     +17 &lt;  7&gt;   &lt;PADDING: 7 bytes&gt;
    Total byte size: 24
  - Total pad bytes: 15
  ?                   ^
  + Total pad bytes: 14
  ?                   ^
  - Padding percentage: 62.50 %?                      ^ ^^
  + Padding percentage: 61.98 %?                      ^ ^^


[35/42] dump_class_layout_unittest.TestDumpClassLayout.serial_test_InheritsFromClassWithPaddedBitfields failed:
  Traceback (most recent call last):
    File &quot;/Volumes/Data/worker/bigsur-release-tests-wk2/build/Tools/lldb/dump_class_layout_unittest.py&quot;, line 383, in serial_test_InheritsFromClassWithPaddedBitfields
      self.assertEqual(EXPECTED_RESULT, actual_layout.as_string())
  AssertionError: &apos;  +0[405 chars]2 &lt;  2&gt;       &lt;PADDING: 2 bytes&gt;\n  +4 &lt;  4&gt;  [359 chars]75 %&apos; != &apos;  +0[405 chars]2 &lt;  1&gt;       &lt;PADDING: 1 bytes&gt;\n  +4 &lt;  4&gt;  [359 chars]97 %&apos;
      +0 &lt; 16&gt; InheritsFromClassWithPaddedBitfields
      +0 &lt; 16&gt;     ClassWithPaddedBitfields ClassWithPaddedBitfields
      +0 &lt;  1&gt;       bool boolMember
      +1 &lt; :1&gt;       unsigned int bitfield1 : 1
      +1 &lt; :1&gt;       bool bitfield2 : 1
      +1 &lt; :2&gt;       unsigned int bitfield3 : 2
      +1 &lt; :1&gt;       unsigned int bitfield4 : 1
      +1 &lt; :2&gt;       unsigned long bitfield5 : 2
      +1 &lt; :1&gt;       &lt;UNUSED BITS: 1 bit&gt;
  -   +2 &lt;  2&gt;       &lt;PADDING: 2 bytes&gt;
  ?         ^                  ^
  +   +2 &lt;  1&gt;       &lt;PADDING: 1 bytes&gt;
  ?         ^                  ^
      +4 &lt;  4&gt;       int intMember
      +8 &lt; :1&gt;       unsigned int bitfield7 : 1
      +8 &lt; :9&gt;       unsigned int bitfield8 : 9
      +9 &lt; :1&gt;       bool bitfield9 : 1
      +9 &lt; :5&gt;       &lt;UNUSED BITS: 5 bits&gt;
     +10 &lt; :1&gt;   bool derivedBitfield : 1
     +10 &lt; :7&gt;   &lt;UNUSED BITS: 7 bits&gt;
     +11 &lt;  5&gt;   &lt;PADDING: 5 bytes&gt;
    Total byte size: 16
  - Total pad bytes: 7
  ?                  ^
  + Total pad bytes: 6
  ?                  ^
  - Padding percentage: 43.75 %?                      ^  -
  + Padding percentage: 42.97 %?                      ^ +
  

[38/42] dump_class_layout_unittest.TestDumpClassLayout.serial_test_ClassWithPaddedBitfields failed:
  Traceback (most recent call last):
    File &quot;/Volumes/Data/worker/bigsur-release-tests-wk2/build/Tools/lldb/dump_class_layout_unittest.py&quot;, line 332, in serial_test_ClassWithPaddedBitfields
      self.assertEqual(EXPECTED_RESULT, actual_layout.as_string())
  AssertionError: &apos;  +0[299 chars]2 &lt;  2&gt;   &lt;PADDING: 2 bytes&gt;\n  +4 &lt;  4&gt;   int[260 chars]00 %&apos; != &apos;  +0[299 chars]2 &lt;  1&gt;   &lt;PADDING: 1 bytes&gt;\n  +4 &lt;  4&gt;   int[260 chars]22 %&apos;
      +0 &lt; 16&gt; ClassWithPaddedBitfields
      +0 &lt;  1&gt;   bool boolMember
      +1 &lt; :1&gt;   unsigned int bitfield1 : 1
      +1 &lt; :1&gt;   bool bitfield2 : 1
      +1 &lt; :2&gt;   unsigned int bitfield3 : 2
      +1 &lt; :1&gt;   unsigned int bitfield4 : 1
      +1 &lt; :2&gt;   unsigned long bitfield5 : 2
      +1 &lt; :1&gt;   &lt;UNUSED BITS: 1 bit&gt;
  -   +2 &lt;  2&gt;   &lt;PADDING: 2 bytes&gt;
  ?         ^              ^
  +   +2 &lt;  1&gt;   &lt;PADDING: 1 bytes&gt;
  ?         ^              ^
      +4 &lt;  4&gt;   int intMember
      +8 &lt; :1&gt;   unsigned int bitfield7 : 1
      +8 &lt; :9&gt;   unsigned int bitfield8 : 9
      +9 &lt; :1&gt;   bool bitfield9 : 1
      +9 &lt; :5&gt;   &lt;UNUSED BITS: 5 bits&gt;
     +10 &lt;  6&gt;   &lt;PADDING: 6 bytes&gt;
    Total byte size: 16
  - Total pad bytes: 8
  ?                  ^
  + Total pad bytes: 7
  ?                  ^
  - Padding percentage: 50.00 %?                     ^^ ^^
  + Padding percentage: 49.22 %?                     ^^ ^^

https://build.webkit.org/#/builders/70/builds/3047/steps/12/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1766043</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-06-02 09:50:09 -0700</bug_when>
    <thetext>&lt;rdar://problem/78768841&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1766050</commentid>
    <comment_count>2</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2021-06-02 09:56:26 -0700</bug_when>
    <thetext>Simon, does this look like something we need to rebaseline?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1766065</commentid>
    <comment_count>3</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2021-06-02 10:42:35 -0700</bug_when>
    <thetext>Looks like a progression, yeah, but will depend on the tools version.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1768352</commentid>
    <comment_count>4</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2021-06-09 14:31:29 -0700</bug_when>
    <thetext>Rebaselined in https://trac.webkit.org/changeset/278674/webkit</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>