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

'Run could not start' error from HPE Application Automation Tools plugin

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • Jenkins V2.121.1, Micro Focus Application Automation Tools 5.4.3-beta-SNAPSHOT (private-a0427562-dananda) Performance Center 12.56

      Following on from JENKINS-52366, the version of the automation tools plugin from that bug has an issue when running a build job. This is the Jenkins log;

      Fri 07.20.2018 at 11:21:44 AM BST - 
      Run started (TestID: 1764, RunID: 1905, TimeslotID: 4001)

      Fri 07.20.2018 at 11:21:48 AM BST - Error: executeRequest exception: Operation failed. Error code: 1001
      Fri 07.20.2018 at 11:21:48 AM BST - Error: Run could not start!
      Fri 07.20.2018 at 11:21:49 AM BST - Logout succeeded
      Fri 07.20.2018 at 11:21:49 AM BST - Empty Results
      Fri 07.20.2018 at 11:21:49 AM BST - Result Status (PC RunID: 1905): FAILURE

       

      Checking the corresponding test in Performance Center showed that it was triggered correctly, the test continues to run and passes successfully. The run information from Performance Center shows the following;

       

      Test Name hello_world
      Run ID 1905
      End time 07/20/2018 11:22:02

       

      This was broken during the fix for 52366, I was able to run a successful job on the 17th of July but it had stopped working by the 20th. The bug log suggest the change for DecimalFormatSymbols whitelisting broke the build job. 

          [JENKINS-52698] 'Run could not start' error from HPE Application Automation Tools plugin

          Simon Norris created issue -
          Daniel Gront made changes -
          Labels New: PerformanceCenter
          Daniel Gront made changes -
          Assignee Original: Daniel Gront [ gront ] New: Daniel Danan [ danieldanan ]
          Daniel Danan made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

          Daniel Danan added a comment -

          Hi Simon,

          Thanks for reporting this in a separate defect report and many thanks for your feedback.

          Could you please try to create a new freestyle project or use an existing one in which you delete the old Performance Center build step and recreate a new one from scratch (do not use a build step created with a previous version of this plugin).

          Please let me know if the job runs correctly in it.

          Regards,
          Daniel

          Daniel Danan added a comment - Hi Simon, Thanks for reporting this in a separate defect report and many thanks for your feedback. Could you please try to create a new freestyle project or use an existing one in which you delete the old Performance Center build step and recreate a new one from scratch (do not use a build step created with a previous version of this plugin). Please let me know if the job runs correctly in it. Regards, Daniel
          Daniel Danan made changes -
          Attachment New: PC_Jenkins_Job_logs.png [ 43476 ]

          Daniel Danan added a comment -

          attaching logs screenshot from a run in my environment with the new plugin.

          Daniel Danan added a comment - attaching logs screenshot from a run in my environment with the new plugin.

          Simon Norris added a comment - - edited

          Started by user unknown or anonymous
          Building in workspace C:\Jenkins_Home\workspace\Performance Center example job2
          Mon 07.23.2018 at 11:01:35 AM BST - plugin version is '5.4.3-beta-SNAPSHOT'
          Mon 07.23.2018 at 11:01:35 AM BST - Validating parameters before run
          Mon 07.23.2018 at 11:01:35 AM BST - OK
          Mon 07.23.2018 at 11:01:35 AM BST - Trying to login
          [PCServer='xyz', User='abc.123']
          Mon 07.23.2018 at 11:01:35 AM BST - Login succeeded
          Mon 07.23.2018 at 11:01:35 AM BST - Searching for available Test Instance
          Mon 07.23.2018 at 11:01:36 AM BST - Found testInstanceId: 375
          Mon 07.23.2018 at 11:01:36 AM BST -
          Executing Load Test:
          ====================
          Test ID: 1764
          Test Instance ID: 375
          Timeslot Duration: 0:30(h:mm)
          Post Run Action: Collate Results
          Use VUDS: false
          ====================

          Mon 07.23.2018 at 11:01:48 AM BST -
          Run started (TestID: 1764, RunID: 1908, TimeslotID: 4005)

          Mon 07.23.2018 at 11:01:53 AM BST - Error: executeRequest exception: Operation failed. Error code: 1001
          Mon 07.23.2018 at 11:01:53 AM BST - Error: Run could not start!
          Mon 07.23.2018 at 11:01:54 AM BST - Logout succeeded
          Mon 07.23.2018 at 11:01:54 AM BST - Empty Results
          Mon 07.23.2018 at 11:01:54 AM BST - Result Status (PC RunID: 1908): FAILURE

          Build step 'Execute performance test using Performance Center' changed build result to FAILURE
          Recording test results
          RunResultRecorder: didn't find any test results to record
          Finished: FAILURE

          This is from a new freestyle project, using the same Performance Center scenario. I also tried with a new Performance Center scenario;

          Started by user unknown or anonymous
          Building in workspace C:\Jenkins_Home\workspace\Performance Center example job2
          Mon 07.23.2018 at 11:09:10 AM BST - plugin version is '5.4.3-beta-SNAPSHOT'
          Mon 07.23.2018 at 11:09:10 AM BST - Validating parameters before run
          Mon 07.23.2018 at 11:09:10 AM BST - OK
          Mon 07.23.2018 at 11:09:10 AM BST - Trying to login
          [PCServer='xyz', User='abc.123']
          Mon 07.23.2018 at 11:09:10 AM BST - Login succeeded
          Mon 07.23.2018 at 11:09:10 AM BST - Searching for available Test Instance
          Mon 07.23.2018 at 11:09:11 AM BST - Could not find available TestInstanceID, Creating Test Instance.
          Mon 07.23.2018 at 11:09:11 AM BST - Searching for available TestSet
          Mon 07.23.2018 at 11:09:11 AM BST - Creating Test Instance with testID: 1771 and TestSetID: 611
          Mon 07.23.2018 at 11:09:13 AM BST - Test Instance with ID : 377 has been created successfully.
          Mon 07.23.2018 at 11:09:13 AM BST -
          Executing Load Test:
          ====================
          Test ID: 1771
          Test Instance ID: 377
          Timeslot Duration: 0:30(h:mm)
          Post Run Action: Collate Results
          Use VUDS: false
          ====================

          Mon 07.23.2018 at 11:09:25 AM BST -
          Run started (TestID: 1771, RunID: 1909, TimeslotID: 4006)

          Mon 07.23.2018 at 11:09:29 AM BST - Error: executeRequest exception: Operation failed. Error code: 1001
          Mon 07.23.2018 at 11:09:29 AM BST - Error: Run could not start!
          Mon 07.23.2018 at 11:09:30 AM BST - Logout succeeded
          Mon 07.23.2018 at 11:09:30 AM BST - Empty Results
          Mon 07.23.2018 at 11:09:30 AM BST - Result Status (PC RunID: 1909): FAILURE

          Build step 'Execute performance test using Performance Center' changed build result to FAILURE
          Recording test results
          RunResultRecorder: didn't find any test results to record
          Finished: FAILURE
           

           

          Simon Norris added a comment - - edited Started by user unknown or anonymous Building in workspace C:\Jenkins_Home\workspace\Performance Center example job2 Mon 07.23.2018 at 11:01:35 AM BST - plugin version is '5.4.3-beta-SNAPSHOT' Mon 07.23.2018 at 11:01:35 AM BST - Validating parameters before run Mon 07.23.2018 at 11:01:35 AM BST - OK Mon 07.23.2018 at 11:01:35 AM BST - Trying to login [PCServer='xyz', User='abc.123'] Mon 07.23.2018 at 11:01:35 AM BST - Login succeeded Mon 07.23.2018 at 11:01:35 AM BST - Searching for available Test Instance Mon 07.23.2018 at 11:01:36 AM BST - Found testInstanceId: 375 Mon 07.23.2018 at 11:01:36 AM BST - Executing Load Test: ==================== Test ID: 1764 Test Instance ID: 375 Timeslot Duration: 0:30(h:mm) Post Run Action: Collate Results Use VUDS: false ==================== Mon 07.23.2018 at 11:01:48 AM BST - Run started (TestID: 1764, RunID: 1908, TimeslotID: 4005) Mon 07.23.2018 at 11:01:53 AM BST - Error: executeRequest exception: Operation failed. Error code: 1001 Mon 07.23.2018 at 11:01:53 AM BST - Error: Run could not start! Mon 07.23.2018 at 11:01:54 AM BST - Logout succeeded Mon 07.23.2018 at 11:01:54 AM BST - Empty Results Mon 07.23.2018 at 11:01:54 AM BST - Result Status (PC RunID: 1908): FAILURE Build step 'Execute performance test using Performance Center' changed build result to FAILURE Recording test results RunResultRecorder: didn't find any test results to record Finished: FAILURE This is from a new freestyle project, using the same Performance Center scenario. I also tried with a new Performance Center scenario; Started by user unknown or anonymous Building in workspace C:\Jenkins_Home\workspace\Performance Center example job2 Mon 07.23.2018 at 11:09:10 AM BST - plugin version is '5.4.3-beta-SNAPSHOT' Mon 07.23.2018 at 11:09:10 AM BST - Validating parameters before run Mon 07.23.2018 at 11:09:10 AM BST - OK Mon 07.23.2018 at 11:09:10 AM BST - Trying to login [PCServer='xyz', User='abc.123'] Mon 07.23.2018 at 11:09:10 AM BST - Login succeeded Mon 07.23.2018 at 11:09:10 AM BST - Searching for available Test Instance Mon 07.23.2018 at 11:09:11 AM BST - Could not find available TestInstanceID, Creating Test Instance. Mon 07.23.2018 at 11:09:11 AM BST - Searching for available TestSet Mon 07.23.2018 at 11:09:11 AM BST - Creating Test Instance with testID: 1771 and TestSetID: 611 Mon 07.23.2018 at 11:09:13 AM BST - Test Instance with ID : 377 has been created successfully. Mon 07.23.2018 at 11:09:13 AM BST - Executing Load Test: ==================== Test ID: 1771 Test Instance ID: 377 Timeslot Duration: 0:30(h:mm) Post Run Action: Collate Results Use VUDS: false ==================== Mon 07.23.2018 at 11:09:25 AM BST - Run started (TestID: 1771, RunID: 1909, TimeslotID: 4006) Mon 07.23.2018 at 11:09:29 AM BST - Error: executeRequest exception: Operation failed. Error code: 1001 Mon 07.23.2018 at 11:09:29 AM BST - Error: Run could not start! Mon 07.23.2018 at 11:09:30 AM BST - Logout succeeded Mon 07.23.2018 at 11:09:30 AM BST - Empty Results Mon 07.23.2018 at 11:09:30 AM BST - Result Status (PC RunID: 1909): FAILURE Build step 'Execute performance test using Performance Center' changed build result to FAILURE Recording test results RunResultRecorder: didn't find any test results to record Finished: FAILURE    

          Daniel Danan added a comment -

          Hi Simon,

          Could you please try to execute the test by launching it from Performance Center itself? Perhaps the problems come from Performance Center server itself and not from the plugin.

          regards,
          Daniel

          Daniel Danan added a comment - Hi Simon, Could you please try to execute the test by launching it from Performance Center itself? Perhaps the problems come from Performance Center server itself and not from the plugin. regards, Daniel

          Umesh Gachinmath added a comment - - edited

          Continued from JENKINS-52366 :

          danieldanan. I had build new project from scratch, but still I got the same exception :
          Started by user
          Umesh S G
          Building in workspace C:\Program Files (x86)\Jenkins\workspace\PCTest
          Mon 07.23.2018 at 03:57:55 PM IST - plugin version is '5.4.3-beta-SNAPSHOT'
          Mon 07.23.2018 at 03:57:55 PM IST -

          • - -
            Test description: PC Test
            Mon 07.23.2018 at 03:57:55 PM IST - Validating parameters before run
            Mon 07.23.2018 at 03:57:55 PM IST - OK
            Mon 07.23.2018 at 03:57:55 PM IST - Trying to login
            [PCServer='
            http://http://abc-xxx-g-xxx02.com/loadtest/General/Login.aspx?logout=1
            ', User='abcdef']
            Mon 07.23.2018 at 03:57:58 PM IST - Login succeeded
            Mon 07.23.2018 at 03:57:58 PM IST - Searching for available Test Instance
            Mon 07.23.2018 at 03:57:59 PM IST - getCorrectTestInstanceID failed, reason: com.thoughtworks.xstream.mapper.CannotResolveClassException: htmlMon 07.23.2018 at 03:57:59 PM IST - java.lang.NumberFormatException: null
            Mon 07.23.2018 at 03:58:01 PM IST - Logout succeeded
            Mon 07.23.2018 at 03:58:01 PM IST - Empty Results
            Mon 07.23.2018 at 03:58:01 PM IST - Result Status: FAILURE
          • - -
            Build step 'Execute performance test using Performance Center' changed build result to FAILURE
            Finished: FAILURE

          Umesh Gachinmath added a comment - - edited Continued from  JENKINS-52366 : danieldanan . I had build new project from scratch, but still I got the same exception : Started by user Umesh S G Building in workspace C:\Program Files (x86)\Jenkins\workspace\PCTest Mon 07.23.2018 at 03:57:55 PM IST - plugin version is '5.4.3-beta-SNAPSHOT' Mon 07.23.2018 at 03:57:55 PM IST - - - Test description: PC Test Mon 07.23.2018 at 03:57:55 PM IST - Validating parameters before run Mon 07.23.2018 at 03:57:55 PM IST - OK Mon 07.23.2018 at 03:57:55 PM IST - Trying to login [PCServer=' http://http://abc-xxx-g-xxx02.com/loadtest/General/Login.aspx?logout=1 ', User='abcdef'] Mon 07.23.2018 at 03:57:58 PM IST - Login succeeded Mon 07.23.2018 at 03:57:58 PM IST - Searching for available Test Instance Mon 07.23.2018 at 03:57:59 PM IST - getCorrectTestInstanceID failed, reason: com.thoughtworks.xstream.mapper.CannotResolveClassException: html Mon 07.23.2018 at 03:57:59 PM IST - java.lang.NumberFormatException: null Mon 07.23.2018 at 03:58:01 PM IST - Logout succeeded Mon 07.23.2018 at 03:58:01 PM IST - Empty Results Mon 07.23.2018 at 03:58:01 PM IST - Result Status: FAILURE - - Build step 'Execute performance test using Performance Center' changed build result to FAILURE Finished: FAILURE

            danieldanan Daniel Danan
            simon_norris Simon Norris
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: