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

Cannot send junit results to Octane, because there is no permission on slave to create log folder

    Details

    • Similar Issues:

      Description

      Cannot sent JUnits results to Octane while using  Micro Focus Application Automation Tools v5.9

      When I do downgrade to v5.7 everything working fine

      Issue LOGS

       

      08/11/2019 10:13:30,836 INFO [EventsServiceWorker-339 ] EventsServiceImpl : https://octane.orange-labs.fr?p=1001 sending [Run test:73:FINISHED, Declarative: Post Actions:73:STARTED] event/s ...
      08/11/2019 10:13:32,922 INFO [EventsServiceWorker-339 ] EventsServiceImpl : https://octane.orange-labs.fr?p=1001 sending [Declarative: Post Actions:73:FINISHED] event/s ...
      08/11/2019 10:13:34,009 INFO [Running CpsFlowExecutionOwner[functional/73:functional #73]] RunListenerForLogs : enqueued build 'functional #73' for log submission
      08/11/2019 10:13:34,080 ERROR [Running CpsFlowExecutionOwner[functional/73:functional #73]] TestListener : failed to process test results
      java.io.IOException: Remote call on olsauto1 failed
      at hudson.remoting.Channel.call(Channel.java:963) ~[remoting-3.29.jar:?]
      at hudson.FilePath.act(FilePath.java:1070) ~[jenkins-core-2.176.3.jar:?]
      at hudson.FilePath.act(FilePath.java:1059) ~[jenkins-core-2.176.3.jar:?]
      at com.microfocus.application.automation.tools.octane.tests.junit.JUnitExtension.getTestResults(JUnitExtension.java:95) ~[hp-application-automation-tools-plugin.jar:5.9]
      at com.microfocus.application.automation.tools.octane.tests.TestListener.processBuild(TestListener.java:56) [hp-application-automation-tools-plugin.jar:5.9]
      at com.microfocus.application.automation.tools.octane.events.WorkflowListenerOctaneImpl.sendPipelineFinishedEvent(WorkflowListenerOctaneImpl.java:132) [hp-application-automation-tools-plugin.jar:5.9]
      at com.microfocus.application.automation.tools.octane.events.WorkflowListenerOctaneImpl.onNewHead(WorkflowListenerOctaneImpl.java:83) [hp-application-automation-tools-plugin.jar:5.9]
      at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.notifyListeners(CpsFlowExecution.java:1450) [workflow-cps.jar:2.62]
      at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$3.run(CpsThreadGroup.java:417) [workflow-cps.jar:2.62]
      at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$1.run(CpsVmExecutorService.java:35) [workflow-cps.jar:2.62]
      at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:131) [remoting-3.29.jar:?]
      at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28) [jenkins-core-2.176.3.jar:?]
      at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:59) [jenkins-core-2.176.3.jar:?]
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_222]
      at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_222]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_222]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_222]
      at java.lang.Thread.run(Thread.java:748) [?:1.8.0_222]
      Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.microfocus.application.automation.tools.octane.tests.junit.JUnitXmlIterator
      at com.microfocus.application.automation.tools.octane.tests.junit.JUnitExtension$GetJUnitTestResults.invoke(JUnitExtension.java:219) ~[hp-application-automation-tools-plugin.jar:5.9]
      at com.microfocus.application.automation.tools.octane.tests.junit.JUnitExtension$GetJUnitTestResults.invoke(JUnitExtension.java:130) ~[hp-application-automation-tools-plugin.jar:5.9]
      at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3050) ~[jenkins-core-2.176.3.jar:?]
      at hudson.remoting.UserRequest.perform(UserRequest.java:212) ~[remoting-3.29.jar:?]
      at hudson.remoting.UserRequest.perform(UserRequest.java:54) ~[remoting-3.29.jar:?]
      at hudson.remoting.Request$2.run(Request.java:369) ~[remoting-3.29.jar:?]
      at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) ~[remoting-3.29.jar:?]
      at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:1.8.0_222]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135) ~[?:1.8.0_222]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:1.8.0_222]
      at java.lang.Thread.run(Thread.java:844) ~[?:1.8.0_222]
      Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to olsauto1
      at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1743) ~[remoting-3.29.jar:?]
      at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357) ~[remoting-3.29.jar:?]
      at hudson.remoting.Channel.call(Channel.java:957) ~[remoting-3.29.jar:?]
      at hudson.FilePath.act(FilePath.java:1070) ~[jenkins-core-2.176.3.jar:?]
      at hudson.FilePath.act(FilePath.java:1059) ~[jenkins-core-2.176.3.jar:?]
      at com.microfocus.application.automation.tools.octane.tests.junit.JUnitExtension.getTestResults(JUnitExtension.java:95) ~[hp-application-automation-tools-plugin.jar:5.9]
      at com.microfocus.application.automation.tools.octane.tests.TestListener.processBuild(TestListener.java:56) [hp-application-automation-tools-plugin.jar:5.9]
      at com.microfocus.application.automation.tools.octane.events.WorkflowListenerOctaneImpl.sendPipelineFinishedEvent(WorkflowListenerOctaneImpl.java:132) [hp-application-automation-tools-plugin.jar:5.9]
      at com.microfocus.application.automation.tools.octane.events.WorkflowListenerOctaneImpl.onNewHead(WorkflowListenerOctaneImpl.java:83) [hp-application-automation-tools-plugin.jar:5.9]
      at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.notifyListeners(CpsFlowExecution.java:1450) [workflow-cps.jar:2.62]
      at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$3.run(CpsThreadGroup.java:417) [workflow-cps.jar:2.62]
      at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$1.run(CpsVmExecutorService.java:35) [workflow-cps.jar:2.62]
      at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:131) [remoting-3.29.jar:?]
      at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28) [jenkins-core-2.176.3.jar:?]
      at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:59) [jenkins-core-2.176.3.jar:?]
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_222]
      at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_222]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_222]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_222]
      at java.lang.Thread.run(Thread.java:748) [?:1.8.0_222]

       

      What I did to resolve issue:

      *reboot -slave

      *check java version on slave: openjdk 10.0.2 2018-07-17

      nothing helped. Only downgrade to 5.7 fix issue

        Attachments

          Activity

          Hide
          pretbc pretbc pretbc added a comment -

          Sure. I can give a try

          Show
          pretbc pretbc pretbc added a comment - Sure. I can give a try
          Hide
          pretbc pretbc pretbc added a comment -

          any news regarding dev version ?

          Show
          pretbc pretbc pretbc added a comment - any news regarding dev version ?
          Hide
          radislavb Radi Berkovich added a comment -
          Show
          radislavb Radi Berkovich added a comment - Sorry for delay, I just wanted to release official beta version and it took some time   http://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/hp-application-automation-tools-plugin/5.9.3-beta/hp-application-automation-tools-plugin-5.9.3-beta.hpi  
          Hide
          radislavb Radi Berkovich added a comment -

          any updates?

           

          Show
          radislavb Radi Berkovich added a comment - any updates?  
          Hide
          radislavb Radi Berkovich added a comment -

          Version 6.0 released with the fix

          Show
          radislavb Radi Berkovich added a comment - Version 6.0 released with the fix

            People

            • Assignee:
              radislavb Radi Berkovich
              Reporter:
              pretbc pretbc pretbc
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: