Uploaded image for project: 'Infrastructure'
  1. Infrastructure
  2. INFRA-20018

OOM in jenkins worker

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Fix Version/s: None
    • Component/s: Buildbot
    • Labels:
      None
    • Project:
      HBase

      Description

      Over in HBase we occasionally see builds fail due to OutOfMemoryError while Jenkins records test results.

      From https://builds.apache.org/blue/organizations/jenkins/HBase-PreCommit-GitHub-PR/detail/PR-1328/1/pipeline/17/,

      12:18:23 Recording test results
      12:18:35 Remote call on H12 failed
      Error when executing always post condition:
      java.io.IOException: Remote call on H12 failed
      at hudson.remoting.Channel.call(Channel.java:963)
      at hudson.FilePath.act(FilePath.java:1072)
      at hudson.FilePath.act(FilePath.java:1061)
      at hudson.tasks.junit.JUnitParser.parseResult(JUnitParser.java:114)
      at hudson.tasks.junit.JUnitResultArchiver.parse(JUnitResultArchiver.java:137)
      at hudson.tasks.junit.JUnitResultArchiver.parseAndAttach(JUnitResultArchiver.java:167)
      at hudson.tasks.junit.pipeline.JUnitResultsStepExecution.run(JUnitResultsStepExecution.java:52)
      at hudson.tasks.junit.pipeline.JUnitResultsStepExecution.run(JUnitResultsStepExecution.java:25)
      at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      at java.lang.Thread.run(Thread.java:748)
      Caused by: java.lang.OutOfMemoryError: Java heap space
      at java.util.Arrays.copyOf(Arrays.java:3332)
      at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:124)
      at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:448)
      at java.lang.StringBuffer.append(StringBuffer.java:270)
      at org.dom4j.io.SAXContentHandler.characters(SAXContentHandler.java:293)
      at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.characters(AbstractSAXParser.java:546)
      at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:483)
      at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:842)
      at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:771)
      at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
      at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
      at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
      at org.dom4j.io.SAXReader.read(SAXReader.java:465)
      at org.dom4j.io.SAXReader.read(SAXReader.java:343)
      at hudson.tasks.junit.SuiteResult.parse(SuiteResult.java:178)
      at hudson.tasks.junit.TestResult.parse(TestResult.java:348)
      at hudson.tasks.junit.TestResult.parsePossiblyEmpty(TestResult.java:281)
      at hudson.tasks.junit.TestResult.parse(TestResult.java:206)
      at hudson.tasks.junit.TestResult.parse(TestResult.java:178)
      at hudson.tasks.junit.TestResult.<init>(TestResult.java:143)
      at hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:146)
      at hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:118)
      at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3052)
      at hudson.remoting.UserRequest.perform(UserRequest.java:212)
      at hudson.remoting.UserRequest.perform(UserRequest.java:54)
      at hudson.remoting.Request$2.run(Request.java:369)
      at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
      ... 4 more

        Attachments

          Activity

            People

            • Assignee:
              cml Chris Lambertus
              Reporter:
              ndimiduk Nick Dimiduk
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: