> On Nov. 8, 2014, 3:01 a.m., Mayuresh Gharat wrote:
> > system_test/utils/kafka_system_test_utils.py, line 2403
> > <https://reviews.apache.org/r/27534/diff/1/?file=747724#file747724line2403>
> >
> >     This causes many system tests (approx 98) to fail

Can you give list of a few that now fail for you? Depending on the tests, they 
*should* start failing -- unless the failure is caused by something other than 
DumpLogSegments returning a negative return code, the new failures indicate 
that the tests weren't properly checking DumpLogSegments output. I originally 
noticed this because I saw DumpLogSegments not catching an exception and 
exiting improperly, but the subsequent checks of stdout didn't properly check 
for that (and the exit code is a *much* more reliable test). The system tests 
seem to never check subprocess exit statuses, so there are likely many other 
similar bugs.

If it's something else (e.g. some issue with the subprocess wait() call), I can 
try to track it down if I know which test to look at.


- Ewen


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/27534/#review60460
-----------------------------------------------------------


On Nov. 3, 2014, 7:46 p.m., Ewen Cheslack-Postava wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/27534/
> -----------------------------------------------------------
> 
> (Updated Nov. 3, 2014, 7:46 p.m.)
> 
> 
> Review request for kafka.
> 
> 
> Bugs: KAFKA-1746
>     https://issues.apache.org/jira/browse/KAFKA-1746
> 
> 
> Repository: kafka
> 
> 
> Description
> -------
> 
> KAFKA-1746 Make system tests return a useful exit code.
> 
> 
> KAFKA-1746 Check the exit code when running DumpLogSegments to verify data.
> 
> 
> Diffs
> -----
> 
>   system_test/mirror_maker_testsuite/mirror_maker_test.py 
> c0117c64cbb7687ca8fbcec6b5c188eb880300ef 
>   system_test/offset_management_testsuite/offset_management_test.py 
> 12b5cd25140e1eb407dd57eef63d9783257688b2 
>   system_test/replication_testsuite/replica_basic_test.py 
> 660006cc253bbae3e7cd9f02601f1c1937dd1714 
>   system_test/system_test_runner.py ee7aa252333553e8eb0bc046edf968ec99dddb70 
>   system_test/utils/kafka_system_test_utils.py 
> 1093b660ebd0cb5ab6d3731d26f151e1bf717f8a 
> 
> Diff: https://reviews.apache.org/r/27534/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Ewen Cheslack-Postava
> 
>

Reply via email to