-
Notifications
You must be signed in to change notification settings - Fork 384
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: Unable to build gravitino in Linux environment due to JAVA problem #3336
Comments
hi @rich7420 Thanks you for report this issue. |
Could you please follow the how-to-test doc and have a try? |
I can't reproduce it locally with Linux |
I've tried
In the duplicate Virtual Box, There is their message. |
It seems like Junit has some issues? |
This seems to be introduced by #3197, I tried but can't reproduce it locally in the orback virtual machine. |
I don't see any valuable information in the above description. How do you know that it is due to #3197? |
…es more clear (#3538) ### What changes were proposed in this pull request? - clarify OrbStack status - check the docker env before IT start ### Why are the changes needed? The previous detection logic was located in the constructor, and when the test failed, it would throw an exception `ExceptionInInitializerError`, causing the original error to be covered. Fix: #3336 ### Does this PR introduce _any_ user-facing change? no ### How was this patch tested? Locally, by hand
…es more clear (#3538) ### What changes were proposed in this pull request? - clarify OrbStack status - check the docker env before IT start ### Why are the changes needed? The previous detection logic was located in the constructor, and when the test failed, it would throw an exception `ExceptionInInitializerError`, causing the original error to be covered. Fix: #3336 ### Does this PR introduce _any_ user-facing change? no ### How was this patch tested? Locally, by hand
…es more clear (#3542) ### What changes were proposed in this pull request? - clarify OrbStack status - check the docker env before IT start ### Why are the changes needed? The previous detection logic was located in the constructor, and when the test failed, it would throw an exception `ExceptionInInitializerError`, causing the original error to be covered. Fix: #3336 ### Does this PR introduce _any_ user-facing change? no ### How was this patch tested? Locally, by hand Co-authored-by: mchades <[email protected]>
…messages more clear (apache#3538) ### What changes were proposed in this pull request? - clarify OrbStack status - check the docker env before IT start ### Why are the changes needed? The previous detection logic was located in the constructor, and when the test failed, it would throw an exception `ExceptionInInitializerError`, causing the original error to be covered. Fix: apache#3336 ### Does this PR introduce _any_ user-facing change? no ### How was this patch tested? Locally, by hand
Version
main branch
Describe what's wrong
When I use "./ gradlew build" to build environment. There are some failed test. My OS is Ubuntu 22.04.4 and openJDK is 11.0.22.
By the way, the command "./gradlew build -x test" has all successful test.
Error message and/or stacktrace
How to reproduce
Please see Above. Thanks
Additional context
OS:Linux gravitino 6.5.0-28-generic #29~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Apr 4 14:39:20 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
JAVA:
openjdk 11.0.22 2024-01-16
OpenJDK Runtime Environment (build 11.0.22+7-post-Ubuntu-0ubuntu222.04.1)
OpenJDK 64-Bit Server VM (build 11.0.22+7-post-Ubuntu-0ubuntu222.04.1, mixed mode, sharing)
The text was updated successfully, but these errors were encountered: