Uploaded image for project: 'Pentaho Data Integration - Kettle'
  1. Pentaho Data Integration - Kettle
  2. PDI-19349

"Ping a host": Execution succeeds when the host name in the stopped state is specified in "Host name/IP" and the job is executed locally.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Severity: Urgent
    • Resolution: Fixed
    • Affects Version/s: 8.3.0.8 GA, 9.2.0 GA
    • Fix Version/s: None
    • Component/s: Step
    • Labels:
      None
    • Story Points:
      0
    • Notice:
      When an issue is open, the "Fix Version/s" field conveys a target, not necessarily a commitment. When an issue is closed, the "Fix Version/s" field conveys the version that the issue was fixed in.
    • Sprint Team:
      ROVER
    • Steps to Reproduce:
      Hide

      1. Start Spoon.
      2. Connect to repository.
      Note: The connection to the repository should be carried out according to your environment.
      3. Create a new job.
      4. Add "Start" entry.
      5. Add "Ping a host" entry.
      6. Add "Success" entry.
      7. Add "Abort job" entry.
      8. Connect a hop to "Ping a host" entry from "Start" entry.
      9. Connect a hop to "Success" entry from "Ping a host" entry.
      10. Connect a hop to "Abort job" entry from "Ping a host" entry.
      11. Double-click "Start" entry and set following properties. Then click OK.
      Note: Since "Type" is "No Scheduling", the following setting items cannot be changed, so use the default values.
      12. Double-click "Ping a host" entry and set following properties. Then click OK.


      Name of the job entry: ping_send_001
      Host name/IP: <specify the host name or IP address in the stopped state>
      Ping type: Classic ping
      Timeout (ms): <keep on default>
      Nr. packets to send: 2


      13. Double-click "Success" entry and set following properties. Then click OK.

      Job entry name: "success"

      14. Double-click "Abort job" entry and set following properties. Then click OK.

      Abort job: "Stop"
      Message: <empty>

      15. Save the job.
      16. Open the execution screen, select "Pentaho local" in "Run configuration:", and execute the job.

      Expected Result::
      An execution error should occur as the given Hostname/IP is in stopped state.
      Note:: When we open the command prompt on the Workstation side and executed the ping command(like >>ping hostname/IP), the ping did not pass and it was as expected

      Actual result::
      An execution was successful.

      Note:: Attached sample job for recreating the issue.Need to change hostname/IP in given sample job to verify.

      Show
      1. Start Spoon. 2. Connect to repository. Note: The connection to the repository should be carried out according to your environment. 3. Create a new job. 4. Add "Start" entry. 5. Add "Ping a host" entry. 6. Add "Success" entry. 7. Add "Abort job" entry. 8. Connect a hop to "Ping a host" entry from "Start" entry. 9. Connect a hop to "Success" entry from "Ping a host" entry. 10. Connect a hop to "Abort job" entry from "Ping a host" entry. 11. Double-click "Start" entry and set following properties. Then click OK. Note: Since "Type" is "No Scheduling", the following setting items cannot be changed, so use the default values. 12. Double-click "Ping a host" entry and set following properties. Then click OK. Name of the job entry: ping_send_001 Host name/IP: <specify the host name or IP address in the stopped state> Ping type: Classic ping Timeout (ms): <keep on default> Nr. packets to send: 2 13. Double-click "Success" entry and set following properties. Then click OK. — Job entry name: "success" — 14. Double-click "Abort job" entry and set following properties. Then click OK. — Abort job: "Stop" Message: <empty> — 15. Save the job. 16. Open the execution screen, select "Pentaho local" in "Run configuration:", and execute the job. Expected Result :: An execution error should occur as the given Hostname/IP is in stopped state. Note:: When we open the command prompt on the Workstation side and executed the ping command(like >>ping hostname/IP), the ping did not pass and it was as expected Actual result:: An execution was successful. Note:: Attached sample job for recreating the issue.Need to change hostname/IP in given sample job to verify.

      Description

      Job execution should fail when the given hostname/IP in stopped state for Ping a host Step. 

        PractiTest Integration




          Attachments

          1. stopped state pdi.PNG
            stopped state pdi.PNG
            86 kB
          2. stopped state.PNG
            stopped state.PNG
            14 kB
          3. running state pdi.PNG
            running state pdi.PNG
            57 kB
          4. running state.PNG
            running state.PNG
            24 kB
          5. MicrosoftTeams-image (6).png
            MicrosoftTeams-image (6).png
            138 kB
          6. 102953.kjb
            10 kB

            Activity

              People

              Assignee:
              schakilala Sagar Chakilala
              Reporter:
              vsudigali Venkatesh sudigali
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: