App-gen-tool fails to create plugins wheels

Bug #2046559 reported by Daniel Marques Caires
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Medium
Daniel Marques Caires

Bug Description

Brief Description
-----------------
While using the app genetor found on https://opendev.org/starlingx/app-gen-tool, due to incorrectly creating the setup.py and setup.cfg files, the app-gen-tool does not create the plugins wheels even though it shows that the packaging was successful.

Severity
--------
Critical: System/Feature is not usable due to the defect

Steps to Reproduce
------------------
Run the app-gen-tool passing an input file

Expected Behavior
------------------
The packaged application is generated with all necessary files

Actual Behavior
----------------
The packaged application is missing the plugins wheels

Reproducibility
---------------
Reproducible

Workaround
----------
The generator can be run passing the flag --no-package, then fix the setup.py and setup.cfg files and finally run the generator passing the --package-only flag.

Changed in starlingx:
assignee: nobody → Daniel Marques Caires (daniel-caires)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to app-gen-tool (master)
Changed in starlingx:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to app-gen-tool (master)

Reviewed: https://review.opendev.org/c/starlingx/app-gen-tool/+/903998
Committed: https://opendev.org/starlingx/app-gen-tool/commit/d5b9f694481204c97eb726921734878ed99f9ef1
Submitter: "Zuul (22348)"
Branch: master

commit d5b9f694481204c97eb726921734878ed99f9ef1
Author: Daniel Caires <email address hidden>
Date: Tue Dec 19 13:12:28 2023 -0300

    Fix plugin packaging

    Fix the creation of the setup.py file.
    Fix the creation of the setup.cfg file
    Add a check to see if the .whl file was created

    Test Plan:
    PASS - setup.py successfully created
    PASS - setup.cfg successfuly created
    PASS - Code check for the existence of the wheels file

    Closes-Bug: 2046559

    Change-Id: I8c823302e57a797041efb69f303c251d333c5eee
    Signed-off-by: Daniel Caires <email address hidden>

Changed in starlingx:
status: In Progress → Fix Released
Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → Medium
tags: added: stx.9.0 stx.apps
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.