+ export TONE_ROOT=/tmp/tone + TONE_ROOT=/tmp/tone + export testsuite=jtreg + testsuite=jtreg + [[ ! -f test/jdk/TEST.ROOT ]] + grep '\[safe\]' /root/.gitconfig -A 1 + grep -q 'directory = .' + git config --global --add safe.directory . ++ arch + local arch=x86_64 + local makeTargets=all + [[ true == \t\r\u\e ]] + [[ -n /tmp/tone/run/jtreg/riscv64-gcc14-glibc2.37/sysroot ]] + which riscv64-unknown-linux-gnu-gcc /tmp/tone/run/jtreg/riscv64-gcc14-glibc2.37/bin/riscv64-unknown-linux-gnu-gcc + arch=riscv64 + makeTargets='images test-image' + RISCV_JDK_CONFIG='--openjdk-target=riscv64-unknown-linux-gnu --with-sysroot=/tmp/tone/run/jtreg/riscv64-gcc14-glibc2.37/sysroot --with-toolchain-path=/tmp/tone/run/jtreg/riscv64-gcc14-glibc2.37/bin --with-extra-path=/tmp/tone/run/jtreg/riscv64-gcc14-glibc2.37/bin' + export USE_LOCAL_COMPILER=true + USE_LOCAL_COMPILER=true ++ nproc + local nproc=64 + local jobs=64 + local jdkVersion=24 + local debugLevel=fastdebug + local variants=server + local bits=64 + [[ 32 -eq 64 ]] + [[ 24 -ge 12 ]] + confName=linux-riscv64-server-fastdebug + [[ -n /tmp/tone/run/jtreg ]] + echo 'export CONF=linux-riscv64-server-fastdebug' + [[ -z '' ]] + [[ 17 -eq 24 ]] + [[ 21 -eq 24 ]] + [[ 24 -ge 22 ]] + gtestVersion=v1.14.x + [[ 24 -ge 11 ]] ++ git log -1 --format=%H ++ cut -c 1-8 + versionConf=--with-version-opt=b1a21b56 + zlibConf=--with-zlib=system + [[ -n v1.14.x ]] ++ realpath ../googletest-v1.14.x + gtestConf=--with-gtest=/tmp/tone/run/jtreg/googletest-v1.14.x + [[ ! -f ../googletest-v1.14.x/googletest/include/gtest/gtest.h ]] + pushd .. /tmp/tone/run/jtreg /tmp/tone/run/jtreg/jdk-repo /tmp/tone/run/jtreg + rm -rf googletest-v1.14.x + github_git_clone 'git clone -b v1.14.x git@github.com:google/googletest.git' googletest-v1.14.x + git_clone 'GIT_SSH_COMMAND="ssh -i ~/.ssh/id_rsa" timeout 7200 git clone -b v1.14.x git@github.com:google/googletest.git' googletest-v1.14.x + unset GIT_SSH + unset GIT_SSH_COMMAND + maxCount=20 + [[ 2 -ne 2 ]] + dir=googletest-v1.14.x ++ seq 20 + for i in `seq ${maxCount}` + logger rm -rf googletest-v1.14.x ++ date '+%Y-%m-%d %H:%M:%S' + echo '[2025-03-05 16:24:01] rm -rf googletest-v1.14.x' [2025-03-05 16:24:01] rm -rf googletest-v1.14.x + eval rm -rf googletest-v1.14.x ++ rm -rf googletest-v1.14.x + [[ -d googletest-v1.14.x ]] + mkdir -p /tmp/tone/run/jtreg/other-logs + logger 'GIT_SSH_COMMAND="ssh -i ~/.ssh/id_rsa" timeout 7200 git clone -b v1.14.x git@github.com:google/googletest.git googletest-v1.14.x' + [[ 0 -eq 0 ]] + break + popd /tmp/tone/run/jtreg/jdk-repo /tmp/tone/run/jtreg + [[ -n /tmp/tone/run/jtreg/jtreg ]] + jtregConf=--with-jtreg=/tmp/tone/run/jtreg/jtreg ++ ls build/jmh/jars ++ wc -l + jmhJarsNum=0 + [[ 0 -lt 4 ]] + [[ -f make/devkit/createJMHBundle.sh ]] + grep -q MAVEN_MIRROR:- make/devkit/createJMHBundle.sh + MAVEN_MIRROR=https://maven.aliyun.com/repository/public + bash -x make/devkit/createJMHBundle.sh + JMH_VERSION=1.37 + COMMONS_MATH3_VERSION=3.6.1 + JOPT_SIMPLE_VERSION=5.0.4 + MAVEN_MIRROR=https://maven.aliyun.com/repository/public + BUNDLE_NAME=jmh-1.37.tar.gz +++ dirname make/devkit/createJMHBundle.sh ++ cd make/devkit ++ pwd + SCRIPT_DIR=/tmp/tone/run/jtreg/jdk-repo/make/devkit + BUILD_DIR=/tmp/tone/run/jtreg/jdk-repo/make/devkit/../../build/jmh + JAR_DIR=/tmp/tone/run/jtreg/jdk-repo/make/devkit/../../build/jmh/jars + mkdir -p /tmp/tone/run/jtreg/jdk-repo/make/devkit/../../build/jmh /tmp/tone/run/jtreg/jdk-repo/make/devkit/../../build/jmh/jars + cd /tmp/tone/run/jtreg/jdk-repo/make/devkit/../../build/jmh/jars + rm -f '*' + fetchJar org/apache/commons commons-math3 3.6.1 + url=https://maven.aliyun.com/repository/public/org/apache/commons/commons-math3/3.6.1/commons-math3-3.6.1.jar + command -v curl + curl -OL --fail https://maven.aliyun.com/repository/public/org/apache/commons/commons-math3/3.6.1/commons-math3-3.6.1.jar % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 39 2161k 39 847k 0 0 1854k 0 0:00:01 --:--:-- 0:00:01 1854k 100 2161k 100 2161k 0 0 4438k 0 --:--:-- --:--:-- --:--:-- 44.2M + fetchJar net/sf/jopt-simple jopt-simple 5.0.4 + url=https://maven.aliyun.com/repository/public/net/sf/jopt-simple/jopt-simple/5.0.4/jopt-simple-5.0.4.jar + command -v curl + curl -OL --fail https://maven.aliyun.com/repository/public/net/sf/jopt-simple/jopt-simple/5.0.4/jopt-simple-5.0.4.jar % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 78146 100 78146 0 0 217k 0 --:--:-- --:--:-- --:--:-- 217k + fetchJar org/openjdk/jmh jmh-core 1.37 + url=https://maven.aliyun.com/repository/public/org/openjdk/jmh/jmh-core/1.37/jmh-core-1.37.jar + command -v curl + curl -OL --fail https://maven.aliyun.com/repository/public/org/openjdk/jmh/jmh-core/1.37/jmh-core-1.37.jar % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 540k 100 540k 0 0 1252k 0 --:--:-- --:--:-- --:--:-- 1252k + fetchJar org/openjdk/jmh jmh-generator-annprocess 1.37 + url=https://maven.aliyun.com/repository/public/org/openjdk/jmh/jmh-generator-annprocess/1.37/jmh-generator-annprocess-1.37.jar + command -v curl + curl -OL --fail https://maven.aliyun.com/repository/public/org/openjdk/jmh/jmh-generator-annprocess/1.37/jmh-generator-annprocess-1.37.jar % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 30881 100 30881 0 0 93863 0 --:--:-- --:--:-- --:--:-- 213k + tar -cvzf ../jmh-1.37.tar.gz commons-math3-3.6.1.jar jmh-core-1.37.jar jmh-generator-annprocess-1.37.jar jopt-simple-5.0.4.jar commons-math3-3.6.1.jar jmh-core-1.37.jar jmh-generator-annprocess-1.37.jar jopt-simple-5.0.4.jar + echo 'Created /tmp/tone/run/jtreg/jdk-repo/make/devkit/../../build/jmh/jmh-1.37.tar.gz' Created /tmp/tone/run/jtreg/jdk-repo/make/devkit/../../build/jmh/jmh-1.37.tar.gz + [[ -d build/jmh/jars ]] + ls build/jmh/jars + grep -q core + jmhConf=--with-jmh=build/jmh/jars + [[ -n '' ]] + [[ -n '' ]] + local 'buildSourceCommand=test -f /tmp/tone/run/jtreg/.shrc && . /tmp/tone/run/jtreg/.shrc ; test -f /etc/profile && . /etc/profile' + [[ true == \t\r\u\e ]] + unset build_docker_exec + buildSourceCommand='echo build with local compiler.' + ccache --version + [[ 0 -eq 127 ]] + [[ release != \f\a\s\t\d\e\b\u\g ]] + debugConf=--with-native-debug-symbols=external + [[ -n -march=rv64imafdc_zicsr_zifencei ]] + cflagsConf='--with-extra-cflags="-march=rv64imafdc_zicsr_zifencei"' + unset CFLAGS + [[ -n -march=rv64imafdc_zicsr_zifencei ]] + cxxflagsConf='--with-extra-cxxflags="-march=rv64imafdc_zicsr_zifencei"' + unset CXXFLAGS + [[ -n '' ]] + rm -rf 'build/linux-riscv64-server-fastdebug/*' + mkdir -p build + configure_command='bash configure --with-jobs=64 --prefix=/tmp/tone/run/jtreg/jdk-repo/install-fastdebug --verbose --with-debug-level=fastdebug --enable-unlimited-crypto --with-vendor-name=yansendao --with-vendor-url=https://github.com/sendaoYan --with-vendor-bug-url=mailto:yansendao.ysd@alibaba-inc.com --with-vendor-vm-bug-url=mailto:yansendao.ysd@alibaba-inc.com --with-jvm-variants=server --with-boot-jdk=/tmp/tone/run/jtreg/binary-download/jdk-repo-binary --with-gtest=/tmp/tone/run/jtreg/googletest-v1.14.x --with-jtreg=/tmp/tone/run/jtreg/jtreg --with-jmh=build/jmh/jars --with-version-opt=b1a21b56 --with-zlib=system --with-native-debug-symbols=external --with-extra-cflags="-march=rv64imafdc_zicsr_zifencei" --with-extra-cxxflags="-march=rv64imafdc_zicsr_zifencei" --openjdk-target=riscv64-unknown-linux-gnu --with-sysroot=/tmp/tone/run/jtreg/riscv64-gcc14-glibc2.37/sysroot --with-toolchain-path=/tmp/tone/run/jtreg/riscv64-gcc14-glibc2.37/bin --with-extra-path=/tmp/tone/run/jtreg/riscv64-gcc14-glibc2.37/bin --with-toolchain-type=gcc --with-toolchain-path=/tmp/tone/run/jtreg/gcc-toolchain/gcc-14.2.0-binary/bin' + echo 'bash configure --with-jobs=64 --prefix=/tmp/tone/run/jtreg/jdk-repo/install-fastdebug --verbose --with-debug-level=fastdebug --enable-unlimited-crypto --with-vendor-name=yansendao --with-vendor-url=https://github.com/sendaoYan --with-vendor-bug-url=mailto:yansendao.ysd@alibaba-inc.com --with-vendor-vm-bug-url=mailto:yansendao.ysd@alibaba-inc.com --with-jvm-variants=server --with-boot-jdk=/tmp/tone/run/jtreg/binary-download/jdk-repo-binary --with-gtest=/tmp/tone/run/jtreg/googletest-v1.14.x --with-jtreg=/tmp/tone/run/jtreg/jtreg --with-jmh=build/jmh/jars --with-version-opt=b1a21b56 --with-zlib=system --with-native-debug-symbols=external --with-extra-cflags="-march=rv64imafdc_zicsr_zifencei" --with-extra-cxxflags="-march=rv64imafdc_zicsr_zifencei" --openjdk-target=riscv64-unknown-linux-gnu --with-sysroot=/tmp/tone/run/jtreg/riscv64-gcc14-glibc2.37/sysroot --with-toolchain-path=/tmp/tone/run/jtreg/riscv64-gcc14-glibc2.37/bin --with-extra-path=/tmp/tone/run/jtreg/riscv64-gcc14-glibc2.37/bin --with-toolchain-type=gcc --with-toolchain-path=/tmp/tone/run/jtreg/gcc-toolchain/gcc-14.2.0-binary/bin' + bash -c 'cd /tmp/tone/run/jtreg/jdk-repo ; bash configure --with-jobs=64 --prefix=/tmp/tone/run/jtreg/jdk-repo/install-fastdebug --verbose --with-debug-level=fastdebug --enable-unlimited-crypto --with-vendor-name=yansendao --with-vendor-url=https://github.com/sendaoYan --with-vendor-bug-url=mailto:yansendao.ysd@alibaba-inc.com --with-vendor-vm-bug-url=mailto:yansendao.ysd@alibaba-inc.com --with-jvm-variants=server --with-boot-jdk=/tmp/tone/run/jtreg/binary-download/jdk-repo-binary --with-gtest=/tmp/tone/run/jtreg/googletest-v1.14.x --with-jtreg=/tmp/tone/run/jtreg/jtreg --with-jmh=build/jmh/jars --with-version-opt=b1a21b56 --with-zlib=system --with-native-debug-symbols=external --with-extra-cflags="-march=rv64imafdc_zicsr_zifencei" --with-extra-cxxflags="-march=rv64imafdc_zicsr_zifencei" --openjdk-target=riscv64-unknown-linux-gnu --with-sysroot=/tmp/tone/run/jtreg/riscv64-gcc14-glibc2.37/sysroot --with-toolchain-path=/tmp/tone/run/jtreg/riscv64-gcc14-glibc2.37/bin --with-extra-path=/tmp/tone/run/jtreg/riscv64-gcc14-glibc2.37/bin --with-toolchain-type=gcc --with-toolchain-path=/tmp/tone/run/jtreg/gcc-toolchain/gcc-14.2.0-binary/bin' + MakeTarget='images test-image' + bash -c 'cd /tmp/tone/run/jtreg/jdk-repo ; make CONF=linux-riscv64-server-fastdebug LOG=debug images test-image &> build/make-linux-riscv64-server-fastdebug.log' real 1m32.638s user 64m15.865s sys 3m44.163s + [[ 0 -ne 2 ]] + echo 'openjdk make linux-riscv64-server-fastdebug first time fail' openjdk make linux-riscv64-server-fastdebug first time fail + test -d build/linux-riscv64-server-fastdebug/make-support/failure-logs + cp -rf build/linux-riscv64-server-fastdebug/make-support/failure-logs build/linux-riscv64-server-fastdebug/make-support/failure-logs-1 + mv -f build/make-linux-riscv64-server-fastdebug.log build/make-linux-riscv64-server-fastdebug-1.log + bash -c 'cd /tmp/tone/run/jtreg/jdk-repo ; make CONF=linux-riscv64-server-fastdebug SHELL='\''bash -x'\'' LOG=trace images test-image &> build/make-linux-riscv64-server-fastdebug-2.log' real 0m28.886s user 18m42.196s sys 1m10.445s + die 'openjdk make linux-riscv64-server-fastdebug second time fail' + '[' -n 'openjdk make linux-riscv64-server-fastdebug second time fail' ']' + echo 'openjdk make linux-riscv64-server-fastdebug second time fail' openjdk make linux-riscv64-server-fastdebug second time fail + exit 1