<?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>196006</bug_id>
          
          <creation_ts>2019-03-20 07:43:08 -0700</creation_ts>
          <short_desc>Flaky API Test TestWebKitAPI.KeyboardInputTests.KeyboardTypeForInput</short_desc>
          <delta_ts>2019-05-17 20:46:57 -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>Other</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=196007</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=196630</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="Aakash Jain">aakash_jain</reporter>
          <assigned_to name="Wenson Hsieh">wenson_hsieh</assigned_to>
          <cc>aakash_jain</cc>
    
    <cc>ap</cc>
    
    <cc>lforschler</cc>
    
    <cc>pxlcoder</cc>
    
    <cc>ryanhaddad</cc>
    
    <cc>thorton</cc>
    
    <cc>tsavell</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>wenson_hsieh</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1518882</commentid>
    <comment_count>0</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2019-03-20 07:43:08 -0700</bug_when>
    <thetext>TestWebKitAPI.KeyboardInputTests.KeyboardTypeForInput seems flaky. In https://ews-build.webkit-uat.org/#/builders/20/builds/2040, the test Failed in run-api-tests step. However, in the immediately next retry step (re-run-api-tests), it passed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1518912</commentid>
    <comment_count>1</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2019-03-20 09:17:47 -0700</bug_when>
    <thetext>This test was added in https://trac.webkit.org/changeset/235201</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1519915</commentid>
    <comment_count>2</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2019-03-21 14:00:32 -0700</bug_when>
    <thetext>Happened again in https://ews-build.webkit-uat.org/#/builders/20/builds/2198



TestWebKitAPI.KeyboardInputTests.KeyboardTypeForInput
    2019-03-21 12:08:07.471 TestWebKitAPI[32628:65791725] Displayed 7 for &lt;input type=&apos;search&apos; inputmode=&apos;tel&apos; pattern=&apos;&apos;&gt;. Expected 5.
    2019-03-21 12:08:09.257 TestWebKitAPI[32628:65791725] Displayed 5 for &lt;input type=&apos;tel&apos; inputmode=&apos;numeric&apos; pattern=&apos;&apos;&gt;. Expected 2.
        
    /Volumes/Data/worker/iOS-11-Simulator-Build-EWS/build/Tools/TestWebKitAPI/Tests/ios/KeyboardInputTestsIOS.mm:413
    Value of: runTest(inputType, inputMode, pattern, (UIKeyboardType)keyboardType.intValue)
      Actual: false
      Expected: true


    /Volumes/Data/worker/iOS-11-Simulator-Build-EWS/build/Tools/TestWebKitAPI/Tests/ios/KeyboardInputTestsIOS.mm:413
    Value of: runTest(inputType, inputMode, pattern, (UIKeyboardType)keyboardType.intValue)
      Actual: false
      Expected: true</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1520278</commentid>
    <comment_count>3</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2019-03-22 06:17:09 -0700</bug_when>
    <thetext>Happening very frequently, e.g.:

https://ews-build.webkit-uat.org/#/builders/20/builds/2232
https://ews-build.webkit-uat.org/#/builders/20/builds/2224
https://ews-build.webkit-uat.org/#/builders/20/builds/2205


TestWebKitAPI.KeyboardInputTests.KeyboardTypeForInput
    2019-03-21 17:39:00.638 TestWebKitAPI[20388:66464848] Displayed 8 for &lt;input type=&apos;search&apos; inputmode=&apos;url&apos; pattern=&apos;&apos;&gt;. Expected 3.
        
    /Volumes/Data/worker/iOS-12-Simulator-Build-EWS/build/Tools/TestWebKitAPI/Tests/ios/KeyboardInputTestsIOS.mm:413
    Value of: runTest(inputType, inputMode, pattern, (UIKeyboardType)keyboardType.intValue)
      Actual: false
      Expected: true


TestWebKitAPI.KeyboardInputTests.KeyboardTypeForInput
    2019-03-21 13:58:33.025 TestWebKitAPI[5458:274706] Displayed 3 for &lt;input type=&apos;text&apos; inputmode=&apos;&apos; pattern=&apos;&apos;&gt;. Expected 0.
        
    /Volumes/Data/worker/iOS-12-Simulator-Build-EWS/build/Tools/TestWebKitAPI/Tests/ios/KeyboardInputTestsIOS.mm:413
    Value of: runTest(inputType, inputMode, pattern, (UIKeyboardType)keyboardType.intValue)
      Actual: false
      Expected: true</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1520697</commentid>
    <comment_count>4</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2019-03-24 04:52:24 -0700</bug_when>
    <thetext>Can we prioritize this?
I am working on EWS for API tests, and this flaky failure is creating problem (e.g.: https://ews-build.webkit-uat.org/#/builders/20/builds/2256).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1521038</commentid>
    <comment_count>5</comment_count>
    <who name="Wenson Hsieh">wenson_hsieh</who>
    <bug_when>2019-03-25 14:41:42 -0700</bug_when>
    <thetext>I can repro this somewhat reliably by running the test for a dozen or so iterations in a loop.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1524193</commentid>
    <comment_count>6</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2019-04-04 04:41:36 -0700</bug_when>
    <thetext>Happening very frequently, Recent occurrences:
https://ews-build.webkit-uat.org/#/builders/20/builds/2630
https://ews-build.webkit-uat.org/#/builders/20/builds/2624
https://ews-build.webkit-uat.org/#/builders/20/builds/2623
https://ews-build.webkit-uat.org/#/builders/20/builds/2616
https://ews-build.webkit-uat.org/#/builders/20/builds/2614
https://ews-build.webkit-uat.org/#/builders/20/builds/2612
https://ews-build.webkit-uat.org/#/builders/20/builds/2604
https://ews-build.webkit-uat.org/#/builders/20/builds/2599
https://ews-build.webkit-uat.org/#/builders/20/builds/2594
https://ews-build.webkit-uat.org/#/builders/20/builds/2593
https://ews-build.webkit-uat.org/#/builders/20/builds/2591
https://ews-build.webkit-uat.org/#/builders/20/builds/2588
https://ews-build.webkit-uat.org/#/builders/20/builds/2584
https://ews-build.webkit-uat.org/#/builders/20/builds/2564
https://ews-build.webkit-uat.org/#/builders/20/builds/2563
https://ews-build.webkit-uat.org/#/builders/20/builds/2554
https://ews-build.webkit-uat.org/#/builders/20/builds/2552
https://ews-build.webkit-uat.org/#/builders/20/builds/2551
https://ews-build.webkit-uat.org/#/builders/20/builds/2544
https://ews-build.webkit-uat.org/#/builders/20/builds/2535
https://ews-build.webkit-uat.org/#/builders/20/builds/2530
https://ews-build.webkit-uat.org/#/builders/20/builds/2521
https://ews-build.webkit-uat.org/#/builders/20/builds/2506
https://ews-build.webkit-uat.org/#/builders/20/builds/2497
https://ews-build.webkit-uat.org/#/builders/20/builds/2496
https://ews-build.webkit-uat.org/#/builders/20/builds/2492
https://ews-build.webkit-uat.org/#/builders/20/builds/2490
https://ews-build.webkit-uat.org/#/builders/20/builds/2480
https://ews-build.webkit-uat.org/#/builders/20/builds/2478
https://ews-build.webkit-uat.org/#/builders/20/builds/2473
https://ews-build.webkit-uat.org/#/builders/20/builds/2450
https://ews-build.webkit-uat.org/#/builders/20/builds/2446
https://ews-build.webkit-uat.org/#/builders/20/builds/2429
https://ews-build.webkit-uat.org/#/builders/20/builds/2426
https://ews-build.webkit-uat.org/#/builders/20/builds/2415
https://ews-build.webkit-uat.org/#/builders/20/builds/2413
https://ews-build.webkit-uat.org/#/builders/20/builds/2407
https://ews-build.webkit-uat.org/#/builders/20/builds/2403
https://ews-build.webkit-uat.org/#/builders/20/builds/2389
https://ews-build.webkit-uat.org/#/builders/20/builds/2385
https://ews-build.webkit-uat.org/#/builders/20/builds/2384
https://ews-build.webkit-uat.org/#/builders/20/builds/2376
https://ews-build.webkit-uat.org/#/builders/20/builds/2374
https://ews-build.webkit-uat.org/#/builders/20/builds/2366
https://ews-build.webkit-uat.org/#/builders/20/builds/2359
https://ews-build.webkit-uat.org/#/builders/20/builds/2335
https://ews-build.webkit-uat.org/#/builders/20/builds/2334


In following builds, this test was flaky in a manner that EWS thought that the patch being tested introduced this test failure (failed twice with patch, passed without patch):
https://ews-build.webkit-uat.org/#/builders/20/builds/2498
https://ews-build.webkit-uat.org/#/builders/20/builds/2378
https://ews-build.webkit-uat.org/#/builders/20/builds/2337
https://ews-build.webkit-uat.org/#/builders/20/builds/2329
https://ews-build.webkit-uat.org/#/builders/20/builds/2311
https://ews-build.webkit-uat.org/#/builders/20/builds/2308
https://ews-build.webkit-uat.org/#/builders/20/builds/2256</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1533505</commentid>
    <comment_count>7</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2019-05-06 13:11:21 -0700</bug_when>
    <thetext>&lt;rdar://problem/50509880&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1533529</commentid>
    <comment_count>8</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2019-05-06 13:33:26 -0700</bug_when>
    <thetext>This test was disabled in https://bugs.webkit.org/show_bug.cgi?id=196630. It would be nice to fix and re-enable it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1537372</commentid>
    <comment_count>9</comment_count>
    <who name="Wenson Hsieh">wenson_hsieh</who>
    <bug_when>2019-05-17 20:46:57 -0700</bug_when>
    <thetext>I reenabled this in https://trac.webkit.org/changeset/245338/webkit.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>