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

TKG not compiling on Windows - error: package org.json.simple #478

Closed
pshipton opened this issue Dec 7, 2023 · 4 comments · Fixed by adoptium/aqa-tests#4908 or #479
Closed

TKG not compiling on Windows - error: package org.json.simple #478

pshipton opened this issue Dec 7, 2023 · 4 comments · Fixed by adoptium/aqa-tests#4908 or #479
Assignees

Comments

@pshipton
Copy link
Contributor

pshipton commented Dec 7, 2023

https://openj9-jenkins.osuosl.org/job/Test_openjdk21_j9_sanity.functional_x86-64_windows_Nightly/113
https://openj9-jenkins.osuosl.org/job/Test_openjdk21_j9_extended.system_x86-64_windows_Nightly/114
https://openj9-jenkins.osuosl.org/job/Test_openjdk11_j9_extended.functional_x86-64_windows_Nightly/673
https://openj9-jenkins.osuosl.org/job/Test_openjdk11_j9_sanity.system_x86-64_windows_Nightly/674/
https://openj9-jenkins.osuosl.org/job/Test_openjdk8_j9_sanity.system_x86-64_windows_Nightly/657/
https://openj9-jenkins.osuosl.org/job/Test_openjdk8_j9_extended.system_x86-64_windows_Nightly/656/
https://openj9-jenkins.osuosl.org/job/Test_openjdk8_j9_sanity.openjdk_x86-64_windows_Nightly/659/
https://openj9-jenkins.osuosl.org/job/Test_openjdk8_j9_sanity.openjdk_x86-32_windows_Nightly/683
https://openj9-jenkins.osuosl.org/job/Test_openjdk8_j9_extended.system_x86-32_windows_Nightly/680
https://openj9-jenkins.osuosl.org/job/Test_openjdk8_j9_sanity.system_x86-32_windows_Nightly/680

21:00:51      [javac] Compiling 27 source files to C:\Users\jenkins\workspace\Test_openjdk8_j9_sanity.system_x86-32_windows_Nightly\aqa-tests\TKG\bin
21:00:53      [javac] C:\Users\jenkins\workspace\Test_openjdk8_j9_sanity.system_x86-32_windows_Nightly\aqa-tests\TKG\src\org\testKitGen\TestDivider.java:28: error: package org.json.simple does not exist
21:00:53      [javac] import org.json.simple.JSONArray;
21:00:53      [javac]                       ^
21:00:53      [javac] C:\Users\jenkins\workspace\Test_openjdk8_j9_sanity.system_x86-32_windows_Nightly\aqa-tests\TKG\src\org\testKitGen\TestDivider.java:29: error: package org.json.simple does not exist
21:00:53      [javac] import org.json.simple.JSONObject;
21:00:53      [javac]                       ^
21:00:53      [javac] C:\Users\jenkins\workspace\Test_openjdk8_j9_sanity.system_x86-32_windows_Nightly\aqa-tests\TKG\src\org\testKitGen\TestDivider.java:30: error: package org.json.simple.parser does not exist
21:00:53      [javac] import org.json.simple.parser.JSONParser;
21:00:53      [javac]                              ^
21:00:53      [javac] C:\Users\jenkins\workspace\Test_openjdk8_j9_sanity.system_x86-32_windows_Nightly\aqa-tests\TKG\src\org\testKitGen\TestDivider.java:31: error: package org.json.simple.parser does not exist
21:00:53      [javac] import org.json.simple.parser.ParseException;
21:00:53      [javac]                              ^
21:00:53      [javac] C:\Users\jenkins\workspace\Test_openjdk8_j9_sanity.system_x86-32_windows_Nightly\aqa-tests\TKG\src\org\testKitGen\TestDivider.java:160: error: cannot find symbol
@pshipton
Copy link
Contributor Author

pshipton commented Dec 7, 2023

@llxia fyi

@pshipton
Copy link
Contributor Author

pshipton commented Dec 7, 2023

All the failures are on win2012 machines.

@llxia
Copy link
Contributor

llxia commented Dec 7, 2023

The path is incorrect - F:UsersjenkinsworkspaceTest_openjdk21_j9_sanity.functional_x86-64_windows_Nightly

00:07:29.221       [exec] F:UsersjenkinsworkspaceTest_openjdk21_j9_sanity.functional_x86-64_windows_Nightly/../../testDependency/lib does not exist, creating one.
00:07:29.221       [exec] mkdir F:UsersjenkinsworkspaceTest_openjdk21_j9_sanity.functional_x86-64_windows_Nightly
...

https://openj9-jenkins.osuosl.org/job/Test_openjdk21_j9_sanity.functional_x86-64_windows_Nightly/113/console

@llxia
Copy link
Contributor

llxia commented Dec 7, 2023

This is related to the recent change - pre-stage test libs on the machine adoptium/aqa-tests#4902 and #476.
It works for win19, but not win10 and win12.

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