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

Builds with the hp-application-automation-tools-plugin reports wrong status when the UFT slave is unavailiable

      We have a set of automated test running during the night.
      We are using HP UFT 12.01, mostlly with great success.
      But, we have a problem when the UFT buildserver is unavailiable.
      (Slave and UFT is installed on same "windows 2012 R2 server")
      The build report SUCCESS, when I belive it should hav reported failure.

      Check this:

      Started by timer
      Building remotely on HP ALM-UFT Jenkins 1 in workspace C:\Jenkins\workspace\My_UFT_Test
      [My_UFT_Test] $ "C:\Jenkins\workspace\My_UFT_Test\HpToolsLauncher.exe" -paramfile props07102014070137475.txt
      "Started..."
      Timeout is set to: 600
      Run mode is set to: RUN_REMOTE
      ============================================================================
      Starting test set execution
      Test set name: My-UFT-Test, Test set id: 3967
      "Number of tests in set: "1
      Test 1: My UFT Test will run on host: myserver.mydomain.no
      "Scheduler started at:07.10.2014 07:01:41
      -------------------------------------------------------------------------------------------------------
      07.10.2014 07:01:42 Running: My UFT Test
      07.10.2014 07:01:42 Running test: My UFT Test, Test id: 12417, Test instance id: 10147
      Test: My UFT Test, Id: 10147, Execution status: Running
      Test: My UFT Test, Id: 10147, Execution status: Unknown, Message: Host connected
      07.10.2014 07:02:09 Test complete: My UFT Test
      -------------------------------------------------------------------------------------------------------
      07.10.2014 07:02:09 Running: My UFT Test
      07.10.2014 07:02:09 Running test: My UFT Test, Test id: 12417, Test instance id: 10147
      Test: My UFT Test, Id: 10147, Execution status: Running
      Test: My UFT Test, Id: 10147, Execution status: Unknown, Message: Test run stopped.
      07.10.2014 07:02:14 Test complete: My UFT Test
      -------------------------------------------------------------------------------------------------------
      [color:red}Test: My UFT Test, Status: Unknown, Message: Test run stopped. \nLink: td://PROJECT.hpalm.myserver.no/qcbin/TestLabModule-000000003649890581?EntityType=IRun&EntityID=51494\n
      Test set: My-UFT-Test, finished at 07.10.2014 07:02:14
      ================================================
      Run status: Job succeeded, total tests: 1, succeeded: 0, failures: 0, errors: 0
      Unknown: Root\Jenkins tests\Automatic tests\My-UFT-Test\My UFT Test

      ================================================
      Finished: SUCCESS

          [JENKINS-25018] Builds with the hp-application-automation-tools-plugin reports wrong status when the UFT slave is unavailiable

          Borge Haugsdal created issue -

          Borge Haugsdal added a comment - - edited
          Another build
          Started by timer
          Building remotely on HP ALM-UFT Jenkins 1 in workspace C:\Jenkins\workspace\My_UFT_Test
          [My_UFT_Test] $ "C:\Jenkins\workspace\My_UFT_Test\HpToolsLauncher.exe" -paramfile props07102014080835355.txt
          "Started..."
          Timeout is set to: -1
          Run mode is set to: RUN_REMOTE
          ============================================================================
          Starting test set execution
          Test set name: My-UFT-Test, Test set id: 4237
          "Number of tests in set: "1
          Test 1: My UFT Test will run on host: myserver.mydomain.no
          "Scheduler started at:07.10.2014 08:08:40
          -------------------------------------------------------------------------------------------------------
          07.10.2014 08:08:40 Running: My UFT Test
          07.10.2014 08:08:40 Running test: My UFT Test, Test id: 12417, Test instance id: 10281
          Test: My UFT Test, Id: 10281, Execution status: Running
          Test: My UFT Test, Id: 10281, Execution status: Unknown, Message: Test run stopped.
          Step: Start Test
          	Start My UFT Test
          Step: Replay Error, Status: Failed
          	General run error.:	The HP Unified Functional Testing computer is locked or logged off.
          Step: End Test
          	End My UFT Test
          
          Link: td://PROJECT.hpalm.myserver.no/qcbin/TestLabModule-000000003649890581?EntityType=IRun&EntityID=51545
          07.10.2014 08:08:58 Test complete: My UFT Test, Run ID: 51545
          -------------------------------------------------------------------------------------------------------
          Test: My UFT Test, Status: Unknown, Message: Test run stopped. \nLink: td://PROJECT.hpalm.myserver.no/qcbin/TestLabModule-000000003649890581?EntityType=IRun&EntityID=51545\n
          Test set: My-UFT-Test, finished at 07.10.2014 08:08:59
          ================================================
          Run status: Job succeeded, total tests: 1, succeeded: 0, failures: 0, errors: 0
          Unknown: Root\Jenkins tests\Automatc tests\My UFT Test
          ================================================
          Finished: SUCCESS
          

          Borge Haugsdal added a comment - - edited Another build Started by timer Building remotely on HP ALM-UFT Jenkins 1 in workspace C:\Jenkins\workspace\My_UFT_Test [My_UFT_Test] $ "C:\Jenkins\workspace\My_UFT_Test\HpToolsLauncher.exe" -paramfile props07102014080835355.txt "Started..." Timeout is set to: -1 Run mode is set to: RUN_REMOTE ============================================================================ Starting test set execution Test set name: My-UFT-Test, Test set id: 4237 " Number of tests in set: " 1 Test 1: My UFT Test will run on host: myserver.mydomain.no "Scheduler started at:07.10.2014 08:08:40 ------------------------------------------------------------------------------------------------------- 07.10.2014 08:08:40 Running: My UFT Test 07.10.2014 08:08:40 Running test: My UFT Test, Test id: 12417, Test instance id: 10281 Test: My UFT Test, Id: 10281, Execution status: Running Test: My UFT Test, Id: 10281, Execution status: Unknown, Message: Test run stopped. Step: Start Test Start My UFT Test Step: Replay Error, Status: Failed General run error.: The HP Unified Functional Testing computer is locked or logged off. Step: End Test End My UFT Test Link: td: //PROJECT.hpalm.myserver.no/qcbin/TestLabModule-000000003649890581?EntityType=IRun&EntityID=51545 07.10.2014 08:08:58 Test complete: My UFT Test, Run ID: 51545 ------------------------------------------------------------------------------------------------------- Test: My UFT Test, Status: Unknown, Message: Test run stopped. \nLink: td: //PROJECT.hpalm.myserver.no/qcbin/TestLabModule-000000003649890581?EntityType=IRun&EntityID=51545\n Test set: My-UFT-Test, finished at 07.10.2014 08:08:59 ================================================ Run status: Job succeeded, total tests: 1, succeeded: 0, failures: 0, errors: 0 Unknown: Root\Jenkins tests\Automatc tests\My UFT Test ================================================ Finished: SUCCESS

          Amit Bezalel added a comment -

          Did you try it with 3.0.6?, there is a fix to a similar problem there.

          Amit Bezalel added a comment - Did you try it with 3.0.6?, there is a fix to a similar problem there.
          Amit Bezalel made changes -
          Assignee Original: Ofir Shaked [ ofirshaked ] New: Amit Bezalel [ amitbe ]
          Amit Bezalel made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 158916 ] New: JNJira + In-Review [ 185535 ]
          Yafim Kazak made changes -
          Assignee Original: Amit Bezalel [ amitbe ] New: xiwen zhao [ xiwenhpe ]
          xiwen zhao made changes -
          Status Original: In Progress [ 3 ] New: Open [ 1 ]
          xiwen zhao made changes -
          Resolution New: Cannot Reproduce [ 5 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

            xiwenhpe xiwen zhao
            borgeh Borge Haugsdal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: