Skip to content

Conversation

@abel-von
Copy link
Contributor

We can't set the status to Ready before task.Wait succeed.

#9463 (comment)

@k8s-ci-robot
Copy link

Hi @abel-von. Thanks for your PR.

I'm waiting for a containerd member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

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.

@abel-von
Copy link
Contributor Author

/cc @fuweid @mikebrow

Copy link
Member

@fuweid fuweid left a comment

Choose a reason for hiding this comment

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

Would you please add e2e test for this?

Thanks

@mikebrow
Copy link
Member

/ok-to-test

@abel-von
Copy link
Contributor Author

Would you please add e2e test for this?

some ut and e2e tests are added, please take a look, @fuweid

@abel-von abel-von requested a review from fuweid January 18, 2024 13:54
@abel-von
Copy link
Contributor Author

/retest

@abel-von abel-von force-pushed the fix-sandbox-status branch 2 times, most recently from f817655 to 1acfc3c Compare January 19, 2024 07:49
@abel-von
Copy link
Contributor Author

/test pull-containerd-node-e2e

@abel-von
Copy link
Contributor Author

@fuweid @mikebrow please take a look again.

@abel-von abel-von mentioned this pull request Feb 2, 2024
19 tasks
@mikebrow
Copy link
Member

mikebrow commented Feb 2, 2024

wave.. generally e2e is a test in the k8s buckets.. but should be good enough for now to do integration here and open issue to add a test in node-e2e

Copy link
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.

LGTM thanks @abel-von

@mxpv mxpv added this pull request to the merge queue Feb 2, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 2, 2024
@mxpv
Copy link
Member

mxpv commented Feb 2, 2024

failed to load package : could not load export data: no export data for "github.com/containerd/containerd/v2/pkg/errdefs""

@abel-von looks like changes require rebase.

We can't set the status to Ready before task.Wait succeed.

Signed-off-by: Abel Feng <fshb1988@gmail.com>
Signed-off-by: Abel Feng <fshb1988@gmail.com>
@abel-von
Copy link
Contributor Author

abel-von commented Feb 4, 2024

Done rebased, but a CI error in fedora and it seems a network problem. please take a look @mxpv

Copy link
Member

@fuweid fuweid left a comment

Choose a reason for hiding this comment

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

LGTM

Let's handle the comment in the follow-up.

waitCh <- struct{}{}
}()
t.Logf("Create a sandbox with shim create delay")
_, err = runtimeService.RunPodSandbox(sbUnknownConfig, failpointRuntimeHandler)
Copy link
Member

Choose a reason for hiding this comment

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

It might be flaky if the RunPodSandbox is called after restar containerd.

@fuweid fuweid added this pull request to the merge queue Feb 5, 2024
Merged via the queue into containerd:main with commit f5e7fe0 Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

6 participants