<?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>76630</bug_id>
          
          <creation_ts>2012-01-19 07:07:56 -0800</creation_ts>
          <short_desc>REGRESSION(r100558): NRWT should work without SVN or GIT</short_desc>
          <delta_ts>2012-06-19 07:20:00 -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>All</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>
          
          <blocked>72247</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Csaba Osztrogonác">ossy</reporter>
          <assigned_to name="Dirk Pranke">dpranke</assigned_to>
          <cc>abarth</cc>
    
    <cc>alex.bravo</cc>
    
    <cc>dpranke</cc>
    
    <cc>eric</cc>
    
    <cc>lauro.neto</cc>
    
    <cc>ojan</cc>
    
    <cc>ossy</cc>
    
    <cc>webkit.review.bot</cc>
    
    <cc>zarvai</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>538681</commentid>
    <comment_count>0</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-01-19 07:07:56 -0800</bug_when>
    <thetext>After http://trac.webkit.org/changeset/100558 NRWT exits 
before testing if the WebKit isn&apos;t is SVN or GIT SCM:

For more parallelism, run new-run-webkit-tests directly.
Traceback (most recent call last):
  File &quot;/home/oszi/WebKit/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py&quot;, line 426, in &lt;module&gt;
    sys.exit(main())
  File &quot;/home/oszi/WebKit/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py&quot;, line 419, in main
    host._initialize_scm()
  File &quot;/home/oszi/WebKit/Tools/Scripts/webkitpy/common/host.py&quot;, line 112, in _initialize_scm
    self._scm = detector.default_scm(patch_directories)
  File &quot;/home/oszi/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/detection.py&quot;, line 60, in default_scm
    raise Exception(&quot;FATAL: Failed to determine the SCM system for either %s or %s&quot; % (cwd, script_directory))
Exception: FATAL: Failed to determine the SCM system for either /home/oszi/WebKit or /home/oszi/WebKit/Tools/Scripts/webkitpy/common/checkout/scm


It would be great if we can run NRWT again without copying ~5Gb sized repository for an embedded system.
I don&apos;t think if NRWT should depends on SCM.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>538688</commentid>
    <comment_count>1</comment_count>
      <attachid>123124</attachid>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-01-19 07:18:26 -0800</bug_when>
    <thetext>Created attachment 123124
workaround

It is only a workaround (partial revert of r100558) to make NRWT 
work without GIT or SVN SCM. Feel free to use it until a proper fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>538759</commentid>
    <comment_count>2</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2012-01-19 09:24:54 -0800</bug_when>
    <thetext>No.  I don&apos;t think we should support this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>538760</commentid>
    <comment_count>3</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2012-01-19 09:25:28 -0800</bug_when>
    <thetext>I think not having a checkout just makes things more complicated.  I don&apos;t think there is a lot of need to support running the tests w/o a full development environment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>538769</commentid>
    <comment_count>4</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-01-19 09:42:57 -0800</bug_when>
    <thetext>I really don&apos;t understand why should NRWT depends on SCM if it doesn&apos;t 
use it for running tests ... Copying ~5Gb sized full repository to an 
embedded system is _impossible_. 

We really need WebKit lib, DumpRenderTree, Tools/Scripts/webkitpy, 
LayoutTests/platform/my-favourite-platform and LayoutTests directory 
without other platform results for testing. It is maximum 2-300Mb, 
which can be copied simple to a device.

But now this crazy dependency is the only blocker.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>641874</commentid>
    <comment_count>5</comment_count>
    <who name="Alex Bravo">alex.bravo</who>
    <bug_when>2012-06-05 14:02:56 -0700</bug_when>
    <thetext>I just run across a problem that when only git is installed and svn is NOT installed. I get a crash like the one supplied below. 
It&apos;s pretty hard to find out from that crash that missing subversion is the problem.


alex@alex8540:~/projects/webkit-desk$ python Tools/Scripts/new-run-webkit-tests 
Traceback (most recent call last):
  File &quot;/home/alex/projects/webkit-desk/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py&quot;, line 452, in &lt;module&gt;
    sys.exit(main())
  File &quot;/home/alex/projects/webkit-desk/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py&quot;, line 444, in main
    host._initialize_scm()
  File &quot;/home/alex/projects/webkit-desk/Tools/Scripts/webkitpy/common/host.py&quot;, line 112, in _initialize_scm
    self._scm = detector.default_scm(patch_directories)
  File &quot;/home/alex/projects/webkit-desk/Tools/Scripts/webkitpy/common/checkout/scm/detection.py&quot;, line 53, in default_scm
    scm_system = self.detect_scm_system(cwd, patch_directories)
  File &quot;/home/alex/projects/webkit-desk/Tools/Scripts/webkitpy/common/checkout/scm/detection.py&quot;, line 69, in detect_scm_system
    if SVN.in_working_directory(absolute_path):
  File &quot;/home/alex/projects/webkit-desk/Tools/Scripts/webkitpy/common/checkout/scm/svn.py&quot;, line 93, in in_working_directory
    exit_code = Executive().run_command(svn_info_args, cwd=path, return_exit_code=True)
  File &quot;/home/alex/projects/webkit-desk/Tools/Scripts/webkitpy/common/system/executive.py&quot;, line 397, in run_command
    close_fds=self._should_close_fds())
  File &quot;/home/alex/projects/webkit-desk/Tools/Scripts/webkitpy/common/system/executive.py&quot;, line 453, in popen
    return subprocess.Popen(*args, **kwargs)
  File &quot;/usr/lib/python2.7/subprocess.py&quot;, line 679, in __init__
    errread, errwrite)
  File &quot;/usr/lib/python2.7/subprocess.py&quot;, line 1249, in _execute_child
    raise child_exception</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>651923</commentid>
    <comment_count>6</comment_count>
      <attachid>148215</attachid>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2012-06-18 17:48:54 -0700</bug_when>
    <thetext>Created attachment 148215
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>651928</commentid>
    <comment_count>7</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2012-06-18 17:52:02 -0700</bug_when>
    <thetext>I&apos;ve updated this patch (just merged to head and added a ChangeLog) and am landing it. NRWT is explicitly not supposed to be required to have a checkout, so I agree w/ Ossy here.

Note that if we are in an SVN checkout and are configured to upload the build results we will extract the revision number if we can; that code is in json_results_generator, and it should deal with a lack-of-svn fine, though (it will probably raise an error if there is a .svn dir but you don&apos;t have an svn binary in your path, but that shouldn&apos;t happen in practice).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>651936</commentid>
    <comment_count>8</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2012-06-18 17:58:25 -0700</bug_when>
    <thetext>Committed r120646: &lt;http://trac.webkit.org/changeset/120646&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>652424</commentid>
    <comment_count>9</comment_count>
    <who name="Rafael Brandao">rafael.lobo</who>
    <bug_when>2012-06-19 07:20:00 -0700</bug_when>
    <thetext>*** Bug 87020 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>123124</attachid>
            <date>2012-01-19 07:18:26 -0800</date>
            <delta_ts>2012-06-18 17:48:40 -0700</delta_ts>
            <desc>workaround</desc>
            <filename>1.patch</filename>
            <type>text/plain</type>
            <size>1148</size>
            <attacher name="Csaba Osztrogonác">ossy</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1Rvb2xzL1NjcmlwdHMvd2Via2l0cHkvbGF5b3V0X3Rlc3RzL2NvbnRyb2xs
ZXJzL21hbmFnZXJfd29ya2VyX2Jyb2tlci5weSBiL1Rvb2xzL1NjcmlwdHMvd2Via2l0cHkvbGF5
b3V0X3Rlc3RzL2NvbnRyb2xsZXJzL21hbmFnZXJfd29ya2VyX2Jyb2tlci5weQppbmRleCA4MmJh
OTFmLi43YWY1MzNlIDEwMDc1NQotLS0gYS9Ub29scy9TY3JpcHRzL3dlYmtpdHB5L2xheW91dF90
ZXN0cy9jb250cm9sbGVycy9tYW5hZ2VyX3dvcmtlcl9icm9rZXIucHkKKysrIGIvVG9vbHMvU2Ny
aXB0cy93ZWJraXRweS9sYXlvdXRfdGVzdHMvY29udHJvbGxlcnMvbWFuYWdlcl93b3JrZXJfYnJv
a2VyLnB5CkBAIC0yNjMsNyArMjYzLDYgQEAgaWYgbXVsdGlwcm9jZXNzaW5nOgogICAgICAgICAg
ICAgICAgIGhvc3QgPSBNb2NrSG9zdCgpCiAgICAgICAgICAgICBlbHNlOgogICAgICAgICAgICAg
ICAgIGhvc3QgPSBIb3N0KCkKLSAgICAgICAgICAgIGhvc3QuX2luaXRpYWxpemVfc2NtKCkKIAog
ICAgICAgICAgICAgb3B0aW9ucyA9IHNlbGYuX29wdGlvbnMKICAgICAgICAgICAgIHBvcnRfb2Jq
ID0gaG9zdC5wb3J0X2ZhY3RvcnkuZ2V0KHNlbGYuX3BsYXRmb3JtX25hbWUsIG9wdGlvbnMpCmRp
ZmYgLS1naXQgYS9Ub29scy9TY3JpcHRzL3dlYmtpdHB5L2xheW91dF90ZXN0cy9ydW5fd2Via2l0
X3Rlc3RzLnB5IGIvVG9vbHMvU2NyaXB0cy93ZWJraXRweS9sYXlvdXRfdGVzdHMvcnVuX3dlYmtp
dF90ZXN0cy5weQppbmRleCBiNjA2OGI2Li5mNWEwNDFmZCAxMDA3NTUKLS0tIGEvVG9vbHMvU2Ny
aXB0cy93ZWJraXRweS9sYXlvdXRfdGVzdHMvcnVuX3dlYmtpdF90ZXN0cy5weQorKysgYi9Ub29s
cy9TY3JpcHRzL3dlYmtpdHB5L2xheW91dF90ZXN0cy9ydW5fd2Via2l0X3Rlc3RzLnB5CkBAIC00
MTYsNyArNDE2LDYgQEAgZGVmIHBhcnNlX2FyZ3MoYXJncz1Ob25lKToKIGRlZiBtYWluKCk6CiAg
ICAgb3B0aW9ucywgYXJncyA9IHBhcnNlX2FyZ3MoKQogICAgIGhvc3QgPSBIb3N0KCkKLSAgICBo
b3N0Ll9pbml0aWFsaXplX3NjbSgpCiAgICAgcG9ydCA9IGhvc3QucG9ydF9mYWN0b3J5LmdldChv
cHRpb25zLnBsYXRmb3JtLCBvcHRpb25zKQogICAgIHJldHVybiBydW4ocG9ydCwgb3B0aW9ucywg
YXJncykKIAo=
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>148215</attachid>
            <date>2012-06-18 17:48:54 -0700</date>
            <delta_ts>2012-06-18 17:50:21 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-76630-20120618174853.patch</filename>
            <type>text/plain</type>
            <size>1492</size>
            <attacher name="Dirk Pranke">dpranke</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTIwNjIzCmRpZmYgLS1naXQgYS9Ub29scy9DaGFuZ2VMb2cg
Yi9Ub29scy9DaGFuZ2VMb2cKaW5kZXggMDRjZWQ3OTg1MGQ5ODAyNmE2Njg3OTFhY2VhNTNkYzQ4
MDIwZjA4ZC4uMjJlNTgxOWQ3MDYxNWFhM2RhN2UwYjJlOTVhMjMxNzIyM2RhNDE1ZCAxMDA2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