[
https://issues.apache.org/jira/browse/CASSANDRA-16212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17233778#comment-17233778
]
David Capwell edited comment on CASSANDRA-16212 at 11/17/20, 6:05 PM:
----------------------------------------------------------------------
[~mck], [~jolynch], and I have been talking in slack, moving the conversation
here.
After this got committed several of the JVM dtests started failing on Circle
CI; there were only a small number of expected test failures, now several are
failing.
Sample JVM dtest (feature branch after rebasing against trunk):
https://app.circleci.com/pipelines/github/dcapwell/cassandra?branch=bug%2FCASSANDRA-16213
Below is a simple reproducer
{code:java}
./ci-test org.apache.cassandra.distributed.test.SimpleReadWriteTest
...
[junit-timeout] Testcase:
org.apache.cassandra.distributed.test.SimpleReadWriteTest:writeWithSchemaDisagreement2:
Caused an ERROR
[junit-timeout] Forked Java VM exited abnormally. Please note the time in the
report does not reflect the time until the VM exit.
[junit-timeout] junit.framework.AssertionFailedError: Forked Java VM exited
abnormally. Please note the time in the report does not reflect the time until
the VM exit.
[junit-timeout] at java.util.Vector.forEach(Vector.java:1275)
[junit-timeout] at java.util.Vector.forEach(Vector.java:1275)
[junit-timeout] at java.lang.Thread.run(Thread.java:748)
[junit-timeout]
[junit-timeout]
[junit-timeout] Test org.apache.cassandra.distributed.test.SimpleReadWriteTest
FAILED (crashed)BUILD FAILED
/Users/davidcapwell/src/github/apache/cassandra-trunk/build.xml:2035: The
following error occurred while executing this line:
/Users/davidcapwell/src/github/apache/cassandra-trunk/build.xml:1916: Some
test(s) failed.
{code}
{code:java}
$ cat ci-test
#!/usr/bin/env bash
#set -o xtrace
set -o errexit
set -o pipefail
set -o nounset
usage() {
if [[ $# -gt 0 ]]; then
echo "$*" 1>&2
fi
cat <<EOF
Usage: $(basename $0) [class name] (options)*
Options:
--cdc - runs with cdc enabled
--compression - run with compression enabled
--reuse - skip calling ant realclean
EOF
exit 1
}
if [[ $# -eq 0 ]]; then
usage "Missing required arguments"
fi
class_name="$1"
shift
path="$(echo "$class_name" | tr '.' '/' ).java"
prefix="$( find test | grep "$path" | awk -F/ '\{print $2}' )"
task="testclasslist"
fresh_build=true
while [[ "$#" -gt 0 ]]; do
case "$1" in
--cdc)
task="testclasslist-cdc"
shift
;;
--compression)
task="testclasslist-compression"
shift
;;
--reuse)
fresh_build=false
shift
;;
*)
usage "Unknown argument $1"
;;
esac
done
if [[ "$fresh_build" == true ]]; then
if [[ ! "$path" =~ distributed/upgrade ]]; then
ant realclean && ant && ant generate-idea-files
fi
fi
test_timeout=$(grep "name=\"test.$prefix.timeout\"" build.xml | awk -F'"'
'\{print $4}' || true)
if [ -z "$test_timeout" ]; then
test_timeout=$(grep 'name="test.timeout"' build.xml | awk -F'"' '\{print $4}')
fi
ant "$task" -Dtest.timeout="$test_timeout" -Dtest.classlistfile=<(echo "$path")
-Dtest.classlistprefix=$prefix
{code}
was (Author: dcapwell):
[~mck], [~jolynch], and I have been talking in slack, moving the conversation
here.
After this got committed several of the JVM dtests started failing on Circle
CI; there were only a small number of expected test failures, now several are
failing.
Below is a simple reproducer
{code}
./ci-test org.apache.cassandra.distributed.test.SimpleReadWriteTest
...
[junit-timeout] Testcase:
org.apache.cassandra.distributed.test.SimpleReadWriteTest:writeWithSchemaDisagreement2:
Caused an ERROR
[junit-timeout] Forked Java VM exited abnormally. Please note the time in the
report does not reflect the time until the VM exit.
[junit-timeout] junit.framework.AssertionFailedError: Forked Java VM exited
abnormally. Please note the time in the report does not reflect the time until
the VM exit.
[junit-timeout] at java.util.Vector.forEach(Vector.java:1275)
[junit-timeout] at java.util.Vector.forEach(Vector.java:1275)
[junit-timeout] at java.lang.Thread.run(Thread.java:748)
[junit-timeout]
[junit-timeout]
[junit-timeout] Test org.apache.cassandra.distributed.test.SimpleReadWriteTest
FAILED (crashed)BUILD FAILED
/Users/davidcapwell/src/github/apache/cassandra-trunk/build.xml:2035: The
following error occurred while executing this line:
/Users/davidcapwell/src/github/apache/cassandra-trunk/build.xml:1916: Some
test(s) failed.
{code}
{code}
$ cat ci-test
#!/usr/bin/env bash
#set -o xtrace
set -o errexit
set -o pipefail
set -o nounset
usage() {
if [[ $# -gt 0 ]]; then
echo "$*" 1>&2
fi
cat <<EOF
Usage: $(basename $0) [class name] (options)*
Options:
--cdc - runs with cdc enabled
--compression - run with compression enabled
--reuse - skip calling ant realclean
EOF
exit 1
}
if [[ $# -eq 0 ]]; then
usage "Missing required arguments"
fi
class_name="$1"
shift
path="$(echo "$class_name" | tr '.' '/' ).java"
prefix="$( find test | grep "$path" | awk -F/ '\{print $2}' )"
task="testclasslist"
fresh_build=true
while [[ "$#" -gt 0 ]]; do
case "$1" in
--cdc)
task="testclasslist-cdc"
shift
;;
--compression)
task="testclasslist-compression"
shift
;;
--reuse)
fresh_build=false
shift
;;
*)
usage "Unknown argument $1"
;;
esac
done
if [[ "$fresh_build" == true ]]; then
if [[ ! "$path" =~ distributed/upgrade ]]; then
ant realclean && ant && ant generate-idea-files
fi
fi
test_timeout=$(grep "name=\"test.$prefix.timeout\"" build.xml | awk -F'"'
'\{print $4}' || true)
if [ -z "$test_timeout" ]; then
test_timeout=$(grep 'name="test.timeout"' build.xml | awk -F'"' '\{print $4}')
fi
ant "$task" -Dtest.timeout="$test_timeout" -Dtest.classlistfile=<(echo "$path")
-Dtest.classlistprefix=$prefix
{code}
> Cassandra version above 3.11.0 failing for ARM64
> -------------------------------------------------
>
> Key: CASSANDRA-16212
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16212
> Project: Cassandra
> Issue Type: Task
> Components: Local/Other
> Reporter: odidev
> Assignee: Michael Semb Wever
> Priority: Normal
> Fix For: 4.0-beta4
>
> Attachments: crash.txt
>
>
> Cassandra versions above 3.11.0 are failing on ARM64 platform with below
> issue:
> java.lang.UnsatisfiedLinkError: /tmp/jna-3506402/jna3214742498288082263.tmp:
> *Error loading shared library ld-linux-aarch64.so.1: No such file or
> directory (needed by /tmp/jna-3506402/jna3214742498288082263.tmp)*
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]