[JIRA] (JENKINS-53402) Connection to ALM Octane server failed

2 views
Skip to first unread message

ipotentiel@gmail.com (JIRA)

unread,
Sep 4, 2018, 4:37:02 AM9/4/18
to jenkinsc...@googlegroups.com
Adnane SAGHIR created an issue
 
Jenkins / Bug JENKINS-53402
Connection to ALM Octane server failed
Issue Type: Bug Bug
Assignee: Daniel Gront
Components: hp-application-automation-tools-plugin
Created: 2018-09-04 08:36
Environment: OS: Linux Red Hat 6.8.0.5.el6
Jenkins version: 2.110
HPE Application Automation Tools version: 5.4
Labels: jenkins
Priority: Minor Minor
Reporter: Adnane SAGHIR

Hi,

In Jenkins System Configuration, under "ALM Octane CI" section, the option "Test Connection" is fine.

But, inside a job main view, when I hit "HPE ALM Octane Pipelines" link in left menu (below Build Now), I'm getting "Connection to ALM Octane server failed"

Notes:

  • I can make requests to Octane API (authentication API and listing Octane workspaces) from the server that is hosting Jenkins, using curl and nodejs. But I have to disable SSL certificate validation option since my octane server certificate is not valid.
  • I'm behind a Proxy.

Thanks for helping

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

daniel.gront@hpe.com (JIRA)

unread,
Sep 5, 2018, 12:33:02 AM9/5/18
to jenkinsc...@googlegroups.com
Daniel Gront updated an issue
Change By: Daniel Gront
Labels: jenkins octane

daniel.gront@hpe.com (JIRA)

unread,
Sep 5, 2018, 12:33:03 AM9/5/18
to jenkinsc...@googlegroups.com
Daniel Gront assigned an issue to Michael Seldin
Change By: Daniel Gront
Assignee: Daniel Gront Michael Seldin

michael.seldin@hpe.com (JIRA)

unread,
Sep 5, 2018, 4:37:02 AM9/5/18
to jenkinsc...@googlegroups.com
Michael Seldin started work on Bug JENKINS-53402
 
Change By: Michael Seldin
Status: Open In Progress

michael.seldin@hpe.com (JIRA)

unread,
Sep 5, 2018, 4:37:02 AM9/5/18
to jenkinsc...@googlegroups.com
Michael Seldin commented on Bug JENKINS-53402
 
Re: Connection to ALM Octane server failed

Hi , Could you please add logs from 

[http://[your-jenkins-server:port]/log/all|http://[your-jenkins-server]/log/all]

http://[your-jenkins-server:port]/userContent/nga/logs/

 

  1. Are you able to retrieve jobs list on Octane?
  2. did you create pipeline on octane side? 
  3. are you able to run the pipeline from Octane? 

ipotentiel@gmail.com (JIRA)

unread,
Sep 7, 2018, 5:14:02 AM9/7/18
to jenkinsc...@googlegroups.com

Hi, thanks for your reply.

I was able to import a valide SSL certificate to my JDK and tell Jenkins to use that JDK instead

By the way, it would be nice if we have an option in the plugin to disable SSL certificate check...

Then, looking to the logs you mentioned, it seems to be a firewall issue

Will investigate that with network guys and come back to you

To answer your questions anyway:

  1. Octane doesn't know my CI server
  2. Pipeline should be created from Jenkins as far as I know 

Best regards

michael.seldin@hpe.com (JIRA)

unread,
Sep 7, 2018, 8:05:03 AM9/7/18
to jenkinsc...@googlegroups.com

Thanks Adnane.

Waiting for your investigation results. 

michael.seldin@hpe.com (JIRA)

unread,
Oct 5, 2018, 5:12:02 AM10/5/18
to jenkinsc...@googlegroups.com
Michael Seldin stopped work on Bug JENKINS-53402
 
Change By: Michael Seldin
Status: In Progress Open

michael.seldin@hpe.com (JIRA)

unread,
Oct 5, 2018, 5:12:03 AM10/5/18
to jenkinsc...@googlegroups.com
Michael Seldin updated Bug JENKINS-53402
 

firewall issue

Change By: Michael Seldin
Status: Open Fixed but Unreleased
Resolution: Fixed

ipotentiel@gmail.com (JIRA)

unread,
Oct 30, 2018, 6:53:02 AM10/30/18
to jenkinsc...@googlegroups.com
Adnane SAGHIR updated an issue
Change By: Adnane SAGHIR
Attachment: all.log

ipotentiel@gmail.com (JIRA)

unread,
Oct 30, 2018, 6:53:03 AM10/30/18
to jenkinsc...@googlegroups.com
Adnane SAGHIR updated an issue
Change By: Adnane SAGHIR
Attachment: nga.log

ipotentiel@gmail.com (JIRA)

unread,
Oct 30, 2018, 6:55:02 AM10/30/18
to jenkinsc...@googlegroups.com
Adnane SAGHIR commented on Bug JENKINS-53402
 
Re: Connection to ALM Octane server failed

Hi, it seems everything is fine in terms of networking.

I also installed all the necessary certificates of my organisation.

But I still get the error.

Please look at the attached logs

Thanks & regards

all.log

nga.log

 

ipotentiel@gmail.com (JIRA)

unread,
Oct 30, 2018, 6:56:02 AM10/30/18
to jenkinsc...@googlegroups.com
Change By: Adnane SAGHIR
Status: Fixed but Unreleased Reopened

michael.seldin@hpe.com (JIRA)

unread,
Oct 31, 2018, 5:23:02 AM10/31/18
to jenkinsc...@googlegroups.com
Michael Seldin commented on Bug JENKINS-53402
 
Re: Connection to ALM Octane server failed

From the logs you have provided, Jenkins could not connect to the Octane server.
When you hit the test connection button in Octane Configuration in the Configurations page.

Do you get connection successful message?

ipotentiel@gmail.com (JIRA)

unread,
Nov 5, 2018, 4:17:02 AM11/5/18
to jenkinsc...@googlegroups.com

Yes sure, and I can send http GET requests to Octane REST API via curl as mentioned in my first message.

michael.seldin@hpe.com (JIRA)

unread,
Nov 5, 2018, 4:39:02 AM11/5/18
to jenkinsc...@googlegroups.com
Michael Seldin updated an issue
 
Change By: Michael Seldin
Attachment: image-2018-11-05-11-38-39-294.png

ipotentiel@gmail.com (JIRA)

unread,
Nov 5, 2018, 4:56:02 AM11/5/18
to jenkinsc...@googlegroups.com
Adnane SAGHIR updated an issue
Change By: Adnane SAGHIR
Attachment: test_connection_ok.PNG

ipotentiel@gmail.com (JIRA)

unread,
Nov 5, 2018, 4:58:02 AM11/5/18
to jenkinsc...@googlegroups.com
Adnane SAGHIR updated an issue
Change By: Adnane SAGHIR
Attachment: alm_octane_pipelines_job_link.PNG

michael.seldin@hpe.com (JIRA)

unread,
Nov 5, 2018, 6:12:02 AM11/5/18
to jenkinsc...@googlegroups.com
Michael Seldin commented on Bug JENKINS-53402
 
Re: Connection to ALM Octane server failed

Adnane SAGHIR 

When you enter the configuration area in jenkins, you have the octane plugin configuration part. (uri : [your jenkins server url]/configure)
After filling in the octane server details you can click on the "test connection" button - 
does the check connection works?

 

michael.seldin@hpe.com (JIRA)

unread,
Nov 5, 2018, 6:13:01 AM11/5/18
to jenkinsc...@googlegroups.com
Michael Seldin edited a comment on Bug JENKINS-53402
[~3psilon] 



When you enter the configuration area in jenkins, you have the octane plugin configuration part. (uri : [your jenkins server url]/configure)
After filling in the octane server details you can click on the "test connection" button - 
does the check connection works?

 



!image-2018-11-05-11-38-39-294.png!
 

michael.seldin@hpe.com (JIRA)

unread,
Nov 5, 2018, 6:13:01 AM11/5/18
to jenkinsc...@googlegroups.com
Michael Seldin edited a comment on Bug JENKINS-53402
[~3psilon] 

When you enter the configuration area in jenkins, you have the octane plugin configuration part. (uri : [your jenkins server url]/configure)
After filling in the octane server details you can click on the "test connection" button - 
does the check connection works?

  !image-2018-11-05-13-12-27-989.png!

 

michael.seldin@hpe.com (JIRA)

unread,
Nov 5, 2018, 6:17:02 AM11/5/18
to jenkinsc...@googlegroups.com
Michael Seldin updated an issue
 
Change By: Michael Seldin
Attachment: image-2018-11-05-13-16-08-225.png

michael.seldin@hpe.com (JIRA)

unread,
Nov 5, 2018, 6:17:04 AM11/5/18
to jenkinsc...@googlegroups.com
Michael Seldin updated an issue
Change By: Michael Seldin
Attachment: image-2018-11-05-13-16-39-185.png

michael.seldin@hpe.com (JIRA)

unread,
Nov 5, 2018, 6:17:05 AM11/5/18
to jenkinsc...@googlegroups.com
Michael Seldin edited a comment on Bug JENKINS-53402
 
Re: Connection to ALM Octane server failed
also can you reach the server from the test connection page in plugin management?

 

!image-2018-11-05-13-16-39-185.png!  

 

michael.seldin@hpe.com (JIRA)

unread,
Nov 5, 2018, 6:17:05 AM11/5/18
to jenkinsc...@googlegroups.com

also can you reach the server from the test connection page in plugin management?

 

 

michael.seldin@hpe.com (JIRA)

unread,
Nov 5, 2018, 6:18:02 AM11/5/18
to jenkinsc...@googlegroups.com
Michael Seldin edited a comment on Bug JENKINS-53402
also can you reach the server from the test connection page in plugin management?

 

  !image-2018-11-05-13-17-24-049.png!

 

michael.seldin@hpe.com (JIRA)

unread,
Nov 5, 2018, 6:19:02 AM11/5/18
to jenkinsc...@googlegroups.com
Michael Seldin updated an issue
Change By: Michael Seldin
Attachment: image-2018-11-05-13-16-08-225.png

michael.seldin@hpe.com (JIRA)

unread,
Nov 5, 2018, 6:19:03 AM11/5/18
to jenkinsc...@googlegroups.com
Michael Seldin updated an issue
Change By: Michael Seldin
Attachment: image-2018-11-05-11-38-39-294.png

michael.seldin@hpe.com (JIRA)

unread,
Nov 5, 2018, 6:19:03 AM11/5/18
to jenkinsc...@googlegroups.com
Michael Seldin updated an issue
Change By: Michael Seldin
Attachment: image-2018-11-05-13-16-39-185.png

ipotentiel@gmail.com (JIRA)

unread,
Nov 5, 2018, 8:29:02 AM11/5/18
to jenkinsc...@googlegroups.com
Adnane SAGHIR commented on Bug JENKINS-53402
 
Re: Connection to ALM Octane server failed

The connection test is fine in both "System Config" and in "Proxy Config"

michael.seldin@hpe.com (JIRA)

unread,
Nov 5, 2018, 9:27:02 AM11/5/18
to jenkinsc...@googlegroups.com

please follow this video again for proper configuration steps:

https://www.youtube.com/watch?v=nerPJIuPfV4&feature=youtu.be

 

if this doesn't help, you can open a support request in the support ticketing system. 

 

ipotentiel@gmail.com (JIRA)

unread,
Jun 27, 2019, 5:00:02 AM6/27/19
to jenkinsc...@googlegroups.com
Adnane SAGHIR resolved as Fixed
 

Fixed in plugin version 5.6

Change By: Adnane SAGHIR
Status: Reopened Resolved
Reply all
Reply to author
Forward
0 new messages