You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Fabian Paul (Jira)" <ji...@apache.org> on 2021/09/24 07:20:00 UTC

[jira] [Created] (FLINK-24368) Collect logs of Flink container in e2e source test suite

Fabian Paul created FLINK-24368:
-----------------------------------

             Summary: Collect logs of Flink container in e2e source test suite
                 Key: FLINK-24368
                 URL: https://issues.apache.org/jira/browse/FLINK-24368
             Project: Flink
          Issue Type: Improvement
          Components: Test Infrastructure
    Affects Versions: 1.14.0
            Reporter: Fabian Paul


Currently, the logs from the Flink containers used for testing can only be accessed through manual looking into the container via docker commands. It makes debugging source e2e tests failures on the CI very difficult.

I see two options
# Stream the logs while the test is running to the stdout
# After a test has failed copy the logs to some log directory (that has the disadvantage that in case the container is stuck and the timeout daemon kills the test we do not get a nice thread dump because the container is not part of the test jvm)







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