Many times I'm running some test manually in which case it's not possible to send logs away anyway. It would be cool if rlBundleLogs recognize this, store logs somewhere in /tmp instead and notify user about it. Of course you can modify test so that it won't clean after itself, but you have to keep that in mind. I know this sounds like dirty hack, but it's useful hack! :)
H-m-m-m. rlBundleLogs uses rlFileSubmit, which should recognize this situation (not running on Beaker machine as part of automatically scheduled Beaker run) and in that case put the file somewhere in /tmp and report its location. So either you've missed it or this is broken somehow.
Then I guess it's broken. # . /usr/share/beakerlib/beakerlib.sh # rlFileSubmit /etc/passwd :: [08:12:54] :: [ INFO ] :: Sending /etc/passwd as etc-passwd Argh Blargh!: 2 result_server not set, assuming developer mode. Log File : /tmp/tmp.SuOeLLVvsE/etc-passwd # cat /tmp/tmp.SuOeLLVvsE/etc-passwd cat: /tmp/tmp.SuOeLLVvsE/etc-passwd: No such file or directory # ls /tmp/tmp.SuOeLLVvsE ls: cannot access /tmp/tmp.SuOeLLVvsE: No such file or directory
Interesting. It seems that rhts-report-result (or whatever part of beaker emits the 'developer mode' - that is not from beakerlib) tries to do the same thing to and is broken. I wonder if the mechanism in BeakerLib determining if the test is running locally was broken somehow... I'll look into it.
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle. Changing version to '19'. (As we did not run this process for some time, it could affect also pre-Fedora 19 development cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.) More information and reason for this action is here: https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19
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.