Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(provisionersdk): change test to use bash script instead of binary echo #12759

Merged
merged 1 commit into from
Mar 26, 2024

Conversation

spikecurtis
Copy link
Contributor

@spikecurtis spikecurtis commented Mar 26, 2024

Just upgraded to macOS 14.4 and TestAgentScript/Run fails for me with error signal: killed. I opened the test directory in a terminal and sure enough, when you execute the echo binary, it is immediately killed. The binary has no extended attributes and is byte-identical to the one in /bin/.

This fix uses a different strategy: instead of copying the echo binary from the system around, we just copy a small bash script that calls the echo command.

Copy link
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @spikecurtis and the rest of your teammates on Graphite Graphite

@spikecurtis spikecurtis marked this pull request as ready for review March 26, 2024 09:55
Copy link
Member

@johnstcn johnstcn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Smoke-tested in both dogfood and in local nix on macOS

@spikecurtis spikecurtis merged commit 51491fc into main Mar 26, 2024
27 checks passed
@spikecurtis spikecurtis deleted the spike/macos14.4-provisionersdk branch March 26, 2024 10:37
@github-actions github-actions bot locked and limited conversation to collaborators Mar 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants