Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-29583

Cancelled task is marked as cancelled on Satellite but it's not actually killed on the host

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 6.16.0, 6.17.0
    • Tasks Plugin
    • False
    • Hide

      None

      Show
      None
    • False
    • 0
    • Endeavour
    • Moderate
    • None

      Description of problem:

      When I cancel a task, I would expect Satellite to kill it. Actually, it is left to run and when it finishes, it is marked as cancelled (or when I click cancel again, it is marked as cancelled immediately but it is still left to run)

      How reproducible:

      Deterministic

      Is this issue a regression from an earlier version:

      Reproduced on 6.17 stream and 6.16.0

      Steps to Reproduce:

      1. Run a task:

       

      echo 1 - $(date) >> $HOME/test && sleep 180 && echo 2 - $(date) >> $HOME/test 

       

       

      2. Cancel the task

      Actual behavior:

      After the task finishes, it is marked as cancelled

       

      # cat $HOME/test
      1 - Wed Nov 20 11:22:01 AM EST 2024
      2 - Wed Nov 20 11:25:01 AM EST 2024 

       

      Expected behavior:

      The script should be killed

       

      # cat $HOME/test
      1 - Wed Nov 20 11:22:01 AM EST 2024 

              Unassigned Unassigned
              lhellebr@redhat.com Lukas Hellebrandt
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: