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

ci: test dragonball stability and cri-containerd #8737

Merged
merged 3 commits into from Jan 12, 2024

Conversation

Apokleos
Copy link
Contributor

@Apokleos Apokleos commented Dec 27, 2023

CI: make CI work for dragonball to test stability and cri-containerd
It needs to remove the skip setting, and make it work for dragonball.
bugfix when CI running cri-containerd

Fixes #8746

@Apokleos Apokleos self-assigned this Dec 27, 2023
@katacontainersbot katacontainersbot added the size/small Small and simple task label Dec 27, 2023
@Apokleos Apokleos force-pushed the test-ci-dgb-cri-containerd branch 7 times, most recently from b2bfe81 to 9fc8235 Compare December 28, 2023 09:56
@Apokleos Apokleos force-pushed the test-ci-dgb-cri-containerd branch 2 times, most recently from 4605ecf to a363b39 Compare January 5, 2024 06:17
@Apokleos
Copy link
Contributor Author

Apokleos commented Jan 5, 2024

/test

@Apokleos Apokleos force-pushed the test-ci-dgb-cri-containerd branch 2 times, most recently from bc9f4a1 to 9432428 Compare January 8, 2024 00:00
@Apokleos
Copy link
Contributor Author

Apokleos commented Jan 9, 2024

/test

Comment on lines 631 to 636
# if [ "$KATA_HYPERVISOR" != "dragonball" ]; then
# TestContainerMemoryUpdate 1
# TestContainerMemoryUpdate 0
# fi

# TestContainerMemoryUpdate 0
Copy link
Member

Choose a reason for hiding this comment

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

You want to remove this, no?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi @fidencio Honestly, I'm not sure if this is the right way to do it, or if there's a better way to solve the CI error issue. The current situation is that runtime-rs/qemu does not have this feature implemented.

@Apokleos Apokleos force-pushed the test-ci-dgb-cri-containerd branch 6 times, most recently from 34f2402 to 4744c09 Compare January 11, 2024 01:40

if [ $test_virtio_mem -eq 1 ]; then
if [[ "$ARCH" != "x86_64" ]]; then
return
fi
info "Test container memory update with virtio-mem"

sudo sed -i -e 's/^#enable_virtio_mem.*$/enable_virtio_mem = true/g' "${kata_config}"
Copy link
Member

Choose a reason for hiding this comment

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

why can't we use kata_config here?

@Apokleos Apokleos force-pushed the test-ci-dgb-cri-containerd branch 3 times, most recently from 64b9a5b to 8f6b812 Compare January 11, 2024 06:55
It needs to remove the skip setting, and make it work for dragonball.

Fixes: kata-containers#8746

Signed-off-by: alex.lyn <alex.lyn@antgroup.com>
Containerd runtime options with wrong setting cause it failed.
Correct it as below:
...
 [plugins.cri.containerd.runtimes.${runtime}.options]
   ConfigPath= "${KATA_CONFIG_PATH}"
...

Fixes: kata-containers#8746

Signed-off-by: alex.lyn <alex.lyn@antgroup.com>
@katacontainersbot katacontainersbot added size/medium Average sized task and removed size/small Small and simple task labels Jan 11, 2024
Fixes: kata-containers#8746

Signed-off-by: alex.lyn <alex.lyn@antgroup.com>
@Apokleos
Copy link
Contributor Author

/test

@Apokleos Apokleos merged commit ffcd95b into kata-containers:main Jan 12, 2024
171 of 176 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ok-to-test size/medium Average sized task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CI: test cri-containerd for dragonball failed as runtime options with wrong setting
6 participants