Skip to content

Apache Cassandra Dockerfile is not able to be built #10

Description

@skriesch

I want to use the Dockerfile for Apache Cassandra to emulate Z systems.

The build process does not run until the end because of failed unit tests:

    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
    [junit] Testsuite: com.sun.jna.JNALoadTest
    [junit] Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 6.28 sec
   [junit] 
    [junit] Testcase: testLoadAndUnloadFromJar(com.sun.jna.JNALoadTest):	FAILED
    [junit] System property jna.loaded not cleared
    [junit] junit.framework.AssertionFailedError: System property jna.loaded not cleared
    [junit] 	at com.sun.jna.JNALoadTest.testLoadAndUnloadFromJar(JNALoadTest.java:140)
    [junit] 
    [junit] 
    [junit] Test com.sun.jna.JNALoadTest FAILED
    [junit] 
    [junit] ------------- Standard Error -----------------
    [junit] JNA Warning: Encoding 'unsupported' is unsupported
    [junit] JNA Warning: Encoding with fallback UTF8
    [junit] ------------- ---------------- ---------------

BUILD FAILED
/root/jna/build.xml:1020: One or more tests failed

Total time: 1 minute 20 seconds

I have used my zVM with Ubuntu for s390x:

# uname -a
Linux m8345045 4.15.0-101-generic #102-Ubuntu SMP Mon May 11 10:01:38 UTC 2020 s390x s390x s390x GNU/Linux

Docker-Version:

# apt-cache policy docker
docker:
  Installed: 1.5-1build1
  Candidate: 1.5-1build1

Command to build the Docker image inside of the directory of ApacheCassandra:
docker build --tag cassandra-s390 .

The build with the Cassandra Dockerfile should run for Z systems.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions