Bug 1691485 - Restraint does not provide test version in result.xml
Summary: Restraint does not provide test version in result.xml
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Restraint
Classification: Retired
Component: general
Version: 0.1.39
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: 0.1.45
Assignee: Carol Bouchard
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1762731
TreeView+ depends on / blocked
 
Reported: 2019-03-21 17:47 UTC by Miroslav Vadkerti
Modified: 2020-02-05 16:29 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1762731 (view as bug list)
Environment:
Last Closed: 2020-02-05 16:29:14 UTC
Embargoed:


Attachments (Terms of Use)
TriageandTestingRev2 (1.04 KB, text/plain)
2019-10-15 12:50 UTC, Carol Bouchard
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Beaker Project Gerrit 6662 0 None MERGED Rstrnt Client not provide task vers in job.xml 2020-07-24 12:36:51 UTC

Description Miroslav Vadkerti 2019-03-21 17:47:37 UTC
Description of problem:
Restraint does not provide the test version in job.xml. This is an inconvenience, as without this information it is not clear which test version was run.

Beaker provides this information.

Version-Release number of selected component (if applicable):
restraint-1.39

How reproducible:
100%

Steps to Reproduce:
1. run an rpm test via restraint

Actual results:
No test version in job.xml

Expected results:
Test version in job.xml

Additional info:
Example of restraint result.xml where version is missing: https://baseos-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/ci-openstack/24462/artifact/artifact-installation-baseosci-ci-openstack-24462-1/job.xml

Example of a result xml where version is provided (from beah): https://beaker.engineering.redhat.com/recipes/6638775.xml

Comment 1 Martin Styk 2019-10-03 07:20:37 UTC
Hello Carol,

Let me clarify the issue first.

Beah doesn't support this either, so you don't have to worry about it.
NVR is provided by Beaker. Our tasks library has all the required information to supply it into the JOB.

However, in this case, we are looking for a solution where we are using only restraint-client <---> restraintd.
The requestor would like to have NVR of the installed task(s) in the output(result) file.

This change shouldn't affect restraint behavior w/ Beaker at all.

Comment 3 Carol Bouchard 2019-10-15 12:50:27 UTC
Created attachment 1625977 [details]
TriageandTestingRev2

Updated Triage and testing document

Comment 6 Martin Styk 2020-02-05 16:29:26 UTC
Restraint 0.1.45 has been released.


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