-
Notifications
You must be signed in to change notification settings - Fork 84
Closed
Description
Hi team 👋
I'm encountering a permission denied error when the plugin tries to execute /src/bin/annotate
inside the container in:
junit-annotate-buildkite-plugin/hooks/command
Lines 46 to 57 in aa2fc74
docker \ | |
--log-level "error" \ | |
run \ | |
--rm \ | |
--volume "$artifacts_dir:/junits" \ | |
--volume "$PLUGIN_DIR/ruby:/src" \ | |
--env "BUILDKITE_PLUGIN_JUNIT_ANNOTATE_JOB_UUID_FILE_PATTERN=${BUILDKITE_PLUGIN_JUNIT_ANNOTATE_JOB_UUID_FILE_PATTERN:-}" \ | |
--env "BUILDKITE_PLUGIN_JUNIT_ANNOTATE_FAILURE_FORMAT=${BUILDKITE_PLUGIN_JUNIT_ANNOTATE_FAILURE_FORMAT:-}" \ | |
--env "BUILDKITE_PLUGIN_JUNIT_ANNOTATE_REPORT_SLOWEST=${BUILDKITE_PLUGIN_JUNIT_ANNOTATE_REPORT_SLOWEST:-}" \ | |
--env "BUILDKITE_PLUGIN_JUNIT_ANNOTATE_REPORT_SKIPPED=${BUILDKITE_PLUGIN_JUNIT_ANNOTATE_REPORT_SKIPPED:-}" \ | |
"${RUBY_IMAGE}" ruby /src/bin/annotate /junits \ | |
> "$annotation_path" |
The error looks like this:
ruby: Permission denied -- /src/bin/annotate (LoadError)
I’ve already checked the file permissions on the host (ruby/bin/annotate
), and they seem correct.
This happens at the point where the plugin runs the annotate command during the pipeline execution.
Environment
- Plugin version: v2.6.0
- CI environment: Buildkite agent in Podman
- Host OS: Fedora 41
Let me know if you need any more logs or context - happy to provide more details.
Thanks in advance for your help!
Metadata
Metadata
Assignees
Labels
No labels