We may want to add:
```Python
Test.SkipIf(Condition.true('autest sometimes does not capture output on the 
last test case of a scenario'))
```

There seems to be an issue in autest with some buffered I/O. A significant 
precentage of the time, after tcp_client has flushed the bytes it received to 
stdout, autest shows failure with no output. I've observed this in Apache CI as 
well as my local CentOS7 environment. This happens only on the last test case 
in a scenario, before the Trafficserver under test is stopped. If it were a 
problem with the test itself, we would expect to see it happen on all test 
cases. So I think autest is missing a read or not flushing a write on the last 
time through a loop. I did not have time to look, and I would rather not enable 
an automated test with false failures some of the time. I used these tests to 
verify the correctness of the changes manually, so I think they are valuable to 
keep so that we can enabled them if/when we find and fix the problem.

[ Full content available at: https://github.com/apache/trafficserver/pull/4145 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to