PatModImg_Adv_2

[2023-04-19T02:12:00.512Z] Running test PatModImg_Adv_2 ... [2023-04-19T02:12:00.512Z] =============================================== [2023-04-19T02:12:00.512Z] PatModImg_Adv_2 Start Time: Wed Apr 19 02:12:00 2023 Epoch Time (ms): 1681870320256 [2023-04-19T02:12:00.512Z] variation: Mode1000 [2023-04-19T02:12:00.821Z] JVM_OPTIONS: [2023-04-19T02:12:00.821Z] { \ [2023-04-19T02:12:00.821Z] echo ""; echo "TEST SETUP:"; \ [2023-04-19T02:12:00.821Z] echo "Nothing to be done for setup."; \ [2023-04-19T02:12:00.821Z] mkdir -p "J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_16818662795666\\PatModImg_Adv_2"; \ [2023-04-19T02:12:00.821Z] cd "J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_16818662795666\\PatModImg_Adv_2"; \ [2023-04-19T02:12:00.821Z] echo ""; echo "TESTING:"; \ [2023-04-19T02:12:00.822Z] perl J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\systemtest_prereqs" -java-args=' ' -results-root="J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_16818662795666\\PatModImg_Adv_2" -test=PatModImgTest -test-args="variant=Adv"; \ [2023-04-19T02:12:00.822Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_Adv_2""_PASSED"; echo "-----------------------------------"; cd J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/; rm -f -r "J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_16818662795666\\PatModImg_Adv_2"; else echo "-----------------------------------"; echo "PatModImg_Adv_2""_FAILED"; echo "-----------------------------------"; fi; \ [2023-04-19T02:12:00.822Z] echo ""; echo "TEST TEARDOWN:"; \ [2023-04-19T02:12:00.822Z] echo "Nothing to be done for teardown."; \ [2023-04-19T02:12:00.822Z] } 2>&1 | tee -a "J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_16818662795666\\TestTargetResult"; [2023-04-19T02:12:00.822Z] [2023-04-19T02:12:00.822Z] TEST SETUP: [2023-04-19T02:12:00.822Z] Nothing to be done for setup. [2023-04-19T02:12:00.822Z] [2023-04-19T02:12:00.822Z] TESTING: [2023-04-19T02:12:00.822Z] STF 02:12:00.535 - ========================= S T F ========================= [2023-04-19T02:12:00.822Z] systemtest-prereqs has been processed, and set to: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jvmtest/system/systemtest_prereqsRetrieving amount of free space on drive containing J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_16818662795666\PatModImg_Adv_2 [2023-04-19T02:12:00.822Z] There is 937320 Mb free [2023-04-19T02:12:00.822Z] STF 02:12:00.553 - ================== G E N E R A T I O N ================== [2023-04-19T02:12:00.822Z] STF 02:12:00.559 - Checking JVM: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/openjdkbinary/j2sdk-image [2023-04-19T02:12:00.822Z] STF 02:12:00.560 - Starting process to generate scripts: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/openjdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests///..//jvmtest\system\modularity/../\systemtest_prereqs/log4j/log4j-api.jar;J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests///..//jvmtest\system\modularity/../\systemtest_prereqs/log4j/log4j-core.jar;J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_16818662795666\PatModImg_Adv_2/20230419-021200-PatModImgTest/stf_parameters.properties, , J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_16818662795666\PatModImg_Adv_2/20230419-021200-PatModImgTest" [2023-04-19T02:12:01.913Z] GEN 02:12:01.324 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: 'J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2023-04-19T02:12:01.913Z] GEN 02:12:01.330 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2023-04-19T02:12:01.913Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2023-04-19T02:12:01.913Z] GEN J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2023-04-19T02:12:01.913Z] GEN J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2023-04-19T02:12:01.913Z] GEN J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2023-04-19T02:12:01.913Z] GEN J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2023-04-19T02:12:01.913Z] GEN J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2023-04-19T02:12:01.913Z] GEN J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2023-04-19T02:12:01.913Z] GEN J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2023-04-19T02:12:01.913Z] GEN J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2023-04-19T02:12:01.913Z] GEN J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2023-04-19T02:12:01.913Z] GEN J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2023-04-19T02:12:01.913Z] GEN J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2023-04-19T02:12:01.913Z] GEN J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2023-04-19T02:12:01.913Z] GEN J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2023-04-19T02:12:01.913Z] GEN J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2023-04-19T02:12:01.913Z] GEN J:\\jenkins\\workspace\\Test_openjdk17_hs_sanity.system_x86-32_windows\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2023-04-19T02:12:01.913Z] GEN J:\\jenkins\\workspace\\Test_openjdk17_hs_sanity.system_x86-32_windows\\jvmtest\\system\\STF\\stf.core\\bin [2023-04-19T02:12:01.913Z] GEN J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jvmtest/system/systemtest_prereqs/log4j/log4j-api.jar [2023-04-19T02:12:01.913Z] GEN J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jvmtest/system/systemtest_prereqs/log4j/log4j-core.jar [2023-04-19T02:12:01.913Z] GEN J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jvmtest/system/systemtest_prereqs/junit/junit.jar [2023-04-19T02:12:01.913Z] GEN 02:12:01.496 - Using Mode NoOptions. Values = '' [2023-04-19T02:12:01.913Z] GEN 02:12:01.594 - [2023-04-19T02:12:01.913Z] GEN 02:12:01.594 - Test command summary: [2023-04-19T02:12:01.913Z] GEN 02:12:01.594 - Step Stage Command Description [2023-04-19T02:12:01.913Z] GEN 02:12:01.594 - -----+--------+-----------------+------------ [2023-04-19T02:12:01.913Z] GEN 02:12:01.594 - 1 execute jar Create com.hello jar [2023-04-19T02:12:01.913Z] GEN 02:12:01.594 - 2 execute jar Create com.hola jar [2023-04-19T02:12:01.913Z] GEN 02:12:01.594 - 3 execute jar Create com.helper jar [2023-04-19T02:12:01.914Z] GEN 02:12:01.594 - 4 execute jar Create com.discreet jar [2023-04-19T02:12:01.914Z] GEN 02:12:01.594 - 5 execute jar Create tests jar [2023-04-19T02:12:01.914Z] GEN 02:12:01.595 - 6 execute jlink Create runtime image for PatchModule test [2023-04-19T02:12:01.914Z] GEN 02:12:01.595 - 7 execute jar Create com.hello jar [2023-04-19T02:12:01.914Z] GEN 02:12:01.595 - 8 execute jar create java.xml.jar [2023-04-19T02:12:01.914Z] GEN 02:12:01.595 - 9 execute Run java Run application class override test where we specify two exploded module paths in a single --patch-module option [2023-04-19T02:12:01.914Z] GEN 02:12:01.595 - 10 execute Run java Verify if a module can be specified only once on --patch-module [2023-04-19T02:12:01.914Z] GEN 02:12:01.595 - 11 execute Run java Combine stderr and stdout files of process OT7 [2023-04-19T02:12:01.914Z] GEN 02:12:01.595 - 12 execute count Check output [2023-04-19T02:12:01.914Z] GEN 02:12:01.595 - 13 execute Run java (Negative test) Verify if --patch-module allows replacing of module-info.class [2023-04-19T02:12:01.914Z] GEN 02:12:01.595 - 14 execute count Check output [2023-04-19T02:12:01.914Z] STF 02:12:01.612 - [2023-04-19T02:12:01.914Z] STF 02:12:01.612 - Script generation completed [2023-04-19T02:12:01.914Z] STF 02:12:01.612 - [2023-04-19T02:12:01.914Z] STF 02:12:01.612 - [2023-04-19T02:12:01.914Z] STF 02:12:01.612 - ======================= S E T U P ======================= [2023-04-19T02:12:01.914Z] STF 02:12:01.612 - Running setup: perl J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_16818662795666\PatModImg_Adv_2/20230419-021200-PatModImgTest/setUp.pl [2023-04-19T02:12:02.224Z] STF 02:12:01.749 - SETUP stage completed [2023-04-19T02:12:02.224Z] STF 02:12:01.764 - [2023-04-19T02:12:02.224Z] STF 02:12:01.764 - ==================== E X E C U T E - ==================== [2023-04-19T02:12:02.224Z] STF 02:12:01.764 - Running execute: perl J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_16818662795666\PatModImg_Adv_2/20230419-021200-PatModImgTest/execute.pl [2023-04-19T02:12:02.224Z] STF 02:12:01.898 - [2023-04-19T02:12:02.224Z] STF 02:12:01.898 - Java version [2023-04-19T02:12:02.224Z] STF 02:12:01.898 - Running: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/openjdkbinary/j2sdk-image/bin/java -version [2023-04-19T02:12:02.224Z] STF 02:12:01.987 - [2023-04-19T02:12:02.224Z] STF 02:12:01.987 - +------ Step 1 - Create com.hello jar [2023-04-19T02:12:02.224Z] STF 02:12:01.987 - | Create modular jar [2023-04-19T02:12:02.224Z] STF 02:12:01.987 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2023-04-19T02:12:02.224Z] STF 02:12:01.987 - | ModuleVersion: null [2023-04-19T02:12:02.224Z] STF 02:12:01.987 - | MainClass: null [2023-04-19T02:12:02.224Z] STF 02:12:01.987 - | HashModules: null [2023-04-19T02:12:02.225Z] STF 02:12:01.987 - | [2023-04-19T02:12:02.225Z] STF 02:12:01.988 - Running command: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/openjdkbinary/j2sdk-image/bin/jar --create --file J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_Adv_2/20230419-021200-PatModImgTest/modules/1.com.hello.jar -C J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello . [2023-04-19T02:12:02.225Z] STF 02:12:01.988 - Redirecting stderr to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_Adv_2/20230419-021200-PatModImgTest/results/1.CMJ.stderr [2023-04-19T02:12:02.225Z] STF 02:12:01.988 - Redirecting stdout to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_Adv_2/20230419-021200-PatModImgTest/results/1.CMJ.stdout [2023-04-19T02:12:02.225Z] openjdk version "17.0.7" 2023-04-18 [2023-04-19T02:12:02.225Z] OpenJDK Runtime Environment Temurin-17.0.7+7 (build 17.0.7+7) [2023-04-19T02:12:02.225Z] OpenJDK Client VM Temurin-17.0.7+7 (build 17.0.7+7, mixed mode, emulated-client) [2023-04-19T02:12:02.225Z] STF 02:12:02.013 - Monitoring processes: CMJ [2023-04-19T02:12:02.534Z] STF 02:12:02.285 - Monitoring Report Summary: [2023-04-19T02:12:02.534Z] STF 02:12:02.285 - o Process CMJ ended with the expected exit code (0) [2023-04-19T02:12:02.534Z] STF 02:12:02.286 - Created modular jar: 1.com.hello.jar [2023-04-19T02:12:02.534Z] STF 02:12:02.286 - [2023-04-19T02:12:02.534Z] STF 02:12:02.286 - +------ Step 2 - Create com.hola jar [2023-04-19T02:12:02.534Z] STF 02:12:02.286 - | Create modular jar [2023-04-19T02:12:02.534Z] STF 02:12:02.286 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2023-04-19T02:12:02.534Z] STF 02:12:02.286 - | ModuleVersion: null [2023-04-19T02:12:02.534Z] STF 02:12:02.286 - | MainClass: null [2023-04-19T02:12:02.534Z] STF 02:12:02.286 - | HashModules: null [2023-04-19T02:12:02.534Z] STF 02:12:02.286 - | [2023-04-19T02:12:02.534Z] STF 02:12:02.286 - Running command: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/openjdkbinary/j2sdk-image/bin/jar --create --file J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_Adv_2/20230419-021200-PatModImgTest/modules/2.com.hola.jar -C J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola . [2023-04-19T02:12:02.534Z] STF 02:12:02.286 - Redirecting stderr to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_Adv_2/20230419-021200-PatModImgTest/results/2.CMJ.stderr [2023-04-19T02:12:02.534Z] STF 02:12:02.286 - Redirecting stdout to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_Adv_2/20230419-021200-PatModImgTest/results/2.CMJ.stdout [2023-04-19T02:12:02.534Z] STF 02:12:02.288 - Monitoring processes: CMJ [2023-04-19T02:12:02.845Z] STF 02:12:02.570 - Monitoring Report Summary: [2023-04-19T02:12:02.845Z] STF 02:12:02.570 - o Process CMJ ended with the expected exit code (0) [2023-04-19T02:12:02.845Z] STF 02:12:02.571 - Created modular jar: 2.com.hola.jar [2023-04-19T02:12:02.845Z] STF 02:12:02.571 - [2023-04-19T02:12:02.845Z] STF 02:12:02.571 - +------ Step 3 - Create com.helper jar [2023-04-19T02:12:02.845Z] STF 02:12:02.571 - | Create modular jar [2023-04-19T02:12:02.845Z] STF 02:12:02.571 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2023-04-19T02:12:02.845Z] STF 02:12:02.571 - | ModuleVersion: null [2023-04-19T02:12:02.845Z] STF 02:12:02.571 - | MainClass: null [2023-04-19T02:12:02.845Z] STF 02:12:02.571 - | HashModules: null [2023-04-19T02:12:02.845Z] STF 02:12:02.571 - | [2023-04-19T02:12:02.845Z] STF 02:12:02.571 - Running command: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/openjdkbinary/j2sdk-image/bin/jar --create --file J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_Adv_2/20230419-021200-PatModImgTest/modules/3.com.helper.jar -C J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper . [2023-04-19T02:12:02.845Z] STF 02:12:02.571 - Redirecting stderr to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_Adv_2/20230419-021200-PatModImgTest/results/3.CMJ.stderr [2023-04-19T02:12:02.845Z] STF 02:12:02.571 - Redirecting stdout to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_Adv_2/20230419-021200-PatModImgTest/results/3.CMJ.stdout [2023-04-19T02:12:02.845Z] STF 02:12:02.573 - Monitoring processes: CMJ [2023-04-19T02:12:03.156Z] STF 02:12:02.867 - Monitoring Report Summary: [2023-04-19T02:12:03.156Z] STF 02:12:02.867 - o Process CMJ ended with the expected exit code (0) [2023-04-19T02:12:03.156Z] STF 02:12:02.867 - Created modular jar: 3.com.helper.jar [2023-04-19T02:12:03.156Z] STF 02:12:02.867 - [2023-04-19T02:12:03.156Z] STF 02:12:02.867 - +------ Step 4 - Create com.discreet jar [2023-04-19T02:12:03.156Z] STF 02:12:02.867 - | Create modular jar [2023-04-19T02:12:03.156Z] STF 02:12:02.867 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2023-04-19T02:12:03.156Z] STF 02:12:02.867 - | ModuleVersion: null [2023-04-19T02:12:03.156Z] STF 02:12:02.867 - | MainClass: null [2023-04-19T02:12:03.156Z] STF 02:12:02.867 - | HashModules: null [2023-04-19T02:12:03.156Z] STF 02:12:02.867 - | [2023-04-19T02:12:03.156Z] STF 02:12:02.868 - Running command: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/openjdkbinary/j2sdk-image/bin/jar --create --file J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_Adv_2/20230419-021200-PatModImgTest/modules/4.com.discreet.jar -C J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet . [2023-04-19T02:12:03.156Z] STF 02:12:02.868 - Redirecting stderr to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_Adv_2/20230419-021200-PatModImgTest/results/4.CMJ.stderr [2023-04-19T02:12:03.156Z] STF 02:12:02.868 - Redirecting stdout to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_Adv_2/20230419-021200-PatModImgTest/results/4.CMJ.stdout [2023-04-19T02:12:03.156Z] STF 02:12:02.873 - Monitoring processes: CMJ [2023-04-19T02:12:03.468Z] STF 02:12:03.147 - Monitoring Report Summary: [2023-04-19T02:12:03.468Z] STF 02:12:03.147 - o Process CMJ ended with the expected exit code (0) [2023-04-19T02:12:03.468Z] STF 02:12:03.147 - Created modular jar: 4.com.discreet.jar [2023-04-19T02:12:03.468Z] STF 02:12:03.147 - [2023-04-19T02:12:03.468Z] STF 02:12:03.147 - +------ Step 5 - Create tests jar [2023-04-19T02:12:03.468Z] STF 02:12:03.147 - | Create modular jar [2023-04-19T02:12:03.468Z] STF 02:12:03.147 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2023-04-19T02:12:03.468Z] STF 02:12:03.147 - | ModuleVersion: null [2023-04-19T02:12:03.468Z] STF 02:12:03.147 - | MainClass: null [2023-04-19T02:12:03.468Z] STF 02:12:03.147 - | HashModules: null [2023-04-19T02:12:03.468Z] STF 02:12:03.147 - | [2023-04-19T02:12:03.468Z] STF 02:12:03.147 - Running command: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/openjdkbinary/j2sdk-image/bin/jar --create --file J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_Adv_2/20230419-021200-PatModImgTest/modules/5.com.test.jar -C J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2023-04-19T02:12:03.468Z] STF 02:12:03.147 - Redirecting stderr to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_Adv_2/20230419-021200-PatModImgTest/results/5.CMJ.stderr [2023-04-19T02:12:03.469Z] STF 02:12:03.147 - Redirecting stdout to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_Adv_2/20230419-021200-PatModImgTest/results/5.CMJ.stdout [2023-04-19T02:12:03.469Z] STF 02:12:03.149 - Monitoring processes: CMJ [2023-04-19T02:12:03.779Z] STF 02:12:03.439 - Monitoring Report Summary: [2023-04-19T02:12:03.779Z] STF 02:12:03.439 - o Process CMJ ended with the expected exit code (0) [2023-04-19T02:12:03.779Z] STF 02:12:03.439 - Created modular jar: 5.com.test.jar [2023-04-19T02:12:03.779Z] STF 02:12:03.439 - [2023-04-19T02:12:03.779Z] STF 02:12:03.439 - +------ Step 6 - Create runtime image for PatchModule test [2023-04-19T02:12:03.779Z] STF 02:12:03.439 - | Run jlink to create runtime image [2023-04-19T02:12:03.779Z] STF 02:12:03.439 - | ImageName: XpJVM [2023-04-19T02:12:03.779Z] STF 02:12:03.439 - | [2023-04-19T02:12:03.779Z] STF 02:12:03.439 - Running command: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/openjdkbinary/j2sdk-image/bin/jlink --module-path J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\openjdkbinary\j2sdk-image\jmods;J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\aqa-tests\TKG\output_16818662795666\PatModImg_Adv_2\20230419-021200-PatModImgTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\aqa-tests\TKG\output_16818662795666\PatModImg_Adv_2\20230419-021200-PatModImgTest\tmp\6.XpJVM [2023-04-19T02:12:03.779Z] STF 02:12:03.439 - Redirecting stderr to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_Adv_2/20230419-021200-PatModImgTest/results/6.JLNK.stderr [2023-04-19T02:12:03.779Z] STF 02:12:03.440 - Redirecting stdout to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_Adv_2/20230419-021200-PatModImgTest/results/6.JLNK.stdout [2023-04-19T02:12:03.779Z] STF 02:12:03.441 - Monitoring processes: JLNK [2023-04-19T02:12:05.941Z] STF 02:12:05.385 - Monitoring Report Summary: [2023-04-19T02:12:05.941Z] STF 02:12:05.386 - o Process JLNK ended with the expected exit code (0) [2023-04-19T02:12:05.941Z] STF 02:12:05.386 - [2023-04-19T02:12:05.941Z] STF 02:12:05.386 - +------ Step 7 - Create com.hello jar [2023-04-19T02:12:05.941Z] STF 02:12:05.386 - | Create modular jar [2023-04-19T02:12:05.941Z] STF 02:12:05.386 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2023-04-19T02:12:05.941Z] STF 02:12:05.386 - | ModuleVersion: null [2023-04-19T02:12:05.941Z] STF 02:12:05.386 - | MainClass: null [2023-04-19T02:12:05.941Z] STF 02:12:05.386 - | HashModules: null [2023-04-19T02:12:05.941Z] STF 02:12:05.386 - | [2023-04-19T02:12:05.941Z] STF 02:12:05.386 - Running command: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/openjdkbinary/j2sdk-image/bin/jar --create --file J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_Adv_2/20230419-021200-PatModImgTest/modules/7.com.hello.jar -C J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello . [2023-04-19T02:12:05.941Z] STF 02:12:05.386 - Redirecting stderr to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_Adv_2/20230419-021200-PatModImgTest/results/7.CMJ.stderr [2023-04-19T02:12:05.941Z] STF 02:12:05.386 - Redirecting stdout to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_Adv_2/20230419-021200-PatModImgTest/results/7.CMJ.stdout [2023-04-19T02:12:05.941Z] STF 02:12:05.388 - Monitoring processes: CMJ [2023-04-19T02:12:05.941Z] STF 02:12:05.670 - Monitoring Report Summary: [2023-04-19T02:12:05.941Z] STF 02:12:05.670 - o Process CMJ ended with the expected exit code (0) [2023-04-19T02:12:05.941Z] STF 02:12:05.671 - Created modular jar: 7.com.hello.jar [2023-04-19T02:12:05.941Z] STF 02:12:05.671 - [2023-04-19T02:12:05.941Z] STF 02:12:05.671 - +------ Step 8 - create java.xml.jar [2023-04-19T02:12:05.941Z] STF 02:12:05.671 - | Create modular jar [2023-04-19T02:12:05.941Z] STF 02:12:05.671 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2023-04-19T02:12:05.941Z] STF 02:12:05.671 - | ModuleVersion: null [2023-04-19T02:12:05.941Z] STF 02:12:05.671 - | MainClass: null [2023-04-19T02:12:05.941Z] STF 02:12:05.671 - | HashModules: null [2023-04-19T02:12:05.941Z] STF 02:12:05.671 - | [2023-04-19T02:12:05.941Z] STF 02:12:05.671 - Running command: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/openjdkbinary/j2sdk-image/bin/jar --create --file J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_Adv_2/20230419-021200-PatModImgTest/modules/8.java.xml.jar -C J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.xml . [2023-04-19T02:12:05.941Z] STF 02:12:05.671 - Redirecting stderr to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_Adv_2/20230419-021200-PatModImgTest/results/8.CMJ.stderr [2023-04-19T02:12:05.941Z] STF 02:12:05.671 - Redirecting stdout to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_Adv_2/20230419-021200-PatModImgTest/results/8.CMJ.stdout [2023-04-19T02:12:05.941Z] STF 02:12:05.673 - Monitoring processes: CMJ [2023-04-19T02:12:06.251Z] STF 02:12:05.967 - Monitoring Report Summary: [2023-04-19T02:12:06.251Z] STF 02:12:05.967 - o Process CMJ ended with the expected exit code (0) [2023-04-19T02:12:06.251Z] STF 02:12:05.967 - Created modular jar: 8.java.xml.jar [2023-04-19T02:12:06.251Z] STF 02:12:05.967 - [2023-04-19T02:12:06.251Z] STF 02:12:05.967 - +------ Step 9 - Run application class override test where we specify two exploded module paths in a single --patch-module option [2023-04-19T02:12:06.251Z] STF 02:12:05.967 - | Run foreground process [2023-04-19T02:12:06.251Z] STF 02:12:05.967 - | Program: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_Adv_2/20230419-021200-PatModImgTest/tmp/6.XpJVM/bin/java [2023-04-19T02:12:06.251Z] STF 02:12:05.967 - | Mnemonic: OT1 [2023-04-19T02:12:06.251Z] STF 02:12:05.967 - | Echo: ECHO_ON [2023-04-19T02:12:06.251Z] STF 02:12:05.967 - | Expectation: CLEAN_RUN within 5m [2023-04-19T02:12:06.251Z] STF 02:12:05.967 - | [2023-04-19T02:12:06.251Z] STF 02:12:05.967 - Running command: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_Adv_2/20230419-021200-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --add-exports com.hello/adoptopenjdk.test.modularity.newpkg=com.test --patch-module com.hello=J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello;J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new\com.hello -classpath J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jvmtest/system/systemtest_prereqs/junit/junit.jar;J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jvmtest/system/systemtest_prereqs/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingMultipleFilePaths [2023-04-19T02:12:06.251Z] STF 02:12:05.967 - Redirecting stderr to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_Adv_2/20230419-021200-PatModImgTest/results/9.OT1.stderr [2023-04-19T02:12:06.251Z] STF 02:12:05.967 - Redirecting stdout to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_Adv_2/20230419-021200-PatModImgTest/results/9.OT1.stdout [2023-04-19T02:12:06.251Z] STF 02:12:05.982 - Monitoring processes: OT1 [2023-04-19T02:12:06.562Z] OT1 stderr WARNING: module-info.class ignored in patch: J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello [2023-04-19T02:12:06.562Z] OT1 stderr WARNING: module-info.class ignored in patch: J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new\com.hello [2023-04-19T02:12:06.562Z] OT1 JUnit version 4.12 [2023-04-19T02:12:06.874Z] OT1 ... [2023-04-19T02:12:06.874Z] OT1 Time: 0.008 [2023-04-19T02:12:06.874Z] OT1 [2023-04-19T02:12:06.874Z] OT1 OK (3 tests) [2023-04-19T02:12:06.874Z] OT1 [2023-04-19T02:12:06.874Z] STF 02:12:06.411 - Monitoring Report Summary: [2023-04-19T02:12:06.874Z] STF 02:12:06.411 - o Process OT1 ended with the expected exit code (0) [2023-04-19T02:12:06.874Z] STF 02:12:06.411 - [2023-04-19T02:12:06.874Z] STF 02:12:06.411 - +------ Step 10 - Verify if a module can be specified only once on --patch-module [2023-04-19T02:12:06.874Z] STF 02:12:06.411 - | Run foreground process [2023-04-19T02:12:06.874Z] STF 02:12:06.411 - | Program: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_Adv_2/20230419-021200-PatModImgTest/tmp/6.XpJVM/bin/java [2023-04-19T02:12:06.874Z] STF 02:12:06.411 - | Mnemonic: OT7 [2023-04-19T02:12:06.874Z] STF 02:12:06.411 - | Echo: ECHO_ON [2023-04-19T02:12:06.874Z] STF 02:12:06.411 - | Expectation: NON_ZERO_EXIT [1] within 5m [2023-04-19T02:12:06.874Z] STF 02:12:06.411 - | [2023-04-19T02:12:06.874Z] STF 02:12:06.412 - Running command: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_Adv_2/20230419-021200-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new\com.hello --patch-module com.hello=J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello -classpath J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jvmtest/system/systemtest_prereqs/junit/junit.jar;J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jvmtest/system/systemtest_prereqs/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2023-04-19T02:12:06.874Z] STF 02:12:06.412 - Redirecting stderr to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_Adv_2/20230419-021200-PatModImgTest/results/10.OT7.stderr [2023-04-19T02:12:06.874Z] STF 02:12:06.412 - Redirecting stdout to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_Adv_2/20230419-021200-PatModImgTest/results/10.OT7.stdout [2023-04-19T02:12:06.874Z] STF 02:12:06.416 - Monitoring processes: OT7 [2023-04-19T02:12:06.874Z] OT7 Error occurred during initialization of boot layer [2023-04-19T02:12:06.874Z] OT7 java.lang.ExceptionInInitializerError [2023-04-19T02:12:06.874Z] OT7 Caused by: java.lang.RuntimeException: com.hello specified more than once to --patch-module [2023-04-19T02:12:06.874Z] STF 02:12:06.509 - Monitoring Report Summary: [2023-04-19T02:12:06.874Z] STF 02:12:06.509 - o Process OT7 ended with the expected exit code (1) [2023-04-19T02:12:06.874Z] STF 02:12:06.509 - [2023-04-19T02:12:06.874Z] STF 02:12:06.509 - +------ Step 11 - Combine stderr and stdout files of process OT7 [2023-04-19T02:12:06.874Z] STF 02:12:06.509 - | Run foreground process [2023-04-19T02:12:06.874Z] STF 02:12:06.509 - | Program: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/openjdkbinary/j2sdk-image/bin/java [2023-04-19T02:12:06.874Z] STF 02:12:06.509 - | Mnemonic: CO [2023-04-19T02:12:06.874Z] STF 02:12:06.509 - | Echo: ECHO_OFF [2023-04-19T02:12:06.874Z] STF 02:12:06.509 - | Expectation: NON_ZERO_EXIT [0] within 30s [2023-04-19T02:12:06.874Z] STF 02:12:06.509 - | [2023-04-19T02:12:06.874Z] STF 02:12:06.509 - Running command: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/openjdkbinary/j2sdk-image/bin/java -Dfile1=J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_Adv_2/20230419-021200-PatModImgTest/results/10.OT7.stdout -Dfile2=J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_Adv_2/20230419-021200-PatModImgTest/results/10.OT7.stderr -Dfinal.file=J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\aqa-tests\TKG\output_16818662795666\PatModImg_Adv_2\20230419-021200-PatModImgTest\results\combinedOT7.txt -classpath J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\STF\stf.core\bin;J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin net.adoptopenjdk.test.modularity.TestUtil [2023-04-19T02:12:06.874Z] STF 02:12:06.510 - Redirecting stderr to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_Adv_2/20230419-021200-PatModImgTest/results/11.CO.stderr [2023-04-19T02:12:06.874Z] STF 02:12:06.510 - Redirecting stdout to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_Adv_2/20230419-021200-PatModImgTest/results/11.CO.stdout [2023-04-19T02:12:06.874Z] STF 02:12:06.513 - Monitoring processes: CO [2023-04-19T02:12:07.185Z] STF 02:12:06.685 - Monitoring Report Summary: [2023-04-19T02:12:07.185Z] STF 02:12:06.685 - o Process CO ended with the expected exit code (0) [2023-04-19T02:12:07.185Z] STF 02:12:06.685 - [2023-04-19T02:12:07.185Z] STF 02:12:06.685 - +------ Step 12 - Check output [2023-04-19T02:12:07.185Z] STF 02:12:06.685 - | Count file matches [2023-04-19T02:12:07.185Z] STF 02:12:06.685 - | TargetFile: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_Adv_2/20230419-021200-PatModImgTest/results/combinedOT7.txt [2023-04-19T02:12:07.185Z] STF 02:12:06.685 - | ExpectedNumMatches: 1 [2023-04-19T02:12:07.185Z] STF 02:12:06.685 - | SearchStrings: ["java.lang.ExceptionInInitializerError"] [2023-04-19T02:12:07.185Z] STF 02:12:06.685 - | [2023-04-19T02:12:07.185Z] STF 02:12:06.685 - Found 1 instances of ["java.lang.ExceptionInInitializerError"] [2023-04-19T02:12:07.185Z] STF 02:12:06.685 - [2023-04-19T02:12:07.186Z] STF 02:12:06.685 - +------ Step 13 - (Negative test) Verify if --patch-module allows replacing of module-info.class [2023-04-19T02:12:07.186Z] STF 02:12:06.685 - | Run foreground process [2023-04-19T02:12:07.186Z] STF 02:12:06.685 - | Program: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_Adv_2/20230419-021200-PatModImgTest/tmp/6.XpJVM/bin/java [2023-04-19T02:12:07.186Z] STF 02:12:06.685 - | Mnemonic: OT8 [2023-04-19T02:12:07.186Z] STF 02:12:06.686 - | Echo: ECHO_ON [2023-04-19T02:12:07.186Z] STF 02:12:06.686 - | Expectation: NON_ZERO_EXIT [1] within 5m [2023-04-19T02:12:07.186Z] STF 02:12:06.686 - | [2023-04-19T02:12:07.186Z] STF 02:12:06.686 - Running command: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_Adv_2/20230419-021200-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new\com.hello -classpath J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jvmtest/system/systemtest_prereqs/junit/junit.jar;J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jvmtest/system/systemtest_prereqs/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingUnexportedPublicType [2023-04-19T02:12:07.186Z] STF 02:12:06.686 - Redirecting stderr to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_Adv_2/20230419-021200-PatModImgTest/results/13.OT8.stderr [2023-04-19T02:12:07.186Z] STF 02:12:06.686 - Redirecting stdout to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_Adv_2/20230419-021200-PatModImgTest/results/13.OT8.stdout [2023-04-19T02:12:07.186Z] STF 02:12:06.690 - Monitoring processes: OT8 [2023-04-19T02:12:07.186Z] OT8 stderr WARNING: module-info.class ignored in patch: J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new\com.hello [2023-04-19T02:12:07.186Z] OT8 JUnit version 4.12 [2023-04-19T02:12:07.186Z] OT8 .E [2023-04-19T02:12:07.497Z] OT8 Time: 0.007 [2023-04-19T02:12:07.497Z] OT8 There was 1 failure: [2023-04-19T02:12:07.497Z] OT8 1) testPatchingOfNewClassInExistingPackage(net.adoptopenjdk.test.modularity.junit.TestOverrideUsingUnexportedPublicType) [2023-04-19T02:12:07.497Z] OT8 java.lang.IllegalAccessException: class net.adoptopenjdk.test.modularity.junit.TestOverrideUsingUnexportedPublicType (in module com.test) cannot access class adoptopenjdk.test.modularity.newpkg.NewClass2 (in module com.hello) because module com.hello does not export adoptopenjdk.test.modularity.newpkg to module com.test [2023-04-19T02:12:07.497Z] OT8 at java.base/jdk.internal.reflect.Reflection.newIllegalAccessException(Reflection.java:392) [2023-04-19T02:12:07.497Z] OT8 at java.base/java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:674) [2023-04-19T02:12:07.497Z] OT8 at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:489) [2023-04-19T02:12:07.497Z] OT8 at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480) [2023-04-19T02:12:07.497Z] OT8 at com.test/net.adoptopenjdk.test.modularity.junit.TestOverrideUsingUnexportedPublicType.testPatchingOfNewClassInExistingPackage(TestOverrideUsingUnexportedPublicType.java:34) [2023-04-19T02:12:07.497Z] OT8 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2023-04-19T02:12:07.497Z] OT8 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) [2023-04-19T02:12:07.497Z] OT8 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2023-04-19T02:12:07.497Z] OT8 at java.base/java.lang.reflect.Method.invoke(Method.java:568) [2023-04-19T02:12:07.497Z] OT8 at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) [2023-04-19T02:12:07.497Z] OT8 at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) [2023-04-19T02:12:07.497Z] OT8 at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) [2023-04-19T02:12:07.497Z] OT8 at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) [2023-04-19T02:12:07.497Z] OT8 at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) [2023-04-19T02:12:07.497Z] OT8 at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) [2023-04-19T02:12:07.497Z] OT8 at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) [2023-04-19T02:12:07.497Z] OT8 at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) [2023-04-19T02:12:07.497Z] OT8 at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) [2023-04-19T02:12:07.497Z] OT8 at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) [2023-04-19T02:12:07.497Z] OT8 at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) [2023-04-19T02:12:07.497Z] OT8 at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) [2023-04-19T02:12:07.497Z] OT8 at org.junit.runners.ParentRunner.run(ParentRunner.java:363) [2023-04-19T02:12:07.497Z] OT8 at org.junit.runners.Suite.runChild(Suite.java:128) [2023-04-19T02:12:07.497Z] OT8 at org.junit.runners.Suite.runChild(Suite.java:27) [2023-04-19T02:12:07.497Z] OT8 at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) [2023-04-19T02:12:07.497Z] OT8 at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) [2023-04-19T02:12:07.497Z] OT8 at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) [2023-04-19T02:12:07.497Z] OT8 at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) [2023-04-19T02:12:07.497Z] OT8 at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) [2023-04-19T02:12:07.497Z] OT8 at org.junit.runners.ParentRunner.run(ParentRunner.java:363) [2023-04-19T02:12:07.497Z] OT8 at org.junit.runner.JUnitCore.run(JUnitCore.java:137) [2023-04-19T02:12:07.497Z] OT8 at org.junit.runner.JUnitCore.run(JUnitCore.java:115) [2023-04-19T02:12:07.497Z] OT8 at org.junit.runner.JUnitCore.runMain(JUnitCore.java:77) [2023-04-19T02:12:07.497Z] OT8 at org.junit.runner.JUnitCore.main(JUnitCore.java:36) [2023-04-19T02:12:07.497Z] OT8 [2023-04-19T02:12:07.497Z] OT8 FAILURES!!! [2023-04-19T02:12:07.497Z] OT8 Tests run: 1, Failures: 1 [2023-04-19T02:12:07.497Z] OT8 [2023-04-19T02:12:07.498Z] STF 02:12:06.973 - Monitoring Report Summary: [2023-04-19T02:12:07.498Z] STF 02:12:06.973 - o Process OT8 ended with the expected exit code (1) [2023-04-19T02:12:07.498Z] STF 02:12:06.973 - [2023-04-19T02:12:07.498Z] STF 02:12:06.973 - +------ Step 14 - Check output [2023-04-19T02:12:07.498Z] STF 02:12:06.973 - | Count file matches [2023-04-19T02:12:07.498Z] STF 02:12:06.973 - | TargetFile: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_Adv_2/20230419-021200-PatModImgTest/results/13.OT8.stdout [2023-04-19T02:12:07.498Z] STF 02:12:06.973 - | ExpectedNumMatches: 1 [2023-04-19T02:12:07.498Z] STF 02:12:06.973 - | SearchStrings: ["java.lang.IllegalAccessException"] [2023-04-19T02:12:07.498Z] STF 02:12:06.973 - | [2023-04-19T02:12:07.498Z] STF 02:12:06.973 - Found 1 instances of ["java.lang.IllegalAccessException"] [2023-04-19T02:12:07.498Z] STF 02:12:06.973 - EXECUTE stage completed [2023-04-19T02:12:07.498Z] STF 02:12:07.019 - [2023-04-19T02:12:07.498Z] STF 02:12:07.019 - ==================== T E A R D O W N ==================== [2023-04-19T02:12:07.498Z] STF 02:12:07.019 - Running teardown: perl J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_16818662795666\PatModImg_Adv_2/20230419-021200-PatModImgTest/tearDown.pl [2023-04-19T02:12:07.498Z] STF 02:12:07.159 - TEARDOWN stage completed [2023-04-19T02:12:07.498Z] STF 02:12:07.174 - [2023-04-19T02:12:07.498Z] STF 02:12:07.174 - ===================== R E S U L T S ===================== [2023-04-19T02:12:07.498Z] STF 02:12:07.174 - Stage results: [2023-04-19T02:12:07.498Z] STF 02:12:07.174 - setUp: pass [2023-04-19T02:12:07.498Z] STF 02:12:07.174 - execute: pass [2023-04-19T02:12:07.498Z] STF 02:12:07.174 - teardown: pass [2023-04-19T02:12:07.498Z] STF 02:12:07.174 - [2023-04-19T02:12:07.498Z] STF 02:12:07.174 - Overall result: PASSED [2023-04-19T02:12:07.498Z] ----------------------------------- [2023-04-19T02:12:07.498Z] PatModImg_Adv_2_PASSED [2023-04-19T02:12:07.498Z] ----------------------------------- [2023-04-19T02:12:07.498Z] [2023-04-19T02:12:07.498Z] TEST TEARDOWN: [2023-04-19T02:12:07.498Z] Nothing to be done for teardown. [2023-04-19T02:12:07.498Z] PatModImg_Adv_2 Finish Time: Wed Apr 19 02:12:07 2023 Epoch Time (ms): 1681870327284