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

MF Application Automation Tools is unable to execute UFT test

      I created a Jenkins project and have already set username, domain, project and test set. Path of test set is given in this form: Root\UFT Jenkins\UFT Jenkins.

      I have got following error message during execution:

      Started by user admin
      Running as SYSTEM
      Building in workspace C:\ProgramData\Jenkins\.jenkins\workspace\ALMTESZT
      [ALMTESZT] $ C:\ProgramData\Jenkins\.jenkins\workspace\ALMTESZT\HpToolsLauncher.exe -paramfile props04112021104712486.txt
      "Started..."
      Timeout is set to: 10
      Run mode is set to: RUN_LOCAL
      Failed to Connect Project
      Error: Cannot connect to QC: Project / Domain does not exist.
      ALM Test set runner not connected
      Build step 'Execute Micro Focus functional tests from Micro Focus ALM' changed build result to FAILURE
      Finished: FAILURE

        1. ALM_logs.png
          ALM_logs.png
          63 kB
        2. Node_Jenkins.PNG
          Node_Jenkins.PNG
          9 kB
        3. Webgate_logs_1.png
          Webgate_logs_1.png
          20 kB
        4. Webgate_logs_2.png
          Webgate_logs_2.png
          25 kB

          [JENKINS-67054] MF Application Automation Tools is unable to execute UFT test

          Akos added a comment -

          Hello Dorin,

          I had been typing name of Domain and Project, which I select when I login to ALM, so these are without any whitespace.

          Akos added a comment - Hello Dorin, I had been typing name of Domain and Project, which I select when I login to ALM, so these are without any whitespace.

          Dorin Bogdan added a comment - - edited

          Hello kovacsa,

          What MicroFocus plugin version and what ALM server version are you using?

          Dorin.

          Dorin Bogdan added a comment - - edited Hello kovacsa , What MicroFocus plugin version and what ALM server version are you using? Dorin.

          Dorin Bogdan added a comment - - edited

          Hello kovacsa,

          1. If possible, please provide here a short video recording of the steps you are using, for both scenarios:
            • from Jenkins side (Job config page and Console output results)
            • from ALM side (just Authenticate and Login actions from Internet Explorer)
          2. For best support please open a ticket at:
            https://www.microfocus.com/en-us/support/login or
            https://support.microfocus.com/contact/swgrp.html
            Or, propose a date/time when you are available online so we can schedule a support session with you. 

          Thank you,
          Dorin.

          Dorin Bogdan added a comment - - edited Hello kovacsa , If possible, please provide here a short video recording of the steps you are using, for both scenarios: from Jenkins side (Job config page and Console output results) from ALM side (just Authenticate and Login actions from Internet Explorer) For best support please open a ticket at: https://www.microfocus.com/en-us/support/login or https://support.microfocus.com/contact/swgrp.html Or, propose a date/time when you are available online so we can schedule a support session with you.  Thank you, Dorin.

          Akos added a comment -

          Hello,

          versions: Jenkins 2.318, ALM 12.55, Micro Focus Application Automation Tools 7.0.

          Sorry, but I can't share video.

          Akos added a comment - Hello, versions: Jenkins 2.318, ALM 12.55, Micro Focus Application Automation Tools 7.0. Sorry, but I can't share video.

          Dorin Bogdan added a comment -

          Hello kovacsa,

          How do you like to proceed further?

          Would you open a ticket online or prefer to schedule a support session?

          Dorin Bogdan added a comment - Hello kovacsa , How do you like to proceed further? Would you open a ticket online or prefer to schedule a support session?

          Hilda added a comment -

          Hello Akos,

          On what Node do you build your Jenkins Job? Are you using the master or are you using a Node connected to your Jenkins server?

          You can parametrize jobs, at the configuration, to chose where to build your Jenkins job. (see attachments)

          "Running as SYSTEM
          [EnvInject] - Loading node environment variables.
          Building on master in workspace .... "

           

           

          Hilda added a comment - Hello Akos, On what Node do you build your Jenkins Job? Are you using the master or are you using a Node connected to your Jenkins server? You can parametrize jobs, at the configuration, to chose where to build your Jenkins job. (see attachments) "Running as SYSTEM [EnvInject] - Loading node environment variables. Building on master in workspace .... "    

          Akos added a comment -

          Hello hildaboth,

          I use built-in node, which is Windows Server 2012 R2 (amd64). There is UFT and also Jenkins installed on this node.

          Akos added a comment - Hello hildaboth , I use built-in node, which is Windows Server 2012 R2 (amd64). There is UFT and also Jenkins installed on this node.

          Akos added a comment -

          dorin7bogdan : How could I check ALM logs, to see where is connectivity problem.

          Akos added a comment - dorin7bogdan  : How could I check ALM logs, to see where is connectivity problem.

          Dorin Bogdan added a comment -

          Hello kovacsa,

          Since the ALM team is more able to provide help about ALM, please open a ticket at:
          https://www.microfocus.com/en-us/support/login or
          https://support.microfocus.com/contact/swgrp.html

          Thank you for understanding.

          Dorin Bogdan added a comment - Hello kovacsa , Since the ALM team is more able to provide help about ALM, please open a ticket at: https://www.microfocus.com/en-us/support/login  or https://support.microfocus.com/contact/swgrp.html Thank you for understanding.

          Dorin Bogdan added a comment -

          Hello kovacsa,

          From ALM team I got the following information: 

          The problem might be the user is not belonged to the project.
          The Login passed, that means username and password are good.
          But the Connect to project failed.
          There are 2 possible causes:
            1. domain/project names are not right
            2. the login user does not belong to the project.

          If you are sure both 1 and 2 are valid, then:

            1. Enable Webgate logs on the Jenkins node: 

          • The Webgate log tool is from <server url>/qcbin/Apps/

          • Create the folder C:\WebGateLogs and apply these changes:

            2. In ALM site administrator,  set ALM Server / qc log and sa log both to "DEBUG" level:

          The location of the ALM server logs can be found in the ALM site administrator UI when you enable them.

            3. reproduce the issue once and collect the webgate log on the Jenkins node machine and the ALM server qc/sa logs on the ALM server machine.

          Dorin Bogdan added a comment - Hello kovacsa , From ALM team I got the following information:  The problem might be the user is not belonged to the project. The Login passed, that means username and password are good. But the Connect to project failed. There are 2 possible causes:   1. domain/project names are not right   2. the login user does not belong to the project. If you are sure both 1 and 2 are valid, then:   1. Enable Webgate logs on the Jenkins node:  The Webgate log tool is from <server url>/qcbin/Apps/ Create the folder C:\WebGateLogs and apply these changes:   2. In ALM site administrator,  set ALM Server / qc log and sa log both to "DEBUG" level: The location of the ALM server logs can be found in the ALM site administrator UI when you enable them.   3. reproduce the issue once and collect the webgate log on the Jenkins node machine and the ALM server qc/sa logs on the ALM server machine.

            dbogdan7 Dorin Bogdan
            kovacsa Akos
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: