<?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>142110</bug_id>
          
          <creation_ts>2015-02-27 15:05:54 -0800</creation_ts>
          <short_desc>run-webkit-tests leaves new and modified files in LayoutTests/imported/w3c/web-platform-tests</short_desc>
          <delta_ts>2017-05-12 22:35:16 -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>Critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Saboff">msaboff</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1072858</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Saboff">msaboff</who>
    <bug_when>2015-02-27 15:05:54 -0800</bug_when>
    <thetext>After running run-webkit-tests, svn st shows me unknown and modified files under LayoutTests/imported/w3c/web-platform-tests

$ svn st LayoutTests/
?       LayoutTests/imported/w3c/web-platform-tests/.resources.url
?       LayoutTests/imported/w3c/web-platform-tests/__init__.py
M       LayoutTests/imported/w3c/web-platform-tests/_certs/01.pem
M       LayoutTests/imported/w3c/web-platform-tests/_certs/02.pem
M       LayoutTests/imported/w3c/web-platform-tests/_certs/cacert.pem
M       LayoutTests/imported/w3c/web-platform-tests/_certs/cakey.pem
?       LayoutTests/imported/w3c/web-platform-tests/_certs/index.txt
M       LayoutTests/imported/w3c/web-platform-tests/_certs/index.txt.old
M       LayoutTests/imported/w3c/web-platform-tests/_certs/localhost.key
M       LayoutTests/imported/w3c/web-platform-tests/_certs/localhost.pem
M       LayoutTests/imported/w3c/web-platform-tests/_certs/serial
?       LayoutTests/imported/w3c/web-platform-tests/config.json
?       LayoutTests/imported/w3c/web-platform-tests/resources
?       LayoutTests/imported/w3c/web-platform-tests/tools/.html5lib.url
?       LayoutTests/imported/w3c/web-platform-tests/tools/.pywebsocket.url
?       LayoutTests/imported/w3c/web-platform-tests/tools/.six.url
?       LayoutTests/imported/w3c/web-platform-tests/tools/.wptserve.url
?       LayoutTests/imported/w3c/web-platform-tests/tools/html5lib
?       LayoutTests/imported/w3c/web-platform-tests/tools/pywebsocket
?       LayoutTests/imported/w3c/web-platform-tests/tools/six
?       LayoutTests/imported/w3c/web-platform-tests/tools/wptserve

An svn revert -r LayoutTests/imported/w3c/web-platform-tests takes care of the modified files, but the next run of run-webkit-tests will modify them again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1072863</commentid>
    <comment_count>1</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2015-02-27 15:16:43 -0800</bug_when>
    <thetext>Patch from bug 142083 should take care of the _certs files, at least for git. It is currently r?/cq?
For the other files, it is handled by .gitignore for git. I guess this should be ported to svn as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1072866</commentid>
    <comment_count>2</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2015-02-27 15:18:27 -0800</bug_when>
    <thetext>(In reply to comment #1)
&gt; Patch from bug 142083 should take care of the _certs files, at least for
&gt; git. It is currently r?/cq?
&gt; For the other files, it is handled by .gitignore for git. I guess this
&gt; should be ported to svn as well.

I will try to have a look at it tomorrow. If someone wants to fix it before, please go ahead</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1072908</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Saboff">msaboff</who>
    <bug_when>2015-02-27 16:12:12 -0800</bug_when>
    <thetext>For SVN, I believe that you use the svn prop edit svn:ignore &lt;path&gt; command which pulls up an editor where you can add file name patterns, one per line, that will be ignored.

Not sure what should be ignored.  In my source tree, I ignored &quot;*&quot; in LayoutTests/imported/w3c/web-platform-tests, LayoutTests/imported/w3c/web-platform-tests/_certs and LayoutTests/imported/w3c/web-platform-tests/tools.

The output of svn diff LayoutTests/imported/w3c is:
Index: LayoutTests/imported/w3c/web-platform-tests
===================================================================
--- LayoutTests/imported/w3c/web-platform-tests	(revision 180791)
+++ LayoutTests/imported/w3c/web-platform-tests	(working copy)

Property changes on: LayoutTests/imported/w3c/web-platform-tests
___________________________________________________________________
Added: svn:ignore
## -0,0 +1 ##
+*
Index: LayoutTests/imported/w3c/web-platform-tests/_certs
===================================================================
--- LayoutTests/imported/w3c/web-platform-tests/_certs	(revision 180791)
+++ LayoutTests/imported/w3c/web-platform-tests/_certs	(working copy)

Property changes on: LayoutTests/imported/w3c/web-platform-tests/_certs
___________________________________________________________________
Added: svn:ignore
## -0,0 +1 ##
+*
Index: LayoutTests/imported/w3c/web-platform-tests/tools
===================================================================
--- LayoutTests/imported/w3c/web-platform-tests/tools	(revision 180791)
+++ LayoutTests/imported/w3c/web-platform-tests/tools	(working copy)

Property changes on: LayoutTests/imported/w3c/web-platform-tests/tools
___________________________________________________________________
Added: svn:ignore
## -0,0 +1 ##
+*</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1072910</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2015-02-27 16:14:22 -0800</bug_when>
    <thetext>Git and svn ignore list would take care of &quot;?&quot; files, but what about &quot;M&quot;? We probably shouldn&apos;t have any files checked in that are also generated, that&apos;s super confusing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1073018</commentid>
    <comment_count>5</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2015-02-28 03:10:18 -0800</bug_when>
    <thetext>(In reply to comment #4)
&gt; Git and svn ignore list would take care of &quot;?&quot; files, but what about &quot;M&quot;? We
&gt; probably shouldn&apos;t have any files checked in that are also generated, that&apos;s
&gt; super confusing.

Patch from bug 142083 is about that.

These files were initially checked in so that the same certificates would be used for all runs/all bots. It seems not to work reliably so it is better to remove them now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1073019</commentid>
    <comment_count>6</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2015-02-28 03:16:30 -0800</bug_when>
    <thetext>(In reply to comment #3)
&gt; For SVN, I believe that you use the svn prop edit svn:ignore &lt;path&gt; command
&gt; which pulls up an editor where you can add file name patterns, one per line,
&gt; that will be ignored.
&gt; 
&gt; Not sure what should be ignored.  In my source tree, I ignored &quot;*&quot; in
&gt; LayoutTests/imported/w3c/web-platform-tests,
&gt; LayoutTests/imported/w3c/web-platform-tests/_certs and
&gt; LayoutTests/imported/w3c/web-platform-tests/tools.

LayoutTests/imported/w3c/web-platform-tests/.gitignore identifies all files that should also be ignored for SVN.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1073072</commentid>
    <comment_count>7</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2015-02-28 13:45:03 -0800</bug_when>
    <thetext>https://trac.webkit.org/r180840 should take care of new files.
Can you check that this handles all files except _certs files?

If so, this bug could be closed, _certs files being handled in bug 142083.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>