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

Unable to upload test results to ALM. Failed login to ALM Server.Exception: com.hpe.application.automation.tools.common.SSEException: java.net.ConnectException: Connection timed out: connect

    Details

    • Similar Issues:

      Description

      BUILD SUCCESSFULTotal time: 4 minutes 3 seconds
      Picked up JAVA_TOOL_OPTIONS: -agentlib:jvmhook
      Picked up _JAVA_OPTIONS: -Xbootclasspath/a:"C:\Program Files (x86)\HP\Unified Functional Testing\bin\java_shared\classes\jasmine.jar"
      TestNG Reports Processing: START
      Looking for TestNG results report in workspace using pattern: C:/Users/XXXXX/eclipse-workspace/Automation_XXXXX/TestReport/TestNGreport/testng-results.xml
      Saving reports...
      Processing 'C:\Users\XXXXX\.jenkins\jobs\testExe\builds\30\testng\testng-results.xml'
      TestNG Reports Processing: FINISH
      INFO: 'Upload test result to ALM' Post Build Step is being invoked by <username>.
      INFO: 1 test result file found.
      INFO: Start to upload C:\Users\XXXXX\.jenkins\jobs\testExe\builds\30\testng\testng-results.xml
      INFO: Start to parse file: C:\Users\XXXXX\.jenkins\jobs\testExe\builds\30\testng\testng-results.xml
      INFO: parse resut file succeed.
      INFO: Start to login to ALM Server.
      Start login to ALM server.
      Failed login to ALM Server URL:
      https://almxxxxxxxx1253.saas.hpe.com/qcbin/
      . Exception: com.hpe.application.automation.tools.common.SSEException: java.net.ConnectException: Connection timed out: connect
      WARN: there's exception while uploading C:\Users\XXXXX\.jenkins\jobs\testExe\builds\30\testng\testng-results.xml.
      INFO: 'Upload test result to ALM' Completed.
      Build step 'Upload test result to ALM' changed build result to UNSTABLE
      Finished: UNSTABLE

        Attachments

          Activity

          Hide
          mhamdi_vf Mohamed Hamdi added a comment -

          Hi Roy Lu,

          Status of this issue has been changed to "Resolved". Does "Upload test result to ALM" functionality support proxy now? Which version of plugin?

          Thanks,

          Show
          mhamdi_vf Mohamed Hamdi added a comment - Hi Roy Lu , Status of this issue has been changed to "Resolved". Does "Upload test result to ALM" functionality support proxy now? Which version of plugin? Thanks,
          Hide
          anunagan anu nagan added a comment -

          Hi Roy , 

           

          is this issue fixed, may I know how to resolve it.

          Regards,

          Anu Nagan G

           

          Show
          anunagan anu nagan added a comment - Hi Roy ,    is this issue fixed, may I know how to resolve it. Regards, Anu Nagan G  
          Hide
          anunagan anu nagan added a comment -

          I am following the jenkins to ALM steps , when I gave my sever url without 's' in http I am getting this error  ----- >Failed login to ALM Server URL: /. Exception: com.hpe.application.automation.tools.common.SSEException: java.net.MalformedURLException: no protocol: /rest/is-authenticated -

           

          When I tried with 'https' ----------> I am strucked as I mentioned in the above screenshot. Please let me know if you have any resolution. 

          Show
          anunagan anu nagan added a comment - I am following the jenkins to ALM steps , when I gave my sever url without 's' in http I am getting this error  ----- >Failed login to ALM Server URL: /. Exception: com.hpe.application.automation.tools.common.SSEException: java.net.MalformedURLException: no protocol: /rest/is-authenticated -   When I tried with 'https' ----------> I am strucked as I mentioned in the above screenshot. Please let me know if you have any resolution. 
          Hide
          anunagan anu nagan added a comment -

          Please find my hp alm connection details 

           

          Show
          anunagan anu nagan added a comment - Please find my hp alm connection details   
          Hide
          roy_lu Roy Lu added a comment -

          Hi anu nagan,

          The latest release support it now. Please configure proxy infor in Jenkins proxy settings.

          Show
          roy_lu Roy Lu added a comment - Hi anu nagan , The latest release support it now. Please configure proxy infor in Jenkins proxy settings.

            People

            • Assignee:
              roy_lu Roy Lu
              Reporter:
              krisra03 Rajagopalan VENKATRAMAN KRISHNAMURTHY
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: