Skip to content

Conversation

@kdvalin
Copy link
Member

@kdvalin kdvalin commented Sep 10, 2025

Description

Convert ad-hoc package management to be managed by wrapper.yaml, which is passed to test_tool-wrapper's package_tool. This will keep packages that the wrapper needs version controlled with the wrapper.

Before/After Comparison

Before

Dependencies were split between wrappers and Zathras's test definitions.

After

Dependencies are solely listed in the wrapper.json file, and this is passed to package_tool to manage the installation.

Clerical Stuff

Issue #64
Relates to JIRA: RPOPC-660

Convert ad-hoc package management to be managed by wrapper.yaml, which
is passed to test_tool-wrapper's package_tool.  This will keep packages
that the wrapper needs version controlled with the wrapper.

Co-developed-by: Cursor
@kdvalin kdvalin requested review from a team and malucius-rh September 10, 2025 18:22
wrapper.json Outdated
"make",
"sed",
"gawk",
"gcc",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not seeing gcc in the existing config file, but git's missing. Making sure this isn't a typo, although without git we won't be checking this list in the first place.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually in the disconnected case (e.g. partner labs that have working repos but no connection to the Internet), if the wrapper is copied manually then we'll get all this way without git. I believe we do have some wrappers that git clone or wget that we'll have to fix for the disconnected case - so far I've been just editing them manually, but I should be filing issues so they can get fixed. Bad engineer, bad bad!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gcc is required, just not documented..

This list should be very verbose about what packages are required (IE bc, sed, and gawk).

We'll need to figure out how to deal with disconnected environments later, since Zathras assumes it can download the wrapper tarballs on the system under test.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

re: disconnected - my point in this case isn't to expect full support, rather to point out that we can't assume we must have git installed because the wrapper is running. The rest of the disconnected stuff is, yes, NOTTHISBUG.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair enough. I was just thinking "if we're running package_tool, then we must have gotten test-tools-wrapper already, either by git or some other means rendering git moot."

wrapper.json Outdated
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we call it something like "coremark-wrapper.json"? It's a nit, but it might cause confusion or inadvertent overwriting if someone's copying it or sending it to someone.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can call it whatever we want, @dvalinrh any thoughts on this?

My general thought process on that is to have a common name (wrapper.json) that we can point people to if they want to use the wrappers, but not a big deal if we want to go for a different convention.

@kdvalin kdvalin requested a review from a team October 24, 2025 19:43
@github-actions
Copy link

This relates to RPOPC-660

Copy link
Collaborator

@grdumas grdumas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@grdumas grdumas added the group_review_lgtm Indicates approval after a group review meeting label Oct 28, 2025
@kdvalin kdvalin merged commit c4d5b7d into main Nov 3, 2025
3 of 4 checks passed
@kdvalin kdvalin deleted the dep-update branch November 3, 2025 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

group_review_lgtm Indicates approval after a group review meeting

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants