You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by rh...@apache.org on 2012/06/02 12:34:33 UTC

svn commit: r1345479 - /subversion/trunk/tools/buildbot/slaves/win32-SharpSvn/svntest-test.cmd

Author: rhuijben
Date: Sat Jun  2 10:34:33 2012
New Revision: 1345479

URL: http://svn.apache.org/viewvc?rev=1345479&view=rev
Log:
* svntest-test.cmd
  Use 127.0.0.1 instead of localhost to avoid a dns lookup and
  to avoid future ipv6 weirdness.

Modified:
    subversion/trunk/tools/buildbot/slaves/win32-SharpSvn/svntest-test.cmd

Modified: subversion/trunk/tools/buildbot/slaves/win32-SharpSvn/svntest-test.cmd
URL: http://svn.apache.org/viewvc/subversion/trunk/tools/buildbot/slaves/win32-SharpSvn/svntest-test.cmd?rev=1345479&r1=1345478&r2=1345479&view=diff
==============================================================================
--- subversion/trunk/tools/buildbot/slaves/win32-SharpSvn/svntest-test.cmd (original)
+++ subversion/trunk/tools/buildbot/slaves/win32-SharpSvn/svntest-test.cmd Sat Jun  2 10:34:33 2012
@@ -77,21 +77,21 @@ IF "%LOCAL%+%FSFS%" == "1+1" (
 
 IF "%SVN%+%FSFS%" == "1+1" (
   taskkill /im svnserve.exe /f 2> nul:
-  echo win-tests.py -c %PARALLEL% %MODE% -f fsfs -u svn://localhost %ARGS% "%TESTDIR%\tests"
-  win-tests.py -c %PARALLEL% %MODE% -f fsfs -u svn://localhost %ARGS% "%TESTDIR%\tests"
+  echo win-tests.py -c %PARALLEL% %MODE% -f fsfs -u svn://127.0.0.1 %ARGS% "%TESTDIR%\tests"
+  win-tests.py -c %PARALLEL% %MODE% -f fsfs -u svn://127.0.0.1 %ARGS% "%TESTDIR%\tests"
   IF ERRORLEVEL 1 EXIT /B 1
 )
 
 IF "%SERF%+%FSFS%" == "1+1" (
   taskkill /im httpd.exe /f 2> nul:
-  echo win-tests.py -c %PARALLEL% %MODE% -f fsfs --http-library serf --httpd-dir "%CD%\..\deps\release\httpd" --httpd-port %TESTPORT% -u http://localhost:%TESTPORT% %ARGS% "%TESTDIR%\tests"
-  win-tests.py -c %PARALLEL% %MODE% -f fsfs --http-library serf --httpd-dir "%CD%\..\deps\release\httpd" --httpd-port %TESTPORT% -u http://localhost:%TESTPORT% %ARGS% "%TESTDIR%\tests"
+  echo win-tests.py -c %PARALLEL% %MODE% -f fsfs --http-library serf --httpd-dir "%CD%\..\deps\release\httpd" --httpd-port %TESTPORT% -u http://127.0.0.1:%TESTPORT% %ARGS% "%TESTDIR%\tests"
+  win-tests.py -c %PARALLEL% %MODE% -f fsfs --http-library serf --httpd-dir "%CD%\..\deps\release\httpd" --httpd-port %TESTPORT% -u http://127.0.0.1:%TESTPORT% %ARGS% "%TESTDIR%\tests"
   IF ERRORLEVEL 1 EXIT /B 1
 )
 
 IF "%NEON%+%FSFS%" == "1+1" (
   taskkill /im httpd.exe /f 2> nul:
-  echo win-tests.py -c %PARALLEL% %MODE% -f fsfs --http-library neon --httpd-dir "%CD%\..\deps\release\httpd" --httpd-port %TESTPORT% -u http://localhost:%TESTPORT% %ARGS% "%TESTDIR%\tests"
-  win-tests.py -c %PARALLEL% %MODE% -f fsfs --http-library neon --httpd-dir "%CD%\..\deps\release\httpd" --httpd-port %TESTPORT% -u http://localhost:%TESTPORT% %ARGS% "%TESTDIR%\tests"
+  echo win-tests.py -c %PARALLEL% %MODE% -f fsfs --http-library neon --httpd-dir "%CD%\..\deps\release\httpd" --httpd-port %TESTPORT% -u http://127.0.0.1:%TESTPORT% %ARGS% "%TESTDIR%\tests"
+  win-tests.py -c %PARALLEL% %MODE% -f fsfs --http-library neon --httpd-dir "%CD%\..\deps\release\httpd" --httpd-port %TESTPORT% -u http://127.0.0.1:%TESTPORT% %ARGS% "%TESTDIR%\tests"
   IF ERRORLEVEL 1 EXIT /B 1
 )



RE: svn commit: r1345479 - /subversion/trunk/tools/buildbot/slaves/win32-SharpSvn/svntest-test.cmd

Posted by Bert Huijben <be...@vmoo.com>.
Yes, I see that problem on my local pc too.

 

But on that buildbot ipv6 is not enabled on the system and not in apr, so it
shouldn't be affected. but it was still slow. 

 

It is nice that it can test both ra_svn and ra_serf in about one hour now,
where it used to take two.

 

                Bert

 

From: Greg Stein [mailto:gstein@gmail.com] 
Sent: zaterdag 2 juni 2012 17:33
To: dev@subversion.apache.org
Cc: Johan Corveleyn; Paul Burba
Subject: RE: svn commit: r1345479 -
/subversion/trunk/tools/buildbot/slaves/win32-SharpSvn/svntest-test.cmd

 

It may be that "localhost" maps to IPv6 first, fails, then goes to IPv4. I
see that on my Mac.

On Jun 2, 2012 7:15 AM, "Bert Huijben" <be...@vmoo.com> wrote:



> -----Original Message-----
> From: rhuijben@apache.org [mailto:rhuijben@apache.org]
> Sent: zaterdag 2 juni 2012 12:35
> To: commits@subversion.apache.org
> Subject: svn commit: r1345479 -
> /subversion/trunk/tools/buildbot/slaves/win32-SharpSvn/svntest-test.cmd
>
> Author: rhuijben
> Date: Sat Jun  2 10:34:33 2012
> New Revision: 1345479
>
> URL: http://svn.apache.org/viewvc?rev=1345479
<http://svn.apache.org/viewvc?rev=1345479&view=rev> &view=rev
> Log:
> * svntest-test.cmd
>   Use 127.0.0.1 instead of localhost to avoid a dns lookup and
>   to avoid future ipv6 weirdness.

This stupid trick reduces the total test time for the w2k3 ra buildbot by
about 40%. (Same influence on serf and ra svn)

I'm not sure what causes this issue (yet) and if it is Windows 2003
specific, but it might be useful for other Windows runs on ra_svn and
ra_dav_*.

       Bert




RE: svn commit: r1345479 - /subversion/trunk/tools/buildbot/slaves/win32-SharpSvn/svntest-test.cmd

Posted by Greg Stein <gs...@gmail.com>.
It may be that "localhost" maps to IPv6 first, fails, then goes to IPv4. I
see that on my Mac.
On Jun 2, 2012 7:15 AM, "Bert Huijben" <be...@vmoo.com> wrote:

>
>
> > -----Original Message-----
> > From: rhuijben@apache.org [mailto:rhuijben@apache.org]
> > Sent: zaterdag 2 juni 2012 12:35
> > To: commits@subversion.apache.org
> > Subject: svn commit: r1345479 -
> > /subversion/trunk/tools/buildbot/slaves/win32-SharpSvn/svntest-test.cmd
> >
> > Author: rhuijben
> > Date: Sat Jun  2 10:34:33 2012
> > New Revision: 1345479
> >
> > URL: http://svn.apache.org/viewvc?rev=1345479&view=rev
> > Log:
> > * svntest-test.cmd
> >   Use 127.0.0.1 instead of localhost to avoid a dns lookup and
> >   to avoid future ipv6 weirdness.
>
> This stupid trick reduces the total test time for the w2k3 ra buildbot by
> about 40%. (Same influence on serf and ra svn)
>
> I'm not sure what causes this issue (yet) and if it is Windows 2003
> specific, but it might be useful for other Windows runs on ra_svn and
> ra_dav_*.
>
>        Bert
>
>
>

RE: svn commit: r1345479 - /subversion/trunk/tools/buildbot/slaves/win32-SharpSvn/svntest-test.cmd

Posted by Bert Huijben <be...@vmoo.com>.

> -----Original Message-----
> From: rhuijben@apache.org [mailto:rhuijben@apache.org]
> Sent: zaterdag 2 juni 2012 12:35
> To: commits@subversion.apache.org
> Subject: svn commit: r1345479 -
> /subversion/trunk/tools/buildbot/slaves/win32-SharpSvn/svntest-test.cmd
> 
> Author: rhuijben
> Date: Sat Jun  2 10:34:33 2012
> New Revision: 1345479
> 
> URL: http://svn.apache.org/viewvc?rev=1345479&view=rev
> Log:
> * svntest-test.cmd
>   Use 127.0.0.1 instead of localhost to avoid a dns lookup and
>   to avoid future ipv6 weirdness.

This stupid trick reduces the total test time for the w2k3 ra buildbot by about 40%. (Same influence on serf and ra svn)

I'm not sure what causes this issue (yet) and if it is Windows 2003 specific, but it might be useful for other Windows runs on ra_svn and ra_dav_*.

	Bert 



RE: svn commit: r1345479 - /subversion/trunk/tools/buildbot/slaves/win32-SharpSvn/svntest-test.cmd

Posted by Bert Huijben <be...@vmoo.com>.

> -----Original Message-----
> From: rhuijben@apache.org [mailto:rhuijben@apache.org]
> Sent: zaterdag 2 juni 2012 12:35
> To: commits@subversion.apache.org
> Subject: svn commit: r1345479 -
> /subversion/trunk/tools/buildbot/slaves/win32-SharpSvn/svntest-test.cmd
> 
> Author: rhuijben
> Date: Sat Jun  2 10:34:33 2012
> New Revision: 1345479
> 
> URL: http://svn.apache.org/viewvc?rev=1345479&view=rev
> Log:
> * svntest-test.cmd
>   Use 127.0.0.1 instead of localhost to avoid a dns lookup and
>   to avoid future ipv6 weirdness.

This stupid trick reduces the total test time for the w2k3 ra buildbot by about 40%. (Same influence on serf and ra svn)

I'm not sure what causes this issue (yet) and if it is Windows 2003 specific, but it might be useful for other Windows runs on ra_svn and ra_dav_*.

	Bert