[COMMAND]
docker build --no-cache --tag jdk-internal:test-misc ./jdk-docker
[ELAPSED: 734 ms]
[STDERR]
#0 building with "default" instance using docker driver
#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 116B done
#1 DONE 0.0s
#2 [internal] load metadata for docker.io/arm64v8/ubuntu:latest
#2 ERROR: failed to do request: Head "https://registry-1.docker.io/v2/arm64v8/ubuntu/manifests/latest": read tcp 172.16.2.1:51572->54.196.99.49:443: read: connection reset by peer
------
> [internal] load metadata for docker.io/arm64v8/ubuntu:latest:
------
Dockerfile:1
--------------------
1 | >>> FROM arm64v8/ubuntu:latest
2 | COPY /jdk /jdk
3 | ENV JAVA_HOME=/jdk
--------------------
ERROR: failed to solve: arm64v8/ubuntu:latest: failed to do request: Head "https://registry-1.docker.io/v2/arm64v8/ubuntu/manifests/latest": read tcp 172.16.2.1:51572->54.196.99.49:443: read: connection reset by peer
[STDOUT]
STDERR:
stdout: [];
stderr: [#0 building with "default" instance using docker driver
#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 116B done
#1 DONE 0.0s
#2 [internal] load metadata for docker.io/arm64v8/ubuntu:latest
#2 ERROR: failed to do request: Head "https://registry-1.docker.io/v2/arm64v8/ubuntu/manifests/latest": read tcp 172.16.2.1:51572->54.196.99.49:443: read: connection reset by peer
------
> [internal] load metadata for docker.io/arm64v8/ubuntu:latest:
------
Dockerfile:1
--------------------
1 | >>> FROM arm64v8/ubuntu:latest
2 | COPY /jdk /jdk
3 | ENV JAVA_HOME=/jdk
--------------------
ERROR: failed to solve: arm64v8/ubuntu:latest: failed to do request: Head "https://registry-1.docker.io/v2/arm64v8/ubuntu/manifests/latest": read tcp 172.16.2.1:51572->54.196.99.49:443: read: connection reset by peer
]
exitValue = 1
java.lang.RuntimeException: Expected to get exit value of [0]
at com.oracle.java.testlibrary.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:362)
at com.oracle.java.testlibrary.DockerTestUtils.buildDockerImage(DockerTestUtils.java:171)
at com.oracle.java.testlibrary.DockerTestUtils.buildJdkDockerImage(DockerTestUtils.java:148)
at TestMisc.main(TestMisc.java:50)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:82)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.lang.Thread.run(Thread.java:879)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Expected to get exit value of [0]
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Expected to get exit value of [0]
【环境信息】
[root@iZbp1j0vml0nnwakclqcymZ jdk-repo]# uname -a ; cat /etc/os-release ; free -h; lscpu| head -n 25;java -version; java -Xinternalversion
Linux iZbp1j0vml0nnwakclqcymZ 5.10.134-16.1.al8.aarch64 #1 SMP Thu Dec 7 22:04:51 CST 2023 aarch64 aarch64 aarch64 GNU/Linux
NAME="Alibaba Cloud Linux"
VERSION="3 (Soaring Falcon)"
ID="alinux"
ID_LIKE="rhel fedora centos anolis"
VERSION_ID="3"
UPDATE_ID="9"
PLATFORM_ID="platform:al8"
PRETTY_NAME="Alibaba Cloud Linux 3 (Soaring Falcon)"
ANSI_COLOR="0;31"
HOME_URL="https://www.aliyun.com/"
total used free shared buff/cache available
Mem: 61Gi 1.2Gi 6.5Gi 3.0Mi 53Gi 59Gi
Swap: 0B 0B 0B
Architecture: aarch64
Byte Order: Little Endian
CPU(s): 32
On-line CPU(s) list: 0-31
Thread(s) per core: 1
Core(s) per socket: 32
Socket(s): 1
NUMA node(s): 1
Vendor ID: ARM
BIOS Vendor ID: Alibaba Cloud
Model: 0
Model name: Neoverse-N2
BIOS Model name: virt-rhel7.6.0
Stepping: r0p0
CPU MHz: 3000.000
CPU max MHz: 3000.0000
CPU min MHz: 3000.0000
BogoMIPS: 100.00
L1d cache: 64K
L1i cache: 64K
L2 cache: 1024K
L3 cache: 65536K
NUMA node0 CPU(s): 0-31
Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512 sve asimdfhm dit uscat ilrcpc flagm ssbs sb dcpodp sve2 sveaes svepmull svebitperm svesha3 svesm4 flagm2 frint svei8mm svebf16 i8mm bf16 dgh
openjdk version "1.8.0_382"
OpenJDK Runtime Environment (Alibaba 8.9.14) (build 1.8.0_382-b0)
OpenJDK 64-Bit Server VM (Alibaba 8.9.14) (build 25.382-b0-internal, mixed mode)
OpenJDK 64-Bit Server VM (25.382-b0-internal) for linux-aarch64 JRE (1.8.0_382-b0), built on Feb 2 2024 07:35:57 by "" with gcc 4.8.5 20150623 (Red Hat 4.8.5-44)
https://tone.aliyun-inc.com/ws/xesljfzh/test_result/280365?tab=1 【环境准备】
手工命令: export test=hotspot/test/runtime/containers/docker/TestMisc.java; export nproc=16 ; cd /tmp/tone/run/jtreg/jdk-repo ; export TONEROOT=/tmp/tone ; . ../../../tone-matrix-compiler/common/common.sh ; for i in
seq 0 15
; do docker rm -f jdk-test-$i ; startCompilerDocker jdk-test-$i; done ; function runJtreg() { index=expr $1 % $nproc
; docker exec jdk-test-$index bash -c ". ../.shrc ; jtreg $args -timeoutFactor:4 -v:fail,error,time,nopass -nr -w $dir/index-$1 $test" &> $dir/$1.log ; if [[ 0 -ne $? ]] ; then echo -n "$1 " ; else rm -rf $dir/index-$1 $dir/$1.log ; fi ; } ; export -f runJtreg ; export dir="tmp-jtreg-"`basename ${test##* } .java | sed "s|#||"; rm -rf $dir ; mkdir -p $dir ; time seq 1000 | xargs -i -n 1 -P $nproc bash -c "runJtreg {}" ; echo total fail number:
ls $dir/*.log 2> /dev/null | wc | awk '{print $1}'`手动1W次未复现 5W次未复现
【用例日志】
【环境信息】