Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows system testing, sha mismatch downloading dependent third party jars #19123

Closed
pshipton opened this issue Mar 12, 2024 · 11 comments
Closed

Comments

@pshipton
Copy link
Member

https://openj9-jenkins.osuosl.org/job/Test_openjdk17_j9_sanity.system_x86-64_windows_Nightly_testList_0/678 - win2019x64-openj9-3a

04:01:30  getDependentLibs:
04:01:30       [exec] --------------------------------------------
04:01:30       [exec] path is set to C:/Users/****/testDependency/lib
04:01:30       [exec] task is set to default
04:01:30       [exec] dependencyList is set to jcstress
04:01:30       [exec] --------------------------------------------
04:01:30       [exec] Starting download third party dependent jars
04:01:30       [exec] --------------------------------------------
04:01:30       [exec] downloading dependent third party jars to C:/Users/****/testDependency/lib
04:01:30       [exec] downloading https://builds.shipilev.net/jcstress/jcstress-tests-all-20220908.jar
04:01:31       [exec] --> file downloaded to C:/Users/****/testDependency/lib/jcstress-tests-all-20220908.jar
04:01:31       [exec] Expected sha is: 8cf348be49b8af939a3ce03216e3df53aa0f9ef2,
04:01:31       [exec] Actual sha is  : e461d072a6ba8f0082d6f187eba7f053343529c6.
04:01:31       [exec] ERROR: sha checksum error.
04:01:31       [exec] Please delete C:/Users/****/testDependency/lib/jcstress-tests-all-20220908.jar and rerun the program!

https://openj9-jenkins.osuosl.org/job/Test_openjdk17_j9_sanity.system_x86-64_windows_Nightly_testList_2/677 - win2019x64-openj9-3a

https://openj9-jenkins.osuosl.org/job/Test_openjdk17_j9_extended.system_x86-64_windows_Nightly_testList_0/677/ - win2019x64-openj9-5

https://openj9-jenkins.osuosl.org/job/Test_openjdk17_j9_extended.system_x86-64_windows_Nightly_testList_1/677/ - win2019x64-openj9-5

https://openj9-jenkins.osuosl.org/job/Test_openjdk17_j9_extended.system_x86-64_windows_Nightly_testList_2/676/ - win2019x64-openj9-5

@pshipton
Copy link
Member Author

pshipton commented Mar 12, 2024

@llxia pls take a look, this mostly blocks the system tests from running on Windows.

@pshipton
Copy link
Member Author

pshipton commented Mar 12, 2024

This job passed, but looking at the details it still failed to download but proceeded anyway.

https://openj9-jenkins.osuosl.org/job/Test_openjdk17_j9_sanity.system_x86-64_windows_Nightly_testList_1/678/ - win2019x64-openj9-2

03:52:57  Starting download third party dependent jars
03:52:57  --------------------------------------------
03:52:57  downloading dependent third party jars to C:/Users/jenkins/workspace/Test_openjdk17_j9_sanity.system_x86-64_windows_Nightly_testList_1/../../testDependency/lib
03:52:57  downloading https://ci.adoptium.net/job/test.getDependency/lastSuccessfulBuild/artifact//mockito-core.jar
03:52:57  ERROR: sha checksum error.
03:52:57  --> file downloaded to C:/Users/jenkins/workspace/Test_openjdk17_j9_sanity.system_x86-64_windows_Nightly_testList_1/../../testDependency/lib/mockito-core.jar
03:52:57  Expected sha is: faa88b96db3aeb96a93e83dec7491345bfbfc414,
03:52:57  Actual sha is  : b1e8904d974e4365b713bda0a70bb43f990820fd.
03:52:57  Please delete C:/Users/jenkins/workspace/Test_openjdk17_j9_sanity.system_x86-64_windows_Nightly_testList_1/../../testDependency/lib/mockito-core.jar and rerun the program!

https://openj9-jenkins.osuosl.org/job/Test_openjdk21_j9_sanity.system_x86-64_windows_Nightly_testList_0/175 - win2019x64-openj9-5

01:29:11  Starting download third party dependent jars
01:29:11  --------------------------------------------
01:29:11  downloading dependent third party jars to C:/Users/jenkins/workspace/Test_openjdk21_j9_sanity.system_x86-64_windows_Nightly_testList_0/../../testDependency/lib
01:29:11  C:/Users/jenkins/workspace/Test_openjdk21_j9_sanity.system_x86-64_windows_Nightly_testList_0/../../testDependency/lib/json-simple.jar exists with correct hash, not downloading
01:29:11  downloading https://ci.adoptium.net/job/test.getDependency/lastSuccessfulBuild/artifact//byte-buddy.jar
01:29:12  ERROR: sha checksum error.
01:29:12  --> file downloaded to C:/Users/jenkins/workspace/Test_openjdk21_j9_sanity.system_x86-64_windows_Nightly_testList_0/../../testDependency/lib/byte-buddy.jar
01:29:12  Expected sha is: 6e37f743dc15a8d7a4feb3eb0025cbc612d5b9e1,
01:29:12  Actual sha is  : 0a3546de8878518ea84ee00dbfbf36b0fa63f5e4.
01:29:12  Please delete C:/Users/jenkins/workspace/Test_openjdk21_j9_sanity.system_x86-64_windows_Nightly_testList_0/../../testDependency/lib/byte-buddy.jar and rerun the program!

@pshipton
Copy link
Member Author

pshipton commented Mar 12, 2024

This may be related.
https://openj9-jenkins.osuosl.org/job/Test_openjdk21_j9_extended.system_x86-64_mac_Nightly_testList_1/129/ - mac10-x86-3

19:19:52  build-java:
19:19:52      [javac] Compiling 58 source files to /Users/****/workspace/Test_openjdk21_j9_extended.system_x86-64_mac_Nightly_testList_1/aqa-tests/system/STF/stf.core/bin
19:19:52      [javac] error: error reading /Users/****/workspace/Test_openjdk21_j9_extended.system_x86-64_mac_Nightly_testList_1/aqa-tests/systemtest_prereqs/junit/junit.jar; zip file is empty
19:19:52      [javac] error: error reading /Users/****/workspace/Test_openjdk21_j9_extended.system_x86-64_mac_Nightly_testList_1/aqa-tests/systemtest_prereqs/junit/hamcrest-core.jar; zip file is empty
19:19:52      [javac] error: error reading /Users/****/workspace/Test_openjdk21_j9_extended.system_x86-64_mac_Nightly_testList_1/aqa-tests/systemtest_prereqs/log4j/log4j-api.jar; zip file is empty
19:19:52      [javac] error: error reading /Users/****/workspace/Test_openjdk21_j9_extended.system_x86-64_mac_Nightly_testList_1/aqa-tests/systemtest_prereqs/log4j/log4j-core.jar; zip file is empty

@pshipton
Copy link
Member Author

@LongyuZhang pls take a look.

@LongyuZhang
Copy link
Contributor

With adoptium/TKG#515, the hyc test.getDependency rebuild has passed; Openj9-jenkins test.getDependency can rebuild too, but I don't have permission to run it.

@pshipton
Copy link
Member Author

https://openj9-jenkins.osuosl.org/job/test.getDependency/1035/

@pshipton
Copy link
Member Author

Closing assuming fixed, we'll find out tonight.

@pshipton
Copy link
Member Author

@LongyuZhang any idea what would cause #19123 (comment)?

It happened again on the same machine. I looked at the machine and workspace/Test_openjdk21_j9_extended.system_x86-64_mac_Nightly_testList_1 doesn't exist so something must be going wrong getting these files.
https://openj9-jenkins.osuosl.org/job/Test_openjdk21_j9_extended.system_x86-64_mac_Nightly_testList_1/130/

@pshipton pshipton reopened this Mar 13, 2024
@pshipton
Copy link
Member Author

I found testDependency/lib but the only matching file in there is hamcrest-core.jar and it looks fine.

-rw-r--r--  1 jenkins  staff     45024 Feb  2 05:37 hamcrest-core.jar

@LongyuZhang
Copy link
Contributor

LongyuZhang commented Mar 13, 2024

Possibly related to mockito-core.jar SHA error, need to update the SHA for it.

18:45:56  downloading https://ci.adoptium.net/job/test.getDependency/lastSuccessfulBuild/artifact//mockito-core.jar
18:45:56  ERROR: sha checksum error.
18:45:56  --> file downloaded to /Users/jenkins/workspace/Test_openjdk21_j9_extended.system_x86-64_mac_Nightly_testList_1/../../testDependency/lib/mockito-core.jar
18:45:56  Expected sha is: faa88b96db3aeb96a93e83dec7491345bfbfc414,
18:45:56  Actual sha is  : c08244da11f3346dae807da46f37cfcb2514fa05.

@LongyuZhang
Copy link
Contributor

adoptium/TKG#518 should fix this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants