Hi Robert,

I found the message on hotspot mailing list: 
http://mail.openjdk.java.net/pipermail/hotspot-dev/2013-May/009496.html
The problem is System.nanoTime() falls back to gettimeofday, because some fast 
and monotonic POSIX API is not available on OSX, which is horrible on the mac, 
because it can go backwards.

> Here's draft patch that uses mach_absolute_time() to provide fast and 
> monotonic System.nanoTime() for OS X:
> https://gist.github.com/denofevil/db57fa547510b2dd87fd

For now we should just ignore those failures on Jenkins, its related to this 
brokenness and the fact that we are running OSX in a VirtualBOX, which makes 
its clock very non-monotonic...!

Uwe

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: u...@thetaphi.de


> -----Original Message-----
> From: Uwe Schindler [mailto:u...@thetaphi.de]
> Sent: Thursday, May 01, 2014 12:01 PM
> To: dev@lucene.apache.org
> Subject: RE: [JENKINS] Lucene-Solr-trunk-MacOSX (64bit/jdk1.8.0) - Build #
> 1541 - Failure!
> 
> See also: http://mail-archives.apache.org/mod_mbox/lucene-
> dev/201301.mbox/%3C030701cdea9b$f2334850$d699d8f0$@thetaphi.de%3E
> 
> -----
> Uwe Schindler
> H.-H.-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: u...@thetaphi.de
> 
> 
> > -----Original Message-----
> > From: Uwe Schindler [mailto:u...@thetaphi.de]
> > Sent: Thursday, May 01, 2014 12:00 PM
> > To: dev@lucene.apache.org
> > Subject: RE: [JENKINS] Lucene-Solr-trunk-MacOSX (64bit/jdk1.8.0) -
> > Build #
> > 1541 - Failure!
> >
> > Uwe,
> >
> > This happens from time to time. It looks like wrong usage of syscalls
> > in the MacOSX libc, because it seems to happen if the clock on Mac
> > goes backwards. This happens more often in virtual machines, because
> > time synchronization of virtual machine and host clock happens more
> > often because of virtual processor scheduling issues, so clocks differ
> > more often and need to be corrected by NTP. As far as I remember,
> > there was already a patch on hotspot mailing list to use more modern APIs.
> >
> > Uwe
> >
> > -----
> > Uwe Schindler
> > H.-H.-Meier-Allee 63, D-28213 Bremen
> > http://www.thetaphi.de
> > eMail: u...@thetaphi.de
> >
> >
> > > -----Original Message-----
> > > From: Robert Muir [mailto:rcm...@gmail.com]
> > > Sent: Thursday, May 01, 2014 10:52 AM
> > > To: dev@lucene.apache.org
> > > Subject: Re: [JENKINS] Lucene-Solr-trunk-MacOSX (64bit/jdk1.8.0) -
> > > Build #
> > > 1541 - Failure!
> > >
> > > I downloaded this jvm on my mac and tried the master seed a few
> > > times, no SIGFPE.
> > >
> > > I can't reproduce it.
> > >
> > > On Thu, May 1, 2014 at 2:54 AM, Policeman Jenkins Server
> > > <jenk...@thetaphi.de> wrote:
> > > > Build:
> > > > http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-MacOSX/1541/
> > > > Java: 64bit/jdk1.8.0 -XX:+UseCompressedOops -XX:+UseParallelGC
> > > >
> > > > No tests ran.
> > > >
> > > > Build Log:
> > > > [...truncated 8349 lines...]
> > > >    [junit4] JVM J0: stdout was not empty, see:
> > > /Users/jenkins/workspace/Lucene-Solr-trunk-
> > > MacOSX/lucene/build/join/test/temp/junit4-J0-
> > > 20140501_065329_348.sysout
> > > >    [junit4] >>> JVM J0: stdout (verbatim) ----
> > > >    [junit4] #
> > > >    [junit4] # A fatal error has been detected by the Java Runtime
> > > Environment:
> > > >    [junit4] #
> > > >    [junit4] #  SIGFPE (0x8) at pc=0x00007fff8a0d6b63, pid=203, tid=21251
> > > >    [junit4] #
> > > >    [junit4] # JRE version: Java(TM) SE Runtime Environment
> > > > (8.0_05-b13)
> > > (build 1.8.0_05-b13)
> > > >    [junit4] # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.5-b02
> > > > mixed
> > > mode bsd-amd64 compressed oops)
> > > >    [junit4] # Problematic frame:
> > > >    [junit4] # C  [libsystem_c.dylib+0x2b63]
> > > __commpage_gettimeofday+0x43
> > > >    [junit4] #
> > > >    [junit4] # Failed to write core dump. Core dumps have been
> > > > disabled. To
> > > enable core dumping, try "ulimit -c unlimited" before starting Java
> > > again
> > > >    [junit4] #
> > > >    [junit4] # An error report file with more information is saved as:
> > > >    [junit4] # /Users/jenkins/workspace/Lucene-Solr-trunk-
> > > MacOSX/lucene/build/join/test/J0/hs_err_pid203.log
> > > >    [junit4] #
> > > >    [junit4] # Compiler replay data is saved as:
> > > >    [junit4] # /Users/jenkins/workspace/Lucene-Solr-trunk-
> > > MacOSX/lucene/build/join/test/J0/replay_pid203.log
> > > >    [junit4] #
> > > >    [junit4] # If you would like to submit a bug report, please visit:
> > > >    [junit4] #   http://bugreport.sun.com/bugreport/crash.jsp
> > > >    [junit4] #
> > > >    [junit4] <<< JVM J0: EOF ----
> > > >
> > > > [...truncated 1 lines...]
> > > >    [junit4] ERROR: JVM J0 ended with an exception, command line:
> > > /Library/Java/JavaVirtualMachines/jdk1.8.0_05.jdk/Contents/Home/jre/
> > > bi n/ java -XX:+UseCompressedOops -XX:+UseParallelGC -
> > > XX:+HeapDumpOnOutOfMemoryError -
> > > XX:HeapDumpPath=/Users/jenkins/workspace/Lucene-Solr-trunk-
> > > MacOSX/heapdumps -Dtests.prefix=tests -
> > Dtests.seed=D104BAEF7A7EA4D6
> > > -Xmx512M -Dtests.iters= -Dtests.verbose=false
> > > -Dtests.infostream=false
> > > - Dtests.codec=random -Dtests.postingsformat=random -
> > > Dtests.docvaluesformat=random -Dtests.locale=random -
> > > Dtests.timezone=random -Dtests.directory=random -
> > > Dtests.linedocsfile=europarl.lines.txt.gz
> > > -Dtests.luceneMatchVersion=5.0 - Dtests.cleanthreads=perMethod -
> > > Djava.util.logging.config.file=/Users/jenkins/workspace/Lucene-Solr-
> > > tr
> > > unk- MacOSX/lucene/tools/junit4/logging.properties
> > > -Dtests.nightly=false - Dtests.weekly=false -Dtests.monster=false
> > > -Dtests.slow=true - Dtests.asserts.gracious=false
> > > -Dtests.multiplier=1 -DtempDir=. - Djava.io.tmpdir=.
> > > -Djunit4.tempDir=/Users/jenkins/workspace/Lucene-Solr-
> > > trunk-MacOSX/lucene/build/join/test/temp -
> > > Dclover.db.dir=/Users/jenkins/workspace/Lucene-Solr-trunk-
> > > MacOSX/lucene/build/clover/db -
> > > Djava.security.manager=org.apache.lucene.util.TestSecurityManager -
> > > Djava.security.policy=/Users/jenkins/workspace/Lucene-Solr-trunk-
> > > MacOSX/lucene/tools/junit4/tests.policy
> > > -Dlucene.version=5.0-SNAPSHOT
> > > -
> > > Djetty.testMode=1 -Djetty.insecurerandom=1 -
> > > Dsolr.directoryFactory=org.apache.solr.core.MockDirectoryFactory -
> > > Djava.awt.headless=true -Djdk.map.althashing.threshold=0 -
> > > Dtests.leaveTemporary=false -Dtests.filterstacks=true -
> > > Dtests.disableHdfs=true -Dfile.encoding=UTF-8 -classpath
> > > /Users/jenkins/workspace/Lucene-Solr-trunk-
> > >
> >
> MacOSX/lucene/build/join/classes/test:/Users/jenkins/workspace/Lucene-
> > > Solr-trunk-MacOSX/lucene/build/test-
> > > framework/classes/java:/Users/jenkins/workspace/Lucene-Solr-trunk-
> > >
> >
> MacOSX/lucene/build/codecs/classes/java:/Users/jenkins/workspace/Lucen
> > > e-Solr-trunk-MacOSX/lucene/build/grouping/lucene-grouping-5.0-
> > > SNAPSHOT.jar:/Users/jenkins/workspace/Lucene-Solr-trunk-
> > >
> >
> MacOSX/lucene/build/core/classes/java:/Users/jenkins/workspace/Lucene-
> > > Solr-trunk-MacOSX/lucene/test-framework/lib/junit-
> > > 4.10.jar:/Users/jenkins/workspace/Lucene-Solr-trunk-
> > MacOSX/lucene/test
> > > -
> > > framework/lib/randomizedtesting-runner-
> > > 2.1.3.jar:/Users/jenkins/workspace/Lucene-Solr-trunk-
> > >
> >
> MacOSX/lucene/build/join/classes/java:/Users/jenkins/tools/hudson.tasks.
> > > Ant_AntInstallation/ANT_1.8.2/lib/ant-
> > > launcher.jar:/Users/jenkins/.ant/lib/ivy-
> > > 2.3.0.jar:/Users/jenkins/tools/hudson.tasks.Ant_AntInstallation/ANT_1.
> > > 8.2/l
> > > ib/ant-
> > > antlr.jar:/Users/jenkins/tools/hudson.tasks.Ant_AntInstallation/ANT_1.
> > > 8.2/li
> > > b/ant-apache-
> > > bcel.jar:/Users/jenkins/tools/hudson.tasks.Ant_AntInstallation/ANT_1
> > > .8
> > > .2/li
> > > b/ant-apache-
> > > bsf.jar:/Users/jenkins/tools/hudson.tasks.Ant_AntInstallation/ANT_1.8.
> > > 2/lib
> > > /ant-apache-
> > > log4j.jar:/Users/jenkins/tools/hudson.tasks.Ant_AntInstallation/ANT_1.
> > > 8.2/l
> > > ib/ant-apache-
> > > oro.jar:/Users/jenkins/tools/hudson.tasks.Ant_AntInstallation/ANT_1.8.
> > > 2/li
> > > b/ant-apache-
> > >
> >
> regexp.jar:/Users/jenkins/tools/hudson.tasks.Ant_AntInstallation/ANT_1.8.
> > > 2/lib/ant-apache-
> > > resolver.jar:/Users/jenkins/tools/hudson.tasks.Ant_AntInstallation/A
> > > NT
> > > _1.8
> > > .2/lib/ant-apache-
> > > xalan2.jar:/Users/jenkins/tools/hudson.tasks.Ant_AntInstallation/ANT
> > > _1
> > > .8.2
> > > /lib/ant-commons-
> > >
> >
> logging.jar:/Users/jenkins/tools/hudson.tasks.Ant_AntInstallation/ANT_1.8.
> > > 2/lib/ant-commons-
> > > net.jar:/Users/jenkins/tools/hudson.tasks.Ant_AntInstallation/ANT_1.8.
> > > 2/li
> > > b/ant-
> > > jai.jar:/Users/jenkins/tools/hudson.tasks.Ant_AntInstallation/ANT_1.8.
> > > 2/lib/
> > > ant-
> > > javamail.jar:/Users/jenkins/tools/hudson.tasks.Ant_AntInstallation/A
> > > NT
> > > _1.8
> > > .2/lib/ant-
> > >
> >
> jdepend.jar:/Users/jenkins/tools/hudson.tasks.Ant_AntInstallation/ANT_1.
> > > 8.2/lib/ant-
> > > jmf.jar:/Users/jenkins/tools/hudson.tasks.Ant_AntInstallation/ANT_1.8.
> > > 2/li
> > > b/ant-
> > > jsch.jar:/Users/jenkins/tools/hudson.tasks.Ant_AntInstallation/ANT_1
> > > .8
> > > .2/li
> > > b/ant-
> > > junit.jar:/Users/jenkins/tools/hudson.tasks.Ant_AntInstallation/ANT_1.
> > > 8.2/li
> > > b/ant-
> > > junit4.jar:/Users/jenkins/tools/hudson.tasks.Ant_AntInstallation/ANT
> > > _1
> > > .8.2
> > > /lib/ant-
> > > netrexx.jar:/Users/jenkins/tools/hudson.tasks.Ant_AntInstallation/AN
> > > T_
> > > 1.8
> > > .2/lib/ant-
> > > swing.jar:/Users/jenkins/tools/hudson.tasks.Ant_AntInstallation/ANT_1.
> > > 8.2
> > > /lib/ant-
> > >
> >
> testutil.jar:/Users/jenkins/tools/hudson.tasks.Ant_AntInstallation/ANT_1.8.
> > > 2/lib/ant.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_05.jdk/Cont
> > > en
> > > ts/H
> > > ome/lib/tools.jar:/Users/jenkins/.ivy2/cache/com.carrotsearch.random
> > > iz edt esting/junit4-ant/jars/junit4-ant-2.1.3.jar
> > > -ea:org.apache.lucene... - ea:org.apache.solr...
> > > com.carrotsearch.ant.tasks.junit4.slave.SlaveMainSafe - flush
> > > -eventsfile /Users/jenkins/workspace/Lucene-Solr-trunk-
> > > MacOSX/lucene/build/join/test/temp/junit4-J0-
> > > 20140501_065329_348.events @/Users/jenkins/workspace/Lucene-Solr-
> > > trunk-MacOSX/lucene/build/join/test/temp/junit4-J0-
> > > 20140501_065329_348.suites
> > > >    [junit4] ERROR: JVM J0 ended with an exception: Forked process
> > > returned with error code: 134. Very likely a JVM crash.  Process
> > > output piped in logs above.
> > > >    [junit4]     at
> > > com.carrotsearch.ant.tasks.junit4.JUnit4.executeSlave(JUnit4.java:14
> > > 61
> > > )
> > > >    [junit4]     at
> > > com.carrotsearch.ant.tasks.junit4.JUnit4.access$000(JUnit4.java:133)
> > > >    [junit4]     at
> > > com.carrotsearch.ant.tasks.junit4.JUnit4$2.call(JUnit4.java:948)
> > > >    [junit4]     at
> > > com.carrotsearch.ant.tasks.junit4.JUnit4$2.call(JUnit4.java:945)
> > > >    [junit4]     at 
> > > > java.util.concurrent.FutureTask.run(FutureTask.java:266)
> > > >    [junit4]     at
> > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor
> > > .j
> > > av
> > > a:1142)
> > > >    [junit4]     at
> > >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.
> > > ja
> > > va:617)
> > > >    [junit4]     at java.lang.Thread.run(Thread.java:745)
> > > >
> > > > BUILD FAILED
> > > > /Users/jenkins/workspace/Lucene-Solr-trunk-MacOSX/build.xml:467:
> > The
> > > following error occurred while executing this line:
> > > > /Users/jenkins/workspace/Lucene-Solr-trunk-MacOSX/build.xml:447:
> > The
> > > following error occurred while executing this line:
> > > > /Users/jenkins/workspace/Lucene-Solr-trunk-MacOSX/build.xml:45:
> > > > The
> > > following error occurred while executing this line:
> > > > /Users/jenkins/workspace/Lucene-Solr-trunk-MacOSX/extra-
> > > targets.xml:37: The following error occurred while executing this line:
> > > > /Users/jenkins/workspace/Lucene-Solr-trunk-
> > > MacOSX/lucene/build.xml:539: The following error occurred while
> > > executing this line:
> > > > /Users/jenkins/workspace/Lucene-Solr-trunk-
> MacOSX/lucene/common-
> > > build.xml:2017: The following error occurred while executing this line:
> > > > /Users/jenkins/workspace/Lucene-Solr-trunk-
> MacOSX/lucene/module-
> > > build.xml:60: The following error occurred while executing this line:
> > > > /Users/jenkins/workspace/Lucene-Solr-trunk-
> MacOSX/lucene/common-
> > > build.xml:1296: The following error occurred while executing this line:
> > > > /Users/jenkins/workspace/Lucene-Solr-trunk-
> MacOSX/lucene/common-
> > > build.xml:920: At least one slave process threw an exception, first:
> > > Forked process returned with error code: 134. Very likely a JVM crash.
> > > Process output piped in logs above.
> > > >
> > > > Total time: 29 minutes 32 seconds
> > > > Build step 'Invoke Ant' marked build as failure Description set: Java:
> > > > 64bit/jdk1.8.0 -XX:+UseCompressedOops -XX:+UseParallelGC Archiving
> > > > artifacts Recording test results
> > > > ERROR: Publisher hudson.tasks.junit.JUnitResultArchiver aborted
> > > > due to exception
> > > > hudson.remoting.RequestAbortedException:
> > > hudson.remoting.RequestAbortedException: java.io.IOException:
> > > Unexpected termination of the channel
> > > >         at
> > >
> >
> hudson.remoting.RequestAbortedException.wrapForRethrow(RequestAbor
> > > tedException.java:41)
> > > >         at
> > >
> >
> hudson.remoting.RequestAbortedException.wrapForRethrow(RequestAbor
> > > tedException.java:34)
> > > >         at hudson.remoting.Request.call(Request.java:174)
> > > >         at hudson.remoting.Channel.call(Channel.java:722)
> > > >         at hudson.FilePath.act(FilePath.java:909)
> > > >         at hudson.FilePath.act(FilePath.java:893)
> > > >         at hudson.tasks.junit.JUnitParser.parse(JUnitParser.java:87)
> > > >         at
> > > hudson.tasks.junit.JUnitResultArchiver.parse(JUnitResultArchiver.java:
> > > 121)
> > > >         at
> > > hudson.tasks.junit.JUnitResultArchiver.perform(JUnitResultArchiver.j
> > > av
> > > a:13
> > > 3)
> > > >         at
> > > hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
> > > >         at
> > >
> >
> hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.
> > > java:744)
> > > >         at
> > > hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSte
> > > ps
> > > (A
> > > bstractBuild.java:714)
> > > >         at hudson.model.Build$BuildExecution.post2(Build.java:182)
> > > >         at
> > > hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild
> > > .j
> > > ava
> > > :663)
> > > >         at hudson.model.Run.execute(Run.java:1725)
> > > >         at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
> > > >         at
> > > hudson.model.ResourceController.execute(ResourceController.java:88)
> > > >         at hudson.model.Executor.run(Executor.java:231)
> > > > Caused by: hudson.remoting.RequestAbortedException:
> > > java.io.IOException: Unexpected termination of the channel
> > > >         at hudson.remoting.Request.abort(Request.java:299)
> > > >         at hudson.remoting.Channel.terminate(Channel.java:782)
> > > >         at
> > > >
> > >
> >
> hudson.remoting.SynchronousCommandTransport$ReaderThread.run(Sync
> > > hrono
> > > > usCommandTransport.java:69) Caused by: java.io.IOException:
> > > Unexpected
> > > > termination of the channel
> > > >         at
> > > >
> > >
> >
> hudson.remoting.SynchronousCommandTransport$ReaderThread.run(Sync
> > > hrono
> > > > usCommandTransport.java:50)
> > > > Caused by: java.io.EOFException
> > > >         at
> > >
> >
> java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStr
> > > eam.java:2598)
> > > >         at
> > > java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1318)
> > > >         at
> > java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
> > > >         at hudson.remoting.Command.readFrom(Command.java:92)
> > > >         at
> > >
> >
> hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport
> > > .java:71)
> > > >         at
> > > >
> > >
> >
> hudson.remoting.SynchronousCommandTransport$ReaderThread.run(Sync
> > > hrono
> > > > usCommandTransport.java:48)
> > > > Email was triggered for: Failure
> > > > Sending email for trigger: Failure
> > > >
> > > >
> > > >
> > > >
> > > > ------------------------------------------------------------------
> > > > --
> > > > - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For
> > > > additional commands, e-mail: dev-h...@lucene.apache.org
> > >
> > > --------------------------------------------------------------------
> > > - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For
> > > additional commands, e-mail: dev-h...@lucene.apache.org
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For
> > additional commands, e-mail: dev-h...@lucene.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional
> commands, e-mail: dev-h...@lucene.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to