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
          aslaakso Anda Sorina Laakso added a comment -

          From this page https://sumeetkushwah.com/2015/03/24/implementing-ci-using-jenkins-and-uft/

          check the paragraph :

          Unlocking remote slave machine before executions

           

          Show
          aslaakso Anda Sorina Laakso added a comment - From this page https://sumeetkushwah.com/2015/03/24/implementing-ci-using-jenkins-and-uft/ check the paragraph : Unlocking remote slave machine before executions  
          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.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: