[JIRA] (JENKINS-59754) Jenkins Micro Focus Application Automation Tools Plugin losing connection with Octane after running pipelines

0 views
Skip to first unread message

joshua.yates@orasi.com (JIRA)

unread,
Oct 11, 2019, 3:12:03 PM10/11/19
to jenkinsc...@googlegroups.com
Joshua Yates created an issue
 
Jenkins / Bug JENKINS-59754
Jenkins Micro Focus Application Automation Tools Plugin losing connection with Octane after running pipelines
Issue Type: Bug Bug
Assignee: Maria Narcisa Galan
Components: hp-application-automation-tools-plugin
Created: 2019-10-11 19:11
Labels: MicroFocusApplicationAutomationTools
Priority: Major Major
Reporter: Joshua Yates

We have configured Octane / Jenkins integration by installing ALM Octane plugin in Jenkins. The connection works for a day and then drops.

Jenkins is setup as a CI server in Octane, we have found that if we run a pipeline everyday with a Jenkins build that the connection between Jenkins and Octane drops and the Jenkins plugin for Octane cannot get a new connection to the Octane server.

A few things we have noticed:

The issue only happens if we run a build once a day, if we have a pipeline running every hour the issue does not seem to happen. We believe that the plugin may not be managing the sessions (cookies/tokens) with Octane correctly and that by running a build every hour might be keeping the session "alive"

When this happens our only fix seems to be restarting the Jenkins server which we think might make the plugin renegotiate the session with Octane

We tried the newest plugin 5.9 to see if it might resolve the issue but it did not

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,
Oct 14, 2019, 6:22:02 AM10/14/19
to jenkinsc...@googlegroups.com

marianarcisa.galan@microfocus.com (JIRA)

unread,
Oct 14, 2019, 6:23:04 AM10/14/19
to jenkinsc...@googlegroups.com

radislav.berkovich@hpe.com (JIRA)

unread,
Oct 14, 2019, 9:44:02 AM10/14/19
to jenkinsc...@googlegroups.com
Radi Berkovich commented on Bug JENKINS-59754
 
Re: Jenkins Micro Focus Application Automation Tools Plugin losing connection with Octane after running pipelines

Hi.

Session to Octane is valid for 3 hours (be default). Plugin is expected to renew the connection if it is required to communicate with Octane and recognize that session is over.

Please explain happen with plugin when it "drop" the connection.

Do you see some exception in logs?

radislav.berkovich@hpe.com (JIRA)

unread,
Oct 14, 2019, 9:47:02 AM10/14/19
to jenkinsc...@googlegroups.com
Radi Berkovich edited a comment on Bug JENKINS-59754
Hi.

Session to Octane is valid for 3 hours (be default). Plugin is expected to renew the connection if it is required to communicate with Octane and recognize that session is over.

Please explain what happen with plugin when it "drop" the connection.


Do you see some exception in logs?

radislav.berkovich@hpe.com (JIRA)

unread,
Oct 14, 2019, 9:51:02 AM10/14/19
to jenkinsc...@googlegroups.com
Radi Berkovich edited a comment on Bug JENKINS-59754
Hi.

Session to Octane is valid for 3 hours (be default). Plugin is expected to renew the connection if it is required to communicate with Octane and recognize that session is over.

Please explain what happen with plugin when it "drop" the connection.

Do you see some exception in logs?

  You can check plugin log here : <jenkins_url>/userContent/nga/logs/nga.log

 

joshua.yates@orasi.com (JIRA)

unread,
Oct 14, 2019, 2:21:02 PM10/14/19
to jenkinsc...@googlegroups.com

joshua.yates@orasi.com (JIRA)

unread,
Oct 14, 2019, 2:24:02 PM10/14/19
to jenkinsc...@googlegroups.com
Joshua Yates commented on Bug JENKINS-59754
 
Re: Jenkins Micro Focus Application Automation Tools Plugin losing connection with Octane after running pipelines

Attached are logs from a few weeks back (ignore the exceptions from a long time back)

We see alot of lines like this:

Tests:177:STARTED] event/s ...
28/09/2019 01:19:43,990 INFO [EventsServiceWorker-57 ] OctaneRestClientImpl : https://ServerURL:8443?p=1001 doing RE-LOGIN due to status 401 received while calling https://serverURL:8443/internal-api/shared_spaces/1001/analytics/ci/events?ci_server_identity=365fbec0-6279-4978-840d-b6964f56bab1
28/09/2019 01:19:44,033 INFO [EventsServiceWorker-57 ] OctaneRestClientImpl : https://ServerURL:8443?p=1001 re-attempting the original request (https://serverURL:8443/internal-api/shared_spaces/1001/analytics/ci/events?ci_server_identity=365fbec0-6279-4978-840d-b6964f56bab1) having successful RE-LOGIN

The problem is I don't believe that the plugin ever successfully renegotiates the session with octane, not sure if there are any settings we should try....

Thanks

radislav.berkovich@hpe.com (JIRA)

unread,
Oct 14, 2019, 3:42:03 PM10/14/19
to jenkinsc...@googlegroups.com

I actually see that relogin succedded - "having successful RE-LOGIN".

Please explain what happen with plugin when it "drop" the connection.

Can you please sent me full log file to radislav....@microfocus.com

radislav.berkovich@hpe.com (JIRA)

unread,
Oct 14, 2019, 3:53:02 PM10/14/19
to jenkinsc...@googlegroups.com
Radi Berkovich edited a comment on Bug JENKINS-59754
I actually see that relogin succedded - "having successful RE-LOGIN".

Please explain what happen with plugin when it "drop" the connection , what exactly happen .


Can you please sent me full log file to radislav....@microfocus.com

radislav.berkovich@hpe.com (JIRA)

unread,
Oct 15, 2019, 8:28:02 AM10/15/19
to jenkinsc...@googlegroups.com

radislav.berkovich@hpe.com (JIRA)

unread,
Oct 16, 2019, 7:10:02 AM10/16/19
to jenkinsc...@googlegroups.com

HI.

I need more information - what is not working after some time?

In log file , I see that relogins are succedded. 

The best will be , if you encounter you  problem - take logs file and give me the time it happen, so it will be easier to search relevant log rows.

 

Thanks.

Radi.

 

joshua.yates@orasi.com (JIRA)

unread,
Oct 18, 2019, 3:26:02 PM10/18/19
to jenkinsc...@googlegroups.com

Hello Radi,

What happens is if they go more than a few hours without running a build It will not run a build from Octane. At the time that this is happening if you check Octane it does not show the Jenkins CI server as connected during that period, even though we can ping the jenkins server from Octane at the time that Octane is saying that it cannot get to jenkins.

The log files that we sent had a period in there where it could not connect but that is the weird thing, the plugin seems to think that it is creating a new session but we do not think that this is actually happening..... And as soon as Jenkins is restarted the issue goes away

Thanks

radislav.berkovich@hpe.com (JIRA)

unread,
Oct 25, 2019, 5:09:02 AM10/25/19
to jenkinsc...@googlegroups.com

Hi.

Unfortunately we did not succeeded to reproduce the issue in our environment.

Can I create plugin version with additional log message and you will use it for several days?

 

Thanks.  

joshua.yates@orasi.com (JIRA)

unread,
Oct 29, 2019, 7:48:03 PM10/29/19
to jenkinsc...@googlegroups.com

Yes that would be fine, send us the modified plugin and we can install that and get the logs

radislav.berkovich@hpe.com (JIRA)

unread,
Oct 30, 2019, 3:57:01 PM10/30/19
to jenkinsc...@googlegroups.com

radislav.berkovich@hpe.com (JIRA)

unread,
Nov 7, 2019, 3:52:02 AM11/7/19
to jenkinsc...@googlegroups.com

radislav.berkovich@hpe.com (JIRA)

unread,
Nov 20, 2019, 11:03:02 PM11/20/19
to jenkinsc...@googlegroups.com

radislav.berkovich@microfocus.com (JIRA)

unread,
Dec 4, 2019, 4:50:02 PM12/4/19
to jenkinsc...@googlegroups.com

radislav.berkovich@microfocus.com (JIRA)

unread,
Dec 10, 2019, 7:54:02 AM12/10/19
to jenkinsc...@googlegroups.com
Radi Berkovich edited a comment on Bug JENKINS-59754
Official version 6.0 is release released .

Please check if issue is reproduced on this version.

radislav.berkovich@microfocus.com (JIRA)

unread,
Dec 10, 2019, 7:54:02 AM12/10/19
to jenkinsc...@googlegroups.com

Official version 6.0 is release .

Please check if issue is reproduced on this version.

radislav.berkovich@microfocus.com (JIRA)

unread,
Dec 16, 2019, 11:58:03 AM12/16/19
to jenkinsc...@googlegroups.com

radislav.berkovich@microfocus.com (JIRA)

unread,
Dec 19, 2019, 4:12:04 AM12/19/19
to jenkinsc...@googlegroups.com

radislav.berkovich@microfocus.com (JIRA)

unread,
Dec 19, 2019, 4:12:05 AM12/19/19
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages