<?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>63973</bug_id>
          
          <creation_ts>2011-07-05 20:58:06 -0700</creation_ts>
          <short_desc>Perl string concat failure on Leopard (causes NRWT to fail)</short_desc>
          <delta_ts>2011-07-05 23:55:19 -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>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</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>
          
          <blocked>34984</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Eric Seidel (no email)">eric</reporter>
          <assigned_to name="Eric Seidel (no email)">eric</assigned_to>
          <cc>abarth</cc>
    
    <cc>aroben</cc>
    
    <cc>dbates</cc>
    
    <cc>dpranke</cc>
    
    <cc>mitz</cc>
    
    <cc>mrowe</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>432604</commentid>
    <comment_count>0</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-07-05 20:58:06 -0700</bug_when>
    <thetext>Here is the NRWT output:

Running new-run-webkit-tests with one child process.
For more parallelism, run new-run-webkit-tests directly.
2011-07-05 20:47:17,904 64147 printing.py:470 INFO Using port &apos;mac-leopard&apos;
2011-07-05 20:47:17,905 64147 printing.py:470 INFO Test configuration: &lt;leopard, x86, debug, cpu&gt;
2011-07-05 20:47:17,905 64147 printing.py:470 INFO Placing test results in /Volumes/Big/WebKit-BuildSlave/leopard-intel-debug-tests/build/layout-test-results
2011-07-05 20:47:17,905 64147 printing.py:470 INFO Using Debug build
2011-07-05 20:47:17,905 64147 printing.py:470 INFO Pixel tests disabled
2011-07-05 20:47:17,905 64147 printing.py:470 INFO Regular timeout: 35000, slow test timeout: 175000
2011-07-05 20:47:18,022 64147 executive.py:432 DEBUG &quot;perl Tools/Scripts/webkit-build-directory --configuration --debug&quot; took 0.12s
2011-07-05 20:47:18,023 64147 printing.py:470 INFO Command line: Use of uninitialized value in concatenation (.) or string at /Volumes/Big/WebKit-BuildSlave/leopard-intel-debug-tests/build/Tools/Scripts/webkitdirs.pm line 145.
Use of uninitialized value in string lt at /Volumes/Big/WebKit-BuildSlave/leopard-intel-debug-tests/build/Tools/Scripts/webkitdirs.pm line 145.
Use of uninitialized value in concatenation (.) or string at /Volumes/Big/WebKit-BuildSlave/leopard-intel-debug-tests/build/Tools/Scripts/webkitdirs.pm line 146.
Use of uninitialized value in string lt at /Volumes/Big/WebKit-BuildSlave/leopard-intel-debug-tests/build/Tools/Scripts/webkitdirs.pm line 146.
/Volumes/Big/WebKit-BuildSlave/leopard-intel-debug-tests/build/WebKitBuild/Debug/DumpRenderTree -
2011-07-05 20:47:18,023 64147 printing.py:470 INFO Worker model: inline
2011-07-05 20:47:18,023 64147 printing.py:470 INFO 
2011-07-05 20:47:18,023 64147 printing.py:470 INFO Collecting tests ...
2011-07-05 20:47:24,870 64147 test_files.py:96 DEBUG Test gathering took 6.845883 seconds
2011-07-05 20:47:24,870 64147 printing.py:470 INFO Parsing expectations ...
sh: -c: line 0: syntax error near unexpected token `(&apos;
sh: -c: line 0: `Use of uninitialized value in concatenation (.) or string at /Volumes/Big/WebKit-BuildSlave/leopard-intel-debug-tests/build/Tools/Scripts/webkitdirs.pm line 145.&apos;
sh: -c: line 0: syntax error near unexpected token `(&apos;
sh: -c: line 0: `nm Use of uninitialized value in concatenation (.) or string at /Volumes/Big/WebKit-BuildSlave/leopard-intel-debug-tests/build/Tools/Scripts/webkitdirs.pm line 145.&apos;
2011-07-05 20:47:26,375 64147 test_expectations.py:334 ERROR FAILURES FOR &lt;leopard, x86, debug, cpu&gt;
2011-07-05 20:47:26,375 64147 test_expectations.py:339 ERROR Line:331 Path does not exist. http/tests/media/video-seekable-stall.html
2011-07-05 20:47:26,520 64147 printing.py:470 INFO Checking build ...
2011-07-05 20:47:33,851 64147 executive.py:432 DEBUG &quot;Tools/Scripts/build-dumprendertree --debug&quot; took 7.33s
2011-07-05 20:47:33,852 64147 webkit.py:108 ERROR DumpRenderTree was not found at Use of uninitialized value in concatenation (.) or string at /Volumes/Big/WebKit-BuildSlave/leopard-intel-debug-tests/build/Tools/Scripts/webkitdirs.pm line 145.
Use of uninitialized value in string lt at /Volumes/Big/WebKit-BuildSlave/leopard-intel-debug-tests/build/Tools/Scripts/webkitdirs.pm line 145.
Use of uninitialized value in concatenation (.) or string at /Volumes/Big/WebKit-BuildSlave/leopard-intel-debug-tests/build/Tools/Scripts/webkitdirs.pm line 146.
Use of uninitialized value in string lt at /Volumes/Big/WebKit-BuildSlave/leopard-intel-debug-tests/build/Tools/Scripts/webkitdirs.pm line 146.
/Volumes/Big/WebKit-BuildSlave/leopard-intel-debug-tests/build/WebKitBuild/Debug/DumpRenderTree
2011-07-05 20:47:33,852 64147 run_webkit_tests.py:115 ERROR Build check failed
Ignoring unsupported option: --use-remote-links-to-tests
program finished with exit code 255
elapsedTime=18.751769

Note that ORWT sees the same failure, it&apos;s just not fatal:

perl ./Tools/Scripts/run-webkit-tests --no-launch-safari --no-new-test-results --no-sample-on-timeout --results-directory layout-test-results --use-remote-links-to-tests --debug --exit-after-n-crashes-or-timeouts 20 --exit-after-n-failures 500
 in dir /Volumes/Big/WebKit-BuildSlave/leopard-intel-debug-tests/build (timeout 1200 secs)
 watching logfiles {}
 argv: [&apos;perl&apos;, &apos;./Tools/Scripts/run-webkit-tests&apos;, &apos;--no-launch-safari&apos;, &apos;--no-new-test-results&apos;, &apos;--no-sample-on-timeout&apos;, &apos;--results-directory&apos;, &apos;layout-test-results&apos;, &apos;--use-remote-links-to-tests&apos;, &apos;--debug&apos;, &apos;--exit-after-n-crashes-or-timeouts&apos;, &apos;20&apos;, &apos;--exit-after-n-failures&apos;, &apos;500&apos;]
 environment:
  Apple_PubSub_Socket_Render=/tmp/launch-ZyAZVa/Render
  DISPLAY=/tmp/launch-636Faa/:0
  HOME=/Users/buildbot
  LOGNAME=buildbot
  PATH=/usr/bin:/bin:/usr/sbin:/sbin
  PWD=/Volumes/Big/WebKit-BuildSlave/leopard-intel-debug-tests/build
  SHELL=/bin/bash
  SSH_AUTH_SOCK=/tmp/launch-su48gv/Listeners
  TMPDIR=/var/folders/7j/7jO0FdJuGGazn740LjXU0++++TI/-Tmp-/
  USER=buildbot
 closing stdin
 using PTY: False
Use of uninitialized value in concatenation (.) or string at /Volumes/Big/WebKit-BuildSlave/leopard-intel-debug-tests/build/Tools/Scripts/webkitdirs.pm line 145.
Use of uninitialized value in string lt at /Volumes/Big/WebKit-BuildSlave/leopard-intel-debug-tests/build/Tools/Scripts/webkitdirs.pm line 145.
Use of uninitialized value in concatenation (.) or string at /Volumes/Big/WebKit-BuildSlave/leopard-intel-debug-tests/build/Tools/Scripts/webkitdirs.pm line 146.
Use of uninitialized value in string lt at /Volumes/Big/WebKit-BuildSlave/leopard-intel-debug-tests/build/Tools/Scripts/webkitdirs.pm line 146.
Running build-dumprendertree
Use of uninitialized value in concatenation (.) or string at /Volumes/Big/WebKit-BuildSlave/leopard-intel-debug-tests/build/Tools/Scripts/webkitdirs.pm line 145.
Use of uninitialized value in string lt at /Volumes/Big/WebKit-BuildSlave/leopard-intel-debug-tests/build/Tools/Scripts/webkitdirs.pm line 145.
Use of uninitialized value in concatenation (.) or string at /Volumes/Big/WebKit-BuildSlave/leopard-intel-debug-tests/build/Tools/Scripts/webkitdirs.pm line 146.
Use of uninitialized value in string lt at /Volumes/Big/WebKit-BuildSlave/leopard-intel-debug-tests/build/Tools/Scripts/webkitdirs.pm line 146.

It looks to be related to xcode version detection:
http://trac.webkit.org/browser/trunk/Tools/Scripts/webkitdirs.pm#L145

I&apos;m going to turn off NRWT for leopard for now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>432607</commentid>
    <comment_count>1</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-07-05 21:01:35 -0700</bug_when>
    <thetext>It&apos;s possible the exit in NRWT is due to the missing file from the Skipped list instead.  NRWT is rather picky about test_expectations matching reality.  Without a leopard box it&apos;s hard to tell.  In either case, this perl error should be fixed. :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>432628</commentid>
    <comment_count>2</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-07-05 22:57:12 -0700</bug_when>
    <thetext>It would be useful if someone with access to a Leopard machine could paste the output of &quot;xcodebuild -version&quot;.  I suspect the regexp on http://trac.webkit.org/browser/trunk/Tools/Scripts/webkitdirs.pm#L144 is failing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>432635</commentid>
    <comment_count>3</comment_count>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2011-07-05 23:17:31 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; It would be useful if someone with access to a Leopard machine could paste the output of &quot;xcodebuild -version&quot;.  I suspect the regexp on http://trac.webkit.org/browser/trunk/Tools/Scripts/webkitdirs.pm#L144 is failing.

On my PowerBook G4 running 10.5.8:

[dbates-pbg4:~] dbates% xcodebuild -version
Component versions: DevToolsCore-921.0; DevToolsSupport-893.0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>432638</commentid>
    <comment_count>4</comment_count>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2011-07-05 23:22:56 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; [dbates-pbg4:~] dbates% xcodebuild -version
&gt; Component versions: DevToolsCore-921.0; DevToolsSupport-893.0

For completeness these versions correspond to Xcode 3.0 whose About Xcode dialog lists the following version information:
[[ 
Component versions
Xcode IDE: 921.0
Xcode Core: 921.0
ToolSupport: 893.0
]]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>432646</commentid>
    <comment_count>5</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-07-05 23:50:26 -0700</bug_when>
    <thetext>This was added by mitz in http://trac.webkit.org/changeset/84876.  There is unfortunately no bug to reference.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>432647</commentid>
    <comment_count>6</comment_count>
      <attachid>99795</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-07-05 23:51:17 -0700</bug_when>
    <thetext>Created attachment 99795
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>432648</commentid>
    <comment_count>7</comment_count>
      <attachid>99795</attachid>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2011-07-05 23:52:17 -0700</bug_when>
    <thetext>Comment on attachment 99795
Patch

I was writing up such a patch with a comment to explain this. You beat me. :-P</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>432649</commentid>
    <comment_count>8</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-07-05 23:55:19 -0700</bug_when>
    <thetext>Committed r90439: &lt;http://trac.webkit.org/changeset/90439&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>99795</attachid>
            <date>2011-07-05 23:51:17 -0700</date>
            <delta_ts>2011-07-05 23:52:50 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-63973-20110705235116.patch</filename>
            <type>text/plain</type>
            <size>1754</size>
            <attacher name="Eric Seidel (no email)">eric</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogOTA0MzQKZGlmZiAtLWdpdCBhL1Rvb2xzL0NoYW5nZUx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YXBwbGUuZHQuWGNvZGUiOwogICAgICAgICBteSAkeGNvZGVEZWZhdWx0c1ByZWZpeCA9IChldmFs
ICJ2JHhjb2RlVmVyc2lvbiIgbHQgdjQpID8gIlBCWCIgOiAiSURFIjsKIAo=
</data>
<flag name="review"
          id="94353"
          type_id="1"
          status="+"
          setter="dbates"
    />
    <flag name="commit-queue"
          id="94354"
          type_id="3"
          status="+"
          setter="eric"
    />
          </attachment>
      

    </bug>

</bugzilla>