Conversation
8 of 17 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the LTP half of the kselftest and LTP item.
ltp.tomlpins LTP 20260529 by URL and sha256.rk ltpdownloads it into the cache once, checks the hash, copies the tree into the output directory, configures it with the compiler asked for (without LTP's kernel modules, which would be built for the host's kernel), builds withmake -kand installs withmake -iunder/ltp. It then strips the debug information from the programs, which takes each one from about 850 KB to 285 KB, since every one carries its own static copy of libltp.rows.tomlpins the runtest files per row: syscalls, syscalls-ipc, mm, fs, pty, sched, math, cve and containers.ltp.jsonlists the tests of each one and the tags whose program was not built.rk test --kinds ltp --ltp DIRboots once per runtest file. The initramfs only gets the programs that file's commands name, the shell libraries andtst_helpers, the tests' data and the shared libraries they need. Each tag is a unit,ltp:<runtest>:<tag>.--rucc-ltpis the rucc-built LTP for attribution, the same way--rucc-selftestsworks.rk mixedtakes--ltptoo.rk-initruns each test withsh -cand a 10 minute limit in an empty directory, prints its output behind#only when it fails, and printsRK-LTP <runtest> <tag> pass|fail|skip <code>. Exit code 32 (TCONF) counts as a skip.--timeout, because syscalls has 1506 tests and kunit has a handful. The guest gets more than 1G of memory once the initramfs is big (512M plus twice the archive), because the syscalls archive is around 400M.ltpto the kinds.On server3, with gcc 13 against the Debian 13 build,
rk ltpbuilt all nine files with nothing missing: 1506, 57, 74, 68, 16, 14, 10, 97 and 84 tests. I couldn't do the boot there because server3 has no qemu, so the first nightly is the first real run.Part of #6