Repository navigation
fix(ci): limit Jenkins matrix and Cargo concurrency - #455
Conversation
Schedule the existing 21 BIDs through a rolling worker queue, constrain builds and test-time recompilation, and record memory pressure and per-cell outcomes. Preserve the in-tree hvisor-tool build and configured functional tests. Start with an explicitly unvalidated 2x2 pilot until full CI measurements establish a safe profile.
|
Thanks for fixing the CI that has been down for a long time! A couple of questions before this lands:
Thanks! |
|
Thank you for fixing up CI. But I re-tested this code and found something interesting:
So I suggest in #459, that:
This way, there is no need to bound concurrency. And it might be much simpler and faster? |
AdditionI run all BID compilation used about 64 seconds in total on my MacBook Air. The time is calculated by:
|
Summary
Run all 21 Jenkins platform jobs through a rolling queue. The initial
profile allows two active platforms and two Cargo jobs per platform.
Pause dispatch below 4 GiB of available memory, resume at 5 GiB, and
archive resource samples and per-platform results.
Motivation
During PR #451, the Linux OOM killer terminated Jenkins while the
pipeline was compiling 21 platforms concurrently. Each Cargo build
can also run multiple compiler jobs, increasing peak memory demand.
Verification
PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=jenkins python3 -m unittest discover -s jenkins/tests -v— 24 passed.with a peak concurrency of two. An injected failure still allowed
the other 20 platforms to finish, and the build reported failure.
Risks and Limitations
Lower concurrency may increase total CI time. The 2×2 profile is a
pilot. A full run on the project's Jenkins node is pending to measure
memory usage during real compilation, QEMU tests, and board tests.
Phytium-Pi network verification
The first Jenkins run reached U-Boot but timed out resolving the old
TFTP server address,
192.168.1.181. Update the U-Boot and Linuxdeployment settings to use
192.168.10.111for the server and192.168.10.179/24for the board.Manual verification passed: U-Boot downloaded
phytium-pi/hvisor.binfrom192.168.10.111and reportedBytes transferred = 197024. The full Jenkins board regressionis pending.