[ 
https://issues.apache.org/jira/browse/KAFKA-6889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18090027#comment-18090027
 ] 

Matthias J. Sax commented on KAFKA-6889:
----------------------------------------

I believe yes. Should be easy to verify by running a system test locally. See 
the README on the repo for details how to do this: 
https://github.com/apache/kafka/tree/trunk/tests

> 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
>            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)

Reply via email to