From 187e350b2f46a53819fe76a1eeda72036be2d512 Mon Sep 17 00:00:00 2001 From: Kevin Rocard Date: Fri, 24 Oct 2014 15:32:26 +0200 Subject: Remove flood debug trace on xml generation error The patch 0b3ff88 "Add log in case of failure" added system process and network log on failure. It was planed to be used to debug a tricky socket error bug. The bug was since fixed and the traces now only flood build log, making xml generation error root cause spotting a lot harder. Remove extra debug message (netstat and ps invocation) on error. Signed-off-by: Kevin Rocard --- tools/xmlGenerator/hostDomainGenerator.sh | 9 --------- 1 file changed, 9 deletions(-) (limited to 'tools') diff --git a/tools/xmlGenerator/hostDomainGenerator.sh b/tools/xmlGenerator/hostDomainGenerator.sh index 4cfce4d..0fa3510 100755 --- a/tools/xmlGenerator/hostDomainGenerator.sh +++ b/tools/xmlGenerator/hostDomainGenerator.sh @@ -99,15 +99,6 @@ clean_up () { status=$? set +e # An error should not abort clean up - ( if test $status -ne 0 - then - echo "$0 is exiting on error, printing debug information." - echo "Test platform port: $TPSocket" - echo "PFW port: $PFWSocket" - netstat --program --all --numeric --extend --tcp - ps -ejHlf - fi ) >&5 - # Exit the test-platform only if it was created by this process if $TPCreated then -- cgit v1.1