Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-11387

build regression on 4.13: ERROR: bash-5.0.11-r1.post-install: script exited with error 127

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Normal
    • None
    • 4.13.0
    • Build
    • None
    • Moderate
    • Build + Jenkins Sprint #234, Pipeline Integrations #235, Pipeline Integrations #236, Pipeline Integrations #237
    • 4
    • Yes
    • Rejected
    • False
    • Hide

      None

      Show
      None

    Description

      Description of problem:

      A build which works on 4.12 errored out on 4.13.

      Version-Release number of selected component (if applicable):

      oc --context build02 get clusterversion version
      NAME      VERSION       AVAILABLE   PROGRESSING   SINCE   STATUS
      version   4.13.0-ec.3   True        False         4d2h    Cluster version is 4.13.0-ec.3

      How reproducible:

      Always

      Steps to Reproduce:

      1. oc new-project hongkliu-test
      2. oc create is test-is --as system:admin
      3. oc apply -f test-bc.yaml # the file is in the attachment

      Actual results:

      oc --context build02 logs test-bc-5-build
      Defaulted container "docker-build" out of: docker-build, manage-dockerfile (init)
      time="2023-02-20T19:13:38Z" level=info msg="Not using native diff for overlay, this may cause degraded performance for building images: kernel has CONFIG_OVERLAY_FS_REDIRECT_DIR enabled"
      I0220 19:13:38.405163       1 defaults.go:112] Defaulting to storage driver "overlay" with options [mountopt=metacopy=on].
      Caching blobs under "/var/cache/blobs".Pulling image image-registry.openshift-image-registry.svc:5000/ci/html-proofer@sha256:684aae4e929e596f7042c34a3604c81137860187305f775c2380774bda4b6b08 ...
      Trying to pull image-registry.openshift-image-registry.svc:5000/ci/html-proofer@sha256:684aae4e929e596f7042c34a3604c81137860187305f775c2380774bda4b6b08...
      Getting image source signatures
      Copying blob sha256:aa8ae8202b42d1c70c3a7f65680eabc1c562a29227549b9a1b33dc03943b20d2
      Copying blob sha256:31326f32ac37d5657248df0a6aa251ec6a416dab712ca1236ea40ca14322a22c
      Copying blob sha256:b21786fe7c0d7561a5b89ca15d8a1c3e4ea673820cd79f1308bdfd8eb3cb7142
      Copying blob sha256:68296e6645b26c3af42fa29b6eb7f5befa3d8131ef710c25ec082d6a8606080d
      Copying blob sha256:6b1c37303e2d886834dab68eb5a42257daeca973bbef3c5d04c4868f7613c3d3
      Copying blob sha256:cbdbe7a5bc2a134ca8ec91be58565ec07d037386d1f1d8385412d224deafca08
      Copying blob sha256:46cf6a1965a3b9810a80236b62c42d8cdcd6fb75f9b58d1b438db5736bcf2669
      Copying config sha256:9aefe4e59d3204741583c5b585d4d984573df8ff751c879c8a69379c168cb592
      Writing manifest to image destination
      Storing signatures
      Adding transient rw bind mount for /run/secrets/rhsm
      STEP 1/4: FROM image-registry.openshift-image-registry.svc:5000/ci/html-proofer@sha256:684aae4e929e596f7042c34a3604c81137860187305f775c2380774bda4b6b08
      STEP 2/4: RUN apk add --no-cache bash
      fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz
      fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz
      (1/1) Installing bash (5.0.11-r1)
      Executing bash-5.0.11-r1.post-install
      ERROR: bash-5.0.11-r1.post-install: script exited with error 127
      Executing busybox-1.31.1-r9.trigger
      ERROR: busybox-1.31.1-r9.trigger: script exited with error 127
      1 error; 21 MiB in 40 packages
      error: build error: building at STEP "RUN apk add --no-cache bash": while running runtime: exit status 1

      Expected results:

       

      Additional info:

      Run the build on build01 (4.12.4) and it works fine.
      
      oc --context build01 get clusterversion version
      NAME      VERSION   AVAILABLE   PROGRESSING   SINCE   STATUS
      version   4.12.4    True        False         2d11h   Cluster version is 4.12.4

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-nalin Nalin Dahyabhai
              hongkliu Hongkai Liu
              Corey Daley Corey Daley
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: