You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Matthias J. Sax (JIRA)" <ji...@apache.org> on 2018/05/09 21:50:00 UTC
[jira] [Created] (KAFKA-6889) Fix Streams system test to only
specify used log files
Matthias J. Sax created KAFKA-6889:
--------------------------------------
Summary: 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
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
(v7.6.3#76005)