Uploaded image for project: 'OpenShift Pipelines'
  1. OpenShift Pipelines
  2. SRVKP-9037

QA - Getting Error: failed to change ownership : operation not permitted in cache-fetch stepaction on IBM P & Z env

XMLWordPrintable

    • 3

      Description of problem:

      Getting Error: failed to change ownership : operation not permitted in cache-fetch stepaction on IBM P env

      Prerequisites (if any, like setup, operators/versions):

      **

      1. Install 1.19.3 operator on IBM P env

      Steps to Reproduce

      1. Create a new test namespace
      2. Apply the below files in the test namespace
        https://raw.githubusercontent.com/openshift-pipelines/release-tests/refs/heads/master/testdata/ecosystem/pipelines/cache-stepactions-python.yaml
        https://raw.githubusercontent.com/openshift-pipelines/release-tests/refs/heads/master/testdata/pvc/pvc.yaml
      3. Create pipelineRun with default params and let the cache gets uploaded{}
      + /ko-app/cache upload --pattern '**requirment.txt' --target 'oci://image-registry.openshift-image-registry.svc:5000/test1/python-cache:{{hash}}' --folder /workspace/source/cache/lib --insecure false --workingdir /workspace/source/repo2025-08-25T13:01:41.461371281Z Matched the following files: [/workspace/source/repo/testdata/s2i_python/requirment.txt]2025-08-25T13:01:41.462577838Z Upload /workspace/source/cache/lib content to oci image image-registry.openshift-image-registry.svc:5000/test1/python-cache:bd20045bb4364b6b0e5e3f66c146c7bd08e6868205ed180194346571cbcb91b3 

      Rerun the cache pipeline with the same params and check the logs of the  pipelineRun

      Actual results:

      Getting Error: failed to change ownership : operation not permitted in cache-fetch stepaction in logs

      STEP-CACHE-FETCH2025-08-25T13:02:46.768117862Z Patterns: **requirment.txt2025-08-25T13:02:46.768633778Z + /ko-app/cache fetch --pattern '**requirment.txt' --source 'oci://image-registry.openshift-image-registry.svc:5000/test1/python-cache:{{hash}}' --folder /workspace/source/cache/lib --insecure false --workingdir /workspace/source/repo2025-08-25T13:02:46.885501537Z Matched the following files: [/workspace/source/repo/testdata/s2i_python/requirment.txt]2025-08-25T13:02:46.886452582Z Trying to fetch oci image image-registry.openshift-image-registry.svc:5000/test1/python-cache:bd20045bb4364b6b0e5e3f66c146c7bd08e6868205ed180194346571cbcb91b3 in /workspace/source/cache/lib2025-08-25T13:02:48.430922809Z 2025/08/25 13:02:48 Extracting tar.../workspace/source/cache/lib/cache.tar.gz2025-08-25T13:03:05.433860597Z Error: failed to change ownership of /workspace/source/cache/lib: chmod /workspace/source/cache/lib: operation not permitted2025-08-25T13:03:05.435508875Z + '[' 1 -eq 0 ']'2025-08-25T13:03:05.435531349Z + echo -n falseSTEP-CHECK-FETCH-RESULT2025-08-25T13:03:06.240379228Z Cache fetch failed 

      Expected results:

      Cache fetch should be successful when rerunning the pipeline

      2025-08-25T07:27:47.900300650Z Trying to fetch oci image image-registry.openshift-image-registry.svc:5000/test/python-cache:bd20045bb4364b6b0e5e3f66c146c7bd08e6868205ed180194346571cbcb91b3 in /workspace/source/cache/lib2025-08-25T07:27:48.696226327Z 2025/08/25 07:27:48 Extracting tar.../workspace/source/cache/lib/cache.tar.gz2025-08-25T07:27:49.147018310Z + '[' 0 -eq 0 ']'2025-08-25T07:27:49.147018310Z + echo -n trueSTEP-CHECK-FETCH-RESULT2025-08-25T07:27:49.990037688Z Cache fetch successful 

      Reproducibility (Always/Intermittent/Only Once):

      Acceptance criteria: 

       

      Definition of Done:

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

       

       *

              rhn-support-sselvan Sri Vignesh Selvan
              rh-ee-smanthin Sai Raju Manthina
              Sai Raju Manthina Sai Raju Manthina
              Lakshmi Daruri
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: