On a few behave tests on containers that don't have a stable entrypoint (it runs and dies immediately), Cekit might hang trying to fetch the current process, hence failing the test execution or timing out.
We should start these containers via container is started with command bash, so it makes the container available to make the verifications needed.
Since it's making cekit hanging trying to ps a dead container. The container starts and dies since the truststore is invalid, cekit tries to ps to get the log and hangs.
On a few behave tests on containers that don't have a stable entrypoint (it runs and dies immediately), Cekit might hang trying to fetch the current process, hence failing the test execution or timing out.
We should start these containers via
container is started with command bash
, so it makes the container available to make the verifications needed.See the
ignore
d list of tests in this PR: https://github.com/apache/incubator-kie-kogito-images/pull/1720Context
I've added an
ignore
tag to theVerify if a custom certificate is correctly handled
:https://github.com/apache/incubator-kie-kogito-images/blob/main/tests/features/common-custom-truststore.feature#L21
Since it's making cekit hanging trying to
ps
a dead container. The container starts and dies since the truststore is invalid, cekit tries to ps to get the log and hangs.Originally posted by @ricardozanini in https://github.com/apache/incubator-kie-kogito-images/issues/1720#issuecomment-1871034280