Overview
| Artifact ID: | e51b217c5c1108665e10694fd7de4045222c4876cf94c4ec7da1fe4fa0803b6a |
|---|---|
| Ticket: | 7b4a819535231639cccf59d197ed59ded4375119
Sometimes, on macOS, 15/20 minutes are not enough to run all testcases |
| User & Date: | sebres on 2026-09-11 15:05:30 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-wiki"
- comment changed to:
Attempts to fix (like [34db3351f1d7faf1]) would not help at all, because it is not slowness but [https://github.com/tcltk/tcl/actions/runs/34596018024/job/103251831007#step:5:119209|hang]: <code><pre style="margin-left:15pt"> 2026-09-11T11:58:45.9965230Z unixFCmd.test 2026-09-11T11:58:46.0526710Z ---- unixFCmd-1.1 start 2026-09-11T11:58:46.0538050Z ++++ unixFCmd-1.1 took 1 ms ... 2026-09-11T11:58:46.0595970Z ---- unixFCmd-2.3 start 2026-09-11T11:58:46.0596640Z ++++ unixFCmd-2.3 took 0 ms 2026-09-11T11:58:46.0599030Z ---- unixFCmd-2.4 start 2026-09-11T12:23:14.7589210Z ##[error]The action 'Run Tests' has timed out after 30 minutes. </pre></code> Something seems to be wrong in unixFCmd-2.4 (or rather with file copy) - looks like a race condition to me. Also the AIs are in agreement here: <i> On macOS, opening a FIFO for reading (without the O_NONBLOCK flag) blocks until another process opens the same FIFO for writing. This behavior is documented in the open(2) man page and is specific to the BSD-based kernel that macOS uses. On Linux, the same operation returns immediately, which is why the test may pass on other Unix-like systems but hangs on macOS. </i> The [./file?ci=core-8-6-branch&name=unix%2FtclUnixFCmd.c&ln=519-523|check for S_IFIFO] in DoCopyFile whether the source is fifo seems to be not enough there (or there is some bypass somewhere for MACOS and it fallsback to copy), or [e4d3a903de130788] misses something yet specific for macos.<br/> I could try to fix it, but I don't have macos to hand and debugging and fixing sporadic heisenbug on GH is thankless task.
- foundin changed to: "any"
- is_private changed to: "0"
- login: "sebres"
- priority changed to: "5 Medium"
- private_contact changed to: "50e9528765c18296566374b3fde2df942c394efd"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "sebres"
- subsystem changed to: "16. Commands A-H"
- title changed to:
Sometimes, on macOS, 15/20 minutes are not enough to run all testcases
- type changed to: "Bug"