You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Yu Li (Jira)" <ji...@apache.org> on 2020/05/01 12:52:00 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 ]
Yu Li updated FLINK-15471:
--------------------------
Fix Version/s: (was: 1.10.1)
1.10.2
> 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.11.0, 1.10.2, 1.9.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)