-
Notifications
You must be signed in to change notification settings - Fork 406
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
[Bug report] Build using Gradle fails when running ./gradlew build locally on Ubuntu #879
Comments
@lisancao , |
@xunliu
We need to execute the following command on Ubuntu to solve docker permission problem sudo groupadd docker
sudo gpasswd -a $USER docker
newgrp docker |
I am able to build and run Gravitino on Ubuntu. Part of your issue, I believe, is that you need to use OpenJDK 1.8. |
hi @lisancao I saw this error info
I think this should be a problem with
|
Hi @xunliu, this is my output:
|
I will give this a shot. Thanks! |
Looks like this issue has been introduced recently (last day or two). I can no longer compile Gravitino on AWS and get the same error. |
hi @lisancao No problem with Docker. Please attach
|
Hi, see here @xunliu integration-test.log |
I found the failed reason of Docker
|
This is also causing builds to fail on Google Cloud Platform. |
Hi @lisancao
and
Please tell me executed result. |
Hi @xunliu - I just did a complete reinstall of docker ( On Ubuntu EC2 instance build works at a certain commit (see hash), but not on current main. On the commit verified to work on EC2, it still fails on my machine even after complete Docker reinstall, switch to OpenJDK8, and completely cloning repo into a new directory.
|
Hi @xunliu - I just wanted to confirm that current main branch builds successfully on AWS ubuntu ec2 instance, but still doesn't work on my machine. You can close this issue or update the title if need be and we can continue in another issue. |
…ess space (#1211) ### What changes were proposed in this pull request? 1. Added Docker network overlap detection 2. Reduced IP allocation ranges for lower conflict probability, Modified to `10.20.30.0/28` only allocate IP ranger `10.20.30.1` ~ `10.20.30.14` 3. Docker network only created on MacOS and default Docker server environment ### Why are the changes needed? Fix: #879, #925 ### Does this PR introduce _any_ user-facing change? N/A ### How was this patch tested? CI
…ess space (#1211) ### What changes were proposed in this pull request? 1. Added Docker network overlap detection 2. Reduced IP allocation ranges for lower conflict probability, Modified to `10.20.30.0/28` only allocate IP ranger `10.20.30.1` ~ `10.20.30.14` 3. Docker network only created on MacOS and default Docker server environment ### Why are the changes needed? Fix: #879, #925 ### Does this PR introduce _any_ user-facing change? N/A ### How was this patch tested? CI
…ess space (#1234) ### What changes were proposed in this pull request? 1. Added Docker network overlap detection 2. Reduced IP allocation ranges for lower conflict probability, Modified to `10.20.30.0/28` only allocate IP ranger `10.20.30.1` ~ `10.20.30.14` 3. Docker network only created on MacOS and default Docker server environment ### Why are the changes needed? Fix: #879, #925 ### Does this PR introduce _any_ user-facing change? N/A ### How was this patch tested? CI Co-authored-by: Xun Liu <[email protected]>
Describe what's wrong
When trying the gradlew builds and instructions on https://github.com/datastrato/gravitino/blob/main/docs/how-to-build.md, both times failed on the integration tests. MiniGravitino (
./gradlew build -x test
) builds successfully.Error message and/or stacktrace
First failed build: https://pastebin.com/8ZdbGxwZ
Second failed build: https://pastebin.com/ZztkiWkq
How to reproduce
git clone [email protected]:datastrato/gravitino.git
I also ran
./gradlew clean build
and./gradlew build --scan --warning-mode all
which is why the outputs in my pastebin files may look different.Additional context
Neofetch output:
java -version:
The text was updated successfully, but these errors were encountered: