#2 funciton run on kernel-base library always start journal
Closed Opened by bgoncalv.

On beakerlib version 1.17 beakerlib uses __INTERNAL_BEAKERLIB_JOURNAL and not BEAKERLIB_JOURNAL, this cause a problem that a journal is started every time run is called. Also this journal is is never closed.
Do we really need to start the journal within run?

run() {
    [ -z "$BEAKERLIB_JOURNAL" -o -z "$BEAKERLIB_DIR" ] && {
        rlJournalStart
        rlPhaseStartTest "$TEST"
    }

https://pagure.io/beakerlib-libraries/blob/master/f/kernel/base/lib.sh


This is related to the discussion on https://github.com/beakerlib/beakerlib/issues/20#issuecomment-351690396

what do you think @jheger ?

Confirmed, this issue is causing:
https://pagure.io/standard-test-roles/issue/87

Problematic code removed in cb598fe
Please try the new build [1] and report if the issue was solved.

[1] https://copr.fedorainfracloud.org/coprs/mvadkert/beakerlib-libraries/build/695309/

It looks good now, thanks!

Metadata Update from @bgoncalv:
- Issue status updated to: Closed (was: Open)

Log in to comment on this ticket.

Metadata