-
Notifications
You must be signed in to change notification settings - Fork 4
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
Operation not permitted on MacOS runners #4
Comments
GoTestTools/gotestfmt-action has a bug with MacOS runners: GoTestTools/gotestfmt-action#4
GoTestTools/gotestfmt-action has a bug with MacOS runners: GoTestTools/gotestfmt-action#4
GoTestTools/gotestfmt-action has a bug with MacOS runners: GoTestTools/gotestfmt-action#4
Thank you @danielrbradley for the bug report! May I ask, is this failing only since the switch to the GoTestTools org, or has it failed before? |
We were previously using https://github.com/jaxxstorm/action-install-gh-release to install the binary from the previous repository. At the point we upgraded to v2 we also switched to use this action. It's not a hard blocked as we've just switched back to the install-gh-release action for these runners for now, but hope this helps fix up the process for others. |
Ah, I see, thank you for the confirmation. We'll try to fix this soon, it's probably just going to be something along the lines of changing the symlink. |
…82c2748a09317fe0860 (#2025) * Preparing the SDK folder for regeneration * Regenerating SDKs based on azure-rest-api-specs @ c71a66dab813061f1d09982c2748a09317fe0860 * Regenerating based on azure-rest-api-specs @ c71a66dab813061f1d09982c2748a09317fe0860 * Fix gotestfmt install in actions * Go back to jaxxstorm/action-install-gh-release GoTestTools/gotestfmt-action has a bug with MacOS runners: GoTestTools/gotestfmt-action#4 * Fix gotestfmt repo Co-authored-by: Daniel Bradley <daniel@pulumi.com>
Please check out new release v2.1.0 @danielrbradley. It contains a fix for this issue. |
This should help catch errors like GoTestTools#4 and GoTestTools#8 by ensuring that gotestfmt can run on all the major OS runners for GitHub Actions. Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com>
* Extend selftest workflow to multiple runners This should help catch errors like #4 and #8 by ensuring that gotestfmt can run on all the major OS runners for GitHub Actions. Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com> * Separate windows step from *nix runners This allows `bash` and `pwsh` syntax to be used separately to avoid having to write the test as a polyglot 😬 Also added `secrets.GITHUB_TOKEN` as a fallback in case the repo secret `secrets.GH_TOKEN` is not set up, e.g. in a fork. Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com> * Remove `/tmp` directory for artifacts On MacOS, this results in: ``` Error: Provided rootDirectory /tmp is not a valid directory ``` On Windows this results in: ``` Error: No files were found with the provided path: /tmp/gotest.windows.log. No artifacts will be uploaded. ``` Both seem to be unhappy with `/tmp`, since the workspace is implicitly cleaned up at the end of the workflow, there shouldn't be a need to specify `/tmp`. Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com> * Name each workflow run of the matrix Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com> * Fix artifact path Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com> * Simplify workflow by just using bash universally Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com> * Apply suggestions from code review Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com> Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com>
* Extend selftest workflow to multiple runners This should help catch errors like #4 and #8 by ensuring that gotestfmt can run on all the major OS runners for GitHub Actions. Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com> * Separate windows step from *nix runners This allows `bash` and `pwsh` syntax to be used separately to avoid having to write the test as a polyglot 😬 Also added `secrets.GITHUB_TOKEN` as a fallback in case the repo secret `secrets.GH_TOKEN` is not set up, e.g. in a fork. Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com> * Remove `/tmp` directory for artifacts On MacOS, this results in: ``` Error: Provided rootDirectory /tmp is not a valid directory ``` On Windows this results in: ``` Error: No files were found with the provided path: /tmp/gotest.windows.log. No artifacts will be uploaded. ``` Both seem to be unhappy with `/tmp`, since the workspace is implicitly cleaned up at the end of the workflow, there shouldn't be a need to specify `/tmp`. Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com> * Name each workflow run of the matrix Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com> * Fix artifact path Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com> * Simplify workflow by just using bash universally Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com> * Apply suggestions from code review Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com> Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com>
When using
runs-on: macos-latest
for a job, the action fails withOperation not permitted
during theLinking gotestfmt...
step (ln: /usr/bin/gotestfmt
).Action configuration:
Logs output:
The text was updated successfully, but these errors were encountered: