I was able to reproduce the truncated output a couple more times just by running standalone commands of the form:
java -Dframework=DerbyNet org.apache.derbyTesting.functionTests.harness.RunTest derbynet/testSecMec.java So I don't think that the issue involves an interaction with another test, at least in my configuration. Reading through testSecMec.java, I see that there is some relatively complex code to handle switching System.out and System.err back and forth when shutting down the server. I wonder if something is going wrong in this code, intermittently, which is causing the test output to be lost? thanks, bryan