Uploaded image for project: 'OpenShift Dev Console'
  1. OpenShift Dev Console
  2. ODC-5822

Started the pipeline with 'git-clone' task using config workspace is failed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • openshift-4.8
    • None
    • QE
    • False
    • False
    • 0
    • Undefined
    • Not Supported
    • Medium

      Description of problem:

      Start the pipeline by selecting config map value as 'config-service-cabundle'

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

      pipeline needs to be created with 'git-clone' task

      Steps to Reproduce

      Given user created pipeline "test-configmap-pipeline" with 'git-clone' task
      And user created Config Map using yaml "pipeline-configMap.yaml"
      When user selects "Start" option from kebab menu for pipeline "test-configmap-pipeline"
      And user enters first param as "param-1"
      And user selects volume type "Config Map" from workspaces dropdown
      And user selects "sensitive-recipe-storage" from Config Map dropdown
      And user selects Start button
      Then user will be redirected to Pipeline Run Details page
      And user will see Config Map Workspace "sensitive-recipe-storage" mentioned in the Workspace Resources section of Pipeline Run Details page

      config-map.yaml content

      apiVersion: v1
      kind: ConfigMap
      metadata: 
        name: sensitive-recipe-storage
      data: 
        brownies: |
          1. Heat oven to 325 degrees F
          2. Melt 1/2 cup butter w/ 1/2 cup cocoa, stirring smooth.
          3. Remove from heat, allow to cool for a few minutes.
          4. Transfer to bowl.
          5. Whisk in 2 eggs, one at a time.
          6. Stir in vanilla.
          7. Separately combine 1 cup sugar, 1/4 cup flour, 1 cup chopped
             walnuts and pinch of salt
          8. Combine mixtures.
          9. Bake in greased pan for 30 minutes. Watch carefully for
             appropriate level of gooeyness.
      

      Actual results:

      Pipeline is failed with above config-map and also tried with other config maps as well

      Expected results:

      pipeline run should be successful

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Build Details:

      4.8.0-0.nightly-2021-05-10-151546

      Additional info:

      Pipelines with 'git-clone' task are failed with other config maps as well

      *Log snippet: *
      + [[ true == \t\r\u\e ]]
      + cleandir
      + [[ -d /workspace/output/ ]]
      + rm -rf /workspace/output//brownies
      rm: cannot remove '/workspace/output//brownies': Read-only file system

      Pipelines with 'git-cli' task are successful

        1. odc-5822.png
          144 kB
          Balaji Makam

            bmakam@redhat.com Balaji Makam (Inactive)
            bmakam@redhat.com Balaji Makam (Inactive)
            Gajanan More Gajanan More (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: