kpng icon indicating copy to clipboard operation
kpng copied to clipboard

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

Open jayunit100 opened this issue 2 years ago • 3 comments

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

jayunit100 avatar Sep 20 '22 23:09 jayunit100

@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 avatar Sep 20 '22 23:09 k8s-ci-robot

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

emabota avatar Sep 22 '22 18:09 emabota

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

jayunit100 avatar Sep 22 '22 19:09 jayunit100

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

emabota avatar Nov 29 '22 15:11 emabota

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

jayunit100 avatar Nov 29 '22 20:11 jayunit100

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!

emabota avatar Nov 30 '22 17:11 emabota

/assign

aroradaman avatar Dec 02 '22 18:12 aroradaman

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

emabota avatar Dec 04 '22 14:12 emabota