test code v1

This commit is contained in:
2026-08-13 10:44:59 +02:00
commit f3b1165f19
301 changed files with 37885 additions and 0 deletions
@@ -0,0 +1,26 @@
Run3 full-file SHA samples, captured approximately eight seconds after launch
repo-pre-7
state: RC
file offset: 1245184
kernel stack: lzma2_lzma -> erofs_xz_dec_microlzma_run -> lzma_decompress -> z_erofs_decompress -> z_erofs_do_read -> z_erofs_read_uio -> VOP_READ_APV -> vn_read
sha_after: no process row, no sha.out hash, no sha.err content
termination: TERM sent; KILL then reported No such process
repo-pre-8
state: RC
file offset: 1150976
kernel stack: lzma2_lzma -> erofs_xz_dec_microlzma_run -> lzma_decompress -> z_erofs_decompress -> z_erofs_do_read -> z_erofs_read_uio -> VOP_READ_APV -> vn_read
sha_after: no process row, no sha.out hash, no sha.err content
termination: TERM sent; KILL then reported No such process
repo-pre-9
state: RC
file offset: 1044480
kernel stack: lzma2_lzma -> erofs_xz_dec_microlzma_run -> lzma_decompress -> z_erofs_decompress -> z_erofs_do_read -> z_erofs_read_uio -> VOP_READ_APV -> vn_read
sha_after: no process row, no sha.out hash, no sha.err content
termination: TERM sent; KILL then reported No such process
Interpretation: the SHA processes were alive and executing in LZMA decode at
the sample. Their later disappearance does not prove successful completion.
No full-file hash was captured, so full-file correctness remains BLOCKED.
@@ -0,0 +1,16 @@
Pre9 final decoded extent cache kernel and cleanup summary
Date: 2026-08-13
- Guest: FreeBSD 15.0-RELEASE-p8 amd64, QEMU TCG, 6144 MiB, 4 vCPUs.
- KLD built with WITH_ZSTDIO=0 and loaded successfully.
- No EROFS panic, assertion, mount error or decompression error appeared in
the captured dmesg tail.
- Boot emitted pre-existing root-filesystem "bad dir ino" warnings before
the test KLD was loaded; these are not attributed to EROFS.
- Explicit LZMA probe, LZMA full-read and LZ4 unmount/md detach operations
returned zero.
- Test QEMU PID 812999 was terminated.
- Host port 10030 was closed.
- Test overlay was removed.
- Guard QEMU PID 26318 remained alive.
- Guard SSH port 9222 remained open.
@@ -0,0 +1,21 @@
Pre9 final decoded extent cache target-file syscall evidence
Date: 2026-08-13
4 KiB:
pread(3, ..., 4096, 0x0) = 4096 (0x1000)
output/source SHA-256: 1c3c59331a4849514667bbc51c078327577b98f75a62996bbc2fe310b014dd79
16 KiB:
pread(3, ..., 16384, 0x0) = 16384 (0x4000)
output/source SHA-256: 2433ce7c2ea151f487a319447ce4fe14e1a2c2af9f0e5113fe47fc74b6138eee
64 KiB:
pread(3, ..., 65536, 0x0) = 65536 (0x10000)
output/source SHA-256: 2bb87afd3b9fab420cbe55b782d69a7342150e8816a35efacf22d2ab3012815d
1 MiB:
pread(3, ..., 1048576, 0x0) = 1048576 (0x100000)
output/source SHA-256: 52e806509e5dfeb523904f167fca765d001ea749351ecf51738e61a5352a1ba3
Each trace contained exactly one pread() against the mounted target file.
Dynamic-loader pread() calls were excluded from this summary.
@@ -0,0 +1,100 @@
{
"archive_sha256": "a6a6d573ace42fe713529974c7bd20b472a1e4521920fac40e01c5d3bb071bcb",
"cleanup": {
"guard_pid_alive": true,
"guard_port_9222_open": true,
"overlay_exists": false,
"port_10030_open": false,
"qemu_pid_alive": false
},
"finished_utc": "2026-08-13T06:06:25Z",
"kld_sha256": "473a6205f43905972f2417609d43f67ab2cb51ea79bc1716fffa5c1914ff85af",
"lz4_sha": {
"expected_sha256": "3ff012b76087c4da65ce0b69813a76f47ea367e95782edf8b8cd6cd3ec4d1880",
"guest_real_seconds": 9.03,
"hash_match": true,
"returncode": 0,
"sha256": "3ff012b76087c4da65ce0b69813a76f47ea367e95782edf8b8cd6cd3ec4d1880"
},
"lzma_concurrent": {
"guest_real_seconds": [
22.52,
21.97
],
"hash_match": true,
"hashes": [
"ddda39737f0f6093e828a032ec161511fefbb1fa361bc6cbffdbc91e48e4c461",
"ddda39737f0f6093e828a032ec161511fefbb1fa361bc6cbffdbc91e48e4c461"
],
"host_timeout": false,
"returncode": 0,
"returncodes": [
0,
0
]
},
"lzma_fixture": {
"image_sha256": "32107a084b27362a093768b88746c37c2e99a74b9f1301a9d4046988479defe9",
"source_sha256": "ddda39737f0f6093e828a032ec161511fefbb1fa361bc6cbffdbc91e48e4c461"
},
"lzma_sha": {
"cold": {
"guest_real_seconds": 2.16,
"hash_match": true,
"host_timeout": false,
"returncode": 0,
"sha256": "ddda39737f0f6093e828a032ec161511fefbb1fa361bc6cbffdbc91e48e4c461"
},
"warm": {
"guest_real_seconds": 1.44,
"hash_match": true,
"host_timeout": false,
"returncode": 0,
"sha256": "ddda39737f0f6093e828a032ec161511fefbb1fa361bc6cbffdbc91e48e4c461"
}
},
"repo_pre_9_tree": "9d7eaf63a1c5d07320af3ef39930fc0a3530dd11",
"schema": "pre9-cache-final-manual-v1",
"single_pread": [
{
"elapsed_seconds": 2.696,
"hash_match": true,
"length": 4096,
"returncode": 0,
"sha256": "1c3c59331a4849514667bbc51c078327577b98f75a62996bbc2fe310b014dd79"
},
{
"elapsed_seconds": 2.14,
"hash_match": true,
"length": 16384,
"returncode": 0,
"sha256": "2433ce7c2ea151f487a319447ce4fe14e1a2c2af9f0e5113fe47fc74b6138eee"
},
{
"elapsed_seconds": 1.369,
"hash_match": true,
"length": 65536,
"returncode": 0,
"sha256": "2bb87afd3b9fab420cbe55b782d69a7342150e8816a35efacf22d2ab3012815d"
},
{
"elapsed_seconds": 3.838,
"hash_match": true,
"length": 1048576,
"returncode": 0,
"sha256": "52e806509e5dfeb523904f167fca765d001ea749351ecf51738e61a5352a1ba3"
}
],
"src_tree": "e657e8a63b097b061670f75ca01947a568ef33d5",
"started_utc": "2026-08-13T05:59:41Z",
"tested_head": "cdcf276d12169a672d2de42996532a470ac061d9",
"verdict": {
"build_load_mount": "PASS",
"cleanup": "PASS",
"lzma_concurrency": "PASS",
"lzma_full_correctness": "PASS",
"lzma_liveness_performance": "PASS",
"lzma_single_pread_correctness": "PASS",
"non_lzma_lz4": "PASS"
}
}
@@ -0,0 +1,22 @@
Run3 target-file syscall evidence (dynamic-loader pread calls omitted)
repo-pre-7
4096: pread(fd, ..., 4096, 0) = 4096; process exit 0
16384: pread(fd, ..., 16384, 0) = 16384; process exit 0
65536: pread(fd, ..., 65536, 0) = 65536; process exit 0
1048576: pread(fd, ..., 1048576, 0) = 1048576; process exit 0
repo-pre-8
4096: pread(fd, ..., 4096, 0) = 4096; process exit 0
16384: pread(fd, ..., 16384, 0) = 16384; process exit 0
65536: pread(fd, ..., 65536, 0) = 65536; process exit 0
1048576: pread(fd, ..., 1048576, 0) = 1048576; process exit 0
repo-pre-9
4096: pread(fd, ..., 4096, 0) = 4096; process exit 0
16384: pread(fd, ..., 16384, 0) = 16384; process exit 0
65536: pread(fd, ..., 65536, 0) = 65536; process exit 0
1048576: pread(fd, ..., 1048576, 0) = 1048576; process exit 0
All mounted-output hashes matched corresponding source-range hashes. The full
hash values and elapsed times are retained in run3-audit.json.
+62
View File
@@ -0,0 +1,62 @@
{
"base_image": {
"before": "67f359621f23a1d745f0889370cbb99a096cee3e99a0b2f3bb18fc7a91bf6fef",
"after": "67f359621f23a1d745f0889370cbb99a096cee3e99a0b2f3bb18fc7a91bf6fef",
"expected": "67f359621f23a1d745f0889370cbb99a096cee3e99a0b2f3bb18fc7a91bf6fef",
"unchanged": true
},
"fixture": {
"image_sha256": "32107a084b27362a093768b88746c37c2e99a74b9f1301a9d4046988479defe9",
"source_sha256": "ddda39737f0f6093e828a032ec161511fefbb1fa361bc6cbffdbc91e48e4c461"
},
"versions": [
{
"name": "repo-pre-7",
"repository_tree": "b8f9af2cd55225c4348b79ff5910ae6fc83cd517",
"src_tree": "dc203534d7b5721905f8538026e4c59346106020",
"kld_sha256": "33a52f2f16a94afda0501d305b238678b96c71e420d4b8bbcbeec6ffcdf1aae5",
"probes": [
{"length": 4096, "returned": 4096, "elapsed_seconds": 1.2993653398007154, "hash_match": true, "target_pread_count": 1},
{"length": 16384, "returned": 16384, "elapsed_seconds": 1.2910558842122555, "hash_match": true, "target_pread_count": 1},
{"length": 65536, "returned": 65536, "elapsed_seconds": 1.4380157887935638, "hash_match": true, "target_pread_count": 1},
{"length": 1048576, "returned": 1048576, "elapsed_seconds": 1.4320225361734629, "hash_match": true, "target_pread_count": 1}
],
"dd_1m_seconds": 0.195526,
"sha_sample_offset": 1245184,
"sha_hash_captured": false,
"cleanup": {"umount": 0, "mdconfig_detach": 0, "kldunload": 0, "qemu_alive": false, "overlay_exists": false}
},
{
"name": "repo-pre-8",
"repository_tree": "1e24c992a5b071e6fdabfdc42d342b6ed5a91cf5",
"src_tree": "cbf93a19df8d1ce2fb66e2aeb7276a4ea6d4dcc2",
"kld_sha256": "348cb1f5a91d47e1412747d285c795c49375a61a66cfb3d35d22f38ecfde6ea0",
"probes": [
{"length": 4096, "returned": 4096, "elapsed_seconds": 1.2161498833447695, "hash_match": true, "target_pread_count": 1},
{"length": 16384, "returned": 16384, "elapsed_seconds": 1.3266378343105316, "hash_match": true, "target_pread_count": 1},
{"length": 65536, "returned": 65536, "elapsed_seconds": 1.4296557288616896, "hash_match": true, "target_pread_count": 1},
{"length": 1048576, "returned": 1048576, "elapsed_seconds": 1.4422911144793034, "hash_match": true, "target_pread_count": 1}
],
"dd_1m_seconds": 0.179484,
"sha_sample_offset": 1150976,
"sha_hash_captured": false,
"cleanup": {"umount": 0, "mdconfig_detach": 0, "kldunload": 0, "qemu_alive": false, "overlay_exists": false}
},
{
"name": "repo-pre-9",
"repository_tree": "dc0c01157b5c925684bd77c57ed6703904af7453",
"src_tree": "cbf93a19df8d1ce2fb66e2aeb7276a4ea6d4dcc2",
"kld_sha256": "348cb1f5a91d47e1412747d285c795c49375a61a66cfb3d35d22f38ecfde6ea0",
"probes": [
{"length": 4096, "returned": 4096, "elapsed_seconds": 1.7912541721016169, "hash_match": true, "target_pread_count": 1},
{"length": 16384, "returned": 16384, "elapsed_seconds": 1.341409295797348, "hash_match": true, "target_pread_count": 1},
{"length": 65536, "returned": 65536, "elapsed_seconds": 1.3740410972386599, "hash_match": true, "target_pread_count": 1},
{"length": 1048576, "returned": 1048576, "elapsed_seconds": 1.737462431192398, "hash_match": true, "target_pread_count": 1}
],
"dd_1m_seconds": 0.367417,
"sha_sample_offset": 1044480,
"sha_hash_captured": false,
"cleanup": {"umount": 0, "mdconfig_detach": 0, "kldunload": 0, "qemu_alive": false, "overlay_exists": false}
}
]
}