Bug 641249 - [RFE] Add testversion and test build date to test protocol
Summary: [RFE] Add testversion and test build date to test protocol
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: beakerlib
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Petr Muller
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: Release
Depends On: bl-journal-overhaul
Blocks: Fedora-beakerlib-1.9-3 1116317
TreeView+ depends on / blocked
 
Reported: 2010-10-08 07:24 UTC by Pavel Holica
Modified: 2016-09-20 02:07 UTC (History)
3 users (show)

Fixed In Version: beakerlib-1.9-3.fc20
Clone Of:
: 1103431 (view as bug list)
Environment:
Last Closed: 2014-07-30 06:58:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
version-builddate.patch (2.34 KB, patch)
2010-10-08 07:24 UTC, Pavel Holica
no flags Details | Diff

Description Pavel Holica 2010-10-08 07:24:00 UTC
Created attachment 452280 [details]
version-builddate.patch

Description of problem:
When running test that has been changed recently, one is not sure which version of test was used.

Version-Release number of selected component (if applicable):
git 20100727

How reproducible:
always

Steps to Reproduce:
1. run test using beakerlib
  
Actual results:
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [   LOG    ] :: TEST PROTOCOL
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [   LOG    ] :: Test run ID   : 495701
:: [   LOG    ] :: Package       : unknown
:: [   LOG    ] :: Test started  : 2010-10-05 13:47:29
:: [   LOG    ] :: Test finished : 2010-10-05 14:05:56
:: [   LOG    ] :: Test name     : my_foo_test
:: [   LOG    ] :: Distro:       : Some distro
:: [   LOG    ] :: Hostname      : example.org
:: [   LOG    ] :: Architecture  : x86_64


Expected results:
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [   LOG    ] :: TEST PROTOCOL
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [   LOG    ] :: Test run ID   : 495701
:: [   LOG    ] :: Package       : unknown
:: [   LOG    ] :: Test version  : my_foo_test-1.2-3
:: [   LOG    ] :: Test built    : 2010-08-12 15:48:36
:: [   LOG    ] :: Test started  : 2010-10-05 13:47:29
:: [   LOG    ] :: Test finished : 2010-10-05 14:05:56
:: [   LOG    ] :: Test name     : my_foo_test
:: [   LOG    ] :: Distro:       : Some distro
:: [   LOG    ] :: Hostname      : example.org
:: [   LOG    ] :: Architecture  : x86_64

Additional info:
attaching patch fixing this

Comment 1 Petr Muller 2010-10-20 16:23:15 UTC
Not sure about this, the test is not always delivered via rpm and so the version is not available. But we can omit printing it in that case. It can definitely be included in the journal.

Comment 2 Petr Muller 2014-05-31 14:06:16 UTC
https://git.fedorahosted.org/cgit/beakerlib.git/commit/?id=d5787809a6d1b43efac1479b0465522e55a094c7

It will need testing, though: I'm not sure if Beaker sets these environmental variables.

Comment 3 Fedora Update System 2014-06-17 13:42:55 UTC
beakerlib-1.9-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/beakerlib-1.9-1.fc20

Comment 4 Fedora Update System 2014-06-17 23:30:21 UTC
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).

Comment 5 Fedora Update System 2014-07-02 08:02:36 UTC
beakerlib-1.9-2.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/beakerlib-1.9-2.fc20

Comment 6 Dalibor Pospíšil 2014-07-04 08:50:57 UTC
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

Comment 7 Fedora Update System 2014-07-17 13:16:24 UTC
beakerlib-1.9-3.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/beakerlib-1.9-3.fc20

Comment 8 Fedora Update System 2014-07-30 06:58:03 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.