Skip to content
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

add GUEST_KUBECONFIG for ginkgo repo #43435

Conversation

heliubj18
Copy link
Contributor

use GUEST_KUBECONFIG to set hosted cluster kubeconfig in openshift-tests-private repo

@@ -12,6 +12,12 @@ export PATH=/usr/local/go/bin:/usr/libexec/origin:/opt/OpenShift4-tools:$PATH
export REPORT_HANDLE_PATH="/usr/bin"
export ENABLE_PRINT_EVENT_STDOUT=true

# add for hosted kubeconfig in the hosted cluster env
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@heliubj18 please add this to the following step too.
openshift-extended-test-longduration
openshift-extended-test-disruptive

I am not sure if the following also need it:
openshift-extended-upgrade-pre
openshift-extended-upgrade-post

I think it has no side effect to add them into these two files.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

openshift-extended-upgrade-pre
openshift-extended-upgrade-post
are also required for HyperShift

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so, the more 4 steps need it too.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

got it, thanks

@openshift-ci-robot
Copy link
Contributor

[REHEARSALNOTIFIER]
@heliubj18: the pj-rehearse plugin accommodates running rehearsal tests for the changes in this PR. Expand 'Interacting with pj-rehearse' for usage details. The following rehearsable tests have been affected by this change:

Test name Repo Type Reason
pull-ci-openshift-azure-disk-csi-driver-operator-master-e2e-azure-csi-extended openshift/azure-disk-csi-driver-operator presubmit Registry content changed
pull-ci-openshift-azure-disk-csi-driver-operator-release-4.15-e2e-azure-csi-extended openshift/azure-disk-csi-driver-operator presubmit Registry content changed
pull-ci-openshift-azure-disk-csi-driver-operator-release-4.14-e2e-azure-csi-extended openshift/azure-disk-csi-driver-operator presubmit Registry content changed
pull-ci-openshift-vmware-vsphere-csi-driver-master-e2e-vsphere-csi-extended openshift/vmware-vsphere-csi-driver presubmit Registry content changed
pull-ci-openshift-vmware-vsphere-csi-driver-release-4.15-e2e-vsphere-csi-extended openshift/vmware-vsphere-csi-driver presubmit Registry content changed
pull-ci-openshift-vmware-vsphere-csi-driver-release-4.14-e2e-vsphere-csi-extended openshift/vmware-vsphere-csi-driver presubmit Registry content changed
pull-ci-openshift-cluster-etcd-operator-master-e2e-gcp-qe-no-capabilities openshift/cluster-etcd-operator presubmit Registry content changed
pull-ci-openshift-cluster-etcd-operator-release-4.15-e2e-gcp-qe-no-capabilities openshift/cluster-etcd-operator presubmit Registry content changed
pull-ci-openshift-cluster-etcd-operator-release-4.14-e2e-gcp-qe-no-capabilities openshift/cluster-etcd-operator presubmit Registry content changed
pull-ci-openshift-openshift-tests-private-master-debug-disasterrecovery-aws-ipi openshift/openshift-tests-private presubmit Registry content changed
pull-ci-openshift-openshift-tests-private-master-debug-disasterrecovery-baremetal-upi openshift/openshift-tests-private presubmit Registry content changed
pull-ci-openshift-openshift-tests-private-master-debug-winc-aws-ipi openshift/openshift-tests-private presubmit Registry content changed
pull-ci-openshift-openshift-tests-private-master-debug-winc-gcp-ipi openshift/openshift-tests-private presubmit Registry content changed
pull-ci-openshift-openshift-tests-private-release-4.15-debug-disasterrecovery-aws-ipi openshift/openshift-tests-private presubmit Registry content changed
pull-ci-openshift-openshift-tests-private-release-4.15-debug-disasterrecovery-baremetal-upi openshift/openshift-tests-private presubmit Registry content changed
pull-ci-openshift-openshift-tests-private-release-4.15-debug-winc-aws-ipi openshift/openshift-tests-private presubmit Registry content changed
pull-ci-openshift-openshift-tests-private-release-4.15-debug-winc-gcp-ipi openshift/openshift-tests-private presubmit Registry content changed
pull-ci-openshift-openshift-tests-private-release-4.14-debug-disasterrecovery-aws-ipi openshift/openshift-tests-private presubmit Registry content changed
pull-ci-openshift-openshift-tests-private-release-4.14-debug-disasterrecovery-baremetal-upi openshift/openshift-tests-private presubmit Registry content changed
pull-ci-openshift-openshift-tests-private-release-4.14-debug-winc-aws-ipi openshift/openshift-tests-private presubmit Registry content changed
pull-ci-openshift-openshift-tests-private-release-4.14-debug-winc-gcp-ipi openshift/openshift-tests-private presubmit Registry content changed
pull-ci-openshift-openshift-tests-private-release-4.13-debug-disasterrecovery-aws-ipi openshift/openshift-tests-private presubmit Registry content changed
pull-ci-openshift-openshift-tests-private-release-4.13-debug-winc-aws-ipi openshift/openshift-tests-private presubmit Registry content changed
pull-ci-openshift-openshift-tests-private-release-4.13-debug-winc-gcp-ipi openshift/openshift-tests-private presubmit Registry content changed
pull-ci-openshift-openshift-tests-private-release-4.12-debug-disasterrecovery-aws-ipi openshift/openshift-tests-private presubmit Registry content changed
pull-ci-openshift-openshift-tests-private-release-4.12-debug-winc-aws-ipi openshift/openshift-tests-private presubmit Registry content changed
pull-ci-openshift-openshift-tests-private-release-4.12-debug-winc-gcp-ipi openshift/openshift-tests-private presubmit Registry content changed
pull-ci-openshift-openshift-tests-private-release-4.11-debug-disasterrecovery-aws-ipi openshift/openshift-tests-private presubmit Registry content changed
pull-ci-openshift-openshift-tests-private-release-4.11-debug-winc-aws-ipi openshift/openshift-tests-private presubmit Registry content changed
pull-ci-openshift-openshift-tests-private-release-4.10-debug-disasterrecovery-aws-ipi openshift/openshift-tests-private presubmit Registry content changed
pull-ci-openshift-ibm-vpc-node-label-updater-master-e2e-ibmcloud-csi-extended openshift/ibm-vpc-node-label-updater presubmit Registry content changed
pull-ci-openshift-ibm-vpc-node-label-updater-release-4.15-e2e-ibmcloud-csi-extended openshift/ibm-vpc-node-label-updater presubmit Registry content changed
pull-ci-openshift-ibm-vpc-node-label-updater-release-4.14-e2e-ibmcloud-csi-extended openshift/ibm-vpc-node-label-updater presubmit Registry content changed
pull-ci-openshift-vmware-vsphere-csi-driver-operator-master-e2e-vsphere-csi-extended openshift/vmware-vsphere-csi-driver-operator presubmit Registry content changed
pull-ci-openshift-vmware-vsphere-csi-driver-operator-release-4.15-e2e-vsphere-csi-extended openshift/vmware-vsphere-csi-driver-operator presubmit Registry content changed

A total of 2658 jobs have been affected by this change. The above listing is non-exhaustive and limited to 35 jobs.

A full list of affected jobs can be found here

Interacting with pj-rehearse

Comment: /pj-rehearse to run up to 10 rehearsals
Comment: /pj-rehearse skip to opt-out of rehearsals
Comment: /pj-rehearse {test-name}, with each test separated by a space, to run one or more specific rehearsals
Comment: /pj-rehearse more to run up to 20 rehearsals
Comment: /pj-rehearse max to run up to 35 rehearsals
Comment: /pj-rehearse auto-ack to run up to 10 rehearsals, and add the rehearsals-ack label on success
Comment: /pj-rehearse abort to abort all active rehearsals

Once you are satisfied with the results of the rehearsals, comment: /pj-rehearse ack to unblock merge. When the rehearsals-ack label is present on your PR, merge will no longer be blocked by rehearsals.
If you would like the rehearsals-ack label removed, comment: /pj-rehearse reject to re-block merging.

@heliubj18
Copy link
Contributor Author

heliubj18 commented Sep 18, 2023

@kuiwang02 @LiangquanLi930 I updated all the steps in openshift-tests-private dir except for openshift-extended/web-tests dir

@heliubj18
Copy link
Contributor Author

btw, I think if this pr is merged later, the openshift-test-private image should be rebuild too. right? thanks

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Sep 18, 2023

@heliubj18: all tests passed!

Full PR test history. Your PR dashboard.

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/test-infra repository. I understand the commands that are listed here.

@heliubj18
Copy link
Contributor Author

/pj-rehearse pull-ci-openshift-openshift-tests-private-release-4.15-debug-disasterrecovery-aws-ipi

@kuiwang02
Copy link
Contributor

btw, I think if this pr is merged later, the openshift-test-private image should be rebuild too. right? thanks

I think the image rebuilt should be done asap whether the PR is merged or not.

@kuiwang02
Copy link
Contributor

by the way, I can approve it now because the code should work.

I did it with UT

[root@preserve-olm-env2 bin]# touch /tmp/nested_kubeconfig
[root@preserve-olm-env2 bin]# export TT1=/tmp
[root@preserve-olm-env2 bin]# chmod 755 testss.sh 
[root@preserve-olm-env2 bin]# ./testss.sh 
/tmp/nested_kubeconfig
[root@preserve-olm-env2 bin]# export TT1=/tmp1
[root@preserve-olm-env2 bin]# ./testss.sh 

[root@preserve-olm-env2 bin]# cat testss.sh 
#!/bin/bash

if test -f "${TT1}/nested_kubeconfig"
then
    export GUEST_KUBECONFIG=${TT1}/nested_kubeconfig
fi
echo $GUEST_KUBECONFIG
[root@preserve-olm-env2 bin]# 

@kuiwang02
Copy link
Contributor

do you need to approve it now?

@heliubj18
Copy link
Contributor Author

@kuiwang02 yes, thanks for your testing

@heliubj18
Copy link
Contributor Author

/pj-rehearse branch-ci-openshift-openshift-tests-private-release-4.14-images-images

@openshift-ci-robot
Copy link
Contributor

@heliubj18: job(s): , branch-ci-openshift-openshift-tests-private-release-4.14-images-images either don't exist or were not found to be affected, and cannot be rehearsed

@kuiwang02
Copy link
Contributor

/lgtm

@kuiwang02
Copy link
Contributor

/pj-rehearse ack

@openshift-ci-robot openshift-ci-robot added the rehearsals-ack Signifies that rehearsal jobs have been acknowledged label Sep 18, 2023
@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Sep 18, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Sep 18, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: heliubj18, kuiwang02

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 18, 2023
@openshift-merge-robot openshift-merge-robot merged commit 4db5577 into openshift:master Sep 18, 2023
12 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. rehearsals-ack Signifies that rehearsal jobs have been acknowledged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants