You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Xintong Song (Jira)" <ji...@apache.org> on 2021/01/20 15:02:01 UTC

[jira] [Updated] (FLINK-15471) HA e2e check for empty .out files does not print specific error

     [ https://issues.apache.org/jira/browse/FLINK-15471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xintong Song updated FLINK-15471:
---------------------------------
    Fix Version/s:     (was: 1.10.3)
                   1.10.4

> HA e2e check for empty .out files does not print specific error
> ---------------------------------------------------------------
>
>                 Key: FLINK-15471
>                 URL: https://issues.apache.org/jira/browse/FLINK-15471
>             Project: Flink
>          Issue Type: Improvement
>          Components: Test Infrastructure
>    Affects Versions: 1.9.0
>            Reporter: Chesnay Schepler
>            Priority: Major
>             Fix For: 1.13.0, 1.11.4, 1.10.4
>
>
> {{common_ha.sh#verify_logs:}}
> {code}
>     if ! check_logs_for_non_empty_out_files; then
>         echo "FAILURE: Alerts found at the general purpose job."
>         EXIT_CODE=1
>     fi
> {code}
> Since check_logs_for_non_empty_out_files does only set EXIT_CODE without modifying the return value the check will never fail.
> While the test will still fail (since EXIT_CODE is later being evaluated), we may not actually print the error cause.



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