-
Bug
-
Resolution: Done
-
Blocker
-
Pipelines 1.6
-
None
-
3
-
False
-
False
-
-
Pipelines Sprint 209
Expected behavior
Cluster task "buildah" works out of the box
Actual behavior
Task is not usable because of following error
STEP-BUILD 2021/10/29 14:06:55 warning: unsuccessful cred copy: ".docker" from "/tekton/creds" to "/": unable to create destination directory: mkdir /.docker: permission denied + buildah --storage-driver=vfs bud --format=oci --tls-verify=true --no-cache -f ./Dockerfile -t image-registry.openshift-image-registry.svc:5000/catalog1/buildah buildah time="2021-10-29T14:06:57Z" level=warning msg="error reading allowed ID mappings: error reading subuid mappings for user \"1001010000\" and subgid mappings for group \"1001010000\": No subuid ranges found for user \"1001010000\" in /etc/subuid" time="2021-10-29T14:06:57Z" level=warning msg="Found no UID ranges set aside for user \"1001010000\" in /etc/subuid." time="2021-10-29T14:06:57Z" level=warning msg="Found no GID ranges set aside for user \"1001010000\" in /etc/subgid." time="2021-10-29T14:06:57Z" level=warning msg="error running newgidmap: fork/exec /usr/bin/newgidmap: operation not permitted: " time="2021-10-29T14:06:57Z" level=warning msg="falling back to single mapping" time="2021-10-29T14:06:57Z" level=warning msg="error running newuidmap: fork/exec /usr/bin/newuidmap: operation not permitted: " time="2021-10-29T14:06:57Z" level=warning msg="falling back to single mapping" time="2021-10-29T14:06:57Z" level=warning msg="Error loading container config when searching for local runtime: no such file or directory" time="2021-10-29T14:06:57Z" level=error msg="failed to setup From and Bud flags: failed to get container config: no such file or directory" time="2021-10-29T14:06:57Z" level=error msg="exit status 1" STEP-PUSH 2021/10/29 14:06:55 warning: unsuccessful cred copy: ".docker" from "/tekton/creds" to "/": unable to create destination directory: mkdir /.docker: permission denied 2021/10/29 14:06:57 Skipping step because a previous step failed STEP-DIGEST-TO-RESULTS 2021/10/29 14:06:55 warning: unsuccessful cred copy: ".docker" from "/tekton/creds" to "/": unable to create destination directory: mkdir /.docker: permission denied 2021/10/29 14:06:57 Skipping step because a previous step failed
Steps to reproduce
1. install Pipelines operator from index image 129836
2. create a pipeline https://github.com/ppitonak/cluster-tasks-tests/blob/release-1.6/buildah/pipeline.yaml
3. create a pipeline run https://github.com/ppitonak/cluster-tasks-tests/blob/release-1.6/buildah/tests/run.yaml