Linaro / lite-lava-docker-compose

LITE Team LAVA docker dispatcher
MIT License
5 stars 10 forks source link

example: Add test job for OpenAMP echo_test using edmooring/qemu docker image #36

Closed pfalcon closed 4 years ago

pfalcon commented 4 years ago

Boots docker image, which boots contained qemu, then logs in and runs OpenAMP's echo_test application using "interactive" test action.

Requires "echo: discard" support from LAVA 2019.12.

Signed-off-by: Paul Sokolovsky paul.sokolovsky@linaro.org

pfalcon commented 4 years ago

cc @edmooring

pfalcon commented 4 years ago

Can we add running the test as described here:

Sure, working on that. Just wanted to share initial version with Ed.

pfalcon commented 4 years ago

Ok, this is now updated to include a real test. But this requires LAVA patch https://git.lavasoftware.org/lava/lava/merge_requests/848 .

(More details can be found in the email thread.)

pfalcon commented 4 years ago

Update: https://git.lavasoftware.org/lava/lava/merge_requests/848 was merged, but with it, other LAVA refactors were merged, which broke our "development" setup in docker (roughly speaking, we don't bind-mount enough things for current lava master to work well on top of the otherwise 2019.11 baseline). I'm trying to figure how to revamp it.

pfalcon commented 4 years ago

other LAVA refactors were merged, which broke our "development" setup in docker (roughly speaking, we don't bind-mount enough things for current lava master to work well on top of the otherwise 2019.11 baseline)

To elaborate on the issues I'm seeing: https://git.lavasoftware.org/lava/lava/merge_requests/854#note_12341

pfalcon commented 4 years ago

In the meantime I've applied local workarounds, retested and polished the job. From my PoV, it should be about ready, and could be used in production (lite.v.l.o) after it's upgraded to 2019.12 and Ed implemented downloading of test binaries into docker container (and corresponding Jenkins job is set up).

pfalcon commented 4 years ago

Posted job update for a newer edmooring/qemu:xilinx-qemu2 image - as a separate commit so far, so changes were more visible.

Tested locally, and also posted a patched (removed "echo: discard" which will be available in LAVA 2019.12) as https://lite.validation.linaro.org/scheduler/job/757307 . As can be seen, the overall processing keeps works there too (just due to lack of echo discard, there's pattern mis-matching, leading to false negative test results).

pfalcon commented 4 years ago

Ok, squashed, ran once again on production: https://lite.validation.linaro.org/scheduler/job/767162, and meged