Bug 696240 - report is filing Fedora 15 installer bugs against rawhide (not Fedora 15)
Summary: report is filing Fedora 15 installer bugs against rawhide (not Fedora 15)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: report
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Gavin Romig-Koch
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: AcceptedNTH
Depends On:
Blocks: F15-accepted, F15FinalFreezeExcept
TreeView+ depends on / blocked
 
Reported: 2011-04-13 16:37 UTC by James Laska
Modified: 2013-09-02 06:55 UTC (History)
6 users (show)

Fixed In Version: report-0.20-2.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-04-28 19:26:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description James Laska 2011-04-13 16:37:38 UTC
Description of problem:

See example bug filed by anaconda - bug#696237

Version-Release number of selected component (if applicable):
 * report-0.20-1.fc15

How reproducible:


Steps to Reproduce:
1. https://fedoraproject.org/wiki/QA:Testcase_Anaconda_save_traceback_to_bugzilla

  
Actual results:

Fedora 15 installer bugs are filed against version='rawhide'

Expected results:

Fedora 15 installer bugs should be filed against version='15'

Additional info:

Comment 1 Adam Williamson 2011-04-15 19:58:32 UTC
Discussed at 2011-04-15 blocker review meeting. We agreed this partly hits Alpha criterion "# The installer must be able to report failures to Bugzilla, with appropriate information included ", but the practical impact is not terrible: bugs would still be reported, and fixes are going to wind up in F16 whether the report is against 15 or 16. Accepted as NTH, though, it should be a trivial fix and we should fix it if possible.



-- 
Fedora Bugzappers volunteer triage team
https://fedoraproject.org/wiki/BugZappers

Comment 2 Gavin Romig-Koch 2011-04-19 21:59:33 UTC
So there are two problems here.  

The first is that the python module that used to be named 'product' is now 'pyanaconda/product'.   I have fixed that.

The second problem is that, for F15 Alpha, the version stored in pyanaconda.product.productVersion is '15-Alpha'. and the code in the Bugzilla Filer module is expecting that version to exactly match one of the versions in bugzilla.redhat.com (for Product Fedora).  

Obviously I can strip off the dash and everything after it, but what's really needed here is some kind specification of values can appear in pyanaconda.product.productVersion and pyanaconda.product.productName and how they get mapped to bugzilla products and versions.  James, is that possible?

Comment 3 James Laska 2011-04-20 11:32:26 UTC
(In reply to comment #2)
> Obviously I can strip off the dash and everything after it, but what's really
> needed here is some kind specification of values can appear in
> pyanaconda.product.productVersion and pyanaconda.product.productName and how
> they get mapped to bugzilla products and versions.  James, is that possible?

I don't think that's unexpected, but someone from anaconda-devel@ would know for sure (clumens cc'd).  Assuming the value for pyanaconda.product.productName is also the same value used in .treeinfo for the 'version' attribute, the version will only be a digit at the final release.  It appears to be suffixed with -Alpha or -Beta depending on the interim milestone.

 * F-12/Alpha/Fedora/x86_64/os/.treeinfo:version = 12-Alpha
 * F-12/Beta/Fedora/x86_64/os/.treeinfo:version = 12-Beta
 * F-12/GOLD/Fedora/x86_64/os/.treeinfo:version = 12

 * F-13/Alpha/Fedora/x86_64/os/.treeinfo:version = 13-Alpha
 * F-13/Beta/Fedora/x86_64/os/.treeinfo:version = 13-Beta
 * F-13/GOLD/Fedora/x86_64/os/.treeinfo:version = 13

 * F-14/Alpha/Fedora/x86_64/os/.treeinfo:version = 14-Alpha
 * F-14/Beta/Fedora/x86_64/os/.treeinfo:version = 14-Beta
 * F-14/GOLD/Fedora/x86_64/os/.treeinfo:version = 14

 * F-15/Alpha/Fedora/x86_64/os/.treeinfo:version = 15-Alpha
 * F-15/Beta/Fedora/x86_64/os/.treeinfo:version = 15-Beta

As for a formal specification of acceptable values, perhaps clumens or rel-eng can provide that information.

Comment 4 Chris Lumens 2011-04-20 13:28:15 UTC
There's not really any formal specification of what those values can be.  It's been my intention that they stay numbers we can use for things like bug filing and upgrade allowance checking, but obviously we don't do any enforcing.  anaconda just takes the value from .treeinfo, which gets it from lorax, which gets it passed straight from the pungi command line.

Given the history shown above, I'd say the most reasonable thing to do here is just assume we'll continue to have "-Alpha" and "-Beta" and trim off appropriately.  I should probably do the same to anaconda's upgrade checking code.

Comment 5 Gavin Romig-Koch 2011-04-20 13:35:21 UTC
OK, that's what I'll do.

Comment 6 Adam Williamson 2011-04-20 16:27:20 UTC
I guess it would probably be a good idea to add a comment in the anaconda code to the effect that the string used there is significant for external consumers and that it would be a good idea to stick to the same format in future, and if it has to be changed, notify (list of consumers) about the change?

Comment 7 Fedora Update System 2011-04-20 18:00:57 UTC
report-0.20-2.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/report-0.20-2.fc15

Comment 8 Fedora Update System 2011-04-21 03:02:11 UTC
Package report-0.20-2.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing report-0.20-2.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/report-0.20-2.fc15
then log in and leave karma (feedback).

Comment 9 James Laska 2011-04-26 11:38:17 UTC
Tested using a private boot.iso, and confirmed this resolves the reported bug.

Comment 10 Tim Flink 2011-04-27 18:18:15 UTC
Also tested using the same custom boot.iso as jlaska. The test created bug 700196 which is correctly assigned against F15. That bug has been closed.

Comment 11 Fedora Update System 2011-04-28 19:25:58 UTC
report-0.20-2.fc15 has been pushed to the Fedora 15 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.