[21.0.5.0.5+9]-XX:+UseCompactObjectHeaders选项tools/jlink/plugins/CDSPluginTest.java必现java.io.IOException: Expected File lib/server/classes_coh.jsa not found #128
STDERR:
javac options: --module-path /home/dongzhichun/tone/dragonwell21/new/bin-dragonwell21/dragonwell-21.0.4.0.4+7-GA/jmods:/home/dongzhichun/tone/dragonwell21/new/tmp/scratch/jmods:/home/dongzhichun/tone/dragonwell21/new/tmp/scratch/jars:/home/dongzhichun/tone/dragonwell21/new/tmp/scratch/explodedmods/classes -g /home/dongzhichun/tone/dragonwell21/new/tmp/scratch/jmods/src/cds/module-info.java /home/dongzhichun/tone/dragonwell21/new/tmp/scratch/jmods/src/cds/cds/Main.java /home/dongzhichun/tone/dragonwell21/new/tmp/scratch/jmods/src/cds/cds/com/foo/bar/X.java
jmod options: create --main-class cds.Main --class-path /home/dongzhichun/tone/dragonwell21/new/tmp/scratch/jmods/classes/cds --module-path /home/dongzhichun/tone/dragonwell21/new/bin-dragonwell21/dragonwell-21.0.4.0.4+7-GA/jmods:/home/dongzhichun/tone/dragonwell21/new/tmp/scratch/jmods:/home/dongzhichun/tone/dragonwell21/new/tmp/scratch/jars /home/dongzhichun/tone/dragonwell21/new/tmp/scratch/jmods/cds.jmod
jlink options: --output /home/dongzhichun/tone/dragonwell21/new/tmp/scratch/images/cds.image --add-modules cds --limit-modules cds --module-path /home/dongzhichun/tone/dragonwell21/new/bin-dragonwell21/dragonwell-21.0.4.0.4+7-GA/jmods:/home/dongzhichun/tone/dragonwell21/new/tmp/scratch/jmods:/home/dongzhichun/tone/dragonwell21/new/tmp/scratch/jars:/home/dongzhichun/tone/dragonwell21/new/tmp/scratch/explodedmods/classes --generate-cds-archive
java.io.IOException: Expected File lib/server/classes_coh.jsa not found
at tests.JImageValidator.validate(JImageValidator.java:112)
at tests.Helper.checkImage(Helper.java:300)
at CDSPluginTest.main(CDSPluginTest.java:87)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1583)
JavaTest Message: Test threw exception: java.io.IOException: Expected File lib/server/classes_coh.jsa not found
JavaTest Message: shutting down test
【jdk版本】
java -version;java -Xinternalversion
openjdk version "21.0.4.0.4" 2024-10-15
OpenJDK Runtime Environment (Alibaba Dragonwell Extended Edition)-21.0.4.0.4+7-GA (build 21.0.4.0.4)
OpenJDK 64-Bit Server VM (Alibaba Dragonwell Extended Edition)-21.0.4.0.4+7-GA (build 21.0.4.0.4, mixed mode, sharing)
OpenJDK 64-Bit Server VM (21.0.4.0.4) for linux-amd64 JRE (21.0.4.0.4), built on 2024-10-15T00:00:00Z by "dragonwell" with gcc 11.2.0
https://tone.aliyun-inc.com/ws/xesljfzh/test_result/398270
【环境准备】
【测试分析】
该用例是用更新代码仓之后执行的,x64和aarch64都失败,上次10.30号的job未出现
【用例日志】
【jdk版本】
【系统版本信息】