<?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>195233</bug_id>
          
          <creation_ts>2019-03-01 16:08:06 -0800</creation_ts>
          <short_desc>[ Mac WK2 iOS Debug ] REGRESSION(r233667) Layout Test imported/w3c/web-platform-tests/web-animations/interfaces/DocumentTimeline/constructor.html is a flaky failure</short_desc>
          <delta_ts>2019-04-08 11:50:50 -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=186498</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="Shawn Roberts">sroberts</reporter>
          <assigned_to name="Antoine Quint">graouts</assigned_to>
          <cc>dino</cc>
    
    <cc>graouts</cc>
    
    <cc>lforschler</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>1511664</commentid>
    <comment_count>0</comment_count>
    <who name="Shawn Roberts">sroberts</who>
    <bug_when>2019-03-01 16:08:06 -0800</bug_when>
    <thetext>The following layout test is failing on Mac WK2 + iOS Debug

imported/w3c/web-platform-tests/web-animations/interfaces/DocumentTimeline/constructor.html

Probable cause:

Test was modified in r233667, is 100% failure before that revision and is a flaky failure since it was changed.

Reproducible with:

run-webkit-tests imported/w3c/web-platform-tests/web-animations/interfaces/DocumentTimeline/constructor.html --iterations 5000 -f --exit-after-n-failures=5

Flakiness Dashboard:

https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&amp;tests=imported%2Fw3c%2Fweb-platform-tests%2Fweb-animations%2Finterfaces%2FDocumentTimeline%2Fconstructor.html

Diff: 

--- /Volumes/Data/slave/mojave-release-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/web-animations/interfaces/DocumentTimeline/constructor-expected.txt
+++ /Volumes/Data/slave/mojave-release-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/web-animations/interfaces/DocumentTimeline/constructor-actual.txt
@@ -1,5 +1,5 @@
 
-PASS An origin time of zero is used when none is supplied 
+FAIL An origin time of zero is used when none is supplied assert_approx_equals: expected 30 +/- 0.001 but got 15
 PASS A zero origin time produces a document timeline with a current time identical to the default document timeline 
 PASS A positive origin time makes the document timeline&apos;s current time lag behind the default document timeline 
 PASS A negative origin time makes the document timeline&apos;s current time run ahead of the default document timeline</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1511671</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2019-03-01 16:14:53 -0800</bug_when>
    <thetext>&lt;rdar://problem/48527231&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1514102</commentid>
    <comment_count>2</comment_count>
    <who name="Shawn Roberts">sroberts</who>
    <bug_when>2019-03-08 11:31:57 -0800</bug_when>
    <thetext>Adding additional repro steps:

Test was flaky through its entire available history on dashboard and searching through Trac I could not find any recent changes. Started Bisection point at 228049 which was the oldest revision I could spade.

Once I started getting 100% failures I switched test parameters to --exit-after-n-failures=25 to limit iterations run.

For Debug failures it failed in r233667 and 233636 was the only version I could spade previous to that.

Once I found the revision it was starting to fail on, Looking on Trac for r233667 it appears test expectations were modified.

Release WK2:

242285 flaky failure
242279 flaky failure
242112 flaky failure
237300 flaky failure
235000 flaky failure
234133 flaky failure
233702 flaky failure
233676 flaky failure
233671 flaky failure
233668 flaky failure
233667 4997 tests ran as expected, 3 didn&apos;t failed unexpectedly (text diff)

233666 0 tests ran as expected, 25 didn&apos;t
233665 0 tests ran as expected, 25 didn&apos;t
233649 0 tests ran as expected, 25 didn&apos;t
233595 0 tests ran as expected, 25 didn&apos;t
233483 0 tests ran as expected, 25 didn&apos;t
233263 0 tests ran as expected, 25 didn&apos;t
231525 0 tests ran as expected, 25 didn&apos;t
228049 0 tests ran as expected, 25 didn&apos;t : Unexpected text-only failures (1) [ Failure ]


Debug WK2:

233678 733 tests ran as expected, 5 didn&apos;t (4262 didn&apos;t run) failed unexpectedly (text diff)
233636 0 tests ran as expected, 25 didn&apos;t Unexpected text-only failures (1) [ Failure ]


Since initial testing found that iOS Simulator Release WK2, and Mac Debug WK1 are now flaky failures.

iOS Simulator:

242640 722 tests ran as expected, 5 didn&apos;t (4273 didn&apos;t run) Unexpected text-only failures (1)
233667 4997 tests ran as expected, 3 didn&apos;t failed unexpectedly (text diff)
233666 0 tests ran as expected, 25 didn&apos;t Unexpected text-only failures (1) [ Failure ]


Mac Debug WK1:

233678 395 tests ran as expected, 5 didn&apos;t (4600 didn&apos;t run): failed unexpectedly (text diff)
233636 0 tests ran as expected, 25 didn&apos;t (4975 didn&apos;t run): failed unexpectedly (text diff)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1523917</commentid>
    <comment_count>3</comment_count>
    <who name="Shawn Roberts">sroberts</who>
    <bug_when>2019-04-03 14:16:26 -0700</bug_when>
    <thetext>Correction, This is not a regression to this specific version. The code just changed in r233667. Test was likely a flaky failure before that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1525183</commentid>
    <comment_count>4</comment_count>
      <attachid>366936</attachid>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2019-04-08 08:07:24 -0700</bug_when>
    <thetext>Created attachment 366936
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1525277</commentid>
    <comment_count>5</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2019-04-08 11:50:50 -0700</bug_when>
    <thetext>Committed r244032: &lt;https://trac.webkit.org/changeset/244032&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>366936</attachid>
            <date>2019-04-08 08:07:24 -0700</date>
            <delta_ts>2019-04-08 11:39:49 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-195233-20190408170722.patch</filename>
            <type>text/plain</type>
            <size>2193</size>
            <attacher name="Antoine Quint">graouts</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjQzOTI5CmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViQ29yZS9D
aGFuZ2VMb2cgYi9Tb3VyY2UvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXggZjEyMzI2MTc1NTIwNDlm
ZTI2OTdjZDRmM2M0NzFlNDMwM2ZkMmQ1OS4uNDBlNTljNmFmOGNkMDAwZTRkZTM0YmJkYjI2NzM2
ZGNmNzc4YTcwYSAxMDA2NDQKLS0tIGEvU291cmNlL1dlYkNvcmUvQ2hhbmdlTG9nCisrKyBiL1Nv
dXJjZS9XZWJDb3JlL0NoYW5nZUxvZwpAQCAtMSwzICsxLDE2IEBACisyMDE5LTA0LTA4ICBBbnRv
aW5lIFF1aW50ICA8Z3Jhb3V0c0BhcHBsZS5jb20+CisKKyAgICAgICAgWyBNYWMgV0syIGlPUyBE
ZWJ1ZyBdIFJFR1JFU1NJT04ocjIzMzY2NykgTGF5b3V0IFRlc3QgaW1wb3J0ZWQvdzNjL3dlYi1w
bGF0Zm9ybS10ZXN0cy93ZWItYW5pbWF0aW9ucy9pbnRlcmZhY2VzL0RvY3VtZW50VGltZWxpbmUv
Y29uc3RydWN0b3IuaHRtbCBpc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aW1lbGluZUN1cnJlbnRUaW1lIC0gbV9vcmlnaW5UaW1l
OworICAgICAgICByZXR1cm4gV1RGOjpudWxsb3B0OwogICAgIH0KIAogICAgIGF1dG8gY3VycmVu
dFRpbWUgPSBsaXZlQ3VycmVudFRpbWUoKTsK
</data>
<flag name="review"
          id="383287"
          type_id="1"
          status="+"
          setter="dino"
    />
          </attachment>
      

    </bug>

</bugzilla>