<?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>231172</bug_id>
          
          <creation_ts>2021-10-04 08:23:30 -0700</creation_ts>
          <short_desc>REGRESSION (r283476): [ iOS macOS Debug ] TestWTF failures in RetainPtrARC and TypeCastsCocoaARC</short_desc>
          <delta_ts>2021-10-07 08:04:13 -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>Web Template Framework</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <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>
          <dependson>230406</dependson>
          <blocked>231251</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter>ayumi_kojima</reporter>
          <assigned_to name="David Kilzer (:ddkilzer)">ddkilzer</assigned_to>
          <cc>darin</cc>
    
    <cc>ddkilzer</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>1800067</commentid>
    <comment_count>0</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-10-04 08:23:30 -0700</bug_when>
    <thetext>TestWTF.TypeCastsCocoa.checked_objc_cast

Is constantly failing on iOS Release and macOS Release.

History: https://results.webkit.org/?suite=api-tests&amp;test=TestWTF.TypeCastsCocoa.checked_objc_cast

According to the history, it looks like the test started failing at https://trac.webkit.org/changeset/283476/webkit.

Stdio:

Failed
    TestWTF.TypeCastsCocoa.checked_objc_cast
        
        /Volumes/Data/worker/bigsur-release/build/Tools/TestWebKitAPI/Tests/WTF/cocoa/TypeCastsCocoa.mm:121
        Expected equality of these values:
          1L
            Which is: 1
          CFGetRetainCount((CFTypeRef)objectNSPtr)
            Which is: 2
        
        
        /Volumes/Data/worker/bigsur-release/build/Tools/TestWebKitAPI/Tests/WTF/cocoa/TypeCastsCocoa.mm:135
        Expected equality of these values:
          1L
            Which is: 1
          CFGetRetainCount((CFTypeRef)objectNSPtr)
            Which is: 2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1800068</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-10-04 08:23:50 -0700</bug_when>
    <thetext>&lt;rdar://problem/83836549&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1800209</commentid>
    <comment_count>2</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-10-04 13:42:26 -0700</bug_when>
    <thetext>TestWTF.TypeCastsCocoaARC.dynamic_objc_cast_RetainPtr
TestWTF.RetainPtrARC.AdoptNS
TestWTF.RetainPtrARC.RetainPtrNS
TestWTF.TypeCastsCocoaARC.bridge_id_cast
TestWTF.TypeCastsCocoaARC.checked_objc_cast
TestWTF.TypeCastsCocoaARC.dynamic_objc_cast

Are also failing constantly on iOS Debug and macOS Debug

History: https://results.webkit.org/?suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;test=TestWTF.TypeCastsCocoaARC.dynamic_objc_cast_RetainPtr&amp;test=TestWTF.TypeCastsCocoaARC.dynamic_objc_cast&amp;test=TestWTF.TypeCastsCocoaARC.checked_objc_cast&amp;test=TestWTF.TypeCastsCocoaARC.bridge_id_cast&amp;test=TestWTF.RetainPtrARC.RetainPtrNS&amp;test=TestWTF.RetainPtrARC.AdoptNS</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1800581</commentid>
    <comment_count>3</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2021-10-05 09:09:12 -0700</bug_when>
    <thetext>Fixed here for checked_objc_cast&lt;&gt; issues:

Committed r283551  &lt;https://trac.webkit.org/changeset/283551/webkit&gt;

Looking at the others now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1800592</commentid>
    <comment_count>4</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2021-10-05 09:45:17 -0700</bug_when>
    <thetext>Committed r283553 (242518@main): &lt;https://commits.webkit.org/242518@main&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1800599</commentid>
    <comment_count>5</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2021-10-05 09:48:27 -0700</bug_when>
    <thetext>(In reply to David Kilzer (:ddkilzer) from comment #4)
&gt; Committed r283553 (242518@main): &lt;https://commits.webkit.org/242518@main&gt;

Backed out RetainPtrARC.mm and TypeCastsCocoaARC.mm until I can fix the issues in Debug builds (to make bots green again) since it may take me a bit to get that done.

Will file a new bug to add the tests back with the fixes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1801607</commentid>
    <comment_count>6</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2021-10-07 08:04:13 -0700</bug_when>
    <thetext>(In reply to David Kilzer (:ddkilzer) from comment #5)
&gt; (In reply to David Kilzer (:ddkilzer) from comment #4)
&gt; &gt; Committed r283553 (242518@main): &lt;https://commits.webkit.org/242518@main&gt;
&gt; 
&gt; Backed out RetainPtrARC.mm and TypeCastsCocoaARC.mm until I can fix the
&gt; issues in Debug builds (to make bots green again) since it may take me a bit
&gt; to get that done.
&gt; 
&gt; Will file a new bug to add the tests back with the fixes.

Bug 231251: Add back RetainPtrARC and TypeCastsCocoaARC tests to TestWTF</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>