Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-74000

Build successful but agent ends with failure

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • remoting
    • None
    • Jenkins 2.481, all plugins up to date.

      It appears that there is a problem with the junit plugin, at least it's mentioned in the stacktrace.

      12:48:17  BUILD SUCCESSFUL in 15m 13s
      12:48:17  18 actionable tasks: 18 executed
      12:48:18  [Pipeline] junit
      12:48:18  Recording test results
      12:48:35  Remote call on s-jnks-t15 failed
      12:48:35  [Pipeline] }
      12:48:35  [Pipeline] // stage
      12:48:36  [Pipeline] }
      12:48:36  [Pipeline] // dir
      12:48:36  [Pipeline] cleanWs
      12:48:36  [WS-CLEANUP] Deleting project workspace...
      12:48:36  [WS-CLEANUP] Deferred wipeout is used...
      12:48:36  [WS-CLEANUP] done
      12:48:36  [Pipeline] }
      12:48:36  [Pipeline] // node
      12:48:36  [Pipeline] node
      12:48:36  Running on Jenkins in /var/lib/jenkins/workspace/Regnskabsindberetning/regnskab-indberetning-regelkontrol-master-build
      12:48:36  [Pipeline] {
      12:48:36  [Pipeline] emailextrecipients
      12:48:36  Warning: user (id: jenkins@s-jnks-t14.es.dev, email: jenkins@s-jnks-t14.es.dev) is not a recognized user, but sending mail anyway
      12:48:36  Warning: user (id: emr@netcompany.com, email: emr@netcompany.com) is not a recognized user, but sending mail anyway
      12:48:36  Warning: user (id: acm@netcompany.com, email: acm@netcompany.com) is not a recognized user, but sending mail anyway
      12:48:36  [Pipeline] echo
      12:48:36  DEBUG: mail recipients:  jenkins@s-jnks-t14.es.dev acm@netcompany.com axbe@netcompany.com emr@netcompany.com
      12:48:36  [Pipeline] echo
      12:48:36  DEBUG: mail recipients after filtering:    
      12:48:36  [Pipeline] step
      12:48:36  An attempt to send an e-mail to empty list of recipients, ignored.
      12:48:36  [Pipeline] }
      12:48:36  [Pipeline] // node
      12:48:36  [Pipeline] End of Pipeline
      12:48:36  java.lang.OutOfMemoryError: Java heap space
      12:48:36  	at java.base/java.util.Arrays.copyOf(Arrays.java:3541)
      12:48:36  	at java.base/java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:242)
      12:48:36  	at java.base/java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:587)
      12:48:36  	at java.base/java.lang.StringBuffer.append(StringBuffer.java:313)
      12:48:36  	at Jenkins v2.481//org.dom4j.io.SAXContentHandler.characters(SAXContentHandler.java:285)
      12:48:36  	at java.xml/com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.characters(AbstractSAXParser.java:555)
      12:48:36  	at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:517)
      12:48:36  	at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:889)
      12:48:36  	at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:825)
      12:48:36  	at java.xml/com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
      12:48:36  	at java.xml/com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1224)
      12:48:36  	at java.xml/com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:637)
      12:48:36  	at Jenkins v2.481//org.dom4j.io.SAXReader.read(SAXReader.java:494)
      12:48:36  	at Jenkins v2.481//org.dom4j.io.SAXReader.read(SAXReader.java:392)
      12:48:36  	at PluginClassLoader for junit//hudson.tasks.junit.SuiteResult.parse(SuiteResult.java:366)
      12:48:36  	at PluginClassLoader for junit//hudson.tasks.junit.TestResult.parse(TestResult.java:604)
      12:48:36  	at PluginClassLoader for junit//hudson.tasks.junit.TestResult.parsePossiblyEmpty(TestResult.java:518)
      12:48:36  	at PluginClassLoader for junit//hudson.tasks.junit.TestResult.parse(TestResult.java:454)
      12:48:36  	at PluginClassLoader for junit//hudson.tasks.junit.TestResult.parse(TestResult.java:436)
      12:48:36  	at PluginClassLoader for junit//hudson.tasks.junit.TestResult.parse(TestResult.java:413)
      12:48:36  	at PluginClassLoader for junit//hudson.tasks.junit.TestResult.<init>(TestResult.java:259)
      12:48:36  	at PluginClassLoader for junit//hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:238)
      12:48:36  	at Jenkins v2.481//hudson.FilePath$FileCallableWrapper.call(FilePath.java:3614)
      12:48:36  	at hudson.remoting.UserRequest.perform(UserRequest.java:225)
      12:48:36  	at hudson.remoting.UserRequest.perform(UserRequest.java:50)
      12:48:36  	at hudson.remoting.Request$2.run(Request.java:391)
      12:48:36  	at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:81)
      12:48:36  	at hudson.remoting.InterceptingExecutorService$$Lambda/0x00007ff8a00264f8.call(Unknown Source)
      12:48:36  	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
      12:48:36  	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
      12:48:36  	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
      12:48:36  	at java.base/java.lang.Thread.runWith(Thread.java:1596)
      12:48:36  Also:   org.jenkinsci.plugins.workflow.actions.ErrorAction$ErrorId: e03a27e8-720c-47ba-9d49-cec9612213c5
      12:48:36  Caused: java.io.IOException: Remote call on s-jnks-t15 failed
      12:48:36  	at hudson.remoting.Channel.call(Channel.java:1116)
      12:48:36  	at hudson.FilePath.act(FilePath.java:1228)
      12:48:36  	at hudson.FilePath.act(FilePath.java:1217)
      12:48:36  	at PluginClassLoader for junit//hudson.tasks.junit.JUnitParser.parseResult(JUnitParser.java:146)
      12:48:36  	at PluginClassLoader for junit//hudson.tasks.junit.JUnitResultArchiver.parse(JUnitResultArchiver.java:177)
      12:48:36  	at PluginClassLoader for junit//hudson.tasks.junit.JUnitResultArchiver.parseAndSummarize(JUnitResultArchiver.java:282)
      12:48:36  	at PluginClassLoader for junit//hudson.tasks.junit.pipeline.JUnitResultsStepExecution.run(JUnitResultsStepExecution.java:62)
      12:48:36  	at PluginClassLoader for junit//hudson.tasks.junit.pipeline.JUnitResultsStepExecution.run(JUnitResultsStepExecution.java:27)
      12:48:36  	at PluginClassLoader for workflow-step-api//org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
      12:48:36  	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
      12:48:36  	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
      12:48:36  	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
      12:48:36  	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
      12:48:36  	at java.base/java.lang.Thread.run(Thread.java:1583)
      12:48:36  Finished: FAILURE
      

            jthompson Jeff Thompson
            pagerbak Per Agerbæk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: