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

Implement tests for lo2s #359

Open
3 tasks
cvonelm opened this issue Jan 23, 2025 · 0 comments
Open
3 tasks

Implement tests for lo2s #359

cvonelm opened this issue Jan 23, 2025 · 0 comments

Comments

@cvonelm
Copy link
Member

cvonelm commented Jan 23, 2025

Due to the nature of perf and all the other interfaces we are using, lo2s is a rather hard software to test in in isolated set-up.

However, in the past I have run pretty often into breakages that could have been discovered by simple tests.

lo2s should atleast have a make test command that allows someone to verify locally if we had any major breakages.

Beyond that, I feel that even in a locked down VM such as GitHub provides, simple smell tests such as lo2s -- sleep 10 should be able to run.

Further steps:

  • implement a basic set of tests, parameterized by perf_event_paranoid level, debugfs availability, ..., in CTest in lo2s
  • investigate the possiblity of custom GitHub runners that allows us to run tests in an environment that we can control effectively (maybe using elab systems? This might be useful for other energy group tools too)
  • OR, investigate how much perf is possible in a GitHub VM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant