-
Notifications
You must be signed in to change notification settings - Fork 581
Description
We seem to still have an intermittent CI build failure on macOS, with errors about not being able to get the start time of a process -
https://github.com/fsprojects/FAKE/actions/runs/10654117014/job/29530030223#step:8:9395
Looking at the code, it seems to expect to fail to get the process start time sometimes, and responds by logging it and returning DateTime.Now -
FAKE/src/app/Fake.Core.Process/Process.fs
Line 470 in fac7295
| Trace.traceFAKE "Error while retrieving StartTime of started process: %O" e |
There are sometimes multiple instances of that error in the logs but the only one that seems to make it break is in the no dependencies hello world and casing #2314 test case at
| testCase "no dependencies hello world and casing #2314" |
| stdErr.Trim() |> Expect.equal "empty expected" "" |
I'm not sure why the error occurs (maybe it is just because the test process exits too quickly and is gone by the time the runner tries to get the time), so I 'm not sure if there is a bug or if the test is a bit too strict?
The error only seems to happen on macOS, though there is a different code path for Windows vs. macOS/Linux that might effect things there.