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

ensure that pkgcheck GHA works as intended #94

Open
trz42 opened this issue Jun 9, 2023 · 0 comments
Open

ensure that pkgcheck GHA works as intended #94

trz42 opened this issue Jun 9, 2023 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@trz42
Copy link
Contributor

trz42 commented Jun 9, 2023

While updating the overlay for EESSI/2023.06 we ran into several issues raised by the pkgcheck GHA:

  • ebuilds for archspec v0.1.1 and v0.1.2 did not specify any available Python version, while it might have been possible to update them, we decided to remove them entirely (these are quite outdated and not used anymore)
  • other ebuilds for archspec and reframe were updated similarly (adding more recent Python versions) and also removing conflicting variable settings DISTUTILS_USE_SETUPTOOLS=pyproject.toml
  • plus the test failed with a message
    FAILURE RESULTS
    /opt/hostedtoolcache/Python/3.11.3/x64/bin/pkgcheck replay --color y /home/runner/failures.json
    profiles
      UnknownCategoryDirs: unknown category dir: etc
    ::error::pkgcheck failed with exit code 1
    
    • somehow pkgcheck seems to pickup/scan the directory etc and the test fails because etc is not a known category such as sys-apps or dev-util
    • we opted to let pkgcheck only analyse the currently present categories dev-util, sys-apps, sys-cluster and sys-fabric by adding arguments with the following two lines
            with:
              args: 'dev-util sys-apps sys-cluster sys-fabric'
      

While this may be ok as a work around, we should try to find a better way to run pkgcheck, e.g., by determining the list of categories to be checked automatically.

@trz42 trz42 added enhancement New feature or request help wanted Extra attention is needed labels Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant