<?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>100408</bug_id>
          
          <creation_ts>2012-10-25 13:08:45 -0700</creation_ts>
          <short_desc>REGRESSION (r132328): /WebKit2APITests/TestWebKitAccessibility unit test is failing</short_desc>
          <delta_ts>2013-09-04 06:30:14 -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>WebKitGTK</component>
          <version>528+ (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>Gtk</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Zan Dobersek">zan</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>cgarcia</cc>
    
    <cc>mario</cc>
    
    <cc>svillar</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>751146</commentid>
    <comment_count>0</comment_count>
    <who name="Zan Dobersek">zan</who>
    <bug_when>2012-10-25 13:08:45 -0700</bug_when>
    <thetext>The TestWebKitAccessibility unit test has been failing after the run-gtk-tests script was modified in r132328.
http://trac.webkit.org/changeset/132328

I&apos;ll skip the test for now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>751151</commentid>
    <comment_count>1</comment_count>
    <who name="Zan Dobersek">zan</who>
    <bug_when>2012-10-25 13:10:33 -0700</bug_when>
    <thetext>Of course, I should give some more information about the failing test.
Here&apos;s the output:

TEST: ./Tools/gtk/../Scripts/../../WebKitBuild/Release/Programs/WebKit2APITests/TestWebKitAccessibility... (pid=12069)

failed to create drawable

  /webkit2/WebKitAccessibility/atspi-basic-hierarchy:                  **

ERROR:../../Source/WebKit2/UIProcess/API/gtk/tests/TestWebKitAccessibility.cpp:136:void checkAtspiAccessible(AtspiAccessible*, const char*, AtspiRole): assertion failed (targetRole == atspi_accessible_get_role(accessible, 0)): (23 == 0)

FAIL</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>751998</commentid>
    <comment_count>2</comment_count>
    <who name="Mario Sanchez Prada">mario</who>
    <bug_when>2012-10-26 07:02:16 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; Of course, I should give some more information about the failing test.
&gt; Here&apos;s the output:
&gt; 
&gt; TEST: ./Tools/gtk/../Scripts/../../WebKitBuild/Release/Programs/WebKit2APITests/TestWebKitAccessibility... (pid=12069)
&gt; 
&gt; failed to create drawable

This doesn&apos;t seem to me like a fail in the test but in the environment in the buildbot. Actually, I have just logged in the buildbot, run the test and it works fine, so maybe we should unskip it again and give it another shot.

What do you think?

&gt;   /webkit2/WebKitAccessibility/atspi-basic-hierarchy:                  **
&gt; 
&gt;ERROR:../../Source/WebKit2/UIProcess/API/gtk/tests/TestWebKitAccessibility.cpp:1
&gt; 36:void checkAtspiAccessible(AtspiAccessible*, const char*, AtspiRole): 
&gt; assertion failed (targetRole == atspi_accessible_get_role(accessible, 0)): 
&gt; (23 == 0)
&gt; 

Couldn&apos;t reproduce this, neither in the bots neither locally (and I have tried both with Release and Debug builds, right after updating my local repo this morning)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>751999</commentid>
    <comment_count>3</comment_count>
    <who name="Mario Sanchez Prada">mario</who>
    <bug_when>2012-10-26 07:04:24 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; (In reply to comment #1)
&gt; &gt; Of course, I should give some more information about the failing test.
&gt; &gt; Here&apos;s the output:
&gt; &gt; 
&gt; &gt; TEST: ./Tools/gtk/../Scripts/../../WebKitBuild/Release/Programs/WebKit2APITests/TestWebKitAccessibility... (pid=12069)
&gt; &gt; 
&gt; &gt; failed to create drawable
&gt; 
&gt; This doesn&apos;t seem to me like a fail in the test but in the environment in the 
&gt; buildbot. Actually, I have just logged in the buildbot, run the test and it 
&gt; works fine, so maybe we should unskip it again and give it another shot.

Hmmm.. one clarification: I tried running this in the normal buildbots, not in the WebKit2 one (no idea how to try it out there). Maybe Sergio (added to CC) could help us with that? 

JFTR, I&apos;d just run this command:

$ Tools/Scripts/run-gtk-tests \
     WebKitBuild/Release/Programs/WebKit2APITests/TestWebKitAccessibility</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>766193</commentid>
    <comment_count>4</comment_count>
    <who name="Sergio Villar Senin">svillar</who>
    <bug_when>2012-11-13 17:07:02 -0800</bug_when>
    <thetext>(In reply to comment #3)
&gt; (In reply to comment #2)
&gt; &gt; (In reply to comment #1)
&gt; &gt; &gt; Of course, I should give some more information about the failing test.
&gt; &gt; &gt; Here&apos;s the output:
&gt; &gt; &gt; 
&gt; &gt; &gt; TEST: ./Tools/gtk/../Scripts/../../WebKitBuild/Release/Programs/WebKit2APITests/TestWebKitAccessibility... (pid=12069)
&gt; &gt; &gt; 
&gt; &gt; &gt; failed to create drawable
&gt; &gt; 
&gt; &gt; This doesn&apos;t seem to me like a fail in the test but in the environment in the 
&gt; &gt; buildbot. Actually, I have just logged in the buildbot, run the test and it 
&gt; &gt; works fine, so maybe we should unskip it again and give it another shot.
&gt; 
&gt; Hmmm.. one clarification: I tried running this in the normal buildbots, not in the WebKit2 one (no idea how to try it out there). Maybe Sergio (added to CC) could help us with that? 

Not sure what you mean Mario, the WK2 behaves exactly the same as any other bot, the difference is that we just copy the WebKitBuild/Release folder there instead of generating it in the bot. There should be no difference.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>767931</commentid>
    <comment_count>5</comment_count>
    <who name="Mario Sanchez Prada">mario</who>
    <bug_when>2012-11-15 04:07:33 -0800</bug_when>
    <thetext>(In reply to comment #4)
&gt; [...]
&gt; Not sure what you mean Mario, the WK2 behaves exactly the same as any other 
&gt; bot, the difference is that we just copy the WebKitBuild/Release folder there 
&gt; instead of generating it in the bot. There should be no difference.

I just meant that I was not able to try it in the WK2 and so that I could not be sure whether there could be any (subtle?) difference explaining why it worked in the non-WK2 bots but not in the other one.

If you (or anyone else with access to the WK2 bot) could try this out that would be of great help I think.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>924351</commentid>
    <comment_count>6</comment_count>
    <who name="Mario Sanchez Prada">mario</who>
    <bug_when>2013-09-04 04:05:04 -0700</bug_when>
    <thetext>(In reply to comment #5)
&gt; (In reply to comment #4)
&gt; &gt; [...]
&gt; &gt; Not sure what you mean Mario, the WK2 behaves exactly the same as any other 
&gt; &gt; bot, the difference is that we just copy the WebKitBuild/Release folder there 
&gt; &gt; instead of generating it in the bot. There should be no difference.
&gt; 
&gt; I just meant that I was not able to try it in the WK2 and so that I could not be sure whether there could be any (subtle?) difference explaining why it worked in the non-WK2 bots but not in the other one.
&gt; 
&gt; If you (or anyone else with access to the WK2 bot) could try this out that would be of great help I think.

I&apos;ve just talked to Sergio again now and he confirms that running this test directly in the WK2 is working fine now, so we believe we can give it a try and unskip it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>924394</commentid>
    <comment_count>7</comment_count>
    <who name="Mario Sanchez Prada">mario</who>
    <bug_when>2013-09-04 06:30:14 -0700</bug_when>
    <thetext>Committed r155038: &lt;http://trac.webkit.org/changeset/155038&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>