Latest git master does not build


(James Michael Dupont) #1

Hi!
here is my first attempt to build :
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

/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.
For more options, visit https://groups.google.com/groups/opt_out.


(Jörg Prante) #2

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.
For more options, visit https://groups.google.com/groups/opt_out.


(James Michael Dupont) #3

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
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.
To unsubscribe from this group and all its topics, send an email to
elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
James Michael DuPont
Member of Free Libre Open Source Software Kosova http://flossk.org
Saving wikipedia(tm) articles from deletion http://SpeedyDeletion.wikia.com
Contributor FOSM, the CC-BY-SA map of the world http://fosm.org
Mozilla Rep https://reps.mozilla.org/u/h4ck3rm1k3
Free Software Foundation Europe Fellow 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.
For more options, visit https://groups.google.com/groups/opt_out.


(Dennis) #4

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

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

/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.
For more options, visit https://groups.google.com/groups/opt_out.


(Dennis) #5

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

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

/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.
For more options, visit https://groups.google.com/groups/opt_out.


(Vishal Kapoor) #6

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 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/3674https://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.**githttps://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.
For more options, visit 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.
For more options, visit https://groups.google.com/groups/opt_out.


(Dennis) #7

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 :
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

/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.
For more options, visit https://groups.google.com/groups/opt_out.


(simonw-2) #8

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 :
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

/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.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #9