mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-22 01:43:04 +00:00
CI: Add dedicated expected error message for runtime-rs
Runtime-rs has its dedicated error message, we need handle it separately. Signed-off-by: Alex Lyn <alex.lyn@antgroup.com>
This commit is contained in:
parent
333ae41119
commit
b7cdcf17b9
@ -178,6 +178,14 @@ setup() {
|
||||
|
||||
# The pod should be failed because the image is too large to be pulled in the timeout
|
||||
assert_pod_fail "$pod_config"
|
||||
|
||||
# runtime-rs has its dedicated error message, we need handle it separately.
|
||||
if [ "${KATA_HYPERVISOR}" == "qemu-runtime-rs-coco-dev" ]; then
|
||||
assert_logs_contain "$node" kata "$node_start_time" "agent create container"
|
||||
assert_logs_contain "$node" kata "$node_start_time" "\[CDH\] \[ERROR\]: Image Pull error: Failed to pull image"
|
||||
return
|
||||
fi
|
||||
|
||||
assert_logs_contain "$node" kata "$node_start_time" 'createContainer failed'
|
||||
assert_logs_contain "$node" kata "$node_start_time" 'timeout'
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user