<?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>125196</bug_id>
          
          <creation_ts>2013-12-03 15:19:39 -0800</creation_ts>
          <short_desc>[Win] run-jsc-stress-tests failures</short_desc>
          <delta_ts>2015-11-12 21:21:37 -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>JavaScriptCore</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>125111</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Brent Fulgham">bfulgham</reporter>
          <assigned_to name="Brent Fulgham">bfulgham</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>fpizlo</cc>
    
    <cc>joepeck</cc>
    
    <cc>mark.lam</cc>
    
    <cc>mhahnenberg</cc>
    
    <cc>msaboff</cc>
    
    <cc>ossy</cc>
    
    <cc>peavo</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>956169</commentid>
    <comment_count>0</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2013-12-03 15:19:39 -0800</bug_when>
    <thetext>The Apple Windows build has 34 Failures:

** The following JSC stress test failures have been introduced:
	profiler-test.yaml/tests/sunspider-1.0/3d-cube.js.profiler
	profiler-test.yaml/tests/sunspider-1.0/3d-morph.js.profiler
	profiler-test.yaml/tests/sunspider-1.0/3d-raytrace.js.profiler
	profiler-test.yaml/tests/sunspider-1.0/access-binary-trees.js.profiler
	profiler-test.yaml/tests/sunspider-1.0/access-fannkuch.js.profiler
	profiler-test.yaml/tests/sunspider-1.0/access-nbody.js.profiler
	profiler-test.yaml/tests/sunspider-1.0/access-nsieve.js.profiler
	profiler-test.yaml/tests/sunspider-1.0/bitops-3bit-bits-in-byte.js.profiler
	profiler-test.yaml/tests/sunspider-1.0/bitops-bits-in-byte.js.profiler
	profiler-test.yaml/tests/sunspider-1.0/bitops-bitwise-and.js.profiler
	profiler-test.yaml/tests/sunspider-1.0/bitops-nsieve-bits.js.profiler
	profiler-test.yaml/tests/sunspider-1.0/controlflow-recursive.js.profiler
	profiler-test.yaml/tests/sunspider-1.0/crypto-aes.js.profiler
	profiler-test.yaml/tests/sunspider-1.0/crypto-md5.js.profiler
	profiler-test.yaml/tests/sunspider-1.0/crypto-sha1.js.profiler
	profiler-test.yaml/tests/sunspider-1.0/date-format-tofte.js.profiler
	profiler-test.yaml/tests/sunspider-1.0/date-format-xparb.js.profiler
	profiler-test.yaml/tests/sunspider-1.0/math-cordic.js.profiler
	profiler-test.yaml/tests/sunspider-1.0/math-partial-sums.js.profiler
	profiler-test.yaml/tests/sunspider-1.0/math-spectral-norm.js.profiler
	profiler-test.yaml/tests/sunspider-1.0/regexp-dna.js.profiler
	profiler-test.yaml/tests/sunspider-1.0/string-base64.js.profiler
	profiler-test.yaml/tests/sunspider-1.0/string-fasta.js.profiler
	profiler-test.yaml/tests/sunspider-1.0/string-tagcloud.js.profiler
	profiler-test.yaml/tests/sunspider-1.0/string-unpack-code.js.profiler
	profiler-test.yaml/tests/sunspider-1.0/string-validate-input.js.profiler
	jsc-layout-tests.yaml/js/script-tests/math.js.layout
	jsc-layout-tests.yaml/js/script-tests/math.js.layout-no-llint
	jsc-layout-tests.yaml/js/script-tests/math.js.layout-no-cjit
	jsc-layout-tests.yaml/js/script-tests/math.js.layout-dfg-eager-no-cjit
	jsc-layout-tests.yaml/js/script-tests/sort-stability.js.layout
	jsc-layout-tests.yaml/js/script-tests/sort-stability.js.layout-no-llint
	jsc-layout-tests.yaml/js/script-tests/sort-stability.js.layout-no-cjit
	jsc-layout-tests.yaml/js/script-tests/sort-stability.js.layout-dfg-eager-no-cjit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>956228</commentid>
    <comment_count>1</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2013-12-03 17:42:28 -0800</bug_when>
    <thetext>The sunspider tests may be failing due to path issues.  The test harness is run from Cygwin, but the JSC executable is a Windows binary that expects paths to be in DOS/Windows format.

If I modify the &quot;run-jsc-stress-tests&quot; to pass a Windows-style path to the test input, I now get a series of files containing &quot;&gt;quit&quot; in them.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>956229</commentid>
    <comment_count>2</comment_count>
      <attachid>218368</attachid>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2013-12-03 17:47:15 -0800</bug_when>
    <thetext>Created attachment 218368
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>956230</commentid>
    <comment_count>3</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2013-12-03 17:47:44 -0800</bug_when>
    <thetext>The attached patch gets things working, but may not be good idiomatic Ruby code.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>956231</commentid>
    <comment_count>4</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2013-12-03 17:48:51 -0800</bug_when>
    <thetext>With this patch, I get the following results:

** The following JSC stress test failures have been introduced:
        jsc-layout-tests.yaml/js/script-tests/math.js.layout
        jsc-layout-tests.yaml/js/script-tests/math.js.layout-no-llint
        jsc-layout-tests.yaml/js/script-tests/math.js.layout-no-cjit
        jsc-layout-tests.yaml/js/script-tests/math.js.layout-dfg-eager-no-cjit
        jsc-layout-tests.yaml/js/script-tests/sort-stability.js.layout
        jsc-layout-tests.yaml/js/script-tests/sort-stability.js.layout-no-llint
        jsc-layout-tests.yaml/js/script-tests/sort-stability.js.layout-no-cjit
        jsc-layout-tests.yaml/js/script-tests/sort-stability.js.layout-dfg-eager-no-cjit

Results for JSC stress tests:
    8 failures found.

It doesn&apos;t seem like the profiling output is being incorporated into the &quot;failure&quot; part of the testing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>956440</commentid>
    <comment_count>5</comment_count>
      <attachid>218368</attachid>
    <who name="Mark Hahnenberg">mhahnenberg</who>
    <bug_when>2013-12-04 10:41:12 -0800</bug_when>
    <thetext>Comment on attachment 218368
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=218368&amp;action=review

&gt; Tools/Scripts/run-jsc-stress-tests:87
&gt; +    if $? == 0
&gt; +        $isCygwin = 1
&gt; +    else
&gt; +        $isCygwin = 0
&gt; +    end

How about:

$isCygwin = $? == 0

Also, in Ruby booleans are distinct from numbers (unlike, e.g., perl).

&gt; Tools/Scripts/run-jsc-stress-tests:89
&gt; +    $isCygwin = 0

$isCygwin = false

&gt; Tools/Scripts/run-jsc-stress-tests:596
&gt; +    if $isCygwin == 1

if $isCygwin

I&apos;m surprised that this is the only place where you need to do this. I guess profilerOutput is the only absolute path generated by the script? If so it might make sense to just change this to a relative path so that we don&apos;t need any cygwin specific stuff.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1130945</commentid>
    <comment_count>6</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2015-10-06 06:48:22 -0700</bug_when>
    <thetext>Windows bots already run jsc stress tests long long time ago.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1141759</commentid>
    <comment_count>7</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2015-11-12 21:21:32 -0800</bug_when>
    <thetext>Clearing review flag, this bug has already been marked as closed anyways.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>218368</attachid>
            <date>2013-12-03 17:47:15 -0800</date>
            <delta_ts>2015-11-12 21:21:37 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-125196-20131203174715.patch</filename>
            <type>text/plain</type>
            <size>2201</size>
            <attacher name="Brent Fulgham">bfulgham</attacher>
            
              <data encoding="base64">SW5kZXg6IFRvb2xzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBUb29scy9DaGFuZ2VMb2cJKHJl
dmlzaW9uIDE2MDA2MikKKysrIFRvb2xzL0NoYW5nZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwz
ICsxLDEzIEBACisyMDEzLTEyLTAzICBCcmVudCBGdWxnaGFtICA8YmZ1bGdoYW1AYXBwbGUuY29t
PgorCisgICAgICAgIFtXaW5dIERlYWwgd2l0aCBDeWd3aW4vV2luZG93cyBwYXRoIGRpZmZlcmVu
Y2VzCisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD0xMjUx
OTYKKworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAgICAqIFNj
cmlwdHMvcnVuLWpzYy1zdHJlc3MtdGVzdHM6IENvbnZlcnQgQ3lnd2luIHN0eWxlIHBhdGhzIHRv
IFdpbmRvd3MgcGF0aHMgd2hlbgorICAgICAgICBwYXNzaW5nIHRoZW0gdG8gdGhlIGpzYyBleGVj
dXRhYmxlLgorCiAyMDEzLTEyLTAzICBGaWxpcCBQaXpsbyAgPGZwaXpsb0BhcHBsZS5jb20+CiAK
ICAgICAgICAgUkVHUkVTU0lPTjogcmVwcm8gc2NyaXB0cyBkaXNhcHBlYXIgd2hlbiB5b3UgcmVy
dW4gdGVzdHMKSW5kZXg6IFRvb2xzL1NjcmlwdHMvcnVuLWpzYy1zdHJlc3MtdGVzdHMKPT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09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cywgcHJvZmlsZXJPdXRwdXQudG9fcywgcGF0aFRvVk0udG9fcywgIi1wIiwg
cHJvZmlsZXJPdXRwdXQudG9fcywgJGJlbmNobWFyay50b19zXSwgc2lsZW50T3V0cHV0SGFuZGxl
ciwgc2ltcGxlRXJyb3JIYW5kbGVyKQorICAgICAgICBhZGRSdW5Db21tYW5kKCJwcm9maWxlciIs
IFsicnVieSIsIChIRUxQRVJTX1BBVEggKyAicHJvZmlsZXItdGVzdC1oZWxwZXIiKS50b19zLCAo
U0NSSVBUU19QQVRIICsgImRpc3BsYXktcHJvZmlsZXItb3V0cHV0IikudG9fcywgcHJvZmlsZXJP
dXRwdXQudG9fcywgcGF0aFRvVk0udG9fcywgIi1wIiwgb3V0cHV0UGF0aC50b19zLCAkYmVuY2ht
YXJrLnRvX3NdLCBzaWxlbnRPdXRwdXRIYW5kbGVyLCBzaW1wbGVFcnJvckhhbmRsZXIpCiAgICAg
ZWxzZQogICAgICAgICBwdXRzICJSdW5uaW5nIHNpbXBsZSB2ZXJzaW9uIG9mICN7JGNvbGxlY3Rp
b25OYW1lfS8jeyRiZW5jaG1hcmt9IGJlY2F1c2Ugc29tZSByZXF1aXJlZCBSdWJ5IGZlYXR1cmVz
IGFyZSB1bmF2YWlsYWJsZS4iCi0gICAgICAgIHJ1bigicHJvZmlsZXItc2ltcGxlIiwgIi1wIiwg
cHJvZmlsZXJPdXRwdXQudG9fcykKKyAgICAgICAgcnVuKCJwcm9maWxlci1zaW1wbGUiLCAiLXAi
LCBvdXRwdXRQYXRoLnRvX3MpCiAgICAgZW5kCiBlbmQKIAo=
</data>

          </attachment>
      

    </bug>

</bugzilla>