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

The CI fails on unknown container names #168

Closed
lubosmj opened this issue Sep 9, 2024 · 1 comment
Closed

The CI fails on unknown container names #168

lubosmj opened this issue Sep 9, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@lubosmj
Copy link
Member

lubosmj commented Sep 9, 2024

The CI fails on the following step:

Run if [[ -f "/Applications/Docker.app/Contents/Resources/bin/docker" ]]; then
2024-09-09 08:26:09,444 - INFO - utils.py:36 - USING /home/runner/work/oci_env/oci_env/oci_env FOR OCI_ENV_PATH BASED ON GIT CMD OUTPUT
2024-09-09 08:26:09,447 - INFO - utils.py:36 - USING /home/runner/work/oci_env/oci_env/oci_env FOR OCI_ENV_PATH BASED ON GIT CMD OUTPUT
2024-09-09 08:26:09,450 - INFO - utils.py:36 - USING /home/runner/work/oci_env/oci_env/oci_env FOR OCI_ENV_PATH BASED ON GIT CMD OUTPUT
2024-09-09 08:26:09,452 - INFO - commands.py:16 - EXEC Namespace(command=['ls'], env_file='', func=<function exec at 0x7f37978808b0>, is_verbose=False, service='pulp_1')
2024-09-09 08:26:09,471 - ERROR - utils.py:380 - Could not find a running container named: oci_env_pulp_1 
instead of 'pulp_1' did you mean 'pulp' or 'ui'?
Run `oci-env compose ps` to see all running containers.

It appears like docker containers are not named properly.

Further logs:

2024-09-09T08:23:06.5741738Z  Network oci_env_default  Creating
2024-09-09T08:23:06.6573193Z  Network oci_env_default  Created
2024-09-09T08:23:06.6577725Z  Volume "oci_env_pulp"  Creating
2024-09-09T08:23:06.6592956Z  Volume "oci_env_pulp"  Created
2024-09-09T08:23:06.6596500Z  Volume "oci_env_redis_data"  Creating
2024-09-09T08:23:06.6605392Z  Volume "oci_env_redis_data"  Created
2024-09-09T08:23:06.6608434Z  Volume "oci_env_pg_data"  Creating
2024-09-09T08:23:06.6617135Z  Volume "oci_env_pg_data"  Created
2024-09-09T08:23:06.6618122Z  Container oci_env-_base-1  Creating
2024-09-09T08:23:06.6619103Z  Container oci_env-test-1  Creating
2024-09-09T08:23:06.6880235Z  Container oci_env-test-1  Created
2024-09-09T08:23:06.6939594Z  Container oci_env-_base-1  Created
2024-09-09T08:23:06.6940393Z  Container oci_env-pulp-1  Creating
2024-09-09T08:23:06.7130321Z  Container oci_env-pulp-1  Created
2024-09-09T08:23:06.7143301Z  Container oci_env-_base-1  Starting
2024-09-09T08:23:06.7144143Z  Container oci_env-test-1  Starting
2024-09-09T08:23:06.9763047Z  Container oci_env-_base-1  Started
2024-09-09T08:23:07.4994437Z  Container oci_env-pulp-1  Starting
2024-09-09T08:23:07.4996269Z  Container oci_env-test-1  Started
2024-09-09T08:26:09.4479864Z 2024-09-09 08:26:09,447 - [32mINFO[0m - utils.py:36 - USING /home/runner/work/oci_env/oci_env/oci_env FOR OCI_ENV_PATH BASED ON GIT CMD OUTPUT
2024-09-09T08:26:09.4511777Z 2024-09-09 08:26:09,450 - [32mINFO[0m - utils.py:36 - USING /home/runner/work/oci_env/oci_env/oci_env FOR OCI_ENV_PATH BASED ON GIT CMD OUTPUT
2024-09-09T08:26:09.4523045Z 2024-09-09 08:26:09,452 - [32mINFO[0m - commands.py:16 - EXEC Namespace(command=['ls'], env_file='', func=<function exec at 0x7f37978808b0>, is_verbose=False, service='pulp_1')
2024-09-09T08:26:09.4721200Z 2024-09-09 08:26:09,471 - [31mERROR[0m - utils.py:380 - Could not find a running container named: oci_env_pulp_1 
2024-09-09T08:26:09.4722450Z instead of 'pulp_1' did you mean 'pulp' or 'ui'?
2024-09-09T08:26:09.4723098Z Run `oci-env compose ps` to see all running containers.
2024-09-09T08:26:09.4823535Z ##[error]Process completed with exit code 1.
@lubosmj lubosmj added the bug Something isn't working label Sep 9, 2024
@lubosmj
Copy link
Member Author

lubosmj commented Oct 8, 2024

The CI is green now.

@lubosmj lubosmj closed this as completed Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
No open projects
Development

No branches or pull requests

1 participant