-
Notifications
You must be signed in to change notification settings - Fork 14
Local test execution setup #63
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
base: main
Are you sure you want to change the base?
Local test execution setup #63
Conversation
License Check Results🚀 The license check job ran with the Bazel command: bazel run //:license-checkStatus: Click to expand output |
b8443f6 to
905218a
Compare
|
The created documentation from the pull request is available at: docu-html |
905218a to
cd6a17e
Compare
cd6a17e to
296fe44
Compare
296fe44 to
e22ba60
Compare
e22ba60 to
996a09b
Compare
pawelrutkaq
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This shall be synced with @PiotrKorkus hwoto approach tests. There are score tools for it. We shall make it consistent.
I had a brief chat on slack with Piotr and as far as I understood there are 2 options in Score. I believe, since the launch manager has some qnx-specific functionality (like e.g. security policies), that testing on QNX is a must -have. But always running tests in QEMU is also a pain, which slows down development. This is only the first step to get some basic smoke tests running. Maybe we can agree on a first solution just to get some integration tests working soon. I feel like there is no consistent solution in SCore at this point. |
itf can run docker, I am bit wordied that not we doing simply third thing becasue its faster to do some few python code. I will talk to Piotr, but we shall still not merge it to main before release as first we need other fixes - i dont see this to hurry |
So we are also working on a ITF integration and that is where the real testing is done (Draft PR #75). Right now we are using QEMU targets but I had a brief talk with an ITF person, and the goal seems to be for different targets to be transparent to the test, meaning that using docker vs QEMU can be changed with just a argument. This PR allows for native testing which is just a improvement for developers. I don't think there is anything extra needed to allow for this. There is a wrapper here for the testing framework which is a good idea anyways to have a more consistent interface. The PR will just add an implementation for the interface for native support and the previously mentioned branch would add an implementation for ITF support. |
- Local execution - Launching LM daemon with a config - GTEST processes launched by LM with test results parsed - Test timeout - Scaffolding for platform independent python scripts - Running LM without root - setgroups() is not attempted if there are no supplementary group ids - Minor cleanup in ProcessGroupManager::initialize()
996a09b to
7780751
Compare
Add a basic setup to run system-level tests for lifecycle on the host machine. Resolves eclipse-score/score#2403
The minimal example shows a GTEST executable launched by LM that tests simple state transitions.