Description of problem: After a distro's post installation scriptlets has finished execution, the test system "checks in" with the Beaker lab controller. However, currently, this check in can happen even though there are more scriptlets to be be executed. For example, in Fedora kickstart template, we have: %post --log=/dev/console {% snippet 'rhts_post' %} {% snippet 'Fedora_post' %} {% snippet 'system_post' %} %end So, if Fedora_post or system_post snippets exist, these will be executed after the check in was done: # Check in with Beaker Server, record our postinstall time. curl http://beaker-server-lc.beaker:8000/postinstall_done/145 # Disable rhts-compat for Fedora15/RHEL7 and newer. cat >> /etc/profile.d/task-overrides-rhts.sh <<END export RHTS_OPTION_COMPATIBLE= export RHTS_OPTION_COMPAT_SERVICE= END touch /root/myfile # no snippet data for system_post %end Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Post install done check in should be done only when all the %post scriptlets have completed execution. Additional info:
Another idea, only somewhat related: maybe we should add a sleep at the end of %post to give anamon a chance to pick up all logs. If the postinstall_done call is in a snippet that is always last, that's a good place for the sleep too.
http://gerrit.beaker-project.org/3483
This is better suited to a major release since it's a quite low priority fix but has the potential for unexpected side-effects due to the kickstart changes.
http://gerrit.beaker-project.org/3493
Beaker 20.0 has been released.