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

Use wait_for_pods instead of kubectl wait for pods. Fix #4725 #4741

Merged
merged 1 commit into from
Jan 14, 2021

Conversation

vaikas
Copy link
Contributor

@vaikas vaikas commented Jan 14, 2021

Fixes #4725

Proposed Changes

  • Use ./hack scripts instead of simple kubectl wait.

Release Note

- :bug: Fix bug where sometimes the pods were not deemed up during setup. #4725

Docs

@google-cla google-cla bot added the cla: yes Indicates the PR's author has signed the CLA. label Jan 14, 2021
@knative-prow-robot knative-prow-robot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Jan 14, 2021
@codecov
Copy link

codecov bot commented Jan 14, 2021

Codecov Report

Merging #4741 (55f2153) into master (d74dc25) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #4741   +/-   ##
=======================================
  Coverage   81.10%   81.10%           
=======================================
  Files         291      291           
  Lines        8235     8235           
=======================================
  Hits         6679     6679           
  Misses       1156     1156           
  Partials      400      400           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d74dc25...ef0027c. Read the comment docs.

@vaikas vaikas changed the title try using hack wait for pods Use wait_for_pods instead of kubectl wait for pods. Fix #4725 Jan 14, 2021
Copy link
Member

@pierDipi pierDipi left a comment

Choose a reason for hiding this comment

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

/lgtm
/hold

Unhold once this is ready.

@knative-prow-robot knative-prow-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 14, 2021
@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Jan 14, 2021
@knative-prow-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: pierDipi, vaikas

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

@vaikas
Copy link
Contributor Author

vaikas commented Jan 14, 2021

@pierDipi thanks, you cool with removing the hold? Now similar to the prow e2e tests where we have not seen failures of this sort.

Run set -e
  set -e
  source ./vendor/knative.dev/hack/infra-library.sh
  wait_until_pods_running ${SYSTEM_NAMESPACE}
  shell: /bin/bash --noprofile --norc -e -o pipefail {0}
  env:
    GOPATH: /home/runner/work/eventing/eventing
    GO111MODULE: off
    KO_DOCKER_REPO: kind.local
    SYSTEM_NAMESPACE: knative-eventing
    CLUSTER_SUFFIX: c485165237.local
    ARTIFACTS: /home/runner/work/eventing/eventing/artifacts
    GOROOT: /opt/hostedtoolcache/go/1.15.6/x64
Waiting until all pods in namespace knative-eventing are up
All pods are up:
eventing-controller-5b4599b949-6c8b5    1/1   Running       0     26s
eventing-webhook-779f7c49cd-smmds       1/1   Running       0     26s
imc-controller-79b9fb796d-cmclm         1/1   Running       0     85s
imc-dispatcher-59566f9d66-zqhcn         1/1   Running       0     85s
mt-broker-controller-6dbdb9c9b4-xwb8m   1/1   Running       0     26s
mt-broker-filter-84fb998cd9-mpzlz       1/1   Running       0     88s
mt-broker-ingress-6c45959977-skthc      1/1   Running       0     87s
sugar-controller-67cc9fddff-sb2sd       1/1   Running       0     26s
zipkin-7fcb9b4ff8-kk5wn                 1/1   Running       0     73s

@vaikas
Copy link
Contributor Author

vaikas commented Jan 14, 2021

Downstream keda failure is something that @slinkydeveloper is looking at.

@pierDipi
Copy link
Member

/unhold

@knative-prow-robot knative-prow-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 14, 2021
@knative-prow-robot knative-prow-robot merged commit 6d76c44 into knative:master Jan 14, 2021
@vaikas vaikas deleted the better-wait-for-ready branch January 14, 2021 12:28
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. cla: yes Indicates the PR's author has signed the CLA. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

e2e tests fail with pods not coming up.
3 participants