Bug 1425793 - wait4guesttasks checks all tasks within host's recipe instead of guest recipe only
Summary: wait4guesttasks checks all tasks within host's recipe instead of guest recipe...
Alias: None
Product: Beaker
Classification: Community
Component: tests
Version: 24
Hardware: Unspecified
OS: Unspecified
medium vote
Target Milestone: 24.2
Assignee: Dan Callaghan
QA Contact: Dan Callaghan
Keywords: Patch
Depends On:
TreeView+ depends on / blocked
Reported: 2017-02-22 12:56 UTC by Jan Tluka
Modified: 2017-03-02 15:00 UTC (History)
3 users (show)

Clone Of:
Last Closed: 2017-03-02 15:00:44 UTC

Attachments (Terms of Use)

Description Jan Tluka 2017-02-22 12:56:09 UTC
Description of problem:

I tried following job with wait4guesttasks script:

I ran the script on baremetal:

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:

Steps to Reproduce:
1. rerun the job in description

Actual results:
script checks both guest's and host's tasks for completion

Expected results:
script checks guest's task completion only

Additional info:

Comment 1 Jan Tluka 2017-02-22 13:19:10 UTC
Sent a patch for review: https://gerrit.beaker-project.org/#/c/5646/

Comment 5 Dan Callaghan 2017-03-02 15:00:44 UTC
/distribution/virt/install 4.0-93 and /distribution/virt/image-install 1.0-7 have been released.

Note You need to log in before you can comment on or make changes to this bug.