Description of problem: As part of beakerlib lives function called rlGetArch. The problem is the result you'll get from it does not always match the actual architecture we support. There is concept of primary and secondary architecture on RHEL. For example on ppc64 machine with rhel5 the primary architecture is ppc and secondary ppc64, on rhel6 and rhel7 with the same machine it's the other way around. Similar problems are with x86_64. On rhel5 the secondary architecture is i386, but on rhel6 it's i686. There's no simple command to query this piece of information within the test. Would it be possible to implement rlGetPrimaryArch for us to be able to get string describing primary architecture and similar thing for secondary arch? It would somewhat simplify writing of our tests.
Agreed. Also possibly a nice item for some new hire's 90day/intern goals :-)
I think such RHEL-related stuff would make a great BeakerLib library. I would even consider dumping the rlGetDistroRelease there.
Created attachment 741441 [details] Patch to beakerlib/logging.sh
I have made few modifications and pushed the patch. Thanks! https://git.fedorahosted.org/cgit/beakerlib.git/commit/?id=52da77f9a3b72ba169b2ed0a121c6671c03fd5cd
beakerlib-1.9-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/beakerlib-1.9-1.fc20
Package beakerlib-1.9-1.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing beakerlib-1.9-1.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-7442/beakerlib-1.9-1.fc20 then log in and leave karma (feedback).
beakerlib-1.9-2.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/beakerlib-1.9-2.fc20
Please consider the package fixing this bug available in Fedora stable repos once bz1116308 is closed and RHEL stable repos once bz1116317 is closed. Fixed in: beakerlib-1.9-2.fc19 beakerlib-1.9-2.fc20 beakerlib-1.9-2.fc21 beakerlib-1.9-3.el5 beakerlib-1.9-2.el6 beakerlib-1.9-2.el7
beakerlib-1.9-3.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/beakerlib-1.9-3.fc20
beakerlib-1.9-3.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.