Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

e ) erase_clusters=false ;;... doesnt work #352

Closed
jayunit100 opened this issue Sep 20, 2022 · 8 comments · Fixed by #403
Closed

e ) erase_clusters=false ;;... doesnt work #352

jayunit100 opened this issue Sep 20, 2022 · 8 comments · Fixed by #403
Assignees
Labels
good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.

Comments

@jayunit100
Copy link
Contributor

hey yall im trying to

  • hack up the test_e2e.sh script to do erase_clusters=false but im not seeing any effect...

while getopts "i:b:B:cdD:eE:n:ps:" flag
do
    case "${flag}" in
        i ) ip_family="${OPTARG}" ;;
        b ) backend="${OPTARG}" ;;
        c ) ci_mode=true ;;
        d ) devel_mode=true ;;
        e ) erase_clusters=false ;;

but then if i run

eval "$(curl -sL https://raw.githubusercontent.com/travis-ci/gimme/master/gimme | GIMME_GO_VERSION=1.18beta1 bash)" go version go1.18beta1 linux/amd64
./test_e2e.sh -i ipv4 -b iptables 


I ultimately end up with cluster gettin deleteddd :( :( :(

+==================================================================+
                Erasing kind clusters
+==================================================================+
[ PASSED ] Cluster kpng-e2e-ipv4-iptables deleted.

/good-first-issue

@k8s-ci-robot
Copy link
Contributor

@jayunit100:
This request has been marked as suitable for new contributors.

Guidelines

Please ensure that the issue body includes answers to the following questions:

  • Why are we solving this issue?
  • To address this issue, are there any code changes? If there are code changes, what needs to be done in the code and what places can the assignee treat as reference points?
  • Does this issue have zero to low barrier of entry?
  • How can the assignee reach out to you for help?

For more details on the requirements of such an issue, please see here and ensure that they are met.

If this request no longer meets these requirements, the label can be removed
by commenting with the /remove-good-first-issue command.

In response to this:

hey yall im trying to

  • hack up the test_e2e.sh script to do erase_clusters=false but im not seeing any effect...

while getopts "i:b:B:cdD:eE:n:ps:" flag
do
   case "${flag}" in
       i ) ip_family="${OPTARG}" ;;
       b ) backend="${OPTARG}" ;;
       c ) ci_mode=true ;;
       d ) devel_mode=true ;;
       e ) erase_clusters=false ;;

but then if i run

eval "$(curl -sL https://raw.githubusercontent.com/travis-ci/gimme/master/gimme | GIMME_GO_VERSION=1.18beta1 bash)" go version go1.18beta1 linux/amd64
./test_e2e.sh -i ipv4 -b iptables 


I ultimately end up with cluster gettin deleteddd :( :( :(

+==================================================================+
               Erasing kind clusters
+==================================================================+
[ PASSED ] Cluster kpng-e2e-ipv4-iptables deleted.

/good-first-issue

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.

@k8s-ci-robot k8s-ci-robot added good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. labels Sep 20, 2022
@emabota
Copy link
Contributor

emabota commented Sep 22, 2022

Hi @jayunit100,
I am a New Contributor and would like to work on this issue. Can you please provide some orientation on how to approach this issue? Thanks
/assign

@jayunit100
Copy link
Contributor Author

Hi just try to run the hack/test_e2e script w iptables option and use the -e flag you will see what I mean :)

@emabota
Copy link
Contributor

emabota commented Nov 29, 2022

Hi @jayunit100,
while trying to replicate this issue, whenever I run the script ./test_e2e.sh -i ipv4 -b iptables it fails with the following end message:

ERROR: unknown cluster "[ \x1b[34mINFO\x1b[0m ] kpng-e2e-ipv4-iptables"

Can you, please, help me figure out why it's happening? Find attached the "log" of the script.
test_e2e_status.log

@jayunit100
Copy link
Contributor Author

Ouch looks like you didn't get a cluster is kind installed ? Any other suspicious logs ?

@emabota
Copy link
Contributor

emabota commented Nov 30, 2022

Yes, kind is installed. And in fact the cluster kpng-e2e-ipv4-iptables exist.
$ kind get clusters
kpng-e2e-ipv4-iptables
So far no other suspicious logs!

@aroradaman
Copy link
Contributor

/assign

@emabota
Copy link
Contributor

emabota commented Dec 4, 2022

This was fixed here #399

Hi @jayunit100, while trying to replicate this issue, whenever I run the script ./test_e2e.sh -i ipv4 -b iptables it fails with the following end message:

ERROR: unknown cluster "[ \x1b[34mINFO\x1b[0m ] kpng-e2e-ipv4-iptables"

Can you, please, help me figure out why it's happening? Find attached the "log" of the script. test_e2e_status.log

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants