You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Sakshi Yadav (Jira)" <ji...@apache.org> on 2026/06/25 04:31:00 UTC

[jira] [Assigned] (KAFKA-6889) Fix Streams system test to only specify used log files

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

Sakshi Yadav reassigned KAFKA-6889:
-----------------------------------

    Assignee: Sakshi Yadav

> Fix Streams system test to only specify used log files
> ------------------------------------------------------
>
>                 Key: KAFKA-6889
>                 URL: https://issues.apache.org/jira/browse/KAFKA-6889
>             Project: Kafka
>          Issue Type: Task
>          Components: streams, system tests
>            Reporter: Matthias J. Sax
>            Assignee: Sakshi Yadav
>            Priority: Minor
>              Labels: easyfix, newbie
>
> In `streams.py` the class `StreamsTestBaseService` lists many log files that are only used in certain tests. For all tests, that do not use those log files, during the test run WARN messages are produced:
> {noformat}
> [WARNING - 2018-05-09 13:51:22,065 - test - compress_service_logs - lineno:131]: Error compressing log /mnt/streams/streams.stdout.0-6: service <StreamsSmokeTestJobRunnerService-0-140502617565072: num_nodes: 1, nodes: ['worker7']>: ubuntu@worker7: Command 'cd "$(dirname /mnt/streams/streams.stdout.0-6)" && f="$(basename /mnt/streams/streams.stdout.0-6)" && tar czf "$f.tgz" "$f" && rm -rf /mnt/streams/streams.stdout.0-6' returned non-zero exit status 2. Remote error message: tar: streams.stdout.0-6: Cannot stat: No such file or directory
> tar: Exiting with failure status due to previous errors
> {noformat}
> Those message spam the output and might be miss leading. We should update the Streams system tests accordingly such that each test only specifies the log-file names it actually uses to avoid the WARN message.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)