I just ran the tests on master, and get the following failures, this may be what Tarique means:
TestFoldingMultitermExtrasQuery.beforeTests:36->SolrTestCaseJ4.initCore:552->SolrTestCaseJ4.initCore:678->SolrTestCaseJ4.createCore:688 » Runtime TestFoldingMultitermExtrasQuery.org.apache.solr.analysis.TestFoldingMultitermExtrasQuery » ThreadLeak TestICUCollationFieldOptions.beforeClass:33->SolrTestCaseJ4.initCore:552->SolrTestCaseJ4.initCore:678->SolrTestCaseJ4.createCore:688 » Runtime TestICUCollationFieldOptions.org.apache.solr.schema.TestICUCollationFieldOptions » ThreadLeak TestICUCollationFieldDocValues.beforeClass:39->SolrTestCaseJ4.initCore:552->SolrTestCaseJ4.initCore:678->SolrTestCaseJ4.createCore:688 » Runtime TestICUCollationFieldDocValues.org.apache.solr.schema.TestICUCollationFieldDocValues » ThreadLeak TestICUCollationField.beforeClass:42->SolrTestCaseJ4.initCore:552->SolrTestCaseJ4.initCore:678->SolrTestCaseJ4.createCore:688 » Runtime TestICUCollationField.org.apache.solr.schema.TestICUCollationField » ThreadLeak They work fine from ant strangely... Will try to dig a bit. On 31 October 2017 at 14:53, Daniel Collins <danwcoll...@gmail.com> wrote: > Another important question is which branch did you download? I assume > master as its the default, but remember that is a development branch, so it > is entirely possible to have some test issues on that. > > On 31 October 2017 at 13:44, Shawn Heisey <apa...@elyograg.org> wrote: > >> On 10/28/2017 11:48 PM, Tarique Anwer wrote: >> > I am new to Solr. >> > I am trying to build Solr from source code using Maven. >> > So I performed the following steps: >> > >> > 1. Download the source code zip from https://github.com/apache/luce >> ne-solr >> > 2. unzip & run from top level dir: >> > $ ant get-maven-poms >> > $ cd maven-build >> >> Maven is not the official build system. It is included as an alternate >> option, but doesn't get the same attention as the official system. >> >> The maven output gave you the location of more details about the tests >> that failed. Look there for more information. >> >> Or install/use ant, which is the official build system for Lucene and >> Solr, and gives more information about test failures as part of the >> build output. >> >> https://wiki.apache.org/solr/HowToContribute >> >> Sometimes Solr tests fail, even on released code. Such failures are >> investigated. Sometimes the test itself is faulty, sometimes it's the >> code that is being tested. Sometimes the test framework randomizes a >> combination of settings that doesn't actually work. >> >> Unless you need to have access to the source code for learning purposes, >> or because you need to engage in development related to Solr, download >> the binary release and don't worry about compiling it. >> >> Thanks, >> Shawn >> >> >