# Latest git master does not build

**URL:** <https://discuss.elastic.co/t/latest-git-master-does-not-build/13568>\
**Category:** Elasticsearch\
**Created:** [September 12, 2013, 12:35pm UTC](https://discuss.elastic.co/t/latest-git-master-does-not-build/13568 "2013-09-12T12:35:10Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![James\_Michael\_Dupont](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/james_michael_dupont/32/2107_2.png) [@James\_Michael\_Dupont](https://discuss.elastic.co/u/James_Michael_Dupont)\
**Post date:** [September 12, 2013, 12:35pm UTC](https://discuss.elastic.co/t/latest-git-master-does-not-build/13568/1 "2013-09-12T12:35:10Z")

</div>

Hi!  
here is my first attempt to build :  
[https://github.com/elasticsearch/elasticsearch/issues/3674](https://github.com/elasticsearch/elasticsearch/issues/3674)

java version "1.7.0\_25"  
OpenJDK Runtime Environment (rhel-2.3.10.4.el6\_4-x86\_64)  
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)

git clone [https://github.com/elasticsearch/elasticsearch.git](https://github.com/elasticsearch/elasticsearch.git)

/home/mdupont/experiments/maven/OME/experiments/maven/apache-maven-3.0-SNAPSHOT/bin/mvn  
install  
Tests with failures:

- org.elasticsearch.search.simple.SimpleSearchTests.simpleDateMathTests
- org.elasticsearch.routing.SimpleRoutingTests.testSimpleSearchRouting

## [INFO] JVM J0: 0.74 .. 1655.77 = 1655.03s [INFO] Execution time total: 27 minutes 36 seconds [INFO] Tests summary: 332 suites, 1732 tests, 1 error, 1 failure, 6 ignored (5 assumptions) [INFO]

## [INFO] BUILD FAILURE [INFO]

## [INFO] Total time: 29:15.229s [INFO] Finished at: Wed Sep 11 16:13:38 PDT 2013 [INFO] Final Memory: 33M/581M [INFO]

[ERROR] Failed to execute goal  
com.carrotsearch.randomizedtesting:junit4-maven-plugin:2.0.10:junit4  
(tests) on project elasticsearch: Execution tests of goal  
com.carrotsearch.randomizedtesting:junit4-maven-plugin:2.0.10:junit4  
failed:  
/home/mdupont/experiments/elasticsearch/target/junit4-ant-6843868664712985604.xml:16:  
There were test failures: 332 suites, 1732 tests, 1 error, 1 failure, 6  
ignored (5 assumptions) -\> [Help 1]

Linux 2.6.32-19-pve #1 SMP Wed May 15 07:32:52 CEST 2013 x86\_64 x86\_64  
x86\_64 GNU/Linux

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![jprante](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jprante/32/44941_2.png) [@jprante](https://discuss.elastic.co/u/jprante)\
**Post date:** [September 12, 2013, 8:38pm UTC](https://discuss.elastic.co/t/latest-git-master-does-not-build/13568/2 "2013-09-12T20:38:46Z")

</div>

My builds of master on Mac OS X never really succeeded since the junit4  
test framework, with different number of failures here and then. Right now  
I have only one failure on master.

Tests with failures:

- org.elasticsearch.cluster.ClusterServiceTests.testTimeoutUpdateTask

[INFO] JVM J0: 1.61 .. 762.70 = 761.09s  
[INFO] JVM J1: 1.60 .. 756.96 = 755.36s  
[INFO] JVM J2: 1.60 .. 750.06 = 748.46s  
[INFO] Execution time total: 12 minutes 42 seconds  
[INFO] Tests summary: 331 suites, 1727 tests, 1 failure, 6 ignored (5  
assumptions)

Jorg-Prantes-MacBook-Pro:elasticsearch joerg$ mvn --version  
Apache Maven 3.1.0 (893ca28a1da9d5f51ac03827af98bb730128f9f2; 2013-06-28  
04:15:32+0200)  
Maven home: /usr/share/maven  
Java version: 1.7.0\_25, vendor: Oracle Corporation  
Java home:  
/Library/Java/JavaVirtualMachines/jdk1.7.0\_25.jdk/Contents/Home/jre  
Default locale: de\_DE, platform encoding: UTF-8  
OS name: "mac os x", version: "10.8.4", arch: "x86\_64", family: "mac"

With Java 8, I get compile errors, because of an issue in jsr166e classes.

Jörg

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![James\_Michael\_Dupont](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/james_michael_dupont/32/2107_2.png) [@James\_Michael\_Dupont](https://discuss.elastic.co/u/James_Michael_Dupont)\
**Post date:** [September 13, 2013, 2:19am UTC](https://discuss.elastic.co/t/latest-git-master-does-not-build/13568/3 "2013-09-13T02:19:17Z")

</div>

Running again the problem goes away, could be memory issues or just timing.

On Thu, Sep 12, 2013 at 3:38 PM, [joergprante@gmail.com](mailto:joergprante@gmail.com)  
[joergprante@gmail.com](mailto:joergprante@gmail.com) wrote:

> My builds of master on Mac OS X never really succeeded since the junit4 test  
> framework, with different number of failures here and then. Right now I have  
> only one failure on master.
> 
> Tests with failures:
> 
> - org.elasticsearch.cluster.ClusterServiceTests.testTimeoutUpdateTask
> 
> [INFO] JVM J0: 1.61 .. 762.70 = 761.09s  
> [INFO] JVM J1: 1.60 .. 756.96 = 755.36s  
> [INFO] JVM J2: 1.60 .. 750.06 = 748.46s  
> [INFO] Execution time total: 12 minutes 42 seconds  
> [INFO] Tests summary: 331 suites, 1727 tests, 1 failure, 6 ignored (5  
> assumptions)
> 
> Jorg-Prantes-MacBook-Pro:elasticsearch joerg$ mvn --version  
> Apache Maven 3.1.0 (893ca28a1da9d5f51ac03827af98bb730128f9f2; 2013-06-28  
> 04:15:32+0200)  
> Maven home: /usr/share/maven  
> Java version: 1.7.0\_25, vendor: Oracle Corporation  
> Java home:  
> /Library/Java/JavaVirtualMachines/jdk1.7.0\_25.jdk/Contents/Home/jre  
> Default locale: de\_DE, platform encoding: UTF-8  
> OS name: "mac os x", version: "10.8.4", arch: "x86\_64", family: "mac"
> 
> With Java 8, I get compile errors, because of an issue in jsr166e classes.
> 
> Jörg
> 
> --  
> You received this message because you are subscribed to a topic in the  
> Google Groups "elasticsearch" group.  
> To unsubscribe from this topic, visit  
> [https://groups.google.com/d/topic/elasticsearch/HAxlSO3SW8w/unsubscribe](https://groups.google.com/d/topic/elasticsearch/HAxlSO3SW8w/unsubscribe).  
> To unsubscribe from this group and all its topics, send an email to  
> [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
James Michael DuPont  
Member of Free Libre Open Source Software Kosova [http://flossk.org](http://flossk.org)  
Saving wikipedia(tm) articles from deletion [http://SpeedyDeletion.wikia.com](http://SpeedyDeletion.wikia.com)  
Contributor FOSM, the CC-BY-SA map of the world [http://fosm.org](http://fosm.org)  
Mozilla Rep [https://reps.mozilla.org/u/h4ck3rm1k3](https://reps.mozilla.org/u/h4ck3rm1k3)  
Free Software Foundation Europe Fellow [Unterstützen Sie Freie Software - FSFE](http://fsfe.org/support/?h4ck3rm1k3)

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Dennis](https://avatars.discourse-cdn.com/v4/letter/d/e56c9b/32.png) [@Dennis](https://discuss.elastic.co/u/Dennis)\
**Post date:** [October 10, 2013, 6:37pm UTC](https://discuss.elastic.co/t/latest-git-master-does-not-build/13568/4 "2013-10-10T18:37:57Z")

</div>

I have the same problem on my first run. I'll try a second one. My java  
version is:  
java version "1.7.0\_40"  
Java(TM) SE Runtime Environment (build 1.7.0\_40-b43)  
Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)

On Thursday, September 12, 2013 5:35:10 AM UTC-7, James Michael Dupont  
wrote:

> Hi!  
> here is my first attempt to build :  
> [Lastest git master does not build clean · Issue #3674 · elastic/elasticsearch · GitHub](https://github.com/elasticsearch/elasticsearch/issues/3674)
> 
> java version "1.7.0\_25"  
> OpenJDK Runtime Environment (rhel-2.3.10.4.el6\_4-x86\_64)  
> OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)
> 
> git clone [GitHub - elastic/elasticsearch: Free and Open, Distributed, RESTful Search Engine](https://github.com/elasticsearch/elasticsearch.git)
> 
> /home/mdupont/experiments/maven/OME/experiments/maven/apache-maven-3.0-SNAPSHOT/bin/mvn  
> install  
> Tests with failures:
> 
> - org.elasticsearch.search.simple.SimpleSearchTests.simpleDateMathTests
> - org.elasticsearch.routing.SimpleRoutingTests.testSimpleSearchRouting
> 
> ## [INFO] JVM J0: 0.74 .. 1655.77 = 1655.03s [INFO] Execution time total: 27 minutes 36 seconds [INFO] Tests summary: 332 suites, 1732 tests, 1 error, 1 failure, 6 ignored (5 assumptions) [INFO]
> 
> ## [INFO] BUILD FAILURE [INFO]
> 
> ## [INFO] Total time: 29:15.229s [INFO] Finished at: Wed Sep 11 16:13:38 PDT 2013 [INFO] Final Memory: 33M/581M [INFO]
> 
> [ERROR] Failed to execute goal  
> com.carrotsearch.randomizedtesting:junit4-maven-plugin:2.0.10:junit4  
> (tests) on project elasticsearch: Execution tests of goal  
> com.carrotsearch.randomizedtesting:junit4-maven-plugin:2.0.10:junit4  
> failed:  
> /home/mdupont/experiments/elasticsearch/target/junit4-ant-6843868664712985604.xml:16:  
> There were test failures: 332 suites, 1732 tests, 1 error, 1 failure, 6  
> ignored (5 assumptions) -\> [Help 1]
> 
> Linux 2.6.32-19-pve #1 SMP Wed May 15 07:32:52 CEST 2013 x86\_64 x86\_64  
> x86\_64 GNU/Linux

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Dennis](https://avatars.discourse-cdn.com/v4/letter/d/e56c9b/32.png) [@Dennis](https://discuss.elastic.co/u/Dennis)\
**Post date:** [October 10, 2013, 8:38pm UTC](https://discuss.elastic.co/t/latest-git-master-does-not-build/13568/5 "2013-10-10T20:38:20Z")

</div>

No luck, same error.

On Thursday, October 10, 2013 11:37:57 AM UTC-7, Dennis wrote:

> I have the same problem on my first run. I'll try a second one. My java  
> version is:  
> java version "1.7.0\_40"  
> Java(TM) SE Runtime Environment (build 1.7.0\_40-b43)  
> Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)
> 
> On Thursday, September 12, 2013 5:35:10 AM UTC-7, James Michael Dupont  
> wrote:
> 
> > Hi!  
> > here is my first attempt to build :  
> > [Lastest git master does not build clean · Issue #3674 · elastic/elasticsearch · GitHub](https://github.com/elasticsearch/elasticsearch/issues/3674)
> > 
> > java version "1.7.0\_25"  
> > OpenJDK Runtime Environment (rhel-2.3.10.4.el6\_4-x86\_64)  
> > OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)
> > 
> > git clone [GitHub - elastic/elasticsearch: Free and Open, Distributed, RESTful Search Engine](https://github.com/elasticsearch/elasticsearch.git)
> > 
> > /home/mdupont/experiments/maven/OME/experiments/maven/apache-maven-3.0-SNAPSHOT/bin/mvn  
> > install  
> > Tests with failures:
> > 
> > - org.elasticsearch.search.simple.SimpleSearchTests.simpleDateMathTests
> > - org.elasticsearch.routing.SimpleRoutingTests.testSimpleSearchRouting
> > 
> > ## [INFO] JVM J0: 0.74 .. 1655.77 = 1655.03s [INFO] Execution time total: 27 minutes 36 seconds [INFO] Tests summary: 332 suites, 1732 tests, 1 error, 1 failure, 6 ignored (5 assumptions) [INFO]
> > 
> > ## [INFO] BUILD FAILURE [INFO]
> > 
> > ## [INFO] Total time: 29:15.229s [INFO] Finished at: Wed Sep 11 16:13:38 PDT 2013 [INFO] Final Memory: 33M/581M [INFO]
> > 
> > [ERROR] Failed to execute goal  
> > com.carrotsearch.randomizedtesting:junit4-maven-plugin:2.0.10:junit4  
> > (tests) on project elasticsearch: Execution tests of goal  
> > com.carrotsearch.randomizedtesting:junit4-maven-plugin:2.0.10:junit4  
> > failed:  
> > /home/mdupont/experiments/elasticsearch/target/junit4-ant-6843868664712985604.xml:16:  
> > There were test failures: 332 suites, 1732 tests, 1 error, 1 failure, 6  
> > ignored (5 assumptions) -\> [Help 1]
> > 
> > Linux 2.6.32-19-pve #1 SMP Wed May 15 07:32:52 CEST 2013 x86\_64 x86\_64  
> > x86\_64 GNU/Linux

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Vishal\_Kapoor](https://avatars.discourse-cdn.com/v4/letter/v/57b2e6/32.png) [@Vishal\_Kapoor](https://discuss.elastic.co/u/Vishal_Kapoor)\
**Post date:** [October 10, 2013, 11:14pm UTC](https://discuss.elastic.co/t/latest-git-master-does-not-build/13568/6 "2013-10-10T23:14:49Z")

</div>

The tests are clean,

java version "1.7.0\_40"  
Java(TM) SE Runtime Environment (build 1.7.0\_40-b43)  
Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)

## [INFO] JVM J0: 0.39 .. 1352.22 = 1351.83s [INFO] Execution time total: 22 minutes 32 seconds [INFO] Tests summary: 335 suites, 1805 tests, 8 ignored (7 assumptions) [INFO]

## [INFO] BUILD SUCCESS [INFO]

## [INFO] Total time: 22:37.932s [INFO] Finished at: Thu Oct 10 18:10:06 CDT 2013 [INFO] Final Memory: 17M/585M [INFO]

if you notice, one of the test was failing with OOM exception.  
you could skip tests with -DskipTests  
else you could also change pom.xml to give it more memory.

```
   <jvmArgs>
                            <param>-Xmx2g</param>
                            <param>-Des.logger.prefix=</param>
                        </jvmArgs>

```

I think 1.5g will do but it does not hurt to give it a little more.  
hope this helps...

On Thu, Oct 10, 2013 at 3:38 PM, Dennis [gearond@gmail.com](mailto:gearond@gmail.com) wrote:

> No luck, same error.
> 
> On Thursday, October 10, 2013 11:37:57 AM UTC-7, Dennis wrote:
> 
> > I have the same problem on my first run. I'll try a second one. My java  
> > version is:  
> > java version "1.7.0\_40"  
> > Java(TM) SE Runtime Environment (build 1.7.0\_40-b43)  
> > Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)
> > 
> > On Thursday, September 12, 2013 5:35:10 AM UTC-7, James Michael Dupont  
> > wrote:
> > 
> > > Hi!  
> > > here is my first attempt to build :  
> > > [https://github.com/\*\*elasticsearch/elasticsearch/\*\*issues/3674](https://github.com/ **elasticsearch/elasticsearch/** issues/3674)[https://github.com/elasticsearch/elasticsearch/issues/3674](https://github.com/elasticsearch/elasticsearch/issues/3674)
> > > 
> > > java version "1.7.0\_25"  
> > > OpenJDK Runtime Environment (rhel-2.3.10.4.el6\_4-x86\_64)  
> > > OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)
> > > 
> > > git clone [https://github.com/\*\*elasticsearch/elasticsearch.\*\*git](https://github.com/ **elasticsearch/elasticsearch.** git)[https://github.com/elasticsearch/elasticsearch.git](https://github.com/elasticsearch/elasticsearch.git)  
> > > /home/mdupont/experiments/ **maven/OME/experiments/maven/**  
> > > apache-maven-3.0-SNAPSHOT/bin/\*\*mvn install  
> > > Tests with failures:
> > > 
> > > - org.elasticsearch.search. **simple.SimpleSearchTests.**  
> > > simpleDateMathTests
> > > - org.elasticsearch.routing. **SimpleRoutingTests.**  
> > > testSimpleSearchRouting
> > > 
> > > ## [INFO] JVM J0: 0.74 .. 1655.77 = 1655.03s [INFO] Execution time total: 27 minutes 36 seconds [INFO] Tests summary: 332 suites, 1732 tests, 1 error, 1 failure, 6 ignored (5 assumptions) [INFO] ------------------------------ **------------------------------**
> > > 
> > > ## [INFO] BUILD FAILURE [INFO] ------------------------------ **------------------------------**
> > > 
> > > ## [INFO] Total time: 29:15.229s [INFO] Finished at: Wed Sep 11 16:13:38 PDT 2013 [INFO] Final Memory: 33M/581M [INFO] ------------------------------ **------------------------------**
> > > 
> > > [ERROR] Failed to execute goal com.carrotsearch.\*\*  
> > > randomizedtesting:junit4-**maven-plugin:2.0.10:junit4 (tests) on  
> > > project elasticsearch: Execution tests of goal com.carrotsearch.**  
> > > randomizedtesting:junit4-\*\*maven-plugin:2.0.10:junit4 failed:  
> > > /home/mdupont/experiments/ **elasticsearch/target/junit4-**  
> > > ant-6843868664712985604.xml:\*\*16: There were test failures: 332 suites,  
> > > 1732 tests, 1 error, 1 failure, 6 ignored (5 assumptions) -\> [Help 1]
> > > 
> > > Linux 2.6.32-19-pve #1 SMP Wed May 15 07:32:52 CEST 2013 x86\_64 x86\_64  
> > > x86\_64 GNU/Linux
> > > 
> > > --  
> > > You received this message because you are subscribed to the Google Groups  
> > > "elasticsearch" group.  
> > > To unsubscribe from this group and stop receiving emails from it, send an  
> > > email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Dennis](https://avatars.discourse-cdn.com/v4/letter/d/e56c9b/32.png) [@Dennis](https://discuss.elastic.co/u/Dennis)\
**Post date:** [October 11, 2013, 4:54am UTC](https://discuss.elastic.co/t/latest-git-master-does-not-build/13568/7 "2013-10-11T04:54:12Z")

</div>

I am only able to get the error when I DON'T set the debug switch, just my  
luck.

I ALWAYS get it with just 'mvn install',  
never get it with 'mvn -DnumJvmSwitchIForgotNameOf=1 install',  
never get it with 'mvn -X install'

On Thursday, September 12, 2013 5:35:10 AM UTC-7, James Michael Dupont  
wrote:

> Hi!  
> here is my first attempt to build :  
> [Lastest git master does not build clean · Issue #3674 · elastic/elasticsearch · GitHub](https://github.com/elasticsearch/elasticsearch/issues/3674)
> 
> java version "1.7.0\_25"  
> OpenJDK Runtime Environment (rhel-2.3.10.4.el6\_4-x86\_64)  
> OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)
> 
> git clone [GitHub - elastic/elasticsearch: Free and Open, Distributed, RESTful Search Engine](https://github.com/elasticsearch/elasticsearch.git)
> 
> /home/mdupont/experiments/maven/OME/experiments/maven/apache-maven-3.0-SNAPSHOT/bin/mvn  
> install  
> Tests with failures:
> 
> - org.elasticsearch.search.simple.SimpleSearchTests.simpleDateMathTests
> - org.elasticsearch.routing.SimpleRoutingTests.testSimpleSearchRouting
> 
> ## [INFO] JVM J0: 0.74 .. 1655.77 = 1655.03s [INFO] Execution time total: 27 minutes 36 seconds [INFO] Tests summary: 332 suites, 1732 tests, 1 error, 1 failure, 6 ignored (5 assumptions) [INFO]
> 
> ## [INFO] BUILD FAILURE [INFO]
> 
> ## [INFO] Total time: 29:15.229s [INFO] Finished at: Wed Sep 11 16:13:38 PDT 2013 [INFO] Final Memory: 33M/581M [INFO]
> 
> [ERROR] Failed to execute goal  
> com.carrotsearch.randomizedtesting:junit4-maven-plugin:2.0.10:junit4  
> (tests) on project elasticsearch: Execution tests of goal  
> com.carrotsearch.randomizedtesting:junit4-maven-plugin:2.0.10:junit4  
> failed:  
> /home/mdupont/experiments/elasticsearch/target/junit4-ant-6843868664712985604.xml:16:  
> There were test failures: 332 suites, 1732 tests, 1 error, 1 failure, 6  
> ignored (5 assumptions) -\> [Help 1]
> 
> Linux 2.6.32-19-pve #1 SMP Wed May 15 07:32:52 CEST 2013 x86\_64 x86\_64  
> x86\_64 GNU/Linux

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![simonw\_2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/simonw_2/32/1130_2.png) [@simonw\_2](https://discuss.elastic.co/u/simonw_2)\
**Post date:** [October 13, 2013, 4:08pm UTC](https://discuss.elastic.co/t/latest-git-master-does-not-build/13568/8 "2013-10-13T16:08:32Z")

</div>

In general mac osx sucks big time if you run tests with network transport  
which is default. If I run tests on OSX I use `-Des.node.mode=local` while  
on linux I never have problems. Others report no problems but I don't buy  
it since OSX has lots of JAVA problems. Regarding Oracle "1.7.0\_40" - it's  
broken and shouldn't be used (but likely not the cause of the test-failure)  
Regarding the tests in general I am beefing up tests on a 2 or 3 days basis  
once the become stable I enable a new random test feature to get more  
variations an coverage so it might be flaky for a while until we have most  
of the stuff we wanna add enabled. I just recently started to swap in  
TransportClient instances instead of node clients which can bring random  
failures I need to look at so it might take a bit for that feature to  
settle.

simon

On Friday, October 11, 2013 6:54:12 AM UTC+2, Dennis wrote:

> I am only able to get the error when I DON'T set the debug switch, just my  
> luck.
> 
> I ALWAYS get it with just 'mvn install',  
> never get it with 'mvn -DnumJvmSwitchIForgotNameOf=1 install',  
> never get it with 'mvn -X install'
> 
> On Thursday, September 12, 2013 5:35:10 AM UTC-7, James Michael Dupont  
> wrote:
> 
> > Hi!  
> > here is my first attempt to build :  
> > [Lastest git master does not build clean · Issue #3674 · elastic/elasticsearch · GitHub](https://github.com/elasticsearch/elasticsearch/issues/3674)
> > 
> > java version "1.7.0\_25"  
> > OpenJDK Runtime Environment (rhel-2.3.10.4.el6\_4-x86\_64)  
> > OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)
> > 
> > git clone [GitHub - elastic/elasticsearch: Free and Open, Distributed, RESTful Search Engine](https://github.com/elasticsearch/elasticsearch.git)
> > 
> > /home/mdupont/experiments/maven/OME/experiments/maven/apache-maven-3.0-SNAPSHOT/bin/mvn  
> > install  
> > Tests with failures:
> > 
> > - org.elasticsearch.search.simple.SimpleSearchTests.simpleDateMathTests
> > - org.elasticsearch.routing.SimpleRoutingTests.testSimpleSearchRouting
> > 
> > ## [INFO] JVM J0: 0.74 .. 1655.77 = 1655.03s [INFO] Execution time total: 27 minutes 36 seconds [INFO] Tests summary: 332 suites, 1732 tests, 1 error, 1 failure, 6 ignored (5 assumptions) [INFO]
> > 
> > ## [INFO] BUILD FAILURE [INFO]
> > 
> > ## [INFO] Total time: 29:15.229s [INFO] Finished at: Wed Sep 11 16:13:38 PDT 2013 [INFO] Final Memory: 33M/581M [INFO]
> > 
> > [ERROR] Failed to execute goal  
> > com.carrotsearch.randomizedtesting:junit4-maven-plugin:2.0.10:junit4  
> > (tests) on project elasticsearch: Execution tests of goal  
> > com.carrotsearch.randomizedtesting:junit4-maven-plugin:2.0.10:junit4  
> > failed:  
> > /home/mdupont/experiments/elasticsearch/target/junit4-ant-6843868664712985604.xml:16:  
> > There were test failures: 332 suites, 1732 tests, 1 error, 1 failure, 6  
> > ignored (5 assumptions) -\> [Help 1]
> > 
> > Linux 2.6.32-19-pve #1 SMP Wed May 15 07:32:52 CEST 2013 x86\_64 x86\_64  
> > x86\_64 GNU/Linux

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 2:12am UTC](https://discuss.elastic.co/t/latest-git-master-does-not-build/13568/9 "2017-07-06T02:12:44Z")

</div>


