Skip to content

The continuing intermittent macOS CI build failures #2814

@Numpsy

Description

@Numpsy

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 -

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"
where it explicitly expects that there is no error output from the test process -
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions