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

Change behave tests on containers that dies on startup #1722

Open
ricardozanini opened this issue Dec 28, 2023 · 0 comments
Open

Change behave tests on containers that dies on startup #1722

ricardozanini opened this issue Dec 28, 2023 · 0 comments

Comments

@ricardozanini
Copy link
Member

ricardozanini commented Dec 28, 2023

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 ignored list of tests in this PR: #1720

Context

I've added an ignore tag to the Verify 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 #1720 (comment)

@ricardozanini ricardozanini changed the title Change the custom certificate behave test to avoid killing the container so Cekit can verify the logs Change behave tests on containers that dies on startup Dec 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant