Skip to content

Conversation

@mrodm
Copy link
Contributor

@mrodm mrodm commented Apr 10, 2025

This PR tries a workaround for the errors shown from time to time in the integrations build:

Error: error running package system tests: could not complete test run: dump failed: can't dump Elastic stack logs: can't fetch service logs (service: kibana): could not create docker compose project: unable to determine Docker Compose version: running Docker Compose version command failed: failed to start command with pseudo-tty: fork/exec /usr/bin/docker: operation not permitted

@mrodm mrodm self-assigned this Apr 10, 2025
@mrodm
Copy link
Contributor Author

mrodm commented Apr 10, 2025

test integrations

@mrodm
Copy link
Contributor Author

mrodm commented Apr 10, 2025

test integrations

@elastic-vault-github-plugin-prod

Created or updated PR in integrations repository to test this version. Check elastic/integrations#13498

@mrodm
Copy link
Contributor Author

mrodm commented Apr 10, 2025

test integrations

@elastic-vault-github-plugin-prod

Created or updated PR in integrations repository to test this version. Check elastic/integrations#13498

@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

History

cc @mrodm

@mrodm
Copy link
Contributor Author

mrodm commented Apr 14, 2025

This PR does not solve the issue behind the fork/exec error.
If the error is raised and it is re-tried again the command, that second (and following iterations) fail again. Example:

2025/04/11 10:32:47 DEBUG running command: /usr/bin/docker compose -f /opt/buildkite-agent/.elastic-package/profiles/default/stack/docker-compose.yml --progress plain -p elastic-package-stack logs elastic-agent
2025/04/11 10:32:47 DEBUG Repeating docker command (failure fork/exec): /usr/bin/docker compose version --short (Error: fork/exec /usr/bin/docker: operation not permitted)
2025/04/11 10:32:48 DEBUG Repeating docker command (failure fork/exec): /usr/bin/docker compose version --short (Error: fork/exec /usr/bin/docker: bad file descriptor)
2025/04/11 10:32:49 DEBUG Repeating docker command (failure fork/exec): /usr/bin/docker compose version --short (Error: fork/exec /usr/bin/docker: bad file descriptor)
2025/04/11 10:32:50 DEBUG Repeating docker command (failure fork/exec): /usr/bin/docker compose version --short (Error: fork/exec /usr/bin/docker: bad file descriptor)
2025/04/11 10:32:51 DEBUG Repeating docker command (failure fork/exec): /usr/bin/docker compose version --short (Error: fork/exec /usr/bin/docker: bad file descriptor)
2025/04/11 10:32:52 DEBUG Uninstalling package...
2025/04/11 10:32:52 DEBUG GET https://127.0.0.1:5601/api/fleet/epm/packages/windows
2025/04/11 10:32:52 DEBUG DELETE https://127.0.0.1:5601/api/fleet/epm/packages/windows/2.5.2
Error: error running package system tests: could not complete test run: dump failed: can't dump Elastic stack logs: can't copy internal logs (service: elastic-agent): could not create docker compose project: unable to determine Docker Compose version: running Docker Compose version command failed: failed to start command with pseudo-tty: fork/exec /usr/bin/docker: bad file descriptor

@mrodm mrodm closed this Apr 14, 2025
@mrodm mrodm deleted the retry-docker-command branch April 14, 2025 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants