kata-containers / tests

Kata Containers tests, CI, and metrics
https://katacontainers.io/
Apache License 2.0
140 stars 196 forks source link

SEV: KBS_DB_HOST IP retrieval sometimes fails #5159

Open ryansavino opened 2 years ago

ryansavino commented 2 years ago

Description of problem

During the SEV tests, the value of KBS_DBHOST is retrieved by running a docker network inspect. Sometimes this fails because the network name contains a '-' instead of a ''.

Expected result

KBS_DB_HOST should be set and the test should complete successfully.

Actual result

Sometimes throws an error.

ryansavino commented 2 years ago

Created a regex to solve this.