<?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>167517</bug_id>
          
          <creation_ts>2017-01-27 11:02:08 -0800</creation_ts>
          <short_desc>[WK2] LayoutTest gamepad/gamepad-visibility-1.html is a flaky failure</short_desc>
          <delta_ts>2017-02-02 17:50:46 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>Other</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ryan Haddad">ryanhaddad</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>beidson</cc>
    
    <cc>joepeck</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1270702</commentid>
    <comment_count>0</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2017-01-27 11:02:08 -0800</bug_when>
    <thetext>LayoutTest gamepad/gamepad-visibility-1.html is a flaky failure

https://build.webkit.org/results/Apple%20El%20Capitan%20Release%20WK2%20(Tests)/r211249%20(12641)/results.html

https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#tests=gamepad%2Fgamepad-visibility-1.html

--- /Volumes/Data/slave/elcapitan-release-tests-wk2/build/layout-test-results/gamepad/gamepad-visibility-1-expected.txt
+++ /Volumes/Data/slave/elcapitan-release-tests-wk2/build/layout-test-results/gamepad/gamepad-visibility-1-actual.txt
@@ -1,2 +1,2 @@
-No connect event seen in 20 run loop spins. Yay.
+Connect event seen! Should NOT have been seen</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1270703</commentid>
    <comment_count>1</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2017-01-27 11:02:44 -0800</bug_when>
    <thetext>This seems to be flaky on El Capitan Release WK2 and is showing up in EWS test runs from time to time.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1270705</commentid>
    <comment_count>2</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2017-01-27 11:04:34 -0800</bug_when>
    <thetext>(In reply to comment #1)
&gt; This seems to be flaky on El Capitan Release WK2 and is showing up in EWS
&gt; test runs from time to time.

https://webkit-queues.webkit.org/results/2959229
https://webkit-queues.webkit.org/results/2959260</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1271413</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2017-01-30 14:41:00 -0800</bug_when>
    <thetext>I&apos;m also seeing this fail on EWS, making it slow.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1272017</commentid>
    <comment_count>4</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2017-01-31 18:18:50 -0800</bug_when>
    <thetext>Marked test as flaky in http://trac.webkit.org/projects/webkit/changeset/211465</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1272047</commentid>
    <comment_count>5</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2017-01-31 21:39:59 -0800</bug_when>
    <thetext>I was able to reproduce this locally, when I run the test 10 times it typically fails the first time and passes all the rest:

  $ run-webkit-tests --iterations=10 --exit-after-n-failures=1 gamepad/gamepad-visibility-1.html

From the WebContentProcess side I see the gamepadconnected event dispatched via:

(lldb) bt
* thread #1, queue = &apos;com.apple.main-thread&apos;, stop reason = step over
    frame #0: WebCore`WebCore::GamepadManager::makeGamepadVisible(this=0x000000011910eb08, platformGamepad=0x00007fcfd0e05910, navigatorSet=0x000000011910eb18, domWindowSet=0x000000011910eb68) at GamepadManager.cpp:159
    frame #1: WebCore`WebCore::GamepadManager::platformGamepadConnected(this=0x000000011910eb08, platformGamepad=0x00007fcfd0e05910) at GamepadManager.cpp:76
    frame #2: WebKit`WebKit::WebGamepadProvider::gamepadConnected(this=0x000000010f64eb10, gamepadData=0x00007fff542baea8) at WebGamepadProvider.cpp:84
    frame #3: WebKit`WebKit::WebProcess::gamepadConnected(this=0x00007fcfd1006400, gamepadData=0x00007fff542baea8) at WebProcess.cpp:1026
    frame #4: WebKit`void IPC::callMemberFunctionImpl&lt;WebKit::WebProcess, void (WebKit::WebProcess::*)(WebKit::GamepadData const&amp;), std::__1::tuple&lt;WebKit::GamepadData&gt;, 0ul&gt;(object=0x00007fcfd1006400, function=40 70 ee 0e 01 00 00 00 00 00 00 00 00 00 00 00, args=0x00007fff542baea8, (null)=std::__1::index_sequence&lt;0UL&gt; @ 0x00007fff542badd0)(WebKit::GamepadData const&amp;), std::__1::tuple&lt;WebKit::GamepadData&gt;&amp;&amp;, std::__1::integer_sequence&lt;unsigned long, 0ul&gt;) at HandleMessage.h:40

Is there something that should be preventing the platformGamepadConnected here?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1272740</commentid>
    <comment_count>6</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2017-02-02 17:06:13 -0800</bug_when>
    <thetext>&lt;rdar://problem/30340691&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1272750</commentid>
    <comment_count>7</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2017-02-02 17:50:46 -0800</bug_when>
    <thetext>Retitling, this is not El Capitan or Release specific.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>