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

Not able to run UFT ALM Scripts from master when the slave machine is logged off

    Details

    • Similar Issues:

      Description

      Team, 

      I am not able to run UFT scripts when slave machine is logged off completely.
      Started by user
      Sakthi
      Building remotely on
      W000WVP0C
      in workspace D:\Jenkins\workspace\TestbedXAT
      [TestbedXAT] $ D:\Jenkins\workspace\TestbedXAT\HpToolsLauncher.exe -paramfile props19022019041726459.txt
      "Started..."
      Timeout is set to: -1
      Run mode is set to: RUN_LOCAL
      ============================================================================
      Starting test set execution
      Test set name: XAT_StabilityCheck_Copy_1_Copy_1, Test set id: 40885
      "Number of tests in set: "1
      Test 1: [1]RES_COB_StabilityCheck will run on host: W000WVP0C
      "Scheduler started at:19/02/2019 04:17:32
      -------------------------------------------------------------------------------------------------------
      19/02/2019 04:17:32 Running: [1]RES_COB_StabilityCheck
      19/02/2019 04:17:32 Running test: [1]RES_COB_StabilityCheck, Test id: 558831, Test instance id: 827741
      Test: [1]RES_COB_StabilityCheck, Id: 827741, Execution status: Running
      Test: [1]RES_COB_StabilityCheck, Id: 827741, Execution status: Error, Message: The server process could not be started because the configured identity is incorrect. Check the username and password
      19/02/2019 04:17:37 Test complete: [1]RES_COB_StabilityCheck
      -------------------------------------------------------------------------------------------------------
      Test: [1]RES_COB_StabilityCheck, Status: Error, Message: The server process could not be started because the configured identity is incorrect. Check the username and password \nLink: tds://PERSHING_TECHNOLOGY.PERSHING.qc.pershing.com:8443/qcbin/TestLabModule-000000003649890581?EntityType=IRun&EntityID=1326605\n
      Test set: XAT_StabilityCheck_Copy_1_Copy_1, finished at 19/02/2019 04:17:37
      ================================================
      Run status: Job failed, total tests: 1, succeeded: 0, failures: 0, errors: 1
      Error : Root\ReS\Automation\StartofDay\TESTBED\XAT_StabilityCheck_Copy_1_Copy_1[1]RES_COB_StabilityCheck
      ================================================
      Build step 'Execute Micro Focus functional tests from Micro Focus ALM' changed build result to FAILURE
      Finished: FAILURE

        Attachments

          Activity

          Hide
          sakthi1992 Sakthi Isai Bharathi Samundeeswari added a comment -

          Anda Sorina Laakso Its not working when i logoff the slave and start the scripts from master

           

          Show
          sakthi1992 Sakthi Isai Bharathi Samundeeswari added a comment - Anda Sorina Laakso Its not working when i logoff the slave and start the scripts from master  
          Hide
          aslaakso Anda Sorina Laakso added a comment -

          Then it means you need an RDP session.

          Show
          aslaakso Anda Sorina Laakso added a comment - Then it means you need an RDP session.
          Hide
          sakthi1992 Sakthi Isai Bharathi Samundeeswari added a comment -

          Anda Sorina Laakso So, Jenkins Master and Slave will not work if it is logged off completely ? Daniel Gront

          Show
          sakthi1992 Sakthi Isai Bharathi Samundeeswari added a comment - Anda Sorina Laakso So, Jenkins Master and Slave will not work if it is logged off completely ? Daniel Gront
          Hide
          gront Daniel Gront added a comment -

          Hey Sakthi Isai Bharathi Samundeeswari,

          Since the master needs to communicate with the slave so it could tell it to:

          1. Execute
          2.  Copy relevant files like HpToolLauncher.exce

          It isn't possible to do it while you're not connected to a master as a slave.

          I am closing this issue since it's not a defect but a limitation of Jenkins itself.

          Show
          gront Daniel Gront added a comment - Hey Sakthi Isai Bharathi Samundeeswari , Since the master needs to communicate with the slave so it could tell it to: Execute  Copy relevant files like HpToolLauncher.exce It isn't possible to do it while you're not connected to a master as a slave. I am closing this issue since it's not a defect but a limitation of Jenkins itself.
          Hide
          v_mwalk Mat Walker added a comment -

          Sakti,

          FYI Daniel Gront

          We have this issue with Bamboo (we are migrating to Jenkins) so I confirm it is NOT Jenkins.  To resolve, you need to;

          1. Log on to Test Execution host machine.
          2. Launch UFT
          3. In Tools->Options click ‘Verify Connection’ button
          4. Close UFT
          5. Disconnect from Test Execution host machine (DO NOT LOG OFF!)

          Apparently ALM has had this issue since QC (Quality Centre days).

          Show
          v_mwalk Mat Walker added a comment - Sakti, FYI Daniel Gront We have this issue with Bamboo (we are migrating to Jenkins) so I confirm it is NOT Jenkins.  To resolve, you need to; Log on to Test Execution host machine. Launch UFT In Tools->Options click ‘Verify Connection’ button Close UFT Disconnect from Test Execution host machine (DO NOT LOG OFF!) Apparently ALM has had this issue since QC (Quality Centre days).

            People

            • Assignee:
              aslaakso Anda Sorina Laakso
              Reporter:
              sakthi1992 Sakthi Isai Bharathi Samundeeswari
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: