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

Error when connecting to ALM using HPE Application Automation Tools Plugin

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Not A Defect
    • Environment:
    • Similar Issues:

      Description

      Proxy information has been entered via:  Manage Jenkins -> Manage Plugins -> Advanced & also as arguments in the Jenkins.xml file. 

      When configuring the ALM Server connection in Manage Jenkins -> Configure System -> Application Lifecycle Management, the connection is fine.  When testing the connection to the ALM server in the proxy settings (Manage Jenkins -> Manage Plugins -> Advanced), a success message is returned.

      However the item (job) created experiences a connection failure.  The item is configured to Execute HPE functional tests from HPE ALM.  The error produced is as follows:
      Server has been disconnected while performing GetServerSettings action
      Error: "ALM server
      url goes here
      unreachable, check that server Url is correct"
      Build step 'Execute HPE functional tests from HPE ALM' changed build result to FAILURE
      Note that I have tried to install Jenkins outside of our network with a direct connection to the internet and I did not experience the issue, therefore I believe the proxy to be the issue.

       

        Attachments

          Activity

          Hide
          roy_lu Roy Lu added a comment -

          The automation tool doesn't use the system proxy settings. It uses the proxy settings in the specific step. For example in 'Execute HP tests using HP ALM Lab Management' step there are settings of proxy. Please try set the proxy there.

          Show
          roy_lu Roy Lu added a comment - The automation tool doesn't use the system proxy settings. It uses the proxy settings in the specific step. For example in 'Execute HP tests using HP ALM Lab Management' step there are settings of proxy. Please try set the proxy there.
          Hide
          marlene_macdonald Marlene Macdonald added a comment -

          As I was not using Lab Management I did not have the option to set the proxy settings in the build step.

           

          I switched to the Execute HP tests using HP ALM Lab Management option as suggested and set the proxy & all information there and with some additional setups in ALM I am now able to run my automated tests.  Thank you for your help!

           

           

          Show
          marlene_macdonald Marlene Macdonald added a comment - As I was not using Lab Management I did not have the option to set the proxy settings in the build step.   I switched to the Execute HP tests using HP ALM Lab Management option as suggested and set the proxy & all information there and with some additional setups in ALM I am now able to run my automated tests.  Thank you for your help!    
          Hide
          pam8351 Prakash AM added a comment -

          Marlene Macdonald Can you please share the steps how did you fix this issue? I am facing the same issue when connecting to ALM from Jenkin. 

          Show
          pam8351 Prakash AM added a comment - Marlene Macdonald Can you please share the steps how did you fix this issue? I am facing the same issue when connecting to ALM from Jenkin. 
          Hide
          marlene_macdonald Marlene Macdonald added a comment -

          Note that only v5.2 is currently supporting connecting to ALM from Jenkins when using a proxy. The current version (v5.3) is not working. Have you tried with v5.2?

          Show
          marlene_macdonald Marlene Macdonald added a comment - Note that only v5.2 is currently supporting connecting to ALM from Jenkins when using a proxy. The current version (v5.3) is not working. Have you tried with v5.2?
          Hide
          pam8351 Prakash AM added a comment -

          Marlene Macdonald Yes, I downgraded to 5.2 and tested it out as well. But, still I am getting the same error as you mentioned here. Can you please share the steps you tried here(like updating proxy(please share details), updateing ALM). 

           

           

          Show
          pam8351 Prakash AM added a comment - Marlene Macdonald Yes, I downgraded to 5.2 and tested it out as well. But, still I am getting the same error as you mentioned here. Can you please share the steps you tried here(like updating proxy(please share details), updateing ALM).     
          Hide
          marlene_macdonald Marlene Macdonald added a comment -

          1) On Jenkins -> configuration: enter the name and URL of the ALM server under Application Lifecycle Management/ALM server

          2) On Jenkins -> Plugin Manager -> Advanced: enter proxy server and port, plus optionally user/password if needed (if your proxy requires authentication) under HTTP Proxy Configuration

          3) Create Item(job), Configure Build step as Execute HPE tests using HPE ALM Lab Management.  Select ALM Server.  Enter ALM Credentials.  (Use Add button to setup first time.  This is the user/password that connects to ALM)  Enter Domain.  Check the box "Use proxy settings".  Enter your proxy address and port, x.x.x.x:80.  Add proxy credentials if your proxy requires authentication.  Then enter the project name, select Run type as test set.  Enter the Test Set ID and description from ALM and a timeslot duration in minutes.   

          This should be all you need to setup. 

          Show
          marlene_macdonald Marlene Macdonald added a comment - 1) On Jenkins -> configuration: enter the name and URL of the ALM server under Application Lifecycle Management/ALM server 2) On Jenkins -> Plugin Manager -> Advanced: enter proxy server and port, plus optionally user/password if needed (if your proxy requires authentication) under HTTP Proxy Configuration 3) Create Item(job), Configure Build step as Execute HPE tests using HPE ALM Lab Management.  Select ALM Server.  Enter ALM Credentials.  (Use Add button to setup first time.  This is the user/password that connects to ALM)  Enter Domain.  Check the box "Use proxy settings".  Enter your proxy address and port, x.x.x.x:80.  Add proxy credentials if your proxy requires authentication.  Then enter the project name, select Run type as test set.  Enter the Test Set ID and description from ALM and a timeslot duration in minutes.    This should be all you need to setup. 

            People

            • Assignee:
              roy_lu Roy Lu
              Reporter:
              marlene_macdonald Marlene Macdonald
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: