-
Notifications
You must be signed in to change notification settings - Fork 43
NO-ISSUE: Synchronize From Upstream Repositories #625
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NO-ISSUE: Synchronize From Upstream Repositories #625
Conversation
Bumps [soupsieve](https://github.com/facelessuser/soupsieve) from 2.8.1 to 2.8.2. - [Release notes](https://github.com/facelessuser/soupsieve/releases) - [Commits](facelessuser/soupsieve@2.8.1...2.8.2) --- updated-dependencies: - dependency-name: soupsieve dependency-version: 2.8.2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
@openshift-bot: This pull request explicitly references no jira issue. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
@openshift-bot: GitHub didn't allow me to request PR reviews from the following users: openshift/openshift-team-operator-framework. Note that only openshift members and repo collaborators can review this PR, and authors cannot review their own PRs. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Bumps [pkg.package-operator.run/boxcutter](https://github.com/package-operator/boxcutter) from 0.8.0 to 0.8.1. - [Release notes](https://github.com/package-operator/boxcutter/releases) - [Commits](package-operator/boxcutter@v0.8.0...v0.8.1) --- updated-dependencies: - dependency-name: pkg.package-operator.run/boxcutter dependency-version: 0.8.1 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
aa7f0d5 to
3eaaef6
Compare
Bumps [github.com/cert-manager/cert-manager](https://github.com/cert-manager/cert-manager) from 1.19.2 to 1.19.3. - [Release notes](https://github.com/cert-manager/cert-manager/releases) - [Changelog](https://github.com/cert-manager/cert-manager/blob/master/RELEASE.md) - [Commits](cert-manager/cert-manager@v1.19.2...v1.19.3) --- updated-dependencies: - dependency-name: github.com/cert-manager/cert-manager dependency-version: 1.19.3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3eaaef6 to
966e220
Compare
|
/lgtm |
|
/retest-required |
|
/retest |
…469) This PR implements **Phase 2** of the [Deployment Configuration RFC](https://docs.google.com/document/d/18O4qBvu5I4WIJgo5KU1opyUKcrfgk64xsI3tyXxmVEU/edit?tab=t.0): extending the OLMv1 bundle renderer to apply `DeploymentConfig` customizations to operator deployments. Building on the foundation from #2454, this PR enables the renderer to accept and apply deployment configuration when rendering registry+v1 bundles. The implementation follows OLMv0's behavior patterns to ensure compatibility and correctness. The next PR will wire up the config in the `ClusterExtension` controller by parsing `spec.install.config` to convert to `DeploymentConfig` and thread `DeploymentConfig` through the controller's render call chain
Bumps [soupsieve](https://github.com/facelessuser/soupsieve) from 2.8.2 to 2.8.3. - [Release notes](https://github.com/facelessuser/soupsieve/releases) - [Commits](facelessuser/soupsieve@2.8.2...2.8.3) --- updated-dependencies: - dependency-name: soupsieve dependency-version: 2.8.3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
966e220 to
5d3e0f9
Compare
|
[APPROVALNOTIFIER] This PR is APPROVED Approval requirements bypassed by manually added approval. This pull-request has been approved by: openshift-bot The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
/retest |
2 similar comments
|
/retest |
|
/retest |
Removes all test references to the openshift-redhat-marketplace ClusterCatalog which has been removed from the default catalogs. Changes: - Updated catalog list in olmv1-catalog.go - Removed marketplace /v1/api/all endpoint test - Removed marketplace /v1/api/metas endpoint test - Removed marketplace check from QE test PolarionID:77413
…ht test Signed-off-by: Per Goncalves da Silva <pegoncal@redhat.com>
Signed-off-by: Per Goncalves da Silva <pegoncal@redhat.com>
Signed-off-by: Per Goncalves da Silva <pegoncal@redhat.com>
5d3e0f9 to
c5f7c05
Compare
|
/assign @kuiwang02 |
I will test depolymentconfig basically with the PR. if it pass the basic, will add verified label. |
|
@openshift-bot: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
/verified by @kuiwang02 [sig-olmv1][Jira:OLM] OLMv1 ClusterExtension DeploymentConfig PolarionID:OLM-XXXXX-deploymentConfig env vars are applied to operator deployment and available in running pod [NonHyperShiftHOST]
/Users/kuiwang/GoProject/go-origin/src/github.com/openshift/operator-framework-operator-controller/openshift/tests-extension/test/qe/specs/olmv1_ce_deploymentconfig.go:26
STEP: Creating a kubernetes client @ 02/04/26 12:31:35.975
I0204 12:31:40.979061 41983 client.go:729] Running 'oc --kubeconfig=/Users/kuiwang/work/bin/jb/kubeconf/kubeconfig explain template.apiVersion'
STEP: Create test namespace @ 02/04/26 12:31:44.266
I0204 12:31:44.266842 41983 client.go:729] Running 'oc --kubeconfig=/Users/kuiwang/work/bin/jb/kubeconf/kubeconfig create ns test-ns-87224'
namespace/test-ns-87224 created
I0204 12:31:49.395433 41983 client.go:729] Running 'oc --kubeconfig=/Users/kuiwang/work/bin/jb/kubeconf/kubeconfig get ns test-ns-87224'
I0204 12:31:50.462120 41983 tools.go:379] output: NAME STATUS AGE
test-ns-87224 Active 5s
I0204 12:31:50.462353 41983 olmv1_ce_deploymentconfig.go:61] Created namespace: test-ns-87224
STEP: Create ServiceAccount and RBAC for ClusterExtension @ 02/04/26 12:31:50.462
I0204 12:31:50.462472 41983 sa-clusterrolebinding.go:34] =========Create sacrb test-sa-87224=========
I0204 12:31:50.462526 41983 sa-clusterrolebinding.go:58] =========CreateWithoutCheck sacrb test-sa-87224=========
I0204 12:31:53.464510 41983 client.go:753] showInfo is true
I0204 12:31:53.464632 41983 client.go:755] Running 'oc --namespace= --kubeconfig=/Users/kuiwang/work/bin/jb/kubeconf/kubeconfig process -n default --ignore-unknown-parameters=true -f /var/folders/wl/t8n9cyz511q96jx5xvjfwkn40000gn/T/fixture-testdata-dir1442490165/test/qe/testdata/olm/sa-admin.yaml -p NAME=test-sa-87224 NAMESPACE=test-ns-87224'
I0204 12:31:54.750803 41983 template.go:128] generated resource configuration file: /var/folders/wl/t8n9cyz511q96jx5xvjfwkn40000gn/T/default-459be1a4config.json.stdout
I0204 12:31:54.751452 41983 client.go:729] Running 'oc --kubeconfig=/Users/kuiwang/work/bin/jb/kubeconf/kubeconfig apply -f /var/folders/wl/t8n9cyz511q96jx5xvjfwkn40000gn/T/default-459be1a4config.json.stdout'
clusterrole.rbac.authorization.k8s.io/test-sa-87224-installer-admin-clusterrole created
serviceaccount/test-sa-87224 created
clusterrolebinding.rbac.authorization.k8s.io/test-sa-87224-installer-admin-clusterrole-binding created
I0204 12:32:02.500441 41983 client.go:729] Running 'oc --kubeconfig=/Users/kuiwang/work/bin/jb/kubeconf/kubeconfig get ServiceAccount test-sa-87224 -n test-ns-87224'
I0204 12:32:03.623199 41983 tools.go:379] output: NAME SECRETS AGE
test-sa-87224 1 6s
I0204 12:32:07.625066 41983 client.go:729] Running 'oc --kubeconfig=/Users/kuiwang/work/bin/jb/kubeconf/kubeconfig get ClusterRole test-sa-87224-installer-admin-clusterrole'
I0204 12:32:08.725187 41983 tools.go:379] output: NAME CREATED AT
test-sa-87224-installer-admin-clusterrole 2026-02-04T04:31:56Z
I0204 12:32:12.728229 41983 client.go:729] Running 'oc --kubeconfig=/Users/kuiwang/work/bin/jb/kubeconf/kubeconfig get ClusterRoleBinding test-sa-87224-installer-admin-clusterrole-binding'
I0204 12:32:14.053822 41983 tools.go:379] output: NAME ROLE AGE
test-sa-87224-installer-admin-clusterrole-binding ClusterRole/test-sa-87224-installer-admin-clusterrole 15s
I0204 12:32:14.054075 41983 olmv1_ce_deploymentconfig.go:71] Created ServiceAccount and RBAC: test-sa-87224
STEP: Create ClusterCatalog with test operator @ 02/04/26 12:32:14.054
I0204 12:32:14.054253 41983 catalog.go:48] =========Create clustercatalog test-catalog-87224=========
I0204 12:32:17.056242 41983 client.go:753] showInfo is true
I0204 12:32:17.056458 41983 client.go:755] Running 'oc --namespace= --kubeconfig=/Users/kuiwang/work/bin/jb/kubeconf/kubeconfig process -n default --ignore-unknown-parameters=true -f /var/folders/wl/t8n9cyz511q96jx5xvjfwkn40000gn/T/fixture-testdata-dir1442490165/test/qe/testdata/olm/clustercatalog-withlabel.yaml -p NAME=test-catalog-87224 IMAGE=quay.io/olmqe/nginx-ok-index:vokv87224 LABELVALUE=87224'
I0204 12:32:18.077589 41983 template.go:128] generated resource configuration file: /var/folders/wl/t8n9cyz511q96jx5xvjfwkn40000gn/T/default-beda6f9econfig.json.stdout
I0204 12:32:18.077755 41983 client.go:729] Running 'oc --kubeconfig=/Users/kuiwang/work/bin/jb/kubeconf/kubeconfig apply -f /var/folders/wl/t8n9cyz511q96jx5xvjfwkn40000gn/T/default-beda6f9econfig.json.stdout'
clustercatalog.olm.operatorframework.io/test-catalog-87224 created
I0204 12:32:20.126768 41983 catalog.go:105] ========= check clustercatalog test-catalog-87224 status is true =========
I0204 12:32:23.129477 41983 client.go:729] Running 'oc --kubeconfig=/Users/kuiwang/work/bin/jb/kubeconf/kubeconfig get clustercatalog test-catalog-87224 -o jsonpath={.status.conditions[?(@.type=="Serving")].status}'
I0204 12:32:24.187073 41983 tools.go:343] output is , error is <nil>, and try next
I0204 12:32:26.129239 41983 client.go:729] Running 'oc --kubeconfig=/Users/kuiwang/work/bin/jb/kubeconf/kubeconfig get clustercatalog test-catalog-87224 -o jsonpath={.status.conditions[?(@.type=="Serving")].status}'
I0204 12:32:27.170210 41983 tools.go:343] output is , error is <nil>, and try next
I0204 12:32:29.130090 41983 client.go:729] Running 'oc --kubeconfig=/Users/kuiwang/work/bin/jb/kubeconf/kubeconfig get clustercatalog test-catalog-87224 -o jsonpath={.status.conditions[?(@.type=="Serving")].status}'
I0204 12:32:30.149253 41983 tools.go:348] $oc get [clustercatalog test-catalog-87224 -o jsonpath={.status.conditions[?(@.type=="Serving")].status}], the returned resource:True
I0204 12:32:30.149374 41983 catalog.go:185] =========Get clustercatalog test-catalog-87224 contentURL =========
I0204 12:32:30.149605 41983 client.go:729] Running 'oc --kubeconfig=/Users/kuiwang/work/bin/jb/kubeconf/kubeconfig get route catalogd-service -n openshift-catalogd -o=jsonpath={.spec.host}'
I0204 12:32:31.415104 41983 client.go:729] Running 'oc --kubeconfig=/Users/kuiwang/work/bin/jb/kubeconf/kubeconfig get clustercatalog test-catalog-87224 -o jsonpath={.status.urls.base}'
I0204 12:32:32.459588 41983 tools.go:348] $oc get [clustercatalog test-catalog-87224 -o jsonpath={.status.urls.base}], the returned resource:https://catalogd-service.openshift-catalogd.svc/catalogs/test-catalog-87224
I0204 12:32:32.459703 41983 catalog.go:212] clustercatalog contentURL is https://catalogd-service-openshift-catalogd.apps.ci-ln-ff20b1k-76ef8.aws-4.ci.openshift.org/catalogs/test-catalog-87224/api/v1/all
I0204 12:32:32.459720 41983 olmv1_ce_deploymentconfig.go:82] Created ClusterCatalog: test-catalog-87224
STEP: Build deploymentConfig with env vars @ 02/04/26 12:32:32.459
STEP: Create ClusterExtension with deploymentConfig @ 02/04/26 12:32:32.459
I0204 12:32:32.459877 41983 deploymentconfig.go:75] ========= Creating ClusterExtension test-ext-87224 with deploymentConfig =========
I0204 12:32:32.460061 41983 deploymentconfig.go:159] ClusterExtension JSON:
{
"apiVersion": "olm.operatorframework.io/v1",
"kind": "ClusterExtension",
"metadata": {
"name": "test-ext-87224"
},
"spec": {
"config": {
"configType": "Inline",
"inline": {
"deploymentConfig": {
"env": [
{
"name": "TEST_ENV_VAR",
"value": "test-value"
},
{
"name": "ANOTHER_VAR",
"value": "another-value"
},
{
"name": "CUSTOM_LOG_LEVEL",
"value": "debug"
}
]
}
}
},
"namespace": "test-ns-87224",
"serviceAccount": {
"name": "test-sa-87224"
},
"source": {
"catalog": {
"channels": [
"alpha"
],
"packageName": "nginx-ok-v87224",
"selector": {
"matchLabels": {
"olmv1-test": "87224"
}
},
"upgradeConstraintPolicy": "CatalogProvided",
"version": "\u003e=0.0.1"
},
"sourceType": "Catalog"
}
}
}
I0204 12:32:32.460895 41983 client.go:729] Running 'oc --kubeconfig=/Users/kuiwang/work/bin/jb/kubeconf/kubeconfig apply -f /var/folders/wl/t8n9cyz511q96jx5xvjfwkn40000gn/T/clusterextension-1704972136.json'
clusterextension.olm.operatorframework.io/test-ext-87224 created
I0204 12:32:34.277973 41983 deploymentconfig.go:181] Successfully created ClusterExtension: test-ext-87224
I0204 12:32:34.278508 41983 clusterextension.go:173] ========= check clusterextension test-ext-87224 Progressing reason expect is Succeeded =========
I0204 12:32:37.281032 41983 client.go:729] Running 'oc --kubeconfig=/Users/kuiwang/work/bin/jb/kubeconf/kubeconfig get clusterextension test-ext-87224 -o jsonpath={.status.conditions[?(@.type=="Progressing")].reason}'
I0204 12:32:38.402925 41983 tools.go:348] $oc get [clusterextension test-ext-87224 -o jsonpath={.status.conditions[?(@.type=="Progressing")].reason}], the returned resource:Succeeded
I0204 12:32:38.403074 41983 clusterextension.go:130] ========= wait clusterextension test-ext-87224 Installed status is True =========
I0204 12:32:41.405453 41983 client.go:729] Running 'oc --kubeconfig=/Users/kuiwang/work/bin/jb/kubeconf/kubeconfig get clusterextension test-ext-87224 -o jsonpath={.status.conditions[?(@.type=="Installed")].status}'
I0204 12:32:42.453133 41983 tools.go:348] $oc get [clusterextension test-ext-87224 -o jsonpath={.status.conditions[?(@.type=="Installed")].status}], the returned resource:True
I0204 12:32:42.453214 41983 olmv1_ce_deploymentconfig.go:119] ClusterExtension installed successfully: test-ext-87224
STEP: Get operator Deployment name @ 02/04/26 12:32:42.453
I0204 12:32:42.453292 41983 deploymentconfig.go:370] ========= Getting operator deployment in namespace test-ns-87224 with selector =========
I0204 12:32:42.453577 41983 client.go:729] Running 'oc --kubeconfig=/Users/kuiwang/work/bin/jb/kubeconf/kubeconfig get deployment -n test-ns-87224 -o jsonpath={.items[*].metadata.name}'
I0204 12:32:43.667602 41983 deploymentconfig.go:397] Found operator deployment: nginx-ok-v87224-controller-manager
I0204 12:32:43.667725 41983 olmv1_ce_deploymentconfig.go:125] Operator deployment name: nginx-ok-v87224-controller-manager
STEP: Wait for deployment to rollout with configuration @ 02/04/26 12:32:43.667
I0204 12:32:43.667874 41983 deploymentconfig.go:517] ========= Waiting for deployment test-ns-87224/nginx-ok-v87224-controller-manager rollout to complete (timeout: 5m0s) =========
I0204 12:32:48.669850 41983 client.go:729] Running 'oc --kubeconfig=/Users/kuiwang/work/bin/jb/kubeconf/kubeconfig get deployment nginx-ok-v87224-controller-manager -n test-ns-87224 -o jsonpath={.status.availableReplicas}'
I0204 12:32:49.844745 41983 tools.go:348] $oc get [deployment nginx-ok-v87224-controller-manager -n test-ns-87224 -o jsonpath={.status.availableReplicas}], the returned resource:1
I0204 12:32:49.845433 41983 client.go:729] Running 'oc --kubeconfig=/Users/kuiwang/work/bin/jb/kubeconf/kubeconfig get deployment nginx-ok-v87224-controller-manager -n test-ns-87224 -o jsonpath={.spec.replicas}'
I0204 12:32:50.878496 41983 tools.go:348] $oc get [deployment nginx-ok-v87224-controller-manager -n test-ns-87224 -o jsonpath={.spec.replicas}], the returned resource:1
I0204 12:32:50.878997 41983 client.go:729] Running 'oc --kubeconfig=/Users/kuiwang/work/bin/jb/kubeconf/kubeconfig get deployment nginx-ok-v87224-controller-manager -n test-ns-87224 -o jsonpath={.status.updatedReplicas}'
I0204 12:32:52.208310 41983 tools.go:348] $oc get [deployment nginx-ok-v87224-controller-manager -n test-ns-87224 -o jsonpath={.status.updatedReplicas}], the returned resource:1
I0204 12:32:52.208579 41983 client.go:729] Running 'oc --kubeconfig=/Users/kuiwang/work/bin/jb/kubeconf/kubeconfig get deployment nginx-ok-v87224-controller-manager -n test-ns-87224 -o jsonpath={.status.readyReplicas}'
I0204 12:32:53.285961 41983 tools.go:348] $oc get [deployment nginx-ok-v87224-controller-manager -n test-ns-87224 -o jsonpath={.status.readyReplicas}], the returned resource:1
I0204 12:32:53.286119 41983 deploymentconfig.go:550] Deployment nginx-ok-v87224-controller-manager status: desired=1, updated=1, ready=1, available=1
I0204 12:32:53.286142 41983 deploymentconfig.go:556] Deployment nginx-ok-v87224-controller-manager rollout complete!
I0204 12:32:53.286173 41983 deploymentconfig.go:575] ✓ Deployment test-ns-87224/nginx-ok-v87224-controller-manager rollout completed successfully
I0204 12:32:53.286196 41983 olmv1_ce_deploymentconfig.go:130] Deployment rolled out successfully
STEP: Verify env vars are present in Deployment manifest @ 02/04/26 12:32:53.286
I0204 12:32:53.286306 41983 deploymentconfig.go:252] ========= Verifying Deployment test-ns-87224/nginx-ok-v87224-controller-manager has expected env vars =========
I0204 12:32:53.286824 41983 client.go:729] Running 'oc --kubeconfig=/Users/kuiwang/work/bin/jb/kubeconf/kubeconfig get deployment nginx-ok-v87224-controller-manager -n test-ns-87224 -o jsonpath={.spec.template.spec.containers[0].env[*].name}'
I0204 12:32:54.347824 41983 tools.go:348] $oc get [deployment nginx-ok-v87224-controller-manager -n test-ns-87224 -o jsonpath={.spec.template.spec.containers[0].env[*].name}], the returned resource:ANSIBLE_GATHERING TEST_ENV_VAR ANOTHER_VAR CUSTOM_LOG_LEVEL
I0204 12:32:54.347881 41983 deploymentconfig.go:261] Deployment env var names: ANSIBLE_GATHERING TEST_ENV_VAR ANOTHER_VAR CUSTOM_LOG_LEVEL
I0204 12:32:54.348067 41983 client.go:729] Running 'oc --kubeconfig=/Users/kuiwang/work/bin/jb/kubeconf/kubeconfig get deployment nginx-ok-v87224-controller-manager -n test-ns-87224 -o jsonpath={.spec.template.spec.containers[0].env[?(@.name=="CUSTOM_LOG_LEVEL")].value}'
I0204 12:32:55.656323 41983 tools.go:348] $oc get [deployment nginx-ok-v87224-controller-manager -n test-ns-87224 -o jsonpath={.spec.template.spec.containers[0].env[?(@.name=="CUSTOM_LOG_LEVEL")].value}], the returned resource:debug
I0204 12:32:55.656471 41983 deploymentconfig.go:280] ✓ Env var CUSTOM_LOG_LEVEL=debug verified in deployment
I0204 12:32:55.656908 41983 client.go:729] Running 'oc --kubeconfig=/Users/kuiwang/work/bin/jb/kubeconf/kubeconfig get deployment nginx-ok-v87224-controller-manager -n test-ns-87224 -o jsonpath={.spec.template.spec.containers[0].env[?(@.name=="TEST_ENV_VAR")].value}'
I0204 12:32:56.677671 41983 tools.go:348] $oc get [deployment nginx-ok-v87224-controller-manager -n test-ns-87224 -o jsonpath={.spec.template.spec.containers[0].env[?(@.name=="TEST_ENV_VAR")].value}], the returned resource:test-value
I0204 12:32:56.677742 41983 deploymentconfig.go:280] ✓ Env var TEST_ENV_VAR=test-value verified in deployment
I0204 12:32:56.677902 41983 client.go:729] Running 'oc --kubeconfig=/Users/kuiwang/work/bin/jb/kubeconf/kubeconfig get deployment nginx-ok-v87224-controller-manager -n test-ns-87224 -o jsonpath={.spec.template.spec.containers[0].env[?(@.name=="ANOTHER_VAR")].value}'
I0204 12:32:57.979518 41983 tools.go:348] $oc get [deployment nginx-ok-v87224-controller-manager -n test-ns-87224 -o jsonpath={.spec.template.spec.containers[0].env[?(@.name=="ANOTHER_VAR")].value}], the returned resource:another-value
I0204 12:32:57.979643 41983 deploymentconfig.go:280] ✓ Env var ANOTHER_VAR=another-value verified in deployment
I0204 12:32:57.979670 41983 olmv1_ce_deploymentconfig.go:135] ✓ All env vars verified in Deployment manifest
STEP: Get operator Pod name @ 02/04/26 12:32:57.979
I0204 12:32:57.979947 41983 deploymentconfig.go:421] ========= Getting pod for deployment nginx-ok-v87224-controller-manager in namespace test-ns-87224 =========
I0204 12:32:57.980379 41983 client.go:729] Running 'oc --kubeconfig=/Users/kuiwang/work/bin/jb/kubeconf/kubeconfig get deployment nginx-ok-v87224-controller-manager -n test-ns-87224 -o jsonpath={.spec.selector.matchLabels}'
I0204 12:32:59.101722 41983 deploymentconfig.go:429] Deployment selector: {"control-plane":"controller-manager"}
I0204 12:32:59.101890 41983 deploymentconfig.go:441] Using deployment selector: control-plane=controller-manager
I0204 12:32:59.102386 41983 client.go:729] Running 'oc --kubeconfig=/Users/kuiwang/work/bin/jb/kubeconf/kubeconfig get pod -n test-ns-87224 -l control-plane=controller-manager -o jsonpath={.items[0].metadata.name}'
I0204 12:33:00.438279 41983 deploymentconfig.go:448] Found pod using deployment selector: nginx-ok-v87224-controller-manager-6798666d5c-5t6vg
I0204 12:33:00.438327 41983 olmv1_ce_deploymentconfig.go:141] Operator pod name: nginx-ok-v87224-controller-manager-6798666d5c-5t6vg
STEP: Verify env vars are accessible in running pod @ 02/04/26 12:33:00.438
I0204 12:33:00.438365 41983 deploymentconfig.go:307] ========= Verifying Pod test-ns-87224/nginx-ok-v87224-controller-manager-6798666d5c-5t6vg has expected env vars at runtime =========
I0204 12:33:00.438370 41983 deploymentconfig.go:310] Waiting for pod nginx-ok-v87224-controller-manager-6798666d5c-5t6vg to be Running
I0204 12:33:03.440738 41983 client.go:729] Running 'oc --kubeconfig=/Users/kuiwang/work/bin/jb/kubeconf/kubeconfig get pod nginx-ok-v87224-controller-manager-6798666d5c-5t6vg -n test-ns-87224 -o jsonpath={.status.phase}'
I0204 12:33:04.895389 41983 tools.go:348] $oc get [pod nginx-ok-v87224-controller-manager-6798666d5c-5t6vg -n test-ns-87224 -o jsonpath={.status.phase}], the returned resource:Running
I0204 12:33:04.895846 41983 client.go:729] Running 'oc --kubeconfig=/Users/kuiwang/work/bin/jb/kubeconf/kubeconfig exec -n test-ns-87224 nginx-ok-v87224-controller-manager-6798666d5c-5t6vg -- printenv TEST_ENV_VAR'
I0204 12:33:08.180509 41983 deploymentconfig.go:347] ✓ Env var TEST_ENV_VAR=test-value verified in running pod
I0204 12:33:08.181107 41983 client.go:729] Running 'oc --kubeconfig=/Users/kuiwang/work/bin/jb/kubeconf/kubeconfig exec -n test-ns-87224 nginx-ok-v87224-controller-manager-6798666d5c-5t6vg -- printenv ANOTHER_VAR'
I0204 12:33:11.480356 41983 deploymentconfig.go:347] ✓ Env var ANOTHER_VAR=another-value verified in running pod
I0204 12:33:11.480935 41983 client.go:729] Running 'oc --kubeconfig=/Users/kuiwang/work/bin/jb/kubeconf/kubeconfig exec -n test-ns-87224 nginx-ok-v87224-controller-manager-6798666d5c-5t6vg -- printenv CUSTOM_LOG_LEVEL'
I0204 12:33:14.790392 41983 deploymentconfig.go:347] ✓ Env var CUSTOM_LOG_LEVEL=debug verified in running pod
I0204 12:33:14.790471 41983 olmv1_ce_deploymentconfig.go:146] ✓ All env vars verified in running pod
STEP: Verify ClusterExtension status shows healthy state @ 02/04/26 12:33:14.79
I0204 12:33:14.790571 41983 clusterextension.go:173] ========= check clusterextension test-ext-87224 Installed status expect is True =========
I0204 12:33:17.793461 41983 client.go:729] Running 'oc --kubeconfig=/Users/kuiwang/work/bin/jb/kubeconf/kubeconfig get clusterextension test-ext-87224 -o jsonpath={.status.conditions[?(@.type=="Installed")].status}'
I0204 12:33:18.967034 41983 tools.go:348] $oc get [clusterextension test-ext-87224 -o jsonpath={.status.conditions[?(@.type=="Installed")].status}], the returned resource:True
I0204 12:33:18.967081 41983 clusterextension.go:196] make sure clusterextension Installed expect is True consistently for 5s
I0204 12:33:18.967327 41983 client.go:729] Running 'oc --kubeconfig=/Users/kuiwang/work/bin/jb/kubeconf/kubeconfig get clusterextension test-ext-87224 -o jsonpath={.status.conditions[?(@.type=="Installed")].status}'
I0204 12:33:20.220672 41983 tools.go:348] $oc get [clusterextension test-ext-87224 -o jsonpath={.status.conditions[?(@.type=="Installed")].status}], the returned resource:True
I0204 12:33:23.968413 41983 clusterextension.go:173] ========= check clusterextension test-ext-87224 Progressing reason expect is Succeeded =========
I0204 12:33:26.971308 41983 client.go:729] Running 'oc --kubeconfig=/Users/kuiwang/work/bin/jb/kubeconf/kubeconfig get clusterextension test-ext-87224 -o jsonpath={.status.conditions[?(@.type=="Progressing")].reason}'
I0204 12:33:28.199980 41983 tools.go:348] $oc get [clusterextension test-ext-87224 -o jsonpath={.status.conditions[?(@.type=="Progressing")].reason}], the returned resource:Succeeded
I0204 12:33:28.200135 41983 clusterextension.go:196] make sure clusterextension Progressing expect is Succeeded consistently for 5s
I0204 12:33:28.200748 41983 client.go:729] Running 'oc --kubeconfig=/Users/kuiwang/work/bin/jb/kubeconf/kubeconfig get clusterextension test-ext-87224 -o jsonpath={.status.conditions[?(@.type=="Progressing")].reason}'
I0204 12:33:29.272924 41983 tools.go:348] $oc get [clusterextension test-ext-87224 -o jsonpath={.status.conditions[?(@.type=="Progressing")].reason}], the returned resource:Succeeded
I0204 12:33:33.201319 41983 olmv1_ce_deploymentconfig.go:151] ✓ ClusterExtension is in healthy state
I0204 12:33:33.201601 41983 olmv1_ce_deploymentconfig.go:153] Test completed successfully - deploymentConfig env vars are applied and accessible
I0204 12:33:33.201754 41983 clusterextension.go:389] =========Delete clusterextension test-ext-87224=========
I0204 12:33:33.201790 41983 clusterextension.go:380] =========DeleteWithoutCheck clusterextension test-ext-87224=========
I0204 12:33:33.202687 41983 client.go:729] Running 'oc --kubeconfig=/Users/kuiwang/work/bin/jb/kubeconf/kubeconfig delete clusterextension test-ext-87224'
I0204 12:33:38.573564 41983 client.go:729] Running 'oc --kubeconfig=/Users/kuiwang/work/bin/jb/kubeconf/kubeconfig get clusterextension test-ext-87224'
I0204 12:33:39.660779 41983 client.go:739] Error running /Users/kuiwang/work/bin/oc --kubeconfig=/Users/kuiwang/work/bin/jb/kubeconf/kubeconfig get clusterextension test-ext-87224:
Error from server (NotFound): clusterextensions.olm.operatorframework.io "test-ext-87224" not found
I0204 12:33:39.660946 41983 tools.go:410] the resource is delete successfully
I0204 12:33:39.661013 41983 catalog.go:227] =========Delete clustercatalog test-catalog-87224=========
I0204 12:33:39.661035 41983 catalog.go:219] =========DeleteWithoutCheck clustercatalog test-catalog-87224=========
I0204 12:33:39.661499 41983 client.go:729] Running 'oc --kubeconfig=/Users/kuiwang/work/bin/jb/kubeconf/kubeconfig delete clustercatalog test-catalog-87224'
I0204 12:33:45.004238 41983 client.go:729] Running 'oc --kubeconfig=/Users/kuiwang/work/bin/jb/kubeconf/kubeconfig get clustercatalog test-catalog-87224'
I0204 12:33:46.213924 41983 client.go:739] Error running /Users/kuiwang/work/bin/oc --kubeconfig=/Users/kuiwang/work/bin/jb/kubeconf/kubeconfig get clustercatalog test-catalog-87224:
Error from server (NotFound): clustercatalogs.olm.operatorframework.io "test-catalog-87224" not found
I0204 12:33:46.214177 41983 tools.go:410] the resource is delete successfully
I0204 12:33:46.214286 41983 sa-clusterrolebinding.go:78] =========Delete sacrb test-sa-87224=========
I0204 12:33:46.215667 41983 client.go:729] Running 'oc --kubeconfig=/Users/kuiwang/work/bin/jb/kubeconf/kubeconfig delete ClusterRoleBinding test-sa-87224-installer-admin-clusterrole-binding'
I0204 12:33:51.659670 41983 client.go:729] Running 'oc --kubeconfig=/Users/kuiwang/work/bin/jb/kubeconf/kubeconfig get ClusterRoleBinding test-sa-87224-installer-admin-clusterrole-binding'
I0204 12:33:52.968116 41983 client.go:739] Error running /Users/kuiwang/work/bin/oc --kubeconfig=/Users/kuiwang/work/bin/jb/kubeconf/kubeconfig get ClusterRoleBinding test-sa-87224-installer-admin-clusterrole-binding:
Error from server (NotFound): clusterrolebindings.rbac.authorization.k8s.io "test-sa-87224-installer-admin-clusterrole-binding" not found
I0204 12:33:52.968276 41983 tools.go:410] the resource is delete successfully
I0204 12:33:52.969460 41983 client.go:729] Running 'oc --kubeconfig=/Users/kuiwang/work/bin/jb/kubeconf/kubeconfig delete ClusterRole test-sa-87224-installer-admin-clusterrole'
I0204 12:33:58.303440 41983 client.go:729] Running 'oc --kubeconfig=/Users/kuiwang/work/bin/jb/kubeconf/kubeconfig get ClusterRole test-sa-87224-installer-admin-clusterrole'
I0204 12:33:59.364659 41983 client.go:739] Error running /Users/kuiwang/work/bin/oc --kubeconfig=/Users/kuiwang/work/bin/jb/kubeconf/kubeconfig get ClusterRole test-sa-87224-installer-admin-clusterrole:
Error from server (NotFound): clusterroles.rbac.authorization.k8s.io "test-sa-87224-installer-admin-clusterrole" not found
I0204 12:33:59.364824 41983 tools.go:410] the resource is delete successfully
I0204 12:33:59.365402 41983 client.go:729] Running 'oc --kubeconfig=/Users/kuiwang/work/bin/jb/kubeconf/kubeconfig delete ServiceAccount test-sa-87224 -n test-ns-87224'
I0204 12:34:04.719976 41983 client.go:729] Running 'oc --kubeconfig=/Users/kuiwang/work/bin/jb/kubeconf/kubeconfig get ServiceAccount test-sa-87224 -n test-ns-87224'
I0204 12:34:06.115047 41983 client.go:739] Error running /Users/kuiwang/work/bin/oc --kubeconfig=/Users/kuiwang/work/bin/jb/kubeconf/kubeconfig get ServiceAccount test-sa-87224 -n test-ns-87224:
Error from server (NotFound): serviceaccounts "test-sa-87224" not found
I0204 12:34:06.115409 41983 tools.go:410] the resource is delete successfully
I0204 12:34:06.115491 41983 olmv1_ce_deploymentconfig.go:55] Cleaning up namespace test-ns-87224
I0204 12:34:06.116343 41983 client.go:729] Running 'oc --kubeconfig=/Users/kuiwang/work/bin/jb/kubeconf/kubeconfig delete ns test-ns-87224 --ignore-not-found --force'
Warning: Immediate deletion does not wait for confirmation that the running resource has been terminated. The resource may continue to run on the cluster indefinitely.
namespace "test-ns-87224" force deleted
• [157.156 seconds]
------------------------------
Ran 1 of 1 Specs in 157.156 seconds
SUCCESS! -- 1 Passed | 0 Failed | 0 Pending | 0 Skipped |
|
@kuiwang02: This PR has been marked as verified by DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
/lgtm |
The downstream repository has been updated with the following following upstream commits:
The
vendor/directory has been updated and the following commits were carried:@catalogd-updateThis pull request is expected to merge without any human intervention. If tests are failing here, changes must land upstream to fix any issues so that future downstreaming efforts succeed.
/cc @openshift/openshift-team-operator-framework