Skip to content

Commit

Permalink
master Should only kill with 15
Browse files Browse the repository at this point in the history
  • Loading branch information
msmith-techempower committed Feb 5, 2014
1 parent 4357bf0 commit f532415
Show file tree
Hide file tree
Showing 57 changed files with 57 additions and 57 deletions.
2 changes: 1 addition & 1 deletion aspnet/setup_nginx.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,5 @@ def stop(logfile, errfile):
for line in out.splitlines():
if 'mono-server' in line:
pid = int(line.split(None, 2)[1])
os.kill(pid, 9)
os.kill(pid, 15)
return 0
2 changes: 1 addition & 1 deletion aspnet/setup_xsp.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def stop(logfile, errfile):
if 'xsp4' in line:
pid = int(line.split(None, 2)[1])
try:
os.kill(pid, 9)
os.kill(pid, 15)
except OSError:
pass
return 0
2 changes: 1 addition & 1 deletion beego/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ def stop(logfile, errfile):
for line in out.splitlines():
if 'hello' in line:
pid = int(line.split(None, 2)[1])
os.kill(pid, 9)
os.kill(pid, 15)
return 0
2 changes: 1 addition & 1 deletion cpoll_cppsp/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ def stop(logfile, errfile):
for line in out.splitlines():
if 'cppsp_standalone' in line:
pid = int(line.split(None, 2)[1])
os.kill(pid, 9)
os.kill(pid, 15)
return 0
2 changes: 1 addition & 1 deletion dancer/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def stop(logfile, errfile):
for line in out.splitlines():
if 'starman' in line:
pid = int(line.split(None, 2)[1])
os.kill(pid, 9)
os.kill(pid, 15)
return 0
except subprocess.CalledProcessError:
return 1
2 changes: 1 addition & 1 deletion dart-start/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,5 @@ def stop(logfile, errfile):
for line in out.splitlines():
if 'dart' in line and 'run-tests' not in line:
pid = int(line.split(None, 2)[1])
os.kill(pid, 9)
os.kill(pid, 15)
return 0
2 changes: 1 addition & 1 deletion dart-stream/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,5 @@ def stop(logfile, errfile):
for line in out.splitlines():
if 'dart' in line and 'run-tests' not in line:
pid = int(line.split(None, 2)[1])
os.kill(pid, 9)
os.kill(pid, 15)
return 0
2 changes: 1 addition & 1 deletion dart/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,5 @@ def stop(logfile, errfile):
for line in out.splitlines():
if 'dart' in line and 'run-tests' not in line:
pid = int(line.split(None, 2)[1])
os.kill(pid, 9)
os.kill(pid, 15)
return 0
2 changes: 1 addition & 1 deletion dropwizard/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ def stop(logfile, errfile):
for line in out.splitlines():
if 'hello-world' in line:
pid = int(line.split(None, 2)[1])
os.kill(pid, 9)
os.kill(pid, 15)
return 0
2 changes: 1 addition & 1 deletion express/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def stop(logfile, errfile):
if 'node app' in line:
pid = int(line.split(None, 2)[1])
try:
os.kill(pid, 9)
os.kill(pid, 15)
except OSError:
pass
return 0
2 changes: 1 addition & 1 deletion falcon/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ def stop(logfile, errfile):
for line in out.splitlines():
if 'FrameworkBenchmarks/installs/py2/bin/' in line:
pid = int(line.split(None,2)[1])
os.kill(pid, 9)
os.kill(pid, 15)
return 0
2 changes: 1 addition & 1 deletion falcore/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ def stop(logfile, errfile):
for line in out.splitlines():
if 'falcore' in line and 'run-tests' not in line:
pid = int(line.split(None, 2)[1])
os.kill(pid, 9)
os.kill(pid, 15)
return 0
2 changes: 1 addition & 1 deletion finagle/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def stop(logfile, errfile):
if 'sbt' in line:
try:
pid = int(line.split(None, 2)[1])
os.kill(pid, 9)
os.kill(pid, 15)
except OSError:
pass

Expand Down
2 changes: 1 addition & 1 deletion flask/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ def stop(logfile, errfile):
for line in out.splitlines():
if 'FrameworkBenchmarks/installs/py2/bin/' in line:
pid = int(line.split(None,2)[1])
os.kill(pid, 9)
os.kill(pid, 15)
return 0
2 changes: 1 addition & 1 deletion flask/setup_nginxuwsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ def stop(logfile, errfile):
for line in out.splitlines():
if 'FrameworkBenchmarks/installs/py2/bin/' in line:
pid = int(line.split(None,2)[1])
os.kill(pid, 9)
os.kill(pid, 15)

return 0
2 changes: 1 addition & 1 deletion go/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ def stop(logfile, errfile):
for line in out.splitlines():
if 'hello' in line:
pid = int(line.split(None, 2)[1])
os.kill(pid, 9)
os.kill(pid, 15)
return 0
2 changes: 1 addition & 1 deletion grizzly-bm/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ def stop(logfile, errfile):
for line in out.splitlines():
if 'grizzly-bm' in line:
pid = int(line.split(None, 2)[1])
os.kill(pid, 9)
os.kill(pid, 15)
return 0
2 changes: 1 addition & 1 deletion grizzly-jersey/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ def stop(logfile, errfile):
for line in out.splitlines():
if 'grizzly-jersey' in line and 'jar' in line:
pid = int(line.split(None, 2)[1])
os.kill(pid, 9)
os.kill(pid, 15)
return 0
2 changes: 1 addition & 1 deletion hapi/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def stop(logfile, errfile):
if 'node app' in line:
pid = int(line.split(None, 2)[1])
try:
os.kill(pid, 9)
os.kill(pid, 15)
except OSError:
pass
return 0
2 changes: 1 addition & 1 deletion jester/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def stop(logfile, errfile):
if 'hello' in line:
try:
pid = int(line.split(None, 2)[1])
os.kill(pid, 9)
os.kill(pid, 15)
except OSError:
pass

Expand Down
2 changes: 1 addition & 1 deletion jetty-servlet/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ def stop(logfile, errfile):
for line in out.splitlines():
if 'jetty-servlet-example' in line:
pid = int(line.split(None, 2)[1])
os.kill(pid, 9)
os.kill(pid, 15)
return 0
2 changes: 1 addition & 1 deletion kelp/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def stop(logfile, errfile):
for line in out.splitlines():
if 'starman' in line:
pid = int(line.split(None, 2)[1])
os.kill(pid, 9)
os.kill(pid, 15)
return 0
except subprocess.CalledProcessError:
return 1
2 changes: 1 addition & 1 deletion mojolicious/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def stop(logfile, errfile):
for line in out.splitlines():
if 'starman' in line:
pid = int(line.split(None, 2)[1])
os.kill(pid, 9)
os.kill(pid, 15)
return 0
except subprocess.CalledProcessError:
return 1
2 changes: 1 addition & 1 deletion nancy/setup_nginx.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@ def stop(logfile, errfile):
for line in out.splitlines():
if 'mono-server' in line:
pid = int(line.split(None, 2)[1])
os.kill(pid, 9)
os.kill(pid, 15)
return 0
2 changes: 1 addition & 1 deletion nancy/setup_xsp.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def stop(logfile, errfile):
if 'xsp4' in line:
pid = int(line.split(None, 2)[1])
try:
os.kill(pid, 9)
os.kill(pid, 15)
except OSError:
pass
return 0
2 changes: 1 addition & 1 deletion nawak/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def stop(logfile, errfile):
if 'nawak_app' in line:
try:
pid = int(line.split(None, 2)[1])
os.kill(pid, 9)
os.kill(pid, 15)
except OSError:
pass

Expand Down
2 changes: 1 addition & 1 deletion netty/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ def stop(logfile, errfile):
for line in out.splitlines():
if 'netty-example' in line:
pid = int(line.split(None, 2)[1])
os.kill(pid, 9)
os.kill(pid, 15)
return 0
2 changes: 1 addition & 1 deletion nodejs/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def stop(logfile, errfile):
if 'hello.js' in line:
pid = int(line.split(None, 2)[1])
try:
os.kill(pid, 9)
os.kill(pid, 15)
except OSError:
pass
return 0
2 changes: 1 addition & 1 deletion onion/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ def stop(logfile, errfile):
for line in out.splitlines():
if 'hello' in line:
pid = int(line.split(None, 2)[1])
os.kill(pid, 9)
os.kill(pid, 15)
return 0
2 changes: 1 addition & 1 deletion play-scala/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def kill_running_process():
try:
with open("./play-scala/RUNNING_PID") as f:
pid = int(f.read())
os.kill(pid, 9)
os.kill(pid, 15)
except:
pass

Expand Down
2 changes: 1 addition & 1 deletion rack/setup_jruby.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def stop(logfile, errfile):
for line in out.splitlines():
if 'torqbox' in line:
pid = int(line.split(None, 2)[1])
os.kill(pid, 9)
os.kill(pid, 15)
subprocess.check_call("rm Gemfile", shell=True, cwd="rack", stderr=errfile, stdout=logfile)
subprocess.check_call("rm Gemfile.lock", shell=True, cwd="rack", stderr=errfile, stdout=logfile)
return 0
Expand Down
2 changes: 1 addition & 1 deletion rack/setup_ruby.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def stop(logfile, errfile):
for line in out.splitlines():
if 'unicorn' in line and 'master' in line:
pid = int(line.split(None, 2)[1])
os.kill(pid, 9)
os.kill(pid, 15)
# subprocess.check_call("rvm ruby-2.0.0-p0 do bundle exec passenger stop --pid-file=$HOME/FrameworkBenchmarks/rack/rack.pid", shell=True, cwd='rack')
subprocess.check_call("rm Gemfile", shell=True, cwd="rack", stderr=errfile, stdout=logfile)
subprocess.check_call("rm Gemfile.lock", shell=True, cwd="rack", stderr=errfile, stdout=logfile)
Expand Down
2 changes: 1 addition & 1 deletion racket-ws/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def stop(logfile, errfile):
if 'bench' in line:
try:
pid = int(line.split(None, 2)[1])
os.kill(pid, 9)
os.kill(pid, 15)
except OSError:
pass

Expand Down
2 changes: 1 addition & 1 deletion rails-stripped/setup_jruby.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def stop(logfile, errfile):
for line in out.splitlines():
if 'torqbox' in line:
pid = int(line.split(None, 2)[1])
os.kill(pid, 9)
os.kill(pid, 15)
subprocess.check_call("rm Gemfile", shell=True, cwd="rails-stripped", stderr=errfile, stdout=logfile)
subprocess.check_call("rm Gemfile.lock", shell=True, cwd="rails-stripped", stderr=errfile, stdout=logfile)
return 0
Expand Down
2 changes: 1 addition & 1 deletion rails-stripped/setup_ruby.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def stop(logfile, errfile):
for line in out.splitlines():
if 'unicorn' in line and 'master' in line:
pid = int(line.split(None, 2)[1])
os.kill(pid, 9)
os.kill(pid, 15)
# subprocess.check_call("rvm ruby-2.0.0-p0 do bundle exec passenger stop --pid-file=$HOME/FrameworkBenchmarks/rack/rack.pid", shell=True, cwd='rack')
subprocess.check_call("rm Gemfile", shell=True, cwd="rails-stripped", stderr=errfile, stdout=logfile)
subprocess.check_call("rm Gemfile.lock", shell=True, cwd="rails-stripped", stderr=errfile, stdout=logfile)
Expand Down
2 changes: 1 addition & 1 deletion rails/setup_jruby.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def stop(logfile, errfile):
for line in out.splitlines():
if 'torqbox' in line:
pid = int(line.split(None, 2)[1])
os.kill(pid, 9)
os.kill(pid, 15)
subprocess.check_call("rm Gemfile", shell=True, cwd="rails", stderr=errfile, stdout=logfile)
subprocess.check_call("rm Gemfile.lock", shell=True, cwd="rails", stderr=errfile, stdout=logfile)
return 0
Expand Down
2 changes: 1 addition & 1 deletion rails/setup_ruby.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def stop(logfile, errfile):
for line in out.splitlines():
if 'unicorn' in line and 'master' in line:
pid = int(line.split(None, 2)[1])
os.kill(pid, 9)
os.kill(pid, 15)
# subprocess.check_call("rvm ruby-2.0.0-p0 do bundle exec passenger stop --pid-file=$HOME/FrameworkBenchmarks/rack/rack.pid", shell=True, cwd='rack')
subprocess.check_call("rm Gemfile", shell=True, cwd="rails")
subprocess.check_call("rm Gemfile.lock", shell=True, cwd="rails")
Expand Down
2 changes: 1 addition & 1 deletion restexpress/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ def stop(logfile, errfile):
for line in out.splitlines():
if 'world-1.0-SNAPSHOT.jar' in line:
pid = int(line.split(None, 2)[1])
os.kill(pid, 9)
os.kill(pid, 15)
return 0
2 changes: 1 addition & 1 deletion revel-jet/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ def stop(logfile, errfile):
for line in out.splitlines():
if 'revel' in line and 'run-tests' not in line:
pid = int(line.split(None, 2)[1])
os.kill(pid, 9)
os.kill(pid, 15)
return 0
2 changes: 1 addition & 1 deletion revel-qbs/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ def stop(logfile, errfile):
for line in out.splitlines():
if 'revel' in line and 'run-tests' not in line:
pid = int(line.split(None, 2)[1])
os.kill(pid, 9)
os.kill(pid, 15)
return 0
2 changes: 1 addition & 1 deletion revel/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ def stop(logfile, errfile):
for line in out.splitlines():
if 'revel' in line and 'run-tests' not in line:
pid = int(line.split(None, 2)[1])
os.kill(pid, 9)
os.kill(pid, 15)
return 0
2 changes: 1 addition & 1 deletion ringojs-convenient/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def stop(logfile, errfile):
if 'ringo-main.js' in line:
pid = int(line.split(None, 2)[1])
try:
os.kill(pid, 9)
os.kill(pid, 15)
except OSError:
pass
return 0
2 changes: 1 addition & 1 deletion ringojs/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def stop(logfile, errfile):
if 'ringo-main.js' in line:
pid = int(line.split(None, 2)[1])
try:
os.kill(pid, 9)
os.kill(pid, 15)
except OSError:
pass
return 0
2 changes: 1 addition & 1 deletion servicestack/setup_nginx.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def stop(logfile, errfile):
for line in out.splitlines():
if 'mono-server' in line:
pid = int(line.split(None, 2)[1])
os.kill(pid, 9)
os.kill(pid, 15)

#
# stop nginx
Expand Down
2 changes: 1 addition & 1 deletion servicestack/setup_xsp.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def stop(logfile, errfile):
if 'xsp4' in line:
pid = int(line.split(None, 2)[1])
try:
os.kill(pid, 9)
os.kill(pid, 15)
except OSError:
pass
return 0
2 changes: 1 addition & 1 deletion sinatra/setup_jruby.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def stop(logfile, errfile):
for line in out.splitlines():
if 'torqbox' in line:
pid = int(line.split(None, 2)[1])
os.kill(pid, 9)
os.kill(pid, 15)
subprocess.check_call("rm Gemfile", shell=True, cwd="sinatra", stderr=errfile, stdout=logfile)
subprocess.check_call("rm Gemfile.lock", shell=True, cwd="sinatra", stderr=errfile, stdout=logfile)
return 0
Expand Down
2 changes: 1 addition & 1 deletion sinatra/setup_ruby.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def stop(logfile, errfile):
for line in out.splitlines():
if 'unicorn' in line and 'master' in line:
pid = int(line.split(None, 2)[1])
os.kill(pid, 9)
os.kill(pid, 15)
# subprocess.check_call("rvm ruby-2.0.0-p0 do bundle exec passenger stop --pid-file=$HOME/FrameworkBenchmarks/rack/rack.pid", shell=True, cwd='rack')
subprocess.check_call("rm Gemfile", shell=True, cwd="sinatra", stderr=errfile, stdout=logfile)
subprocess.check_call("rm Gemfile.lock", shell=True, cwd="sinatra", stderr=errfile, stdout=logfile)
Expand Down
2 changes: 1 addition & 1 deletion snap/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def stop(logfile, errfile):
if 'snap-bench' in line:
try:
pid = int(line.split(None, 2)[1])
os.kill(pid, 9)
os.kill(pid, 15)
except OSError:
pass

Expand Down
Loading

0 comments on commit f532415

Please sign in to comment.