-
Notifications
You must be signed in to change notification settings - Fork 0
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
Failing while building bucket4j using mvn clean install #3
Comments
Hello @pranopowar Bucket4j does not provide support for DynaqmoDb anymore. Just comment this line and rebuild. |
Thanks , I tried after commenting the dynaqmodb in pom.xml . Now I am facing issue in Redis. I have attached log for same. Also Please let me know if we require more modules to get commented. |
As it mentioneed in the logs, you have a problem with docker environment. You should install docker and make some setup of docker if neccesarry. I do not know how to do this on Windows because I do not use it.
As you wish. Feel free to exclude everything that you do not need in your fork.
It is your responsibility to decide what you need and what you do not need. I am not able to read your thoughts. |
Hi @vladimir-bukhtoyarov, [12:59 PM] SRIVASTAVA, SHIV OM [INFO] [INFO] bucket4j-parent .................................... SUCCESS [ 1.585 s] [INFO] bucket4j-core ...................................... SUCCESS [ 48.781 s] [INFO] bucket4j-jcache .................................... SUCCESS [01:46 min] [INFO] bucket4j-ignite .................................... SUCCESS [01:16 min] [INFO] bucket4j-infinispan-all ............................ SUCCESS [ 0.017 s] [INFO] bucket4j-infinispan ................................ SUCCESS [ 24.215 s] [INFO] bucket4j-infinispan-8 .............................. SUCCESS [ 36.882 s] [INFO] bucket4j-hazelcast-all ............................. SUCCESS [ 0.011 s] [INFO] bucket4j-hazelcast ................................. SUCCESS [02:09 min] [INFO] bucket4j-hazelcast-3 ............................... SUCCESS [01:46 min] [INFO] bucket4j-benchmarks ................................ SUCCESS [ 1.515 s] [INFO] bucket4j-examples .................................. SUCCESS [ 0.152 s] [INFO] lincheck-tests ..................................... SUCCESS [01:40 min] [INFO] bucket4j-redis ..................................... FAILURE [ 12.437 s] [INFO] bucket4j-coherence ................................. SKIPPED [INFO] bucket4j-postgresql ................................ SKIPPED [INFO] bucket4j-mysql ..................................... SKIPPED [INFO] bucket4j-caffeine .................................. SKIPPED [INFO] Bucket4j Documentation ............................. SKIPPED [INFO] bucket4j ........................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 10:44 min [INFO] Finished at: 2024-04-22T18:02:24+05:30 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.20:test (default-test) on project bucket4j-redis: There are test failures. [ERROR] [ERROR] Please refer to /home/devi/bucket4j/bucket4j-redis/target/surefire-reports for the individual test results. [ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].dumpstream and [date]-jvmRun[N].dumpstream. [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :bucket4j-redis |
And where are test logs?
If I understand correctly, your goal is to build some fork of |
Hi @vladimir-bukhtoyarov, For above issue, please find the attached log. I have also tried with same configuration as mentioned above but facing error. |
Hi, @vladimir-bukhtoyarov please find attached log |
Are you banned from Google? Anymay, now you are banned from this repository. |
Package artifact id: bucket4j
source code url: https://github.com/bucket4j/bucket4j/tree/7.6.0
Issue Description: Failing while building bucket4j using mvn clean install
JDK Version: 1.8
Build CMD: mvn clean install
MVN Version: 3.9.6
Error Log:
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running io.github.bucket4j.dynamodb.v1.LongDynamoDBProxyManagerTckTest
[ERROR] Tests run: 28, Failures: 0, Errors: 28, Skipped: 0, Time elapsed: 3.269 s <<< FAILURE! - in io.github.bucket4j.dynamodb.v1.LongDynamoDBProxyManagerTckTest
[ERROR] testTryConsumeWithLimit(io.github.bucket4j.dynamodb.v1.LongDynamoDBProxyManagerTckTest) Time elapsed: 3.094 s <<< ERROR!
java.lang.NoSuchMethodError: com.amazonaws.services.dynamodbv2.model.CreateTableRequest.getDeletionProtectionEnabled()Ljava/lang/Boolean;
at io.github.bucket4j.dynamodb.v1.LongDynamoDBProxyManagerTckTest.createStateTable(LongDynamoDBProxyManagerTckTest.java:20)
attachment: build log attached
log_java_8_maven_3.9.6.txt
OS: windows 10
The text was updated successfully, but these errors were encountered: