Skip to content

Check containerd's readiness before calling critest#7851

Merged
samuelkarp merged 1 commit intocontainerd:mainfrom
kzys:critest-wait
Dec 22, 2022
Merged

Check containerd's readiness before calling critest#7851
samuelkarp merged 1 commit intocontainerd:mainfrom
kzys:critest-wait

Conversation

@kzys
Copy link
Copy Markdown
Member

@kzys kzys commented Dec 21, 2022

It was assuming containerd was ready right after starting.
But it depends GitHub actions' performance.

In addition to that, this commit extracts the script from ci.yml.

Signed-off-by: Kazuyoshi Kato [email protected]

@k8s-ci-robot
Copy link
Copy Markdown

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@kzys kzys force-pushed the critest-wait branch 5 times, most recently from dd2a295 to 25e062e Compare December 21, 2022 23:12
@kzys kzys marked this pull request as ready for review December 22, 2022 00:04
Comment thread script/critest.sh Outdated
# Make sure containerd is ready before calling critest.
for i in $(seq 1 10)
do
/usr/local/bin/ctr -a ${BDIR}/c.sock version && break || sleep 1
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

suggest to use crictl info because containerd cri plugin needs time to setup.

It was assuming containerd was ready right after starting.
But it depends GitHub actions' performance.

In addition to that, this commit extracts the script from ci.yml.

Signed-off-by: Kazuyoshi Kato <[email protected]>
@samuelkarp samuelkarp merged commit 341a494 into containerd:main Dec 22, 2022
Copy link
Copy Markdown
Member

@mikebrow mikebrow left a comment

Choose a reason for hiding this comment

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

6 participants