hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stack <st...@duboce.net>
Subject Re: Recording test results ERROR: Failed to archive test
Date Mon, 08 Apr 2013 15:26:10 GMT
I took a look at the jenkins config for precommit.


We are setting this environment variable:

MAVEN_OPTS=-Xmx3G

... which should be big enough.

I also see

 MAVEN_OPTS="-Xmx3g"

in the test-patch.properties.

In test-patch.sh, I see this being picked up.  Should I change
test-patch.sh so it prints out current MAVEN_OPTS?

St.Ack





On Mon, Apr 8, 2013 at 8:19 AM, Nicolas Liochon <nkeywal@gmail.com> wrote:

> We've got a lot of errors in precommit that seems to be due to Jenkins
> needing more memory.
>
> It seems to be a Jenkins needing more memory. It seems that we don't have
> this on trunk, so it would be a difference of config between the two
> environments.
>
> Do you agree?
>
> Who could fix this (i.e. has the access rights)?
>
> Cheers,
>
> Nicolas
>
>
>
> Archiving artifacts
> Recording test results ERROR: Failed to archive test reports
> hudson.util.IOException2<
> http://stacktrace.jenkins-ci.org/search?query=hudson.util.IOException2>:
> remote file operation failed:
> /home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build at
> hudson.remoting.Channel@55899539:hadoop3 at
> hudson.FilePath.act(FilePath.java:861)<
> http://stacktrace.jenkins-ci.org/search/?query=hudson.FilePath.act&entity=method
> >at
> hudson.FilePath.act(FilePath.java:838)<
> http://stacktrace.jenkins-ci.org/search/?query=hudson.FilePath.act&entity=method
> >at
> hudson.tasks.junit.JUnitParser.parse(JUnitParser.java:87)<
> http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.junit.JUnitParser.parse&entity=method
> >at
> hudson.tasks.junit.JUnitResultArchiver.parse(JUnitResultArchiver.java:122)<
> http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.junit.JUnitResultArchiver.parse&entity=method
> >at
>
> hudson.tasks.junit.JUnitResultArchiver.perform(JUnitResultArchiver.java:134)<
> http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.junit.JUnitResultArchiver.perform&entity=method
> >at
> hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)<
> http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.BuildStepMonitor$1.perform&entity=method
> >at
>
> hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:810)<
> http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.perform&entity=method
> >at
>
> hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:785)<
> http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps&entity=method
> >at
> hudson.model.Build$BuildExecution.post2(Build.java:183)<
> http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Build$BuildExecution.post2&entity=method
> >at
>
> hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:732)<
> http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.post&entity=method
> >at
> hudson.model.Run.execute(Run.java:1593)<
> http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Run.execute&entity=method
> >at
> hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)<
> http://stacktrace.jenkins-ci.org/search/?query=hudson.model.FreeStyleBuild.run&entity=method
> >at
> hudson.model.ResourceController.execute(ResourceController.java:88)<
> http://stacktrace.jenkins-ci.org/search/?query=hudson.model.ResourceController.execute&entity=method
> >at
> hudson.model.Executor.run(Executor.java:236)<
> http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Executor.run&entity=method
> >Caused
> by:
> java.io.IOException<
> http://stacktrace.jenkins-ci.org/search?query=java.io.IOException>:
> Remote call on hadoop3 failed at
> hudson.remoting.Channel.call(Channel.java:681)<
> http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.Channel.call&entity=method
> >at
> hudson.FilePath.act(FilePath.java:854)<
> http://stacktrace.jenkins-ci.org/search/?query=hudson.FilePath.act&entity=method
> >...
> 13 more Caused by:
> java.lang.OutOfMemoryError<
> http://stacktrace.jenkins-ci.org/search?query=java.lang.OutOfMemoryError>:
> Java heap space at
> java.nio.HeapCharBuffer.<init>(HeapCharBuffer.java:39)<
> http://stacktrace.jenkins-ci.org/search/?query=java.nio.HeapCharBuffer.%3Cinit%3E&entity=method
> >at
> java.nio.CharBuffer.allocate(CharBuffer.java:312)<
> http://stacktrace.jenkins-ci.org/search/?query=java.nio.CharBuffer.allocate&entity=method
> >at
> java.nio.charset.CharsetDecoder.decode(CharsetDecoder.java:760)<
> http://stacktrace.jenkins-ci.org/search/?query=java.nio.charset.CharsetDecoder.decode&entity=method
> >at
> java.nio.charset.Charset.decode(Charset.java:771)<
> http://stacktrace.jenkins-ci.org/search/?query=java.nio.charset.Charset.decode&entity=method
> >at
> hudson.tasks.junit.SuiteResult.<init>(SuiteResult.java:215)<
> http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.junit.SuiteResult.%3Cinit%3E&entity=method
> >at
> hudson.tasks.junit.SuiteResult.parseSuite(SuiteResult.java:147)<
> http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.junit.SuiteResult.parseSuite&entity=method
> >at
> hudson.tasks.junit.SuiteResult.parse(SuiteResult.java:132)<
> http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.junit.SuiteResult.parse&entity=method
> >at
> hudson.tasks.junit.TestResult.parse(TestResult.java:267)<
> http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.junit.TestResult.parse&entity=method
> >at
> hudson.tasks.junit.TestResult.parsePossiblyEmpty(TestResult.java:223)<
> http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.junit.TestResult.parsePossiblyEmpty&entity=method
> >at
> hudson.tasks.junit.TestResult.parse(TestResult.java:158)<
> http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.junit.TestResult.parse&entity=method
> >at
> hudson.tasks.junit.TestResult.parse(TestResult.java:141)<
> http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.junit.TestResult.parse&entity=method
> >at
> hudson.tasks.junit.TestResult.<init>(TestResult.java:117)<
> http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.junit.TestResult.%3Cinit%3E&entity=method
> >at
>
> hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:117)<
> http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke&entity=method
> >at
>
> hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:90)<
> http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke&entity=method
> >at
> hudson.FilePath$FileCallableWrapper.call(FilePath.java:2348)<
> http://stacktrace.jenkins-ci.org/search/?query=hudson.FilePath$FileCallableWrapper.call&entity=method
> >at
> hudson.remoting.UserRequest.perform(UserRequest.java:118)<
> http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.UserRequest.perform&entity=method
> >at
> hudson.remoting.UserRequest.perform(UserRequest.java:48)<
> http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.UserRequest.perform&entity=method
> >at
> hudson.remoting.Request$2.run(Request.java:326)<
> http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.Request$2.run&entity=method
> >at
>
> hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)<
> http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.InterceptingExecutorService$1.call&entity=method
> >at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)<
> http://stacktrace.jenkins-ci.org/search/?query=java.util.concurrent.FutureTask$Sync.innerRun&entity=method
> >at
> java.util.concurrent.FutureTask.run(FutureTask.java:138)<
> http://stacktrace.jenkins-ci.org/search/?query=java.util.concurrent.FutureTask.run&entity=method
> >at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)<
> http://stacktrace.jenkins-ci.org/search/?query=java.util.concurrent.ThreadPoolExecutor$Worker.runTask&entity=method
> >at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)<
> http://stacktrace.jenkins-ci.org/search/?query=java.util.concurrent.ThreadPoolExecutor$Worker.run&entity=method
> >at
> java.lang.Thread.run(Thread.java:662)<
> http://stacktrace.jenkins-ci.org/search/?query=java.lang.Thread.run&entity=method
> >Build
> step 'Publish JUnit test result report' changed build result to
> FAILURE [description-setter] Could not determine description. Finished:
> FAILURE
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message