dragonwell-project / dragonwell8

Alibaba Dragonwell8 JDK
http://dragonwell-jdk.io
GNU General Public License v2.0
4.21k stars 497 forks source link

[nightly][regreess]aarch64平台anolis8系统tools/pack200/PackTestZip64.java报错 #564

Closed sendaoYan closed 1 year ago

sendaoYan commented 1 year ago

https://tone.aliyun-inc.com/ws/xesljfzh/test_result/204516?tab=1 Steps to Reproduce Steps to reproduce the behavior:

git clone -b master "git@github.com:alibaba/dragonwell8.git" jdk-repo
wget -nv https://compiler-ci-bucket.oss-cn-hangzhou.aliyuncs.com/jdk/tools/jtreg5.1-b01.zip -O jtreg.zip
unzip jtreg.zip
cd jtreg 
export JT_HOME=$PWD ; export PATH=$PWD/bin:$PATH
cd -
wget -nv https://compiler-ci-bucket.oss-cn-hangzhou.aliyuncs.com//dragonwell8/20230712-104748-168-%2382-linux.aarch64.release.master-2d8d64e22f3b198ef29442eb21d725d685fda944.tar.gz -O binary.tar.gz
tar zxvf binary.tar.gz
cd j2sdk-image/
export JAVA_HOME=$PWD ; export PATH=$JAVA_HOME/bin:$PATH ; export TEST_JDK_HOME=$JAVA_HOME
test=./jdk-repo/jdk/test/tools/pack200/PackTestZip64.java
alias j='jtreg -w tmp -nr -v:fail,error'
j -Xmixed $test

dragonwell-extended失败日志(47.97.173.213): fail.log 关键错误信息:

STDERR:
java.util.zip.ZipException: invalid entry compressed size (expected 4225 but got 4230 bytes)
        at java.util.zip.ZipOutputStream.closeEntry(ZipOutputStream.java:267)
        at PackTestZip64.generateLargeJar(PackTestZip64.java:132)
        at PackTestZip64.testPacking(PackTestZip64.java:55)
        at PackTestZip64.main(PackTestZip64.java:44)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        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:855)
        Suppressed: java.util.zip.ZipException: invalid entry compressed size (expected 4225 but got 4230 bytes)
                at java.util.zip.ZipOutputStream.closeEntry(ZipOutputStream.java:267)
                at java.util.zip.ZipOutputStream.finish(ZipOutputStream.java:360)
                at java.util.zip.DeflaterOutputStream.close(DeflaterOutputStream.java:238)
                at java.util.zip.ZipOutputStream.close(ZipOutputStream.java:377)
                at PackTestZip64.generateLargeJar(PackTestZip64.java:143)
                ... 8 more

JavaTest Message: Test threw exception: java.util.zip.ZipException: invalid entry compressed size (expected 4225 but got 4230 bytes)
JavaTest Message: shutting down test

temurin用例成功pass(47.97.173.213) 用例总体概况表格:

![Uploading image.png…]()

失败用例归类.xlsx

环境47.254.131.146下,用例使用dragonwell-extended与temurin均必然成功,47.254.131.146环境信息(Ubuntu): image

dragonwell-extended必然失败的环境信息(47.97.173.213): image

上一次发布的dragonwell8正常:

image

jia-wei-tang commented 1 year ago

The failure is not caused by the EagerAppCDS patch code. The CI pipeline may use the wrong tool to build the execution environment.

sendaoYan commented 1 year ago

已修复