Skip to content

Commit 5412ecf

Browse files
NirWolfergalnoam
authored andcommitted
[CI] issue: HPCINFRA-3937 Terminate Valgrind gracefully
Valgrind today is being terminated with -9 which prevents it from printing all the summaries at the end which are needed for debuging. Change -9 signal to -SIGINT af the first try of shutting down Valgrind Signed-off-by: NirWolfer <[email protected]>
1 parent eee1d44 commit 5412ecf

File tree

1 file changed

+1
-2
lines changed
  • contrib/jenkins_tests

1 file changed

+1
-2
lines changed

contrib/jenkins_tests/vg.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,8 @@ for test_link in $test_ip_list; do
128128

129129
if [ `ps -ef | grep $test_app | wc -l` -gt 1 ];
130130
then
131-
${sudo_cmd} pkill -9 -f $test_app 2>/dev/null || true
131+
${sudo_cmd} pkill -SIGINT -f $test_app 2>/dev/null || true
132132
sleep 10
133-
# in case SIGINT didn't work
134133
if [ `ps -ef | grep $test_app | wc -l` -gt 1 ];
135134
then
136135
${sudo_cmd} pkill -SIGTERM -f $test_app 2>/dev/null || true

0 commit comments

Comments
 (0)