From 2d81abce5ecfec555eda4819a6e2f5b22e1cd9b8 Mon Sep 17 00:00:00 2001 From: "Doroszlai, Attila" Date: Wed, 9 Oct 2019 16:17:40 +0200 Subject: [PATCH] HDDS-2265. integration.sh may report false negative Closes #1608 --- hadoop-ozone/dev-support/checks/_mvn_unit_report.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hadoop-ozone/dev-support/checks/_mvn_unit_report.sh b/hadoop-ozone/dev-support/checks/_mvn_unit_report.sh index df193307d2..81551d1ed9 100755 --- a/hadoop-ozone/dev-support/checks/_mvn_unit_report.sh +++ b/hadoop-ozone/dev-support/checks/_mvn_unit_report.sh @@ -45,6 +45,11 @@ grep -A1 'Crashed tests' "${REPORT_DIR}/output.log" \ | cut -f2- -d' ' \ | sort -u >> "${REPORT_DIR}/summary.txt" +## Check if Maven was killed +if grep -q 'Killed.* mvn .* test ' "${REPORT_DIR}/output.log"; then + echo 'Maven test run was killed' >> "${REPORT_DIR}/summary.txt" +fi + #Collect of all of the report failes of FAILED tests while IFS= read -r -d '' dir; do while IFS=$'\n' read -r file; do