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

CI Failing with docker-compose: command not found #22413

Closed
ZacBlanco opened this issue Apr 3, 2024 · 6 comments · Fixed by #23360
Closed

CI Failing with docker-compose: command not found #22413

ZacBlanco opened this issue Apr 3, 2024 · 6 comments · Fixed by #23360

Comments

@ZacBlanco
Copy link
Contributor

A number of CI actions seem to rely on docker-compose. However, it seems the actions which require it are failing intermittently due to the command not being installed.

Example Logs

Run presto-product-tests/bin/run_on_docker.sh singlenode -g hdfs_no_impersonation,avro
  presto-product-tests/bin/run_on_docker.sh singlenode -g hdfs_no_impersonation,avro
  shell: /usr/bin/bash -e {0}
  env:
    CONTINUOUS_INTEGRATION: true
    MAVEN_OPTS: -Xmx1024M -XX:+ExitOnOutOfMemoryError
    MAVEN_INSTALL_OPTS: -Xmx2G -XX:+ExitOnOutOfMemoryError
    MAVEN_FAST_INSTALL: -B -V --quiet -T 1C -DskipTests -Dair.check.skip-all --no-transfer-progress -Dmaven.javadoc.skip=true
    RETRY: .github/bin/retry
    JAVA_HOME_8.0.402_x64: /opt/hostedtoolcache/jdk/8.0.402/x64
    JAVA_HOME: /opt/hostedtoolcache/jdk/8.0.402/x64
    JAVA_HOME_8_0_402_X64: /opt/hostedtoolcache/jdk/8.0.402/x64
presto-product-tests/bin/run_on_docker.sh: line 130: docker-compose: command not found
Error: Process completed with exit code 127.

I wonder if we added new CI machines or something was updated which skips installing docker-compose?

@imjalpreet
Copy link
Member

@elharo elharo removed the bug label Apr 4, 2024
@elharo
Copy link
Contributor

elharo commented Apr 4, 2024

I've seen this too. I don't think we use any of our own machines, just github and CircleCI. Did you happen to notice which of these it happens on? Might be only an issue with github actions or only with circleci.

@imjalpreet
Copy link
Member

I noticed this with Github CI only

@rschlussel
Copy link
Contributor

rschlussel commented Aug 1, 2024

https://github.com/orgs/community/discussions/116610#discussion-6453112 looks like we need to update our docker command

@rschlussel
Copy link
Contributor

Looks like this is going to become fully blocked in the next day or 2 actions/runner-images#9692. I have a PR where I've tried to change everything from docker-compose to docker compose, but I'm still seeing some failures #23360. I don't really know a ton about configuring docker or about our test setup so if anybody has more knowledge here, please do jump in.

@rschlussel
Copy link
Contributor

actually, got it working. #23360 is ready for review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants