Description of problem: I tried following job with wait4guesttasks script: https://beaker.engineering.redhat.com/jobs/1727979 I ran the script on baremetal: https://beaker.engineering.redhat.com/recipes/3545012#task51893232 The timestamp shows: 19:25:18 The run-command log states that the task has completed but virtual guest's task has start timestamp one minute later: 19:26:49 The guest's task: https://beaker.engineering.redhat.com/recipes/3545013#tasks Obviously the script finished sooner than the guest's task even started. I tried to rerun this script manually and noticed that it checks the host's recipe instead of guest's one. I have the same task in host and guest and therefore the host's task completion made the script exit. Version-Release number of selected component (if applicable): Beaker 24.0 Task version: beaker-core-tasks-distribution-virt-image-install-1.0-6.noarch How reproducible: 100% Steps to Reproduce: 1. rerun the job in description 2. 3. Actual results: script checks both guest's and host's tasks for completion Expected results: script checks guest's task completion only Additional info:
Sent a patch for review: https://gerrit.beaker-project.org/#/c/5646/
/distribution/virt/install 4.0-93 and /distribution/virt/image-install 1.0-7 have been released.