mirror of
https://github.com/SCST-project/scst.git
synced 2026-10-22 14:12:33 +00:00
scst_user pins its data buffers from Linux 5.9, the first release in which fork() gives the child a copy of a pinned page (commit 70e806e4e645, "mm: Do early cow for pinned pages during fork() for ptes"). The Ginkgo "handler forks" spec checks this, but CI boots only the current Fedora kernel, so the boundary itself is never tested. Add a Ginkgo job matrix that runs the local "user" specs on Fedora 33's Linux 5.8.18 and 5.9.16, on both sides of the boundary. On 5.9.16 the fork spec relies on the pin alone; on 5.8.18 the handler protects its buffers with MADV_DONTFORK, as required there. Both must keep correct geometry and data. The jobs are named after their kernels, like the regression jobs. - kernel-5.8.env, kernel-5.9.env and their SHA256SUMS pin those kernels' rpms from Fedora's koji, like kernel.env and kernel.SHA256SUMS. Fedora's only 5.9.0 build is a rawhide kernel that defines RHEL_MAJOR 8 and RHEL_MINOR 99, so SCST's backports treat it as RHEL and the build fails; 5.9.16 has the same fork() behavior. - build-image takes an optional pin name, such as "kernel-5.9", for Ginkgo images. The image is otherwise built the same way. - The Dockerfile downloads exactly the rpms listed in the selected checksum file, since 5.9 has no kernel-modules-core package. - vm.py --local-only boots only the target guest, without the iSCSI initiator or the private network, and expects only the local report. The guest then writes a config without an iscsi section. The label filter is restricted to local specs: "local && (<filter>)", or "local" without one.
6 lines
550 B
Plaintext
6 lines
550 B
Plaintext
73d1291b951df9c6b5c3e567331bc6529f7c56d2a274a7055039c8b9e2fb76f3 kernel-core-5.8.18-300.fc33.x86_64.rpm
|
|
457bbef5665da9003f2a931fb7722066a5a9269fa5ae578a0da10ad81acf7dde kernel-modules-5.8.18-300.fc33.x86_64.rpm
|
|
cf2624e20fa4e6f7cf66ee2b948115828f9ffc231ac4b8f9c21f505f9fc8e610 kernel-devel-5.8.18-300.fc33.x86_64.rpm
|
|
73b9b699f0b259b41e28ad191ff6ac0ef95f900324783c48903da56e062ae986 kernel-modules-extra-5.8.18-300.fc33.x86_64.rpm
|
|
e546c88bce1f6ccfeaf4d8b23b8ab9d145529c87d01b6e3761db53ac3cf6e236 kernel-modules-internal-5.8.18-300.fc33.x86_64.rpm
|