Hello, I downloaded a tar, tagged as 6.2.1 from Github. Upon doing "ant test" from lucene, all tests pass, however they repeatedly fail from the Solr folder. The tests are running on a Ubuntu 14.04 box with Java 8.
These are the truncated statements from the output: [junit4] 2> 685308 INFO (TEST-TestCoreDiscovery.testSolrHomeNotReadable-seed#[3D48BA4AD5FF1183]) [ x:core2] o.a.s.SolrTestCaseJ4 ###Ending testSolrHomeNotReadable [junit4] 2> NOTE: reproduce with: ant test -Dtestcase=TestCoreDiscovery -Dtests.method=testSolrHomeNotReadable -Dtests.seed=3D48BA4AD5FF1183 -Dtests.slow=true -Dtests.locale=lv -Dtests.timezone=America/Cayenne -Dtests.asserts=true -Dtests.file.encoding=ISO-8859-1 [junit4] FAILURE 0.08s J3 | TestCoreDiscovery.testSolrHomeNotReadable <<< [junit4] > Throwable #1: java.lang.AssertionError: Should have thrown an exception here [junit4] > at __randomizedtesting.SeedInfo.seed([3D48BA4AD5FF1183:712880B16D407DD1]:0) [junit4] > at org.apache.solr.core.TestCoreDiscovery.testSolrHomeNotReadable(TestCoreDiscovery.java:428) [junit4] > at java.lang.Thread.run(Thread.java:745) [junit4] 2> NOTE: All tests run in this JVM: [SimpleCollectionCreateDeleteTest, ClusterStateUpdateTest, RankQueryTest, DeleteNodeTest, TermVectorComponentTest, SuggesterTSTTest, ZkControllerTest, FastVectorHighlighterTest, TestTestInjection, UniqFieldsUpdateProcessorFactoryTest, DirectSolrSpellCheckerTest, ZkStateWriterTest, TestMissingGroups, TestLRUCache, TestNonDefinedSimilarityFactory, RulesTest, TestBinaryField, SolrIndexConfigTest, LeaderInitiatedRecoveryOnCommitTest, LukeRequestHandlerTest, OpenExchangeRatesOrgProviderTest, HdfsNNFailoverTest, TestSolrConfigHandlerCloud, HighlighterConfigTest, TestDocBasedVersionConstraints, XsltUpdateRequestHandlerTest, TestSuggestSpellingConverter, TestDefaultStatsCache, TestWordDelimiterFilterFactory, TestIBSimilarityFactory, TestExclusionRuleCollectionAccess, SampleTest, TestDynamicFieldCollectionResource, AutoCommitTest, TestDistributedGrouping, EchoParamsTest, TestRandomFaceting, HdfsChaosMonkeySafeLeaderTest, TestMacros, RollingRestartTest, TestXIncludeConfig, TestFoldingMultitermQuery, TestReplicationHandler, ZkCLITest, TestDistribDocBasedVersion, TestRTimerTree, BlockJoinFacetDistribTest, SpellCheckCollatorTest, DistributedFacetPivotLargeTest, TestFieldTypeResource, TestSimpleQParserPlugin, TestRandomRequestDistribution, TestConfigSets, TestCoreDiscovery] [junit4] Completed [245/629 (1!)] on J3 in 1.66s, 12 tests, 2 failures <<< FAILURES! BUILD FAILED /root/solr/solr/build.xml:233: The following error occurred while executing this line: /root/solr/solr/common-build.xml:536: The following error occurred while executing this line: /root/solr/lucene/common-build.xml:1443: The following error occurred while executing this line: /root/solr/lucene/common-build.xml:984: There were test failures: 629 suites (10 ignored), 2679 tests, 2 failures, 85 ignored (70 assumptions) [seed: 3D48BA4AD5FF1183] at com.carrotsearch.ant.tasks.junit4.JUnit4.execute(JUnit4.java:1024) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) Any inputs on how to fix this? -- Regards, *Rishabh Patel*