Skip to content
suit Check-in [231b7b615b]
Login

Check-in [231b7b615b]

Overview
Comment:The gate builds and fuzzes first, and runs one stage under the forge's umask

make gate now starts with a cheap run, to build/fast.log: everything make check needs is built, not run, on a fresh build/dev with gcc 16 and again with clang, warnings being errors, and make fuzz runs every target once. A compile error or a fuzz finding stops the gate there instead of after the long suites; on this machine that stage took 18 minutes against 70 for the whole gate. make all still fuzzes again later. New target: make check-build.

The no-user stage also runs under umask 002, which is the forge runner's, so a test that depends on files being private fails here first.

The gate's summary listed only the first eight suites, which hid the https suite; it now lists them all and the fuzz counts.

Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 231b7b615bae945a68326a2263d6f232da57fd4b4f8df7f6e84b0bddd93b9d2d
User & Date: dmestas on 2026-11-18 18:37:32.529
Other Links: manifest | tags
Context
2026-11-18
19:35
The https tests stop their misbehaving servers on Linux too

On the forge's Linux runner the last https case found twelve test servers still listening. They were the misbehaving BearSSL servers: /bin/sh there is dash, which rejects `kill -- -PID`, so they were never signalled; the fossil servers had been stopped by pkill. Teardown now signals each server by PID, by process group and by a pkill on its port, waits up to 15 s for nothing to listen, then sends SIGKILL and waits again. The check that no server is left listening is as strict as before.

Checked here under dash, three runs of the https suite normally and three under umask 002, coverage, and the whole check under gcc 16. Linux's own pkill and nc behaviour is proven only on the forge. check-in: cb8c8be8d9 user: dmestas tags: trunk

18:37
The gate builds and fuzzes first, and runs one stage under the forge's umask

make gate now starts with a cheap run, to build/fast.log: everything make check needs is built, not run, on a fresh build/dev with gcc 16 and again with clang, warnings being errors, and make fuzz runs every target once. A compile error or a fuzz finding stops the gate there instead of after the long suites; on this machine that stage took 18 minutes against 70 for the whole gate. make all still fuzzes again later. New target: make check-build.

The no-user stage also runs under umask 002, which is the forge runner's, so a test that depends on files being private fails here first.

The gate's summary listed only the first eight suites, which hid the https suite; it now lists them all and the fuzz counts. check-in: 231b7b615b user: dmestas tags: trunk

18:37
The https tests make their certificate files private, so they pass on any umask

The forge's runner creates files with umask 002, so the certificate files and folders the tests made were group-writable, and the new check on certificate files rightly refused them: 10 unit checks and most https cases failed there. Every certificate the tests make is now 0644 in a 0755 folder, so the tests no longer depend on the umask. The check is unchanged. A new case, under umask 002, shows a group-writable CA file refused and the same file accepted after chmod 644.

In the coverage build only, a name-lookup child killed while writing its profile could corrupt it; the child now writes its own file and renames it when whole.

3792 unit checks (was 3788) and 172 https cases (was 170), with every other suite unchanged, under clang, under gcc 16, with no user name set and umask 002, and under umask 027, in one run of make gate. 100% coverage in all 34 source files. check-in: 70d6eed709 user: dmestas tags: trunk

Changes