This is a clone of issue OCPBUGS-36800. The following is the description of the original issue:
—
This is a clone of issue OCPBUGS-36182. The following is the description of the original issue:
—
This is a clone of issue OCPBUGS-33486. The following is the description of the original issue:
—
Description of problem:
Build tests in OCP 4.14 reference Ruby images that are now EOL. The related code in our sample ruby build was deleted.
Version-Release number of selected component (if applicable):
4.14
How reproducible:
Always
Steps to Reproduce:
1. Run the build suite for OCP 4.14 against a 4.14 cluster
Actual results:
Test [sig-builds][Feature:Builds][Slow] builds with a context directory s2i context directory build should s2i build an application using a context directory [apigroup:build.openshift.io] fails 2024-05-08T11:11:57.558298778Z I0508 11:11:57.558273 1 builder.go:400] Powered by buildah v1.31.0 2024-05-08T11:11:57.581578795Z I0508 11:11:57.581509 1 builder.go:473] effective capabilities: [audit_control=true audit_read=true audit_write=true block_suspend=true bpf=true checkpoint_restore=true chown=true dac_override=true dac_read_search=true fowner=true fsetid=true ipc_lock=true ipc_owner=true kill=true lease=true linux_immutable=true mac_admin=true mac_override=true mknod=true net_admin=true net_bind_service=true net_broadcast=true net_raw=true perfmon=true setfcap=true setgid=true setpcap=true setuid=true sys_admin=true sys_boot=true sys_chroot=true sys_module=true sys_nice=true sys_pacct=true sys_ptrace=true sys_rawio=true sys_resource=true sys_time=true sys_tty_config=true syslog=true wake_alarm=true] 2024-05-08T11:11:57.583755245Z I0508 11:11:57.583715 1 builder.go:401] redacted build: {"kind":"Build","apiVersion":"build.openshift.io/v1","metadata":{"name":"s2icontext-1","namespace":"e2e-test-contextdir-wpphk","uid":"c2db2893-06e5-4274-96ae-d8cd635a1f8d","resourceVersion":"51882","generation":1,"creationTimestamp":"2024-05-08T11:11:55Z","labels":{"buildconfig":"s2icontext","openshift.io/build-config.name":"s2icontext","openshift.io/build.start-policy":"Serial"},"annotations":{"openshift.io/build-config.name":"s2icontext","openshift.io/build.number":"1"},"ownerReferences":[{"apiVersion":"build.openshift.io/v1","kind":"BuildConfig","name":"s2icontext","uid":"b7dbb52b-ae66-4465-babc-728ae3ceed9a","controller":true}],"managedFields":[{"manager":"openshift-apiserver","operation":"Update","apiVersion":"build.openshift.io/v1","time":"2024-05-08T11:11:55Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:openshift.io/build-config.name":{},"f:openshift.io/build.number":{}},"f:labels":{".":{},"f:buildconfig":{},"f:openshift.io/build-config.name":{},"f:openshift.io/build.start-policy":{}},"f:ownerReferences":{".":{},"k:{\"uid\":\"b7dbb52b-ae66-4465-babc-728ae3ceed9a\"}":{}}},"f:spec":{"f:output":{"f:to":{}},"f:serviceAccount":{},"f:source":{"f:contextDir":{},"f:git":{".":{},"f:uri":{}},"f:type":{}},"f:strategy":{"f:sourceStrategy":{".":{},"f:env":{},"f:from":{},"f:pullSecret":{}},"f:type":{}},"f:triggeredBy":{}},"f:status":{"f:conditions":{".":{},"k:{\"type\":\"New\"}":{".":{},"f:lastTransitionTime":{},"f:lastUpdateTime":{},"f:status":{},"f:type":{}}},"f:config":{},"f:phase":{}}}}]},"spec":{"serviceAccount":"builder","source":{"type":"Git","git":{"uri":"https://github.com/sclorg/s2i-ruby-container"},"contextDir":"2.7/test/puma-test-app"},"strategy":{"type":"Source","sourceStrategy":{"from":{"kind":"DockerImage","name":"image-registry.openshift-image-registry.svc:5000/openshift/ruby:2.7-ubi8"},"pullSecret":{"name":"builder-dockercfg-v9xk2"},"env":[{"name":"BUILD_LOGLEVEL","value":"5"}]}},"output":{"to":{"kind":"DockerImage","name":"image-registry.openshift-image-registry.svc:5000/e2e-test-contextdir-wpphk/test:latest"},"pushSecret":{"name":"builder-dockercfg-v9xk2"}},"resources":{},"postCommit":{},"nodeSelector":null,"triggeredBy":[{"message":"Manually triggered"}]},"status":{"phase":"New","outputDockerImageReference":"image-registry.openshift-image-registry.svc:5000/e2e-test-contextdir-wpphk/test:latest","config":{"kind":"BuildConfig","namespace":"e2e-test-contextdir-wpphk","name":"s2icontext"},"output":{},"conditions":[{"type":"New","status":"True","lastUpdateTime":"2024-05-08T11:11:55Z","lastTransitionTime":"2024-05-08T11:11:55Z"}]}} 2024-05-08T11:11:57.584949442Z Cloning "https://github.com/sclorg/s2i-ruby-container" ... 2024-05-08T11:11:57.585044449Z I0508 11:11:57.585030 1 source.go:237] git ls-remote --heads https://github.com/sclorg/s2i-ruby-container 2024-05-08T11:11:57.585081852Z I0508 11:11:57.585072 1 repository.go:450] Executing git ls-remote --heads https://github.com/sclorg/s2i-ruby-container 2024-05-08T11:11:57.840621917Z I0508 11:11:57.840572 1 source.go:237] 663daf43b2abb5662504638d017c7175a6cff59d refs/heads/3.2-experimental 2024-05-08T11:11:57.840621917Z 88b4e684576b3fe0e06c82bd43265e41a8129c5d refs/heads/add_test_latest_imagestreams 2024-05-08T11:11:57.840621917Z 12a863ab4b050a1365d6d59970dddc6743e8bc8c refs/heads/master 2024-05-08T11:11:57.840730405Z I0508 11:11:57.840714 1 source.go:69] Cloning source from https://github.com/sclorg/s2i-ruby-container 2024-05-08T11:11:57.840793509Z I0508 11:11:57.840781 1 repository.go:450] Executing git clone --recursive --depth=1 https://github.com/sclorg/s2i-ruby-container /tmp/build/inputs 2024-05-08T11:11:59.073229755Z I0508 11:11:59.073183 1 repository.go:450] Executing git rev-parse --abbrev-ref HEAD 2024-05-08T11:11:59.080132731Z I0508 11:11:59.080079 1 repository.go:450] Executing git rev-parse --verify HEAD 2024-05-08T11:11:59.083626287Z I0508 11:11:59.083586 1 repository.go:450] Executing git --no-pager show -s --format=%an HEAD 2024-05-08T11:11:59.115407368Z I0508 11:11:59.115361 1 repository.go:450] Executing git --no-pager show -s --format=%ae HEAD 2024-05-08T11:11:59.195276873Z I0508 11:11:59.195231 1 repository.go:450] Executing git --no-pager show -s --format=%cn HEAD 2024-05-08T11:11:59.198916080Z I0508 11:11:59.198879 1 repository.go:450] Executing git --no-pager show -s --format=%ce HEAD 2024-05-08T11:11:59.204712375Z I0508 11:11:59.204663 1 repository.go:450] Executing git --no-pager show -s --format=%ad HEAD 2024-05-08T11:11:59.211098793Z I0508 11:11:59.211051 1 repository.go:450] Executing git --no-pager show -s --format=%<(80,trunc)%s HEAD 2024-05-08T11:11:59.216192627Z I0508 11:11:59.216149 1 repository.go:450] Executing git config --get remote.origin.url 2024-05-08T11:11:59.218615714Z Commit: 12a863ab4b050a1365d6d59970dddc6743e8bc8c (Bump common from `1f774c8` to `a957816` (#537)) 2024-05-08T11:11:59.218661988Z Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 2024-05-08T11:11:59.218683019Z Date: Tue Apr 9 15:24:11 2024 +0200 2024-05-08T11:11:59.218722882Z I0508 11:11:59.218711 1 repository.go:450] Executing git rev-parse --abbrev-ref HEAD 2024-05-08T11:11:59.234411732Z I0508 11:11:59.234366 1 repository.go:450] Executing git rev-parse --verify HEAD 2024-05-08T11:11:59.237729596Z I0508 11:11:59.237698 1 repository.go:450] Executing git --no-pager show -s --format=%an HEAD 2024-05-08T11:11:59.255304604Z I0508 11:11:59.255269 1 repository.go:450] Executing git --no-pager show -s --format=%ae HEAD 2024-05-08T11:11:59.261113560Z I0508 11:11:59.261074 1 repository.go:450] Executing git --no-pager show -s --format=%cn HEAD 2024-05-08T11:11:59.270006232Z I0508 11:11:59.269961 1 repository.go:450] Executing git --no-pager show -s --format=%ce HEAD 2024-05-08T11:11:59.278485984Z I0508 11:11:59.278443 1 repository.go:450] Executing git --no-pager show -s --format=%ad HEAD 2024-05-08T11:11:59.281940527Z I0508 11:11:59.281906 1 repository.go:450] Executing git --no-pager show -s --format=%<(80,trunc)%s HEAD 2024-05-08T11:11:59.299465312Z I0508 11:11:59.299423 1 repository.go:450] Executing git config --get remote.origin.url 2024-05-08T11:11:59.374652834Z error: provided context directory does not exist: 2.7/test/puma-test-app
Expected results:
Tests succeed
Additional info:
Ruby 2.7 is EOL and not searchable in the Red Hat container catalog. Failing test: https://prow.ci.openshift.org/view/gs/test-platform-results/pr-logs/pull/openshift_cluster-openshift-controller-manager-operator/344/pull-ci-openshift-cluster-openshift-controller-manager-operator-release-4.14-openshift-e2e-aws-builds-techpreview/1788152058105303040
- clones
-
OCPBUGS-36800 4.14: Build Tests Reference EOL Ruby Image
- Closed
- is blocked by
-
OCPBUGS-37799 [sig-builds][Feature:Builds][Slow] can use private repositories as build input build using an HTTP token should be able to clone source code via an HTTP token [apigroup:build.openshift.io]
- ASSIGNED
-
OCPBUGS-36800 4.14: Build Tests Reference EOL Ruby Image
- Closed
- is cloned by
-
OCPBUGS-41585 4.12: Build Tests Reference EOL Ruby Image
- Closed
- is depended on by
-
OCPBUGS-41585 4.12: Build Tests Reference EOL Ruby Image
- Closed
- links to
-
RHBA-2024:6811 OpenShift Container Platform 4.13.z bug fix update