Description of problem: Using rlJournalStart in beaker test calls /usr/bin/beakerlib-journalling. That fails not being able to find rpm. Version-Release number of selected component (if applicable): # rpm -qf /usr/share/beakerlib/beakerlib.sh /usr/bin/beakerlib-journalling beakerlib-1.10-3.fc23.noarch beakerlib-1.10-3.fc23.noarch How reproducible: Deterministic. Steps to Reproduce: 1. On Fedora 23 in bash run . /usr/share/beakerlib/beakerlib.sh ; rlJournalStart Actual results: # . /usr/share/beakerlib/beakerlib.sh ; rlJournalStart Traceback (most recent call last): File "/usr/bin/beakerlib-journalling", line 31, in <module> import rpm ImportError: No module named rpm rlJournalStart: Failed to initialize the journal. Bailing out... logout Expected results: No error about import rpm. Additional info:
Looks like rpm-python package is no longer available in the minimal install. We should probably add this requirement explicitly to beakerlib. As an workaround try explicitly install rpm-python prior to execution of beakerlib test, there s a possibility that if F23 it is different. Please confirm this workaround.
(In reply to Dalibor Pospíšil from comment #1) > > As an workaround try explicitly install rpm-python prior to execution of > beakerlib test, there s a possibility that if F23 it is different. Please > confirm this workaround. I confirm that adding <task name="/distribution/command" role="STANDALONE"> <params> <param name="CMDS_TO_RUN" value="dnf install -y rpm-python"/> </params> </task> to the job helped.
Thanks for confirmation. I will add the requirement in next release.
*** Bug 1268985 has been marked as a duplicate of this bug. ***
fixed by http://pkgs.fedoraproject.org/cgit/beakerlib.git/commit/?id=f5c421aa8f33aad6c2f3559c651d1d26e4a0607e
beakerlib-1.11-1.el6 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-f36ff57e84
beakerlib-1.11-1.fc21 has been pushed to the Fedora 21 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'dnf --enablerepo=updates-testing update beakerlib' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-4c96e73472
beakerlib-1.11-1.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'dnf --enablerepo=updates-testing update beakerlib' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-ba802d1bd6
beakerlib-1.11-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'dnf --enablerepo=updates-testing update beakerlib' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-7ab9feeb42
beakerlib-1.11-1.el5 has been pushed to the Fedora EPEL 5 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'yum --enablerepo=epel-testing update beakerlib' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-0e03df1475
beakerlib-1.11-1.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'yum --enablerepo=epel-testing update beakerlib' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-8f65d5290a
beakerlib-1.11-1.el6 has been pushed to the Fedora EPEL 6 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'yum --enablerepo=epel-testing update beakerlib' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-f36ff57e84
beakerlib-1.11-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.
beakerlib-1.11-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
I confirm the workaround from comment 2 is no longer needed and Fedora 23 jobs pass.
beakerlib-1.11-1.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report.
beakerlib-1.11-1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.
beakerlib-1.11-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.
beakerlib-1.11-1.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.