<?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>169777</bug_id>
          
          <creation_ts>2017-03-16 12:54:27 -0700</creation_ts>
          <short_desc>[ios-simulator] webkitpy.tool.steps.steps_unittest.StepsTest.test_runtests_bindings is a flaky failure</short_desc>
          <delta_ts>2017-10-02 10:49:12 -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>DUPLICATE</resolution>
          <dup_id>177751</dup_id>
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=175692</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="Ryan Haddad">ryanhaddad</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>jlewis3</cc>
    
    <cc>lforschler</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>webkit</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1288686</commentid>
    <comment_count>0</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2017-03-16 12:54:27 -0700</bug_when>
    <thetext>[1015/1548] webkitpy.tool.steps.steps_unittest.StepsTest.test_runtests_bindings failed:
  Traceback (most recent call last):
    File &quot;/Volumes/Data/slave/ios-simulator-10-release-tests-wk2/build/Tools/Scripts/webkitpy/tool/steps/steps_unittest.py&quot;, line 258, in test_runtests_bindings
      OutputCapture().assert_outputs(self, step.run, [{}], expected_logs=expected_logs)
    File &quot;/Volumes/Data/slave/ios-simulator-10-release-tests-wk2/build/Tools/Scripts/webkitpy/common/system/outputcapture.py&quot;, line 105, in assert_outputs
      testassert(logs_string, expected_logs)
  AssertionError: &quot;MOCK run_command: [&apos;perl&apos;, &apos;Tools/Scripts/webkit-build-directory&apos;, &apos;--mac&apos;], cw [truncated]... != &quot;MOCK run_and_throw_if_fail: [&apos;Tools/Scripts/run-bindings-tests&apos;, &apos;--json-output [truncated]...
  - MOCK run_command: [&apos;perl&apos;, &apos;Tools/Scripts/webkit-build-directory&apos;, &apos;--mac&apos;], cwd=/mock-checkout
    MOCK run_and_throw_if_fail: [&apos;Tools/Scripts/run-bindings-tests&apos;, &apos;--json-output=/tmp/bindings_test_results.json&apos;], cwd=/mock-checkout

https://build.webkit.org/builders/Apple%20iOS%2010%20Simulator%20Release%20WK2%20%28Tests%29/builds/4624</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1288687</commentid>
    <comment_count>1</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2017-03-16 12:54:46 -0700</bug_when>
    <thetext>&lt;rdar://problem/31093812&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1288867</commentid>
    <comment_count>2</comment_count>
    <who name="Srinivasan Vijayaraghavan">webkit</who>
    <bug_when>2017-03-16 17:32:57 -0700</bug_when>
    <thetext>build_directory() in webkitpy/port/config.py runs the webkit-build-directory command.

build_path() in webkitpy/port/base.py sometimes calls the above function if it doesn&apos;t have it cached. AIUI the order in which the tests are run using webkitpy is non-deterministic, so that might be the source of flakiness here.

If that is the case, the best solution would be to just make the webkit-build-directory line optional for the unit tests somehow.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1289168</commentid>
    <comment_count>3</comment_count>
    <who name="Srinivasan Vijayaraghavan">webkit</who>
    <bug_when>2017-03-17 15:17:08 -0700</bug_when>
    <thetext>Adding some color to my previous comment: Running webkit-build-directory is done as a reaction to a cache miss inside webkitpy, so it&apos;s not strictly an error.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1355308</commentid>
    <comment_count>4</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2017-10-02 10:49:12 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 177751 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>