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

mantle/kola/tests/crio: update tests for new cri-tools #3683

Merged
merged 1 commit into from
Dec 14, 2023

Conversation

mike-nguyen
Copy link
Member

Cri-tools 1.29[0] now pre-validates container metadata before running with crictl[1]. The required uid field was missing in our test causing the following failure.

load podSandboxConfig: name, namespace or uid is not in metadata \"&PodSandboxMetadata{Name:rhcos-crio-pod-restart-test,Uid:,Namespace:redhat.test.crio,Attempt:0,}\

[0] https://github.com/kubernetes-sigs/cri-tools/releases/tag/v1.29.0
[1] kubernetes-sigs/cri-tools#1274

Fixes: openshift/os#1407

Cri-tools 1.29[0] now pre-validates container metadata before
running with crictl[1]. The required uid field was missing in our
test causing the following failure.

```
load podSandboxConfig: name, namespace or uid is not in metadata \"&PodSandboxMetadata{Name:rhcos-crio-pod-restart-test,Uid:,Namespace:redhat.test.crio,Attempt:0,}\
```

[0] https://github.com/kubernetes-sigs/cri-tools/releases/tag/v1.29.0
[1] kubernetes-sigs/cri-tools#1274
@thegreyd
Copy link

/lgtm

@jlebon
Copy link
Member

jlebon commented Dec 14, 2023

Nice catch!

@jlebon
Copy link
Member

jlebon commented Dec 14, 2023

/approve
/lgtm

@mike-nguyen mike-nguyen merged commit 04cecdb into coreos:main Dec 14, 2023
5 checks passed
@mike-nguyen
Copy link
Member Author

Thanks for the reviews!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RHCOS 4.16-9.2 - crio.base tests are failing
3 participants