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

🌱 Conformance tests #958

Open
10 tasks
Tracked by #1914 ...
mudler opened this issue Feb 24, 2023 · 0 comments
Open
10 tasks
Tracked by #1914 ...

🌱 Conformance tests #958

mudler opened this issue Feb 24, 2023 · 0 comments
Labels

Comments

@mudler
Copy link
Member

mudler commented Feb 24, 2023

Is your feature request related to a problem? Please describe.
BYOI allows to convert other images to Kairos, however, there is no way to assess if it's conformant or not without testing it out manually

Describe the solution you'd like
The agent, or another command to have a suite of conformance tests to spot early-on issues. We could rely the current work on the runtime state to do some generic assertions:

  • static analysis
    • Expected paths
    • Kernel/Initrd symlinks sanity check up
    • GRUB configuration analysis
    • Presence of providers, sanity checks
    • Folder permissions
    • Runtime dependencies (packages required to be installed in the base image)
  • runtime analysis
    • Assert if runtime state directory are accessible
    • Assert if services were loaded correctly
    • Providers check assessment
    • Assert if layout of fs is compliant (ephemeral, persistent data, etc)

Describe alternatives you've considered
N/A

Additional context
#116

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

1 participant