X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=system%2FSubstrate.py;h=aeba245738dbc88d20737399e7e82a67dfdde845;hb=bf4f961d90d5305e8d1ce3ecfb5bd2ed5e3d0dc5;hp=3eb57f88dcd45867d8fafe59f32143cf2cafd834;hpb=4e153372313733ec80c5f5ff727b716e8b98a3bb;p=tests.git diff --git a/system/Substrate.py b/system/Substrate.py index 3eb57f8..aeba245 100644 --- a/system/Substrate.py +++ b/system/Substrate.py @@ -272,6 +272,13 @@ class Pool: command = "ping -c 1 {} 1 {}".format(Pool.ping_timeout_option, hostname) (status, output) = subprocess.getstatusoutput(command) + print (""" +---------- +Ping command <{command}> has returned {status} +-- +{output} +---------- + """.format(**locals())) return status == 0 ####################