Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add CI test to verify that installed packages (and versions) are the same for x86_64/aarch64/ppc64le #131

Open
boegel opened this issue Nov 20, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@boegel
Copy link
Contributor

boegel commented Nov 20, 2021

The recent Prefix bootstrap script added a "stable-only packages" mode (see https://gitweb.gentoo.org/repo/proj/prefix.git/commit/scripts/bootstrap-prefix.sh?id=92e83b4212ec23c1ea9d6013343462b85011a6bd), but only for amd64 (x86_64).

This could easily lead to different package versions being installed for x86_64 vs aarch64 and ppc64le.

That's already the case though, depending on when the compat layer is built.

So, we should check in CI that the same set of packages (and package versions) is installed in each of the compat/linux subdirectories.

@boegel boegel added the enhancement New feature or request label Nov 20, 2021
boegel added a commit to boegel/compatibility-layer that referenced this issue Nov 21, 2021
boegel added a commit to boegel/compatibility-layer that referenced this issue Nov 21, 2021
@bedroge
Copy link
Collaborator

bedroge commented Dec 1, 2021

This CI can generate a list of the installed packages by running something like the following on all supported architectures (using qemu):

cd /cvmfs/pilot.eessi-hpc.org/2021.12/compat/linux/$(uname -m)/var/db/pkg && ls -d */* | sort

or

qlist -ICv

Then it can do a diff of the outputs, and use our yaml set definition (https://github.com/EESSI/gentoo-overlay/blob/main/scripts/eessi_sets.yml) to ignore certain architecture-specific packages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants