Skip to content

Conversation

@AlexeyKuznetsov-DD
Copy link

@AlexeyKuznetsov-DD AlexeyKuznetsov-DD commented Feb 11, 2026

Motivation

While following the README.md setup instructions on my personal MacBook, the first command (./build.sh -i runner) failed.

After a short investigation, I discovered that macOS does not provide the timeout command by default. On macOS, the equivalent functionality is available via GNU coreutils as gtimeout.

Changes

  • Updated README.md with instructions for installing coreutils on macOS.

Workflow

  1. ⚠️ Create your PR as draft ⚠️
  2. Work on you PR until the CI passes
  3. Mark it as ready for review
    • Test logic is modified? -> Get a review from RFC owner.
    • Framework is modified, or non obvious usage of it -> get a review from R&P team

🚀 Once your PR is reviewed and the CI green, you can merge it!

🛟 #apm-shared-testing 🛟

Reviewer checklist

  • Anything but tests/ or manifests/ is modified ? I have the approval from R&P team
  • A docker base image is modified?
    • the relevant build-XXX-image label is present
  • A scenario is added, removed or renamed?

@AlexeyKuznetsov-DD AlexeyKuznetsov-DD self-assigned this Feb 11, 2026
@AlexeyKuznetsov-DD AlexeyKuznetsov-DD requested a review from a team as a code owner February 11, 2026 16:05
@AlexeyKuznetsov-DD AlexeyKuznetsov-DD added the dev-x Improve developer experience label Feb 11, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Feb 11, 2026

CODEOWNERS have been resolved as:

README.md                                                               @DataDog/system-tests-core

@nccatoni
Copy link
Collaborator

Looking to my own system, macOS seems to have the timeout command from coreutils (/opt/homebrew/opt/coreutils/libexec/gnubin/timeout)

@AlexeyKuznetsov-DD
Copy link
Author

Looking to my own system, macOS seems to have the timeout command from coreutils (/opt/homebrew/opt/coreutils/libexec/gnubin/timeout)

yep, probably you installed it at some point.
As a recent new joiner I have clean MacOS laptop, so no coreutils installed for me.

@nccatoni
Copy link
Collaborator

I understand that, but why did you use gtimeout instead of timeout?

@AlexeyKuznetsov-DD
Copy link
Author

AlexeyKuznetsov-DD commented Feb 11, 2026

I understand that, but why did you use gtimeout instead of timeout?

If I understand correctly coreutils would provide gtimeout OOTB (Homebrew prefixes GNU tools with g to avoid clashing with BSD tools.), and to get timeout you may need to do additional steps, like adding /opt/homebrew/opt/coreutils/libexec/gnubin/timeout to the PATH variable or adding alias manually.

So, I think using gtimeout is a bit simpler than asking user to do additional manipulations more than just brew install coreutils. Does it make sense?

@datadog-datadog-prod-us1

This comment has been minimized.

@AlexeyKuznetsov-DD AlexeyKuznetsov-DD changed the title Added support for MacOs, as timeout function available only on Linux. Added notice about timeout function for macOs. Feb 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dev-x Improve developer experience

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants