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

LR Controller job not generating LRR, LRA and HTML folder in workspace

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Labels:
    • Environment:
      CloudBees Jenkins Enterprise 2.150.3.2-rolling
      Plugin: Micro Focus Application Automation tools
      Execute Micro Focus tests from file system
    • Similar Issues:

      Description

      We are running Jenkins job for Load Runner Controller using 'Execute Micro Focus tests from file system' for the Scenario of application that uses 'Web Service Protocol'. On execution of job it creates a folder in Jenkins workspace but does not generate the 'LRR', 'LRA', and 'HTML' folder.

      Job Setup:

      Here is the Console output:

       

      Started by user ABCD
      Building remotely on UFT_EntAutomation_N1 (uft-ent-n1) in workspace C:\Program Files\Jenkins\UFT_EntAutomation_N1\workspace\jenkinsmaster-5\ENT\EntAutomation\Performance_Jobs\FPS_UAT_Controller
      using credential 1a8591d5-617c-491d-914c-8f5bae278542
      > D:\UPSData\Git\cmd\git.exe rev-parse --is-inside-work-tree # timeout=10
      Fetching changes from the remote Git repository
      > D:\UPSData\Git\cmd\git.exe config remote.origin.url https://tfsps.ups.com/tfs/UPSProdSup/PS03AGit_DevOps/_git/JenkinsScriptsRepo # timeout=10
      Fetching upstream changes from https://tfsps.ups.com/tfs/UPSProdSup/PS03AGit_DevOps/_git/JenkinsScriptsRepo
      > D:\UPSData\Git\cmd\git.exe --version # timeout=10
      using GIT_ASKPASS to set credentials Edited ENT TFS
      > D:\UPSData\Git\cmd\git.exe fetch --tags --progress https://tfsps.ups.com/tfs/UPSProdSup/PS03AGit_DevOps/_git/JenkinsScriptsRepo +refs/heads/:refs/remotes/origin/
      > D:\UPSData\Git\cmd\git.exe rev-parse "refs/remotes/origin/PC_Controller^{commit}" # timeout=10
      > D:\UPSData\Git\cmd\git.exe rev-parse "refs/remotes/origin/origin/PC_Controller^{commit}" # timeout=10
      Checking out Revision 35fba24bbd33db0851d75abef57b2f255ddd03b8 (refs/remotes/origin/PC_Controller)
      > D:\UPSData\Git\cmd\git.exe config core.sparsecheckout # timeout=10
      > D:\UPSData\Git\cmd\git.exe checkout -f 35fba24bbd33db0851d75abef57b2f255ddd03b8
      Commit message: "Updated failure_controller.html"
      > D:\UPSData\Git\cmd\git.exe rev-list --no-walk 35fba24bbd33db0851d75abef57b2f255ddd03b8 # timeout=10
      Email was triggered for: Before Build
      Sending email for trigger: Before Build
      Sending email to: abc@abc.com
      [FPS_UAT_Controller] $ "C:\Program Files\Jenkins\UFT_EntAutomation_N1\workspace\jenkinsmaster-5\ENT\EntAutomation\Performance_Jobs\FPS_UAT_Controller\HpToolsLauncher.exe" -paramfile props23072019110910670.txt
      "Started..."
      Run build tests
      Launcher timeout is 10675199::02:48:05
      Controller Polling Interval: 30 seconds
      PerScenarioTimeout: 00::00:10:00 minutes
      FileSystemTestRunner timeout is 10675199.02:48:05.4775807
      Mc connection info is - Mc HostAddress: , McPort: 8080, Username: , TenantId: , UseSSL: 0, UseProxy: 0, ProxyType: 0, ProxyAddress: , ProxyPort: 0, ProxyAuth: 0, ProxyUser:
      1 tests found:
      D:\LRC_Test App\FPSDEV_Scripts\80Users_1Hr_30Mins.lrs
      ============================================================================
      23/07/2019 11:09:11 Running: D:\LRC_Test App\FPSDEV_Scripts\80Users_1Hr_30Mins.lrs
      D:\LRC_Test App\FPSDEV_Scripts\80Users_1Hr_30Mins.lrs
      Cleaning up the environment...
      Preparing scenario D:\LRC_Test App\FPSDEV_Scripts\80Users_1Hr_30Mins.lrs for execution.
      Load Generator localhost connected
      setting scenario result folder to C:\Program Files\Jenkins\UFT_EntAutomation_N1\workspace\jenkinsmaster-5\ENT\EntAutomation\Performance_Jobs\FPS_UAT_Controller\4b6206\LRR
      scenario result folder: C:\Program Files\Jenkins\UFT_EntAutomation_N1\workspace\jenkinsmaster-5\ENT\EntAutomation\Performance_Jobs\FPS_UAT_Controller\4b6206\LRR
      Starting scenario...
      controller failed to write to C:\Program Files\Jenkins\UFT_EntAutomation_N1\workspace\jenkinsmaster-5\ENT\EntAutomation\Performance_Jobs\FPS_UAT_Controller\4b6206\LRR setting result folder to C:\Program Files\Jenkins\UFT_EntAutomation_N1\workspace\jenkinsmaster-5\ENT\EntAutomation\Performance_Jobs\FPS_UAT_Controller\4b6206\res123000
      controller reult dir: res123000
      Scenario run has started
      Elapsed Time (D:H:M:S): 00:00:00:00
      Down      Pending   Init      Ready     Run       Rendez    Passed    Failed    Error     Exiting   Stopped   G_Exit   
      77        3         0         0         0         0         0         0         0         0         0         0        
      Error count: 0
      Elapsed Time (D:H:M:S): 00:00:00:30
      Down      Pending   Init      Ready     Run       Rendez    Passed    Failed    Error     Exiting   Stopped   G_Exit   
      71        3         0         0         6         0         0         0         0         0         0         0        
      Error count: 15
      Elapsed Time (D:H:M:S): 00:00:01:00
      Down      Pending   Init      Ready     Run       Rendez    Passed    Failed    Error     Exiting   Stopped   G_Exit   
      65        3         0         0         12        0         0         0         0         0         0         0        
      Error count: 39
      Elapsed Time (D:H:M:S): 00:00:01:31
      Down      Pending   Init      Ready     Run       Rendez    Passed    Failed    Error     Exiting   Stopped   G_Exit   
      59        3         0         0         18        0         0         0         0         0         0         0        
      Error count: 82
      Elapsed Time (D:H:M:S): 00:00:02:01
      Down      Pending   Init      Ready     Run       Rendez    Passed    Failed    Error     Exiting   Stopped   G_Exit   
      53        0         0         0         27        0         0         0         0         0         0         0        
      Error count: 132
      Elapsed Time (D:H:M:S): 00:00:02:31
      Down      Pending   Init      Ready     Run       Rendez    Passed    Failed    Error     Exiting   Stopped   G_Exit   
      47        0         0         0         33        0         0         0         0         0         0         0        
      Error count: 204
      Elapsed Time (D:H:M:S): 00:00:03:02
      Down      Pending   Init      Ready     Run       Rendez    Passed    Failed    Error     Exiting   Stopped   G_Exit   
      41        0         0         0         37        0         0         0         2         0         0         0        
      Error count: 271
      Elapsed Time (D:H:M:S): 00:00:03:32
      Down      Pending   Init      Ready     Run       Rendez    Passed    Failed    Error     Exiting   Stopped   G_Exit   
      35        0         0         0         43        0         0         0         2         0         0         0        
      Error count: 346
      Elapsed Time (D:H:M:S): 00:00:04:02
      Down      Pending   Init      Ready     Run       Rendez    Passed    Failed    Error     Exiting   Stopped   G_Exit   
      29        0         0         0         45        0         0         0         6         0         0         0        
      Error count: 424
      Elapsed Time (D:H:M:S): 00:00:04:33
      Down      Pending   Init      Ready     Run       Rendez    Passed    Failed    Error     Exiting   Stopped   G_Exit   
      23        0         0         0         50        0         0         0         7         0         0         0        
      Error count: 521
      Elapsed Time (D:H:M:S): 00:00:05:03
      Down      Pending   Init      Ready     Run       Rendez    Passed    Failed    Error     Exiting   Stopped   G_Exit   
      17        0         0         0         50        0         0         0         13        0         0         0        
      Error count: 623
      Elapsed Time (D:H:M:S): 00:00:05:33
      Down      Pending   Init      Ready     Run       Rendez    Passed    Failed    Error     Exiting   Stopped   G_Exit   
      11        0         0         0         50        0         0         0         19        0         0         0        
      Error count: 728
      Elapsed Time (D:H:M:S): 00:00:06:04
      Down      Pending   Init      Ready     Run       Rendez    Passed    Failed    Error     Exiting   Stopped   G_Exit   
      5         0         0         0         50        0         0         0         25        0         0         0        
      Error count: 833
      Elapsed Time (D:H:M:S): 00:00:06:34
      Down      Pending   Init      Ready     Run       Rendez    Passed    Failed    Error     Exiting   Stopped   G_Exit   
      0         0         0         0         50        0         0         0         30        0         0         0        
      Error count: 937
      Elapsed Time (D:H:M:S): 00:00:07:04
      Down      Pending   Init      Ready     Run       Rendez    Passed    Failed    Error     Exiting   Stopped   G_Exit   
      0         0         0         0         50        0         0         0         30        0         0         0        
      Error count: 1045
      Elapsed Time (D:H:M:S): 00:00:07:35
      Down      Pending   Init      Ready     Run       Rendez    Passed    Failed    Error     Exiting   Stopped   G_Exit   
      0         0         0         0         50        0         0         0         30        0         0         0        
      Error count: 1145
      Elapsed Time (D:H:M:S): 00:00:08:05
      Down      Pending   Init      Ready     Run       Rendez    Passed    Failed    Error     Exiting   Stopped   G_Exit   
      0         0         0         0         50        0         0         0         30        0         0         0        
      Error count: 1245
      Elapsed Time (D:H:M:S): 00:00:08:35
      Down      Pending   Init      Ready     Run       Rendez    Passed    Failed    Error     Exiting   Stopped   G_Exit   
      0         0         0         0         50        0         0         0         30        0         0         0        
      Error count: 1342
      Elapsed Time (D:H:M:S): 00:00:09:05
      Down      Pending   Init      Ready     Run       Rendez    Passed    Failed    Error     Exiting   Stopped   G_Exit   
      0         0         0         0         50        0         0         0         30        0         0         0        
      Error count: 1436
      Elapsed Time (D:H:M:S): 00:00:09:35
      Down      Pending   Init      Ready     Run       Rendez    Passed    Failed    Error     Exiting   Stopped   G_Exit   
      0         0         0         0         50        0         0         0         30        0         0         0        
      Error count: 1536
      Error: Scenario Execution timeout 00:00:10:00 (d:h:m:s) passed.
      Elapsed Time (D:H:M:S): 00:00:10:06
      Down      Pending   Init      Ready     Run       Rendez    Passed    Failed    Error     Exiting   Stopped   G_Exit   
      0         0         0         0         0         0         0         0         30        2         48        0        
      Error count: 1626
      Elapsed Time (D:H:M:S): 00:00:10:36
      Down      Pending   Init      Ready     Run       Rendez    Passed    Failed    Error     Exiting   Stopped   G_Exit   
      0         0         0         0         0         0         0         0         30        2         48        0        
      Error count: 1634
      Error: Controller failed to stop.
      Error: Lost connection to Controller
      Test result: Error
      23/07/2019 11:20:53 Test complete: D:\LRC_Test App\FPSDEV_Scripts\80Users_1Hr_30Mins.lrs
      -------------------------------------------------------------------------------------------------------
      Cleaning up the environment...
      ================================================
      Run status: Job failed, total tests: 1, succeeded: 0, failures: 0, errors: 1, warnings: 0
      Error  : D:\LRC_Test App\FPSDEV_Scripts\80Users_1Hr_30Mins.lrs
      ================================================
      Build step 'Execute Micro Focus tests from file system' changed build result to FAILURE
      [FPS_UAT_Controller] $ cmd /c call C:\WINDOWS\TEMP\jenkins1977766882040614680.bat

      C:\Program Files\Jenkins\UFT_EntAutomation_N1\workspace\jenkinsmaster-5\ENT\EntAutomation\Performance_Jobs\FPS_UAT_Controller>echo JOB NAME :FPS_UAT_Controller
      JOB NAME :FPS_UAT_Controller

      C:\Program Files\Jenkins\UFT_EntAutomation_N1\workspace\jenkinsmaster-5\ENT\EntAutomation\Performance_Jobs\FPS_UAT_Controller>echo Scenario Path :\LRC_Test App\FPSDEV_Scripts\80Users_1Hr_30Mins.lrs
      Scenario Path :\LRC_Test App\FPSDEV_Scripts\80Users_1Hr_30Mins.lrs

      C:\Program Files\Jenkins\UFT_EntAutomation_N1\workspace\jenkinsmaster-5\ENT\EntAutomation\Performance_Jobs\FPS_UAT_Controller>copyFromWorkspace4.bat
      4b6206
      File not found - HTML
      0 File(s) copied
      File not found - HTML
      0 File(s) copied
      Build step 'Execute Windows batch command' marked build as failure
      Email was triggered for: Failure - Any
      Sending email for trigger: Failure - Any
      Sending email to: abc@abc.com
      Finished: FAILURE

       

        Attachments

          Activity

          Hide
          grsureka Govind Sureka added a comment -

          Hello Rolando,

          Please let me know if you need any other details.

           

          Thanks,

          Govind

          Show
          grsureka Govind Sureka added a comment - Hello Rolando, Please let me know if you need any other details.   Thanks, Govind
          Hide
          rolandomihaivlad Rolando-Mihai Vlad added a comment - - edited

          Hello Govind,

          Did you add the "Always archieve and publish test reports (LR only) in post-build actions?

           

          Regards,

          Rolando

          Show
          rolandomihaivlad Rolando-Mihai Vlad added a comment - - edited Hello Govind, Did you add the "Always archieve and publish test reports (LR only) in post-build actions?   Regards, Rolando

            People

            • Assignee:
              rolandomihaivlad Rolando-Mihai Vlad
              Reporter:
              grsureka Govind Sureka
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: