Skip to content

K2GO-595 fix(proot-builder): set a fixed date in the kernel matrix VMs - #832

Merged
luisguzman-adfa merged 1 commit into
mainfrom
chore/K2GO-595-kernel-matrix-vm-date
Nov 27, 2026
Merged

luisguzman-adfa merged 1 commit into
mainfrom
chore/K2GO-595-kernel-matrix-vm-date

Conversation

@luisguzman-adfa

Copy link
Copy Markdown
Collaborator

What changes

  • kernel-matrix/guest-init.sh: the VM sets a fixed date (2026-01-01) before the tests, and the K2GO-KERNEL line shows the clock at boot.

Why

The 4.4 and 4.15 VMs have no real-time clock: their time starts at 0 (1970-01-01) and moves in 1 s steps. A tar made in the first second gets mtime 0, which gzip refuses (warning: file timestamp out of range for gzip format, exit 2). So gzip-tar-roundtrip failed at random and stopped the publish of Bins run 6 (4.4, arm64-v8a). The binaries are not at fault.

Steps to QA

Baseline: touch -d @0 f && gzip -c f: exit 2 with the same warning (gzip 1.14; the bundle libgzip.so has the same message).
Change: run-kernel-matrix.sh on 3.16, 4.4, 4.9, 4.15, 6.12: the lines show clock at boot 0 (4.4) and 1 (4.15), then set to 1767225600.

Verifications

  • Kernel matrix with the V5 binaries: 235 passed, 0 failed, 19 skipped.
  • Test-only change: no binary and no app code changes.

Notes

After the merge, Bins 1 runs again on main to publish the K2GO-598 bundle.

The 4.4 and 4.15 VMs boot with their clock at 0. A tar made in the first second had mtime 0,
which gzip refuses (exit 2), so gzip-tar-roundtrip failed at random (Bins run 6).
@luisguzman-adfa
luisguzman-adfa merged commit 7cc28b8 into main Nov 27, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant