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

NDBench gradle build fails at dynamodb-plugins test in ARM64 Linux Machine #273

Open
nobelchowdary opened this issue May 19, 2023 · 0 comments

Comments

@nobelchowdary
Copy link

nobelchowdary commented May 19, 2023

The build of NDBench failed at the test of dynamodb-plugins and resulted in the following error.
> Task :ndbench-dynamodb-plugins:pmdTest 13 PMD rule violations were found. See the report at: file:///home/ubuntu/ndbench/ndbench-dynamodb-plugins/build/reports/pmd/test.html

> Task :ndbench-dynamodb-plugins:test

com.netflix.ndbench.plugin.dynamodb.DynamoDBProgrammaticKeyValueTest > testCreateDynamoDbFromDataGenerator_withInit_andAutoscaling_protectedSetupMethodsCalled FAILED
com.amazonaws.services.dynamodbv2.model.AmazonDynamoDBException at DynamoDBProgrammaticKeyValueTest.java:87

com.netflix.ndbench.plugin.dynamodb.DynamoDBProgrammaticKeyValueTest > testCreateDynamoDbFromDataGenerator_withInit_andNoAutoscaling_protectedSetupMethodsCalled FAILED
com.amazonaws.services.dynamodbv2.model.AmazonDynamoDBException at DynamoDBProgrammaticKeyValueTest.java:74

17 tests completed, 2 failed

> Task :ndbench-dynamodb-plugins:test FAILED

FAILURE: Build failed with an exception.

Build Environment:
AWS EC2 (Arm64 - c6g)
Ubuntu Linux
openjdk version "1.8.0_362"
Gradle 6.8.3

Cloned the repo from master branch and tested it. However, tried running the build by skipping the part of dynamodb-plugins.

On the other hand, tried cloning the repo into base MAC Machine and tried building it. It worked well and does not throw any build error at dynamodb-plugins.

MAC - M1 (ARM64 based chip)
openjdk version "1.8.0_292"
Gradle 6.8.3

It didnt support with the driver connection in the case of AWS Linux where the build failed, but worked in MAC.
Hence, skipping the build of dynamodb-plugins doesnt really support the connection to the external tools.

It is the error in terms of java exception that is not really addressed interms of java 1.8.0_362, linux and arm64 architecture. Looking if this can be addressed ?

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

No branches or pull requests

1 participant