-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[Tizen] Run tests from 9P-shared directory instead of ISO follow-up #35786
Conversation
Review changes with SemanticDiff. Analyzed 1 of 42 files. Overall, the semantic diff is 11% smaller than the GitHub diff. File Information
|
PR #35786: Size comparison from 90b0fd2 to 23f5fc3 Full report (88 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
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.
Bump used docker images to 80 in all workflows (especially on Tizen, because in current form this PR disabled all Tizen QEMU tests).
Co-authored-by: Arkadiusz Bokowy <[email protected]>
PR #35786: Size comparison from 90b0fd2 to e447a91 Full report (88 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
PR #35786: Size comparison from 648f088 to d4925a1 Full report (88 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
…roject-chip#35786) * Remove ISO. Add virtfs sharing * Remove ISO. Add sharing. Copy runner * Update .tpk path * Expand argument description * Use generic target name * Bump image version for workflows * More verbose description Co-authored-by: Arkadiusz Bokowy <[email protected]> --------- Co-authored-by: Arkadiusz Bokowy <[email protected]>
Issue
Currently the way tests and runner are passed onto QEMU is by mounting an iso image containing these. The problem with this approach is that building the image is slow, and does not allow to share output files back with host which will be needed in a follow-up PR adding code coverage for tests.
Solution
Scalable and efficient method is to share tests directory between host and QEMU using virtfs with 9P. This approach involves copying adequate runner to
${root_out_dir}/tests
and then sharing it as/mnt/chip
on QEMU side. This is highly configurable as the new optiontizen_qemu.py --share
takes a custom path. A service is added which performs the mounting.Testing
Tested locally using both interactive and non-interactive modes with and without customized shared directory.
Extra notes
This PR contains non-Dockerfile changes for the mentioned above issue and solution as they were merged previously (#35745).