adoptium / aqa-tests

Home of test infrastructure for Adoptium builds
https://adoptium.net/aqavit
Apache License 2.0
129 stars 308 forks source link

MBCS_Tests does not download its dependent libs #5569

Open llxia opened 1 week ago

llxia commented 1 week ago

MBCS_Tests does not download its dependent libs. It means if the pre-staged libs do not exist, it will fail:

00:11:09.105      [javac] C:\Users\jenkins\workspace\Test_openjdk23_j9_special.functional_x86-64_windows\aqa-tests\functional\MBCS_Tests\datetime\src\FormatterTest_zh_tw.java:127: error: cannot find symbol
00:11:09.105      [javac]     @Test
00:11:09.105      [javac]      ^
00:11:09.105      [javac]   symbol:   class Test
00:11:09.105      [javac]   location: class FormatterTest_zh_tw
00:11:10.605      [javac] Note: Some input files use or override a deprecated API.
00:11:10.605      [javac] Note: Recompile with -Xlint:deprecation for details.
00:11:10.605      [javac] 100 errors
00:11:10.605      [javac] only showing the first 100 errors, of 854 total; use -Xmaxerrs if you would like to see more
00:11:10.605  
00:11:10.605  BUILD FAILED
00:11:10.605  C:\Users\jenkins\workspace\Test_openjdk23_j9_special.functional_x86-64_windows\aqa-tests\TKG\scripts\build_test.xml:95: The following error occurred while executing this line:
00:11:10.605  C:\Users\jenkins\workspace\Test_openjdk23_j9_special.functional_x86-64_windows\aqa-tests\functional\MBCS_Tests\datetime\build.xml:66: The following error occurred while executing this line:
00:11:10.606  C:\Users\jenkins\workspace\Test_openjdk23_j9_special.functional_x86-64_windows\aqa-tests\functional\MBCS_Tests\datetime\build.xml:43: Compile failed; see the compiler error output for details.
00:11:10.606  
00:11:10.606  Total time: 1 minute 29 seconds

link

smlambert commented 1 week ago

Related https://github.com/adoptium/aqa-tests/issues/5161 Dependencies (libs and data) should be moved out and handled in same way as other dependencies.

llxia commented 1 week ago

@annaibm could you update https://github.com/adoptium/aqa-tests/blob/master/functional/MBCS_Tests/build.xml with required LIB? Similar example: https://github.com/adoptium/aqa-tests/blob/master/functional/OpenJcePlusTests/build.xml#L29-L30 https://github.com/adoptium/aqa-tests/blob/master/functional/OpenJcePlusTests/build.xml#L108C39-L108C44