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

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

                Author: ASF GitHub Bot
            Created on: 04/Jun/19 11:36
            Start Date: 04/Jun/19 11:36
    Worklog Time Spent: 10m 
      Work Description: elek commented on pull request #902: HDDS-1628. Fix the 
execution and return code of smoketest executor shell script
URL: https://github.com/apache/hadoop/pull/902
 
 
   Problem: Some of the smoketest executions were reported to green even if 
they contained failed tests.
   
   Root cause: the legacy test executor 
(hadoop-ozone/dist/src/main/smoketest/test.sh) which just calls the new 
executor script (hadoop-ozone/dist/src/main/compose/test-all.sh) didn't handle 
the return code well (the failure of the smoketests should be signalled by the 
bash return code)
   
   This patch:
    * Fixes the error code handling in smoketest/test.sh
    * Fixes the test execution in compose/test-all.sh (should work from any 
other directories)
    * Updates hadoop-ozone/dev-support/checks/acceptance.sh to use the newer 
test-all.sh executor instead of the old one.
   
   See: https://issues.apache.org/jira/browse/HDDS-1628
 
----------------------------------------------------------------
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: 253690)
            Time Spent: 10m
    Remaining Estimate: 0h

> Fix the execution and return code of smoketest executor shell script
> --------------------------------------------------------------------
>
>                 Key: HDDS-1628
>                 URL: https://issues.apache.org/jira/browse/HDDS-1628
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>            Reporter: Elek, Marton
>            Assignee: Elek, Marton
>            Priority: Blocker
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Problem: Some of the smoketest executions were reported to green even if they 
> contained failed tests.
> Root cause: the legacy test executor 
> (hadoop-ozone/dist/src/main/smoketest/test.sh) which just calls the new 
> executor script (hadoop-ozone/dist/src/main/compose/test-all.sh) didn't 
> handle the return code well (the failure of the smoketests should be 
> signalled by the bash return code)
> This patch:
>  * Fixes the error code handling in smoketest/test.sh
>  * Fixes the test execution in compose/test-all.sh (should work from any 
> other directories)
>  * Updates hadoop-ozone/dev-support/checks/acceptance.sh to use the newer 
> test-all.sh executor instead of the old one.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
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