diff --git a/.crumb b/.crumb index 646bb2e8..2147e671 100644 --- a/.crumb +++ b/.crumb @@ -22,25 +22,25 @@ "children": [ { "digest": "75cb4394a3daf517bc2dbfa93d189f0befa999f8e2cc8f09a2a3ec38a90013ca", - "last_commit": "7c8eceef", + "last_commit": "544e12b3", "name": "crates", "purpose": "Directory crates. Purpose not yet described by a human." }, { "digest": "f6c8944200972be56dc611ec2ef9e7e995f863995f22d04bbb1a1d7dcd92e9ff", - "last_commit": "7c8eceef", + "last_commit": "544e12b3", "name": "docs", "purpose": "Directory docs. Purpose not yet described by a human." }, { - "digest": "3cb2e3cd60b442ca0738988981797316dbc7887f0c8b27c74dda01302666f6b7", - "last_commit": "7c8eceef", + "digest": "ddeca3b970dd25d09570df2b2f904589480bd9dff8a0523e7a1b56eac10c20d5", + "last_commit": "9514b124", "name": "native", "purpose": "Directory native. Purpose not yet described by a human." }, { "digest": "e0dc411d63c301b7e021989ec99530f4013bb626194f394552d9c325ac693e42", - "last_commit": "7c8eceef", + "last_commit": "544e12b3", "name": "scripts", "purpose": "Directory scripts. Purpose not yet described by a human." }, @@ -51,15 +51,15 @@ "purpose": "First-party host artifact preparation tools" } ], - "children_root": "sha256:286448c829f01e90ccc679996b6e8d34fd549b35e715ed3980a54d2b7105e090", - "compiled_at": "2026-11-04T20:56:47Z", + "children_root": "sha256:50971cbb3a5c49aad979bb7ee1061af0a014bce69cdd2a07de061eed2e4056c7", + "compiled_at": "2026-11-05T22:53:57Z", "compiler": "crumb-compile/1", - "digest": "sha256:e94189a4bc61a8ed2e21e767179505179dfb4ebd952f0f5e384ec80caff185ca", + "digest": "sha256:75a27fa4b77d7a9623070a36c15eaf484bd5c3be9c426bff7d114c7747235618", "evidence_files": 274, "evidence_root": "sha256:af014a4ed8f6fe759fc5809807fb47578d3410811b522d9f65d749382b029802", "files": 3776, - "generated_at_commit": "7c8eceef5c0f75879ee5804b3467e41b573927e3", - "source_tree": "sha256:b1fde083b285093cf800c33a75262f52feda19f62fe899495eacd952f222452c" + "generated_at_commit": "9514b124626e4c063bc7e96cf7faf0babb8cbcf5", + "source_tree": "sha256:a985d1d380c3b31e1f1a6fb7f48387facbbc08a4a1a5e68a74a21e9455767611" }, "owner_lane": "", "provenance": { diff --git a/native/.crumb b/native/.crumb index fddd703e..b0440e0d 100644 --- a/native/.crumb +++ b/native/.crumb @@ -56,7 +56,7 @@ }, { "digest": "5a5f411d0bb3608a397ddbe8af21e534ca30919a604b1d37ad1a895fb646097c", - "last_commit": "7c8eceef", + "last_commit": "544e12b3", "name": "boot", "purpose": "Directory native/boot. Purpose not yet described by a human." }, @@ -79,8 +79,8 @@ "purpose": "Directory native/disk. Purpose not yet described by a human." }, { - "digest": "08810496eb74b9ac9a554fb713ea482596157a602dffe47baa0b3b9945b8f70a", - "last_commit": "7c8eceef", + "digest": "a89faea3222761b7e0817ca5d98a3609803e405b4dcfa880facf80da68966a84", + "last_commit": "9514b124", "name": "kernel", "purpose": "Directory native/kernel. Purpose not yet described by a human." }, @@ -115,15 +115,15 @@ "purpose": "Directory native/store. Purpose not yet described by a human." } ], - "children_root": "sha256:7aa14dc1a52c92aa62dfa480c628f99b1e73546c7e828205c5202ad38778c574", - "compiled_at": "2026-11-04T20:56:47Z", + "children_root": "sha256:d8b3d6b0ae076f6082e7b26e1012e0540b8e4feaef482b0600145876752d4de6", + "compiled_at": "2026-11-05T22:53:57Z", "compiler": "crumb-compile/1", - "digest": "sha256:3cb2e3cd60b442ca0738988981797316dbc7887f0c8b27c74dda01302666f6b7", + "digest": "sha256:ddeca3b970dd25d09570df2b2f904589480bd9dff8a0523e7a1b56eac10c20d5", "evidence_files": 24, "evidence_root": "sha256:ecc7ccf2e924c221a5bac1d91e23b13d8f3c8d78c2a893a882ed7ca5e88d855d", "files": 776, - "generated_at_commit": "7c8eceef5c0f75879ee5804b3467e41b573927e3", - "source_tree": "sha256:27df825a3d6d958a674565c29052545bdfb0384454af1b77a2641c3fcdb66c66" + "generated_at_commit": "9514b124626e4c063bc7e96cf7faf0babb8cbcf5", + "source_tree": "sha256:7aae030c16056181ca325c1da23350c78ad03e0aa281a92be69e3e22dbfba634" }, "owner_lane": "", "provenance": { diff --git a/native/kernel/.crumb b/native/kernel/.crumb index d7573e9c..4149ee05 100644 --- a/native/kernel/.crumb +++ b/native/kernel/.crumb @@ -58,7 +58,7 @@ }, { "digest": "1c13cb136f224c171fbdf70ab18f5aec1621027ee5e05a4a9f52a05206657585", - "last_commit": "7c8eceef", + "last_commit": "544e12b3", "name": "core", "purpose": "Directory native/kernel/core. Purpose not yet described by a human." }, @@ -88,26 +88,26 @@ }, { "digest": "bb7793de50fe4f1c95ecbeff2e45b09d6bb292f470d3f4fd1e7fbf6d99f49ad2", - "last_commit": "7c8eceef", + "last_commit": "544e12b3", "name": "tests", "purpose": "Directory native/kernel/tests. Purpose not yet described by a human." }, { - "digest": "1dd8ed2150cfa3709d98eed188288b25edc8d94711ea36b4b846fe66b9ab224b", - "last_commit": "9165e025", + "digest": "e3d5d3207f53ae5e7bec4b8bb2f95b64008fbec0b1150ca51b4403b12b4c91f4", + "last_commit": "cf8ffa9a", "name": "tools", "purpose": "Hosted (Linux-built) checkers for the native kernel, run by `make -C native/kernel test`; nothin" } ], - "children_root": "sha256:82124fdeeb6364d5545ce275287574dbf28d16c22fe9d46b45fa22259150a17e", - "compiled_at": "2026-11-04T20:56:47Z", + "children_root": "sha256:0f1092440229ff0834e5fbe28b8ede7c65da44054cc430dbc9e3a5634ae88247", + "compiled_at": "2026-11-05T22:53:57Z", "compiler": "crumb-compile/1", - "digest": "sha256:08810496eb74b9ac9a554fb713ea482596157a602dffe47baa0b3b9945b8f70a", + "digest": "sha256:a89faea3222761b7e0817ca5d98a3609803e405b4dcfa880facf80da68966a84", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 520, - "generated_at_commit": "7c8eceef5c0f75879ee5804b3467e41b573927e3", - "source_tree": "sha256:8ee5186c42d75b0b4da3d7ab80e1caf32f1814dbe9d54c18d41b02851953ca2e" + "generated_at_commit": "9514b124626e4c063bc7e96cf7faf0babb8cbcf5", + "source_tree": "sha256:25539bb35180dbe8423ee4b61170ddb67903af3933d7de26a44b15d618a8d4b2" }, "owner_lane": "", "provenance": { diff --git a/native/kernel/tools/.crumb b/native/kernel/tools/.crumb index 4d7af1e5..e1bb8274 100644 --- a/native/kernel/tools/.crumb +++ b/native/kernel/tools/.crumb @@ -7,14 +7,14 @@ "generated": { "children": [], "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "compiled_at": "2026-10-31T02:24:33Z", + "compiled_at": "2026-11-05T01:43:13Z", "compiler": "crumb-compile/1", - "digest": "sha256:1dd8ed2150cfa3709d98eed188288b25edc8d94711ea36b4b846fe66b9ab224b", + "digest": "sha256:e3d5d3207f53ae5e7bec4b8bb2f95b64008fbec0b1150ca51b4403b12b4c91f4", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 27, - "generated_at_commit": "47faeddadfb49c9e84f9d1058547f7bb0ef45d1d", - "source_tree": "sha256:e1581918ac243eeee74d1083469f016abf72ccebeb791fb45eb402264585a28b" + "generated_at_commit": "3be8290b317427791b12ae1416f055e5e696712d", + "source_tree": "sha256:83cd74a3bdbf3cd3a0e435c666b2a16be39b05439d26c858095193a9c271ef18" }, "owner_lane": "", "provenance": { diff --git a/native/kernel/tools/ck_gsp_cot_encode.c b/native/kernel/tools/ck_gsp_cot_encode.c index cb89aa28..13f2a287 100644 --- a/native/kernel/tools/ck_gsp_cot_encode.c +++ b/native/kernel/tools/ck_gsp_cot_encode.c @@ -385,13 +385,18 @@ static void check(int ok, const char *what) { printf(" %s %s\n", ok ? "ok " : "FAIL", what); if (!ok) fails++; } -static void expect_refused(int rc, const char *why, const char *want, const char *what) { +static void expect_refused_rc(int rc, const char *why, const char *want, const char *what) { int ok = rc != 0 && why && strcmp(why, want) == 0; printf(" %s refused: %s", ok ? "ok " : "FAIL", what); if (!ok) printf(" (rc=%d why=%s want=%s)", rc, why ? why : "(null)", want); printf("\n"); if (!ok) fails++; } +/* The call that writes the reason through &why must finish before why is read. As two arguments + * of one function call their evaluation order is unspecified (C11 6.5.2.2p10): x86-64 gcc 13 read + * why first and every check saw the previous reason (#483). The statement boundary sequences them. */ +#define expect_refused(call, why, want, what) \ + do { int expect_rc_ = (call); expect_refused_rc(expect_rc_, (why), (want), (what)); } while (0) static int selftest(void) { const char *why = ""; diff --git a/tests/gates/aienos-ck-b7b-probe.gate b/tests/gates/aienos-ck-b7b-probe.gate index ba4908bc..fd30d1f8 100644 --- a/tests/gates/aienos-ck-b7b-probe.gate +++ b/tests/gates/aienos-ck-b7b-probe.gate @@ -1,5 +1,5 @@ # tests/gates/aienos-ck-b7b-probe.gate -# Mirrors hosted: ck-kernel.yml 'B7b preparation probe' (aienos#286): scripts/qemu_ck_b7b_probe_test.sh --self-test, plain, --positive +# Hosted: none (#427 removed the hosted test workflows; the Spark runs this locally). Formerly ck-kernel.yml 'B7b preparation probe' (aienos#286): scripts/qemu_ck_b7b_probe_test.sh --self-test, plain, --positive gate: AIENOS-CK-B7B-PROBE manifest_version: 2 owner: aienos diff --git a/tests/gates/aienos-ck-gate-selftest.gate b/tests/gates/aienos-ck-gate-selftest.gate index f7fcf34d..8f330771 100644 --- a/tests/gates/aienos-ck-gate-selftest.gate +++ b/tests/gates/aienos-ck-gate-selftest.gate @@ -1,5 +1,5 @@ # tests/gates/aienos-ck-gate-selftest.gate -# Mirrors hosted: ck-kernel.yml 'Gate runner self-test': bash scripts/ck_gates.sh --self-test +# Hosted: none (#427 removed the hosted test workflows; the Spark runs this locally). Formerly ck-kernel.yml 'Gate runner self-test': bash scripts/ck_gates.sh --self-test gate: AIENOS-CK-GATE-SELFTEST manifest_version: 2 owner: aienos diff --git a/tests/gates/aienos-ck-hold-selftest.gate b/tests/gates/aienos-ck-hold-selftest.gate index 1fe49723..bd29f022 100644 --- a/tests/gates/aienos-ck-hold-selftest.gate +++ b/tests/gates/aienos-ck-hold-selftest.gate @@ -1,5 +1,5 @@ # tests/gates/aienos-ck-hold-selftest.gate -# Mirrors hosted: ck-kernel.yml 'Gate hold self-test' (aienos#278): bash scripts/gate_hold_selftest.sh +# Hosted: none (#427 removed the hosted test workflows; the Spark runs this locally). Formerly ck-kernel.yml 'Gate hold self-test' (aienos#278): bash scripts/gate_hold_selftest.sh gate: AIENOS-CK-HOLD-SELFTEST manifest_version: 2 owner: aienos diff --git a/tests/gates/aienos-ck-host-tests.gate b/tests/gates/aienos-ck-host-tests.gate index b0ba45d0..ed575d37 100644 --- a/tests/gates/aienos-ck-host-tests.gate +++ b/tests/gates/aienos-ck-host-tests.gate @@ -1,5 +1,5 @@ # tests/gates/aienos-ck-host-tests.gate -# Mirrors hosted: ck-kernel.yml 'Host unit tests (plain and ASan + UBSan)': make -C native/kernel test sanitize +# Hosted: none (#427 removed the hosted test workflows; the Spark runs this locally). Formerly ck-kernel.yml 'Host unit tests (plain and ASan + UBSan)': make -C native/kernel test sanitize gate: AIENOS-CK-HOST-TESTS manifest_version: 2 owner: aienos diff --git a/tests/gates/aienos-ck-owner-keys.gate b/tests/gates/aienos-ck-owner-keys.gate index 9a9053a4..366aaf67 100644 --- a/tests/gates/aienos-ck-owner-keys.gate +++ b/tests/gates/aienos-ck-owner-keys.gate @@ -1,5 +1,5 @@ # tests/gates/aienos-ck-owner-keys.gate -# Mirrors hosted: ck-kernel.yml 'Hardware staging image refuses TEST keys (build only)': bash scripts/ck_owner_keys_check.sh with quiet flag and gate lock in a temp dir +# Hosted: none (#427 removed the hosted test workflows; the Spark runs this locally). Formerly ck-kernel.yml 'Hardware staging image refuses TEST keys (build only)': bash scripts/ck_owner_keys_check.sh with quiet flag and gate lock in a temp dir gate: AIENOS-CK-OWNER-KEYS manifest_version: 2 owner: aienos diff --git a/tests/gates/aienos-ck-qemu-gates.gate b/tests/gates/aienos-ck-qemu-gates.gate index a1e0a341..f9a4ecad 100644 --- a/tests/gates/aienos-ck-qemu-gates.gate +++ b/tests/gates/aienos-ck-qemu-gates.gate @@ -1,5 +1,5 @@ # tests/gates/aienos-ck-qemu-gates.gate -# Mirrors hosted: ck-kernel.yml 'QEMU TCG gates': bash scripts/ck_gates.sh --out DIR, every C-implemented gate except FPU/INFER must print AIENOS_CK_: PASS (hosted job 2340 s total) +# Hosted: none (#427 removed the hosted test workflows; the Spark runs this locally). Formerly ck-kernel.yml 'QEMU TCG gates': bash scripts/ck_gates.sh --out DIR, every C-implemented gate except FPU/INFER must print AIENOS_CK_: PASS (hosted job 2340 s total) gate: AIENOS-CK-QEMU-GATES manifest_version: 2 owner: aienos diff --git a/tests/gates/aienos-ck-stage-tests.gate b/tests/gates/aienos-ck-stage-tests.gate index f0c1e17a..f264a2f1 100644 --- a/tests/gates/aienos-ck-stage-tests.gate +++ b/tests/gates/aienos-ck-stage-tests.gate @@ -1,5 +1,5 @@ # tests/gates/aienos-ck-stage-tests.gate -# Mirrors hosted: ck-kernel.yml 'Stage host tests': make -C native/kernel stage-test stage-sanitize +# Hosted: none (#427 removed the hosted test workflows; the Spark runs this locally). Formerly ck-kernel.yml 'Stage host tests': make -C native/kernel stage-test stage-sanitize gate: AIENOS-CK-STAGE-TESTS manifest_version: 2 owner: aienos diff --git a/tests/gates/aienos-crypto-boundary.gate b/tests/gates/aienos-crypto-boundary.gate index d6d481af..1af3da10 100644 --- a/tests/gates/aienos-crypto-boundary.gate +++ b/tests/gates/aienos-crypto-boundary.gate @@ -1,5 +1,5 @@ # tests/gates/aienos-crypto-boundary.gate -# Mirrors hosted: crypto-boundary.yml: cargo test/clippy of aienos-crypto, aienos-kernel crypto:: tests, no_std check of aienos-kernel (hosted 23 s; always-run) +# Hosted: none (#427 removed the hosted test workflows; the Spark runs this locally). Formerly crypto-boundary.yml: cargo test/clippy of aienos-crypto, aienos-kernel crypto:: tests, no_std check of aienos-kernel (hosted 23 s; always-run) gate: AIENOS-CRYPTO-BOUNDARY manifest_version: 2 owner: aienos diff --git a/tests/gates/aienos-disk-qemu.gate b/tests/gates/aienos-disk-qemu.gate index 2b8fe430..1d62e960 100644 --- a/tests/gates/aienos-disk-qemu.gate +++ b/tests/gates/aienos-disk-qemu.gate @@ -1,5 +1,5 @@ # tests/gates/aienos-disk-qemu.gate -# Mirrors hosted: native-suites.yml 'native/disk qemu NVMe payload': bash scripts/qemu_native_nvme_test.sh, AIENOS_STORE_NVME_QEMU: PASS required (hosted 27 s) +# Hosted: none (#427 removed the hosted test workflows; the Spark runs this locally). Formerly native-suites.yml 'native/disk qemu NVMe payload': bash scripts/qemu_native_nvme_test.sh, AIENOS_STORE_NVME_QEMU: PASS required (hosted 27 s) gate: AIENOS-DISK-QEMU manifest_version: 2 owner: aienos diff --git a/tests/gates/aienos-infer-crate.gate b/tests/gates/aienos-infer-crate.gate index 03612d05..22218e49 100644 --- a/tests/gates/aienos-infer-crate.gate +++ b/tests/gates/aienos-infer-crate.gate @@ -1,5 +1,5 @@ # tests/gates/aienos-infer-crate.gate -# Mirrors hosted: infer-crate.yml: fmt, clippy, test and aarch64-unknown-none build of aienos-infer (hosted 24 s) +# Hosted: none (#427 removed the hosted test workflows; the Spark runs this locally). Formerly infer-crate.yml: fmt, clippy, test and aarch64-unknown-none build of aienos-infer (hosted 24 s) gate: AIENOS-INFER-CRATE manifest_version: 2 owner: aienos diff --git a/tests/gates/aienos-native-argus.gate b/tests/gates/aienos-native-argus.gate index d521cfe5..cb8f853a 100644 --- a/tests/gates/aienos-native-argus.gate +++ b/tests/gates/aienos-native-argus.gate @@ -1,5 +1,5 @@ # tests/gates/aienos-native-argus.gate -# Mirrors hosted: native-suites.yml matrix suite argus: make -C native/argus plus explicit pass markers, no NOT_RUN (hosted 87 s) +# Hosted: none (#427 removed the hosted test workflows; the Spark runs this locally). Formerly native-suites.yml matrix suite argus: make -C native/argus plus explicit pass markers, no NOT_RUN (hosted 87 s) gate: AIENOS-NATIVE-ARGUS manifest_version: 2 owner: aienos diff --git a/tests/gates/aienos-native-capability.gate b/tests/gates/aienos-native-capability.gate index b87f0540..4245bb72 100644 --- a/tests/gates/aienos-native-capability.gate +++ b/tests/gates/aienos-native-capability.gate @@ -1,5 +1,5 @@ # tests/gates/aienos-native-capability.gate -# Mirrors hosted: native-suites.yml matrix suite capability: make -C native/capability plus explicit pass markers, no NOT_RUN (hosted 47 s) +# Hosted: none (#427 removed the hosted test workflows; the Spark runs this locally). Formerly native-suites.yml matrix suite capability: make -C native/capability plus explicit pass markers, no NOT_RUN (hosted 47 s) gate: AIENOS-NATIVE-CAPABILITY manifest_version: 2 owner: aienos diff --git a/tests/gates/aienos-native-crypto.gate b/tests/gates/aienos-native-crypto.gate index 6394691e..94b6e1a5 100644 --- a/tests/gates/aienos-native-crypto.gate +++ b/tests/gates/aienos-native-crypto.gate @@ -1,5 +1,5 @@ # tests/gates/aienos-native-crypto.gate -# Mirrors hosted: native-suites.yml matrix suite crypto: make -C native/crypto plus explicit pass markers, no NOT_RUN (hosted 19 s) +# Hosted: none (#427 removed the hosted test workflows; the Spark runs this locally). Formerly native-suites.yml matrix suite crypto: make -C native/crypto plus explicit pass markers, no NOT_RUN (hosted 19 s) gate: AIENOS-NATIVE-CRYPTO manifest_version: 2 owner: aienos diff --git a/tests/gates/aienos-native-disk.gate b/tests/gates/aienos-native-disk.gate index ec58574c..d0234bed 100644 --- a/tests/gates/aienos-native-disk.gate +++ b/tests/gates/aienos-native-disk.gate @@ -1,5 +1,5 @@ # tests/gates/aienos-native-disk.gate -# Mirrors hosted: native-suites.yml matrix suite disk: make -C native/disk plus explicit pass markers, no NOT_RUN (hosted 185 s) +# Hosted: none (#427 removed the hosted test workflows; the Spark runs this locally). Formerly native-suites.yml matrix suite disk: make -C native/disk plus explicit pass markers, no NOT_RUN (hosted 185 s) gate: AIENOS-NATIVE-DISK manifest_version: 2 owner: aienos diff --git a/tests/gates/aienos-native-m5.gate b/tests/gates/aienos-native-m5.gate index 440d4678..492fe625 100644 --- a/tests/gates/aienos-native-m5.gate +++ b/tests/gates/aienos-native-m5.gate @@ -1,5 +1,5 @@ # tests/gates/aienos-native-m5.gate -# Mirrors hosted: native-suites.yml matrix suite m5: make -C native/m5 plus explicit pass markers, no NOT_RUN (hosted 149 s) +# Hosted: none (#427 removed the hosted test workflows; the Spark runs this locally). Formerly native-suites.yml matrix suite m5: make -C native/m5 plus explicit pass markers, no NOT_RUN (hosted 149 s) gate: AIENOS-NATIVE-M5 manifest_version: 2 owner: aienos diff --git a/tests/gates/aienos-native-net.gate b/tests/gates/aienos-native-net.gate index 010d767b..efc9b216 100644 --- a/tests/gates/aienos-native-net.gate +++ b/tests/gates/aienos-native-net.gate @@ -1,5 +1,5 @@ # tests/gates/aienos-native-net.gate -# Mirrors hosted: native-suites.yml matrix suite net: make -C native/net plus explicit pass markers, no NOT_RUN (hosted 368 s) +# Hosted: none (#427 removed the hosted test workflows; the Spark runs this locally). Formerly native-suites.yml matrix suite net: make -C native/net plus explicit pass markers, no NOT_RUN (hosted 368 s) gate: AIENOS-NATIVE-NET manifest_version: 2 owner: aienos diff --git a/tests/gates/aienos-native-sig.gate b/tests/gates/aienos-native-sig.gate index ca3a7dbc..eb049b2f 100644 --- a/tests/gates/aienos-native-sig.gate +++ b/tests/gates/aienos-native-sig.gate @@ -1,5 +1,5 @@ # tests/gates/aienos-native-sig.gate -# Mirrors hosted: native-suites.yml matrix suite sig: make -C native/sig plus explicit pass markers, no NOT_RUN (hosted 76 s) +# Hosted: none (#427 removed the hosted test workflows; the Spark runs this locally). Formerly native-suites.yml matrix suite sig: make -C native/sig plus explicit pass markers, no NOT_RUN (hosted 76 s) gate: AIENOS-NATIVE-SIG manifest_version: 2 owner: aienos diff --git a/tests/gates/aienos-store-native.gate b/tests/gates/aienos-store-native.gate index 02b47867..7033eb2f 100644 --- a/tests/gates/aienos-store-native.gate +++ b/tests/gates/aienos-store-native.gate @@ -1,5 +1,5 @@ # tests/gates/aienos-store-native.gate -# Mirrors hosted: ci.yml (disabled_manually on GitHub) 'make -C native/store test mutants'; not covered by any active workflow +# Hosted: none (ci.yml was disabled, then removed in #427). Formerly ci.yml 'make -C native/store test mutants'; not covered by any active workflow gate: AIENOS-STORE-NATIVE manifest_version: 2 owner: aienos diff --git a/tests/gates/aienos-zero-disk-secrets.gate b/tests/gates/aienos-zero-disk-secrets.gate index 39784085..2f2762be 100644 --- a/tests/gates/aienos-zero-disk-secrets.gate +++ b/tests/gates/aienos-zero-disk-secrets.gate @@ -1,5 +1,5 @@ # tests/gates/aienos-zero-disk-secrets.gate -# Mirrors hosted: no hosted step; the zero-disk-secrets invariant of the Rust repos (always-run) +# Hosted: the advisory AIEN Checks job (aien-verification.yml) runs it in the portable smoke set; the zero-disk-secrets invariant of the Rust repos (always-run) gate: AIENOS-ZERO-DISK-SECRETS manifest_version: 2 owner: aienos diff --git a/tests/gates/crumb.gate b/tests/gates/crumb.gate index 03c1ba23..32873477 100644 --- a/tests/gates/crumb.gate +++ b/tests/gates/crumb.gate @@ -1,5 +1,5 @@ # tests/gates/crumb.gate -# Mirrors hosted: crumb.yml 'crumb verify .' with the tool built from crumb.lock (hosted job 9 s) +# Hosted: the advisory AIEN Checks job (.github/workflows/aien-verification.yml) runs crumb verify . with the tool built at its own pin; crumb.yml was removed in #427 # cache: never because crumbs live in many directories and inputs are literal paths; the check is sub-second. # requires: host because run.sh builds the tool from the sibling ../aien-architecture checkout, which a # GitHub runner does not have (portable means the tree alone). The thin gate runs crumb verify itself. diff --git a/tests/gates/run.sh b/tests/gates/run.sh index 49331c66..cec57b40 100755 --- a/tests/gates/run.sh +++ b/tests/gates/run.sh @@ -15,18 +15,20 @@ # limitations under the License. # tests/gates/run.sh: the one entry point for the local verification gates of aienos. -# Every step runs the SAME command as the hosted job it mirrors (.github/workflows/ck-kernel.yml, -# native-suites.yml, crypto-boundary.yml, infer-crate.yml, crumb.yml; ci.yml is disabled on -# GitHub and its two surviving suites are declared here too). Manifests under tests/gates/ name -# this script plus one step word, so no manifest needs shell expansion (ADR 0028 P6). +# Every step runs the SAME command as the hosted job it replaced. #427 removed those workflows +# (ck-kernel.yml, native-suites.yml, crypto-boundary.yml, infer-crate.yml, crumb.yml, ci.yml). The +# only hosted runs left are crumb verify and the portable smoke set in the advisory AIEN Checks job +# (aien-verification.yml); the workflow names below say where each command came from. +# Manifests under tests/gates/ name this script plus one step word, so no manifest needs shell +# expansion (ADR 0028 P6). set -euo pipefail ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)" cd "$ROOT" step="${1:?usage: tests/gates/run.sh }" obs() { printf 'AIEN-OBS %s %s\n' "$1" "$2"; } -# The hosted jobs keep the quiet flag and the QEMU gate lock in the runner's temp dir, never -# in ~/workspace (ck-kernel.yml, native-suites.yml). Same here. +# The removed hosted jobs kept the quiet flag and the QEMU gate lock in the runner's temp dir, +# never in ~/workspace (ck-kernel.yml, native-suites.yml). Same here. TMP="$(mktemp -d /tmp/aienos-gate.XXXXXX)" trap 'rm -rf "$TMP"' EXIT export AIENOS_QUIET_FLAG="$TMP/spark-quiet" @@ -57,11 +59,11 @@ native_suite() { case "$step" in crumb-verify) - # Hosted crumb.yml builds the crumb tool from the aien-architecture commit in crumb.lock. + # The removed hosted crumb.yml built the crumb tool from the aien-architecture commit in crumb.lock. # Same here, from the sibling checkout ../aien-architecture into a temp dir outside the # tree, so a newer crumb on PATH can never change the verdict. if [ ! -d ../aien-architecture ]; then - echo "run.sh: ../aien-architecture is missing; the hosted job checks out aien-dev/aien-architecture at crumb.lock" >&2 + echo "run.sh: ../aien-architecture is missing; check out aien-dev/aien-architecture beside this tree (the tool is built at crumb.lock)" >&2 exit 3 fi pin=$(tr -d '[:space:]' < crumb.lock)