Bug 1092758

Summary: cannot upload task with Architectures: aarch64
Product: [Retired] Beaker Reporter: Dan Callaghan <dcallagh>
Component: generalAssignee: Dan Callaghan <dcallagh>
Status: CLOSED CURRENTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: medium Docs Contact:
Priority: high    
Version: 0.16CC: aigao, asaha, blc, dcallagh, ddutile, emcnabb, jbastian, jfeeney, llim, qwan, rmancy, xjia, xma
Target Milestone: 0.17Keywords: Regression
Target Release: ---   
Hardware: aarch64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1060900 Environment:
Last Closed: 2014-06-10 23:28:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dan Callaghan 2014-04-29 22:59:33 UTC
This is bug 1060900 which was originally fixed in rhts-4.59 but regressed in Beaker 0.16 since Beaker is now shipping its own copy of testinfo.py which is missing the fix.

+++ This bug was initially created as a clone of Bug #1060900 +++

Description of problem:
Please add aarch64 to the list of valid architectures for Beaker tasks.  I believe this needs to go into the testinfo.py file from the rhts-python rpm:
  /usr/lib/python*/site-packages/rhts/testinfo.py

        self.valid_architectures = [
            'ia64', 
            'x86_64', 
            'ppc', 
            'ppc64', 
            's390', 
            's390x', 
            'aarch64',                   <---- add aarch64
            'i386'
            ]

Without this, task-add fails:

Exception: <Fault 1: <class 'rhts.testinfo.ParserError'>:"aarch64" is not a valid value for Architecture; valid values are "ia64" "x86_64" "ppc" "ppc64" "s390" "s390x" "i386">

Comment 1 Dan Callaghan 2014-04-29 23:23:44 UTC
The one plus side of having this module in Beaker itself is that now we can add a regression test for it...

http://gerrit.beaker-project.org/3047

Comment 5 Dan Callaghan 2014-06-02 04:39:57 UTC
This bug fix has been applied to the release-0.16 branch, however we have elected not to do another maintenance release of the 0.16.x series. This fix will be included in 0.17.0 instead.

Comment 6 Dan Callaghan 2014-06-10 23:28:07 UTC
Beaker 0.17.0 has been released.