Title: [239836] trunk/Tools
Revision
239836
Author
commit-qu...@webkit.org
Date
2019-01-10 11:36:25 -0800 (Thu, 10 Jan 2019)

Log Message

Disable the run-jsc-stress-test remote host key check.
https://bugs.webkit.org/show_bug.cgi?id=192988

Patch by Zhifei Fang <zhifei_f...@apple.com> on 2019-01-10
Reviewed by Alexey Proskuryakov.

* Scripts/run-jsc-stress-tests:

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (239835 => 239836)


--- trunk/Tools/ChangeLog	2019-01-10 19:11:33 UTC (rev 239835)
+++ trunk/Tools/ChangeLog	2019-01-10 19:36:25 UTC (rev 239836)
@@ -1,3 +1,12 @@
+2019-01-10  Zhifei Fang  <zhifei_f...@apple.com>
+
+        Disable the run-jsc-stress-test remote host key check.
+        https://bugs.webkit.org/show_bug.cgi?id=192988
+
+        Reviewed by Alexey Proskuryakov.
+
+        * Scripts/run-jsc-stress-tests:
+
 2019-01-10  John Wilander  <wilan...@apple.com>
 
         Override the session configuration for cookieAcceptPolicy

Modified: trunk/Tools/Scripts/run-jsc-stress-tests (239835 => 239836)


--- trunk/Tools/Scripts/run-jsc-stress-tests	2019-01-10 19:11:33 UTC (rev 239835)
+++ trunk/Tools/Scripts/run-jsc-stress-tests	2019-01-10 19:36:25 UTC (rev 239836)
@@ -1791,7 +1791,7 @@
     remoteHost = $remoteHosts[remoteIndex]
 
     result = ""
-    IO.popen("ssh -p #{remoteHost.port} #{remoteHost.user}@#{remoteHost.host} '#{cmd}'", "r") {
+    IO.popen("ssh -o NoHostAuthenticationForLocalhost=yes -p #{remoteHost.port} #{remoteHost.user}@#{remoteHost.host} '#{cmd}'", "r") {
       | inp |
       inp.each_line {
         | line |
@@ -1908,8 +1908,8 @@
         if !remoteHost.remoteDirectory
             remoteHost.remoteDirectory = JSON::parse(sshRead("cat ~/.bencher", remoteIndex))["tempPath"]
         end
-        mysys("ssh", "-p", remoteHost.port.to_s, "#{remoteHost.user}@#{remoteHost.host}", "mkdir -p #{remoteHost.remoteDirectory}")
-        mysys("scp", "-P", remoteHost.port.to_s, ($outputDir.dirname + $tarFileName).to_s, "#{remoteHost.user}@#{remoteHost.host}:#{remoteHost.remoteDirectory}")
+        mysys("ssh", "-o", "NoHostAuthenticationForLocalhost=yes", "-p", remoteHost.port.to_s, "#{remoteHost.user}@#{remoteHost.host}", "mkdir -p #{remoteHost.remoteDirectory}")
+        mysys("scp", "-o", "NoHostAuthenticationForLocalhost=yes", "-P", remoteHost.port.to_s, ($outputDir.dirname + $tarFileName).to_s, "#{remoteHost.user}@#{remoteHost.host}:#{remoteHost.remoteDirectory}")
         remoteScript = "\""
         remoteScript += "cd #{remoteHost.remoteDirectory} && "
         remoteScript += "rm -rf #{$outputDir.basename} && "
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to