Description of problem: Currently BeakerLib function rlJournalPrintText supports printing a single package version in the text log. The output looks like this: :: [ LOG ] :: Package : wget :: [ LOG ] :: Installed: : wget-1.12-1.4.el6.x86_64 Sometimes there are several packages under test. It would be nice to see their exact versions directly in the text journal output. For now the package to be reported is expected in the PACKAGE environment variable. I suggest to slightly modify the functionality to support additional environment variable PACKAGES (containing space separated list of rpm names) and report version of each of them. The output could look like this: :: [ LOG ] :: Packages : wget httpd :: [ LOG ] :: Installed: : wget-1.12-1.4.el6.x86_64 :: [ LOG ] :: Installed: : httpd-2.2.15-15.el6_2.1.x86_64
I've used the infrastructure for rlRpmAssert --all and now the journal reports versions of everything either in PACKAGE (one) or PACKAGES (space separated list) [afri@ghost beakerlib]$ PACKAGES="kernel gcc" PACKAGE=bash rlJournalStart [afri@ghost beakerlib]$ rlJournalPrintText :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: TEST PROTOCOL :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: Package : bash :: [ LOG ] :: Installed: : bash-4.2.42-3.fc18.x86_64 :: [ LOG ] :: Installed: : kernel-3.8.1-201.fc18.x86_64 :: [ LOG ] :: Installed: : kernel-3.7.9-205.fc18.x86_64 :: [ LOG ] :: Installed: : kernel-3.7.9-201.fc18.x86_64 :: [ LOG ] :: Installed: : gcc-4.7.2-8.fc18.x86_64 (...) http://git.fedorahosted.org/cgit/beakerlib.git/commit/?id=2f649cf268488deecc17369e4daab6985ccaa736
Great, thanks!
beakerlib-1.7-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/beakerlib-1.7-1.fc19
Package beakerlib-1.7-1.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing beakerlib-1.7-1.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-7067/beakerlib-1.7-1.fc19 then log in and leave karma (feedback).
beakerlib-1.7-1.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.