rbbt-util 5.25.3 → 5.25.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/rbbt/workflow/step/run.rb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 53463985df5e51f4106125b28e2a26a052bc7ad1
|
4
|
+
data.tar.gz: 8215a6fdbebda4ad1b7b2277c05d5f041bd12e89
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dfcef6b4df76925ae979b43e50f851b8c288ed415aa76d1348670b06529df26485902388b2a0e2d3a06e67175001f3aa9f31c752db4112cb57c8b5f3b964ff17
|
7
|
+
data.tar.gz: 8c142f1a0eb354e0088e4c72ea917f5fe2237cf8a83d90a0177876e79ef10b90ad556d2a1f682b999888f78fc6bda207fc1db94f592d223077629039aaa6eb30
|
@@ -188,7 +188,7 @@ class Step
|
|
188
188
|
children_pids.each do |pid|
|
189
189
|
Log.medium("Killing child #{ pid }")
|
190
190
|
begin
|
191
|
-
Process.kill "
|
191
|
+
Process.kill "TERM", pid.to_i
|
192
192
|
rescue Exception
|
193
193
|
Log.medium("Exception killing child #{ pid }: #{$!.message}")
|
194
194
|
end
|
@@ -542,7 +542,6 @@ class Step
|
|
542
542
|
set_info :pid, nil
|
543
543
|
ensure
|
544
544
|
RbbtSemaphore.post_semaphore(semaphore) if semaphore
|
545
|
-
Kernel.exit! 0
|
546
545
|
end
|
547
546
|
end
|
548
547
|
sin.close if sin
|
@@ -566,7 +565,7 @@ class Step
|
|
566
565
|
begin
|
567
566
|
Process.kill("TERM", @pid.to_i)
|
568
567
|
s = Process.waitpid2 @pid.to_i
|
569
|
-
Log.medium "Aborted pid #{path}
|
568
|
+
Log.medium "Aborted pid #{path} #{s}"
|
570
569
|
rescue Exception
|
571
570
|
Log.debug("Aborted job #{@pid} was not killed: #{$!.message}")
|
572
571
|
end
|
@@ -611,6 +610,7 @@ class Step
|
|
611
610
|
begin
|
612
611
|
return if done?
|
613
612
|
abort_pid if running?
|
613
|
+
kill_children
|
614
614
|
abort_stream
|
615
615
|
stop_dependencies
|
616
616
|
rescue Aborted, Interrupt
|