[JIRA] (JENKINS-60103) Cannot send junit results to Octane

0 views
Skip to first unread message

vienio1@poczta.fm (JIRA)

unread,
Nov 8, 2019, 4:48:03 AM11/8/19
to jenkinsc...@googlegroups.com
pretbc pretbc created an issue
 
Jenkins / Bug JENKINS-60103
Cannot send junit results to Octane
Issue Type: Bug Bug
Assignee: Maria Narcisa Galan
Components: hp-application-automation-tools-plugin
Created: 2019-11-08 09:47
Environment: Jenkins ver. 2.176.3
Micro Focus Application Automation Tools version 5.9
Labels: ALM Octane
Priority: Minor Minor
Reporter: pretbc pretbc

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

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

marianarcisa.galan@microfocus.com (JIRA)

unread,
Nov 8, 2019, 6:57:02 AM11/8/19
to jenkinsc...@googlegroups.com
Maria Narcisa Galan assigned an issue to Radi Berkovich
Change By: Maria Narcisa Galan
Assignee: Maria Narcisa Galan Radi Berkovich

radislav.berkovich@hpe.com (JIRA)

unread,
Nov 8, 2019, 10:56:02 AM11/8/19
to jenkinsc...@googlegroups.com
Radi Berkovich commented on Bug JENKINS-60103
 
Re: Cannot send junit results to Octane

Hi

do you have additional slaves?

Is it occur with all slaves?

is it occur with all jobs?

vienio1@poczta.fm (JIRA)

unread,
Nov 8, 2019, 11:11:03 AM11/8/19
to jenkinsc...@googlegroups.com

Yes, i have 12 different slaves.
No, issue occur only on 1 slave.
Yes, for all jobs on that slave.

I Run this slave using docker

radislav.berkovich@hpe.com (JIRA)

unread,
Nov 8, 2019, 11:44:02 AM11/8/19
to jenkinsc...@googlegroups.com

All other slave are not on docker?

What about java? is it different on other slaves?

 

vienio1@poczta.fm (JIRA)

unread,
Nov 8, 2019, 1:54:02 PM11/8/19
to jenkinsc...@googlegroups.com

All others have set only sh "python fooo/bar.py".
And no Java is The same.
On slave with issue i Run Docker aż follow:
pipeline{
agent{
docker{
label node
image "foo"
}
}
}

But i dont know to be honest if docker is the issue here. Maybe Above logs from description can tell more? What is the different between ver 5.9 and 5.7?

radislav.berkovich@hpe.com (JIRA)

unread,
Nov 10, 2019, 10:44:02 AM11/10/19
to jenkinsc...@googlegroups.com

Hi.

In your supplied log, I see that problem is here :

Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.microfocus.application.automation.tools.octane.tests.junit.JUnitXmlIterator

There is a tiny difference between 5.7 and 5.9 in this class, related to log initialization.

Maybe because slave  on docker , it does not have permissions to open log file (its only my thoughts for now)

I can prepare dev versions with relevant code wrapped with try/catch - is it possible from your side - to install dev version for validation?

 

radislav.berkovich@hpe.com (JIRA)

unread,
Nov 11, 2019, 2:02:02 AM11/11/19
to jenkinsc...@googlegroups.com
Radi Berkovich edited a comment on Bug JENKINS-60103
Hi.

In your supplied log, I see that problem is here :

Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.microfocus.application.automation.tools.octane.tests.junit.JUnitXmlIterator

There is a tiny difference between 5.7 and 5.9 in this class, related to log initialization.

Maybe because slave  on docker , it does not have permissions to open log file (its only my thoughts for now)

I can prepare dev versions version with relevant code wrapped with try/catch - is it possible from your side - to install dev version for validation?

 
Reply all
Reply to author
Forward
0 new messages