@@ -560,7 +560,7 @@ def start_slurmctld(clean=False, quiet=False):
560
560
logging .warning ("process slurmctld not found" )
561
561
for pid in pids :
562
562
run_command (
563
- f'sudo gdb -p { pid } -ex "set debuginfod enabled on" -ex "set pagination off" -ex "set confirm off" -ex "thread apply all bt" -ex "quit"'
563
+ f'sudo gdb -p { pid } -ex "set debuginfod enabled on" -ex "set pagination off" -ex "set confirm off" -ex "set print pretty on" -ex "set max-value-size unlimited" -ex "set print array-indexes on" -ex "set print array off" -ex " thread apply all bt full " -ex "quit"'
564
564
)
565
565
pytest .fail ("Slurmctld is not running" )
566
566
else :
@@ -613,7 +613,7 @@ def start_slurmdbd(clean=False, quiet=False):
613
613
logging .warning ("process slurmdbd not found" )
614
614
for pid in pids :
615
615
run_command (
616
- f'sudo gdb -p { pid } -ex "set debuginfod enabled on" -ex "set pagination off" -ex "set confirm off" -ex "thread apply all bt" -ex "quit"'
616
+ f'sudo gdb -p { pid } -ex "set debuginfod enabled on" -ex "set pagination off" -ex "set confirm off" -ex "set print pretty on" -ex "set max-value-size unlimited" -ex "set print array-indexes on" -ex "set print array off" -ex " thread apply all bt full " -ex "quit"'
617
617
)
618
618
pytest .fail ("Slurmdbd is not running" )
619
619
else :
@@ -837,7 +837,7 @@ def stop_slurm(fatal=True, quiet=False):
837
837
logging .warning ("Getting the bt of the still running slurmctld" )
838
838
for pid in pids :
839
839
run_command (
840
- f'sudo gdb -p { pid } -ex "set debuginfod enabled on" -ex "set pagination off" -ex "set confirm off" -ex "thread apply all bt" -ex "quit"'
840
+ f'sudo gdb -p { pid } -ex "set debuginfod enabled on" -ex "set pagination off" -ex "set confirm off" -ex "set print pretty on" -ex "set max-value-size unlimited" -ex "set print array-indexes on" -ex "set print array off" -ex " thread apply all bt full " -ex "quit"'
841
841
)
842
842
843
843
# Build list of slurmds
@@ -868,7 +868,7 @@ def stop_slurm(fatal=True, quiet=False):
868
868
failures .append (f"Some slurmds are still running ({ pids } )" )
869
869
for pid in pids :
870
870
run_command (
871
- f'sudo gdb -p { pid } -ex "set debuginfod enabled on" -ex "set pagination off" -ex "set confirm off" -ex "thread apply all bt" -ex "quit"'
871
+ f'sudo gdb -p { pid } -ex "set debuginfod enabled on" -ex "set pagination off" -ex "set confirm off" -ex "set print pretty on" -ex "set max-value-size unlimited" -ex "set print array-indexes on" -ex "set print array off" -ex " thread apply all bt full " -ex "quit"'
872
872
)
873
873
run_command (f"pgrep -f { properties ['slurm-sbin-dir' ]} /slurmd -a" , quiet = quiet )
874
874
0 commit comments