Open Abacn opened 2 months ago
I think we need to separate the Kafka IT tests from Java tests since there are so many Kafka IT tests. Having a separate GH action for kafka tests. would solve this partially
I can take a look at this later this week and put up a PR that separates the Kafka tests into a different GH actions suite.
The log spam causes the mvn command stuck for 30 minutes to process logs to console, between the last test run and finalize, see https://github.com/GoogleCloudPlatform/DataflowTemplates/pull/1817#issuecomment-2317640571
We have to disable printing logs until resolved.
@Abacn John mentioned that there is a way to configure Kafka to emit fewer logs.
We have to disable printing logs until resolved. What do you mean by this?
@Abacn John mentioned that there is a way to configure Kafka to emit fewer logs.
We have to disable printing logs until resolved. What do you mean by this?
Like replace "-e" to "-q" here: https://github.com/GoogleCloudPlatform/DataflowTemplates/blob/3b59345fd3847ed301395a37e67e394630f4e60f/cicd/internal/op/maven.go#L32 to see if the workflow no longer stuck at processing log
Try to set loglevel but did not work
LogManager logManager = LogManager.getLogManager();
java.util.logging.Logger rootLogger = logManager.getLogger("");
rootLogger.setLevel(Level.WARNING);
or
java.util.logging.Logger logger = java.util.logging.Logger.getLogger("org.apache.beam.it.testcontainers.TestContainerResourceManager");
logger.setLevel(Level.WARNING);
likely because it was added as a log consumer to test container:
The original issue title noted two separate issue (Java test flaky / Kafka log spam), now Kafka PR has been separated from Java PR, though the log spam issue still present. Changed the title and assigned to kafka test owner
Related Template(s)
N/A
Template Version
N/A
What happened?
~Java PR Action has long been flaky, at least in the past it clearly shows which tests failed. However,~ recently the test log size has increased substantially, likely due to Kafka template and test development. Now the log is of > 80 MB.
A majority of the log reads
and
Relevant log output
No response