Thanks Erick! Excellent info.
----- Original Message ----- From: "Erick Erickson" <[email protected]> To: [email protected] Sent: Friday, August 24, 2018 11:02:15 AM Subject: Re: Tests Fail Unfortunately yes, we've built up considerable "test debt" that we're working on, failures occur intermittently based on random factors and are pretty hard to track down. See: http://fucit.org/solr-jenkins-reports/failure-report.html There are a few things I do at this point when a test fails: 1> rerun the test a couple of times, and if it passes don't worry. Do this by, for instance, 'ant -Dtestcase=MoveReplicaHDFSTest test' from the root of your install 2> look at the above link to see if your test is "featured" 3> check the test itself, if it has the @BadApple notation then it's been identified as flakey. If you can ever figure out _why_ some of these tests randomly fail that would be fantastic! Best, Erick On Fri, Aug 24, 2018 at 6:44 AM Charles Sanders <[email protected]> wrote: > > Hello, > I'm new at this, so its probably something I've done... or not done. I > fetched from master this morning and ran 'ant clean test'. But I'm getting > test failures. I'm following the directions found here: > https://wiki.apache.org/solr/HowToContribute > > Is this normal to have test failures from master? I see emails from Jenkins > that the build is unstable. > [JENKINS] Lucene-Solr-repro - Build # 1295 - Still Unstable > > Just trying to understand what I should expect. Thanks for helping the new > guy. > -Charles > > > [junit4] Tests with failures [seed: C83CD1AEBC29ADAF]: > [junit4] - org.apache.solr.cloud.MoveReplicaHDFSTest.testFailedMove > [junit4] - org.apache.solr.cloud.TestAuthenticationFramework.testBasics > [junit4] > [junit4] > [junit4] JVM J0: 0.89 .. 3088.54 = 3087.65s > [junit4] JVM J1: 0.63 .. 3088.48 = 3087.85s > [junit4] JVM J2: 0.89 .. 3088.64 = 3087.75s > [junit4] Execution time total: 51 minutes 28 seconds > [junit4] Tests summary: 829 suites (5 ignored), 4028 tests, 2 errors, 170 > ignored (150 assumptions) > > BUILD FAILED --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
