Overview
| Comment: | 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. |
|---|---|
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
cb8c8be8d9364016fd6438afc1388f10 |
| User & Date: | dmestas on 2026-11-18 19:35:43.236 |
| Other Links: | manifest | tags |
Context
|
2026-11-18
| ||
| 23:06 |
Instructions join per harness, and an upstream can be a local folder
A harness's instruction file is now joined from up to four suppliers, ranked: the shared one, the harness's own (an outfit with only = HARNESS), the one limited to this machine, and the machine's own for that harness. Each rank has at most one supplier; more than one rank is joined in that order, each source as it is in the store, separated by a blank line. One supplier still links straight to the store's file. So every harness can read a shared file and one harness an extra one, where an only outfit's instructions used to clash with the shared ones. The same rule holds at personal scope. An upstream whose url is file:// and an absolute path is a local upstream. suit upstream NAME take with no FOLDER takes from it. The hourly suit tend takes every local upstream whose folder changed since its last take, and accepts it when trust = auto, so a skill whose home is one of the owner's own repositories is placed without a copy kept by hand. Changed is decided by a stamp of the folder kept in suit's home folder (path, size, mtime, inode and executable bit of each entry): an unchanged hour costs one lstat per entry and opens no file of the upstream. As with the no-change run, an edit that keeps a file's size and mtime is not seen until the next one that does not. A missing folder is one attention item that clears when it is back. The take comment names the folder, and the pin when there is one. Three upstream usage cases changed their expected text, because take no longer needs a FOLDER. 3828 unit checks (was 3792), 625 shell cases, 1258 store cases (was 1153), 1032 placement cases (was 985), 382 project cases (was 378), 237 usage cases (was 236), 288 curate cases, 376 curate-apply cases and 172 https cases, under clang, under gcc 16, with no user name set and umask 002, and under umask 027, in one run of make gate (77 minutes). 100% coverage in all 34 source files. check-in: 75c8fde976 user: dmestas tags: trunk | |
| 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 | |