Skip to content

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

@nobelchowdary

Description

@nobelchowdary

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions