[ 
https://issues.apache.org/jira/browse/HDDS-2265?focusedWorklogId=324564&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-324564
 ]

ASF GitHub Bot logged work on HDDS-2265:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 07/Oct/19 19:15
            Start Date: 07/Oct/19 19:15
    Worklog Time Spent: 10m 
      Work Description: anuengineer commented on pull request #1608: HDDS-2265. 
integration.sh may report false negative
URL: https://github.com/apache/hadoop/pull/1608#discussion_r332190504
 
 

 ##########
 File path: 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
 
 Review comment:
   So we are presuming that Killed will never be used by a test? :) I am fine 
with that.
   +1. LGTM.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 324564)
    Time Spent: 50m  (was: 40m)

> integration.sh may report false negative
> ----------------------------------------
>
>                 Key: HDDS-2265
>                 URL: https://issues.apache.org/jira/browse/HDDS-2265
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>          Components: build, test
>            Reporter: Attila Doroszlai
>            Assignee: Attila Doroszlai
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> Sometimes integration test run gets killed, and {{integration.sh}} 
> incorrectly reports "success".  Example:
> {noformat:title=https://github.com/elek/ozone-ci-q4/tree/ae930d6f7f10c7d2aeaf1f2f21b18ada954ea444/pr/pr-hdds-2259-hlwmv/integration/result}
> success
> {noformat}
> {noformat:title=https://github.com/elek/ozone-ci-q4/blob/ae930d6f7f10c7d2aeaf1f2f21b18ada954ea444/pr/pr-hdds-2259-hlwmv/integration/output.log#L2457}
> /workdir/hadoop-ozone/dev-support/checks/integration.sh: line 22:   369 
> Killed                  mvn -B -fn test -f pom.ozone.xml -pl 
> :hadoop-ozone-integration-test,:hadoop-ozone-filesystem,:hadoop-ozone-tools 
> -Dtest=\!TestMiniChaosOzoneCluster "$@"
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to