Rebuild_Same_JDK_Reproducibility_Test_win_0

[2025-06-12T15:05:43.530Z] Running test Rebuild_Same_JDK_Reproducibility_Test_win_0 ... [2025-06-12T15:05:43.530Z] =============================================== [2025-06-12T15:05:43.530Z] Rebuild_Same_JDK_Reproducibility_Test_win_0 Start Time: Thu Jun 12 15:05:43 2025 Epoch Time (ms): 1749740743470 [2025-06-12T15:05:43.872Z] variation: NoOptions [2025-06-12T15:05:43.872Z] JVM_OPTIONS: [2025-06-12T15:05:43.872Z] { \ [2025-06-12T15:05:43.872Z] echo ""; echo "TEST SETUP:"; \ [2025-06-12T15:05:43.872Z] echo "Nothing to be done for setup."; \ [2025-06-12T15:05:43.872Z] mkdir -p "C:/jenkins/workspace/Test_openjdk21_hs_special.system_x86-64_windows_testList_0/aqa-tests/\\TKG\\output_1749740741143\\Rebuild_Same_JDK_Reproducibility_Test_win_0"; \ [2025-06-12T15:05:43.872Z] cd "C:/jenkins/workspace/Test_openjdk21_hs_special.system_x86-64_windows_testList_0/aqa-tests/\\TKG\\output_1749740741143\\Rebuild_Same_JDK_Reproducibility_Test_win_0"; \ [2025-06-12T15:05:43.872Z] echo ""; echo "TESTING:"; \ [2025-06-12T15:05:43.872Z] unset SPEC;\ [2025-06-12T15:05:43.872Z] C:/jenkins/workspace/Test_openjdk21_hs_special.system_x86-64_windows_testList_0/aqa-tests/\\system\\reproducibleCompare\\windows_repro_build_compare.sh C:/jenkins/workspace/Test_openjdk21_hs_special.system_x86-64_windows_testList_0/aqa-tests//../jdkbinary/OpenJDK21U-sbom_x64_windows_hotspot_21.0.8_6-ea.json C:/jenkins/workspace/Test_openjdk21_hs_special.system_x86-64_windows_testList_0/aqa-tests//../jdkbinary/OpenJDK21U-jdk_x64_windows_hotspot_21.0.8_6-ea.zip "C:/jenkins/workspace/Test_openjdk21_hs_special.system_x86-64_windows_testList_0/aqa-tests/\\TKG\\output_1749740741143\\Rebuild_Same_JDK_Reproducibility_Test_win_0"; \ [2025-06-12T15:05:43.872Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "Rebuild_Same_JDK_Reproducibility_Test_win_0""_PASSED"; echo "-----------------------------------"; cd C:/jenkins/workspace/Test_openjdk21_hs_special.system_x86-64_windows_testList_0/aqa-tests/; rm -f -r "C:/jenkins/workspace/Test_openjdk21_hs_special.system_x86-64_windows_testList_0/aqa-tests/\\TKG\\output_1749740741143\\Rebuild_Same_JDK_Reproducibility_Test_win_0"; else echo "-----------------------------------"; echo "Rebuild_Same_JDK_Reproducibility_Test_win_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-06-12T15:05:43.872Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-06-12T15:05:43.872Z] echo "Nothing to be done for teardown."; \ [2025-06-12T15:05:43.872Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk21_hs_special.system_x86-64_windows_testList_0/aqa-tests/\\TKG\\output_1749740741143\\TestTargetResult"; [2025-06-12T15:05:43.872Z] [2025-06-12T15:05:43.872Z] TEST SETUP: [2025-06-12T15:05:43.872Z] Nothing to be done for setup. [2025-06-12T15:05:43.872Z] [2025-06-12T15:05:43.872Z] TESTING: [2025-06-12T15:05:43.872Z] --------------------------------------------- [2025-06-12T15:05:43.872Z] Begining Reproducible Windows Build From SBOM [2025-06-12T15:05:43.872Z] --------------------------------------------- [2025-06-12T15:05:43.872Z] Checking Environment And Parameters [2025-06-12T15:05:43.872Z] --------------------------------------------- [2025-06-12T15:05:43.872Z] Checking If Working Directory: /cygdrive/c/comp-jdk-build Exists [2025-06-12T15:05:44.208Z] Folder Exists - Removing '/cygdrive/c/comp-jdk-build' [2025-06-12T15:05:44.208Z] Creating /cygdrive/c/comp-jdk-build [2025-06-12T15:05:44.208Z] --------------------------------------------- [2025-06-12T15:05:44.208Z] SBOM is Local [2025-06-12T15:05:44.208Z] JDK is Local [2025-06-12T15:05:44.208Z] --------------------------------------------- [2025-06-12T15:05:44.208Z] --------------------------------------------- [2025-06-12T15:05:44.208Z] Reading The SBOM Content & Validating The Structure.. [2025-06-12T15:05:44.208Z] [2025-06-12T15:05:44.547Z] SBOM Is Structurally Sound.. Extracting Values: [2025-06-12T15:05:44.547Z] [2025-06-12T15:05:45.818Z] MSVS Windows Compiler Version: microsoft (Microsoft Visual Studio 2022) [2025-06-12T15:05:45.818Z] MSVS C Compiler Version: 19.37.32822 [2025-06-12T15:05:45.818Z] MSVS C++ Compiler Version: 19.37.32822 [2025-06-12T15:05:45.818Z] MS Windows SDK Version: 10.0.26100.1742 (WinBuild.160101.0800) [2025-06-12T15:05:45.818Z] Boot JDK Version: 20.0.2+9 [2025-06-12T15:05:45.818Z] Build Arch: x86_64 [2025-06-12T15:05:45.818Z] Temurin Build SHA: 13512d5382f12095bc3a9cc5be4730ffed31f2dd [2025-06-12T15:05:45.818Z] Temurin Build Stamp: 2025-06-12 10:53:11 [2025-06-12T15:05:45.818Z] Temurin Build Version: 21.0.8-beta+6-ea [2025-06-12T15:05:45.819Z] Temurin Build Arguments: --clean-git-repo --jdk-boot-dir /cygdrive/c/openjdk/jdk-20 --configure-args " --disable-warnings-as-errors --disable-ccache --with-toolchain-version=2022 --with-version-opt=ea" --target-file-name OpenJDK21U-jdk_x64_windows_hotspot_21.0.8_6-ea.zip --disable-shallow-git-clone -b jdk-21.0.8+6_adopt --create-jre-image --create-sbom --use-adoptium-devkit vs2022_redist_14.40.33807_10.0.26100.1742 --assemble-exploded-image --freetype-dir bundled --use-jep319-certs --create-debug-image --build-variant temurin jdk21u [2025-06-12T15:05:45.819Z] [2025-06-12T15:05:45.819Z] --------------------------------------------- [2025-06-12T15:05:45.819Z] System Architecture: 64-bit (Intel) [2025-06-12T15:05:45.819Z] SBOM & SYSTEM Architectures Match - All OK [2025-06-12T15:05:45.819Z] --------------------------------------------- [2025-06-12T15:05:45.819Z] Checking Visual Studio Version Retrieved From SBOM : microsoft (Microsoft Visual Studio 2022) [2025-06-12T15:05:45.819Z] Visual Studio Version: 2022 [2025-06-12T15:05:45.819Z] Visual Studio Base Path = /cygdrive/c/Program Files/Microsoft Visual Studio/2022 [2025-06-12T15:05:45.819Z] [2025-06-12T15:05:45.819Z] Checking For C & C++ VS Compilers In : /cygdrive/c/Program Files/Microsoft Visual Studio/2022/ [2025-06-12T15:05:50.550Z] Found C Compiler : /cygdrive/c/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.37.32822/bin/Hostx64/x64/cl.exe : Version : 19.37.32822 [2025-06-12T15:05:50.550Z] Found C++ Compiler : /cygdrive/c/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.37.32822/bin/Hostx64/x64/cl.exe : Version : 19.37.32822 [2025-06-12T15:05:50.550Z] --------------------------------------------- [2025-06-12T15:05:50.550Z] All Validation Checks Passed - Proceeding To Build [2025-06-12T15:05:50.550Z] --------------------------------------------- [2025-06-12T15:05:50.550Z] Ant Version: 1.10.X Already Installed [2025-06-12T15:05:50.550Z] [2025-06-12T15:05:50.550Z] Checking For Installation Of Ant Contrib Version 1.0b3 [2025-06-12T15:05:50.550Z] Ant Contrib Version: 1.0b3 Is Already Installed [2025-06-12T15:05:50.550Z] --------------------------------------------- [2025-06-12T15:05:50.550Z] Checking The Boot JDK Version From The SBOM Exists : 20.0.2+9 [2025-06-12T15:05:50.550Z] /cygdrive/c/comp-jdk-build/jdk-20.0.2+9 Doesnt Exist - Installing [2025-06-12T15:05:50.550Z] Retrieving boot JDK 20.0.2+9 [2025-06-12T15:05:50.550Z] https://api.adoptium.net/v3/binary/version/jdk-20.0.2+9/windows/x64/jdk/hotspot/normal/eclipse?project=jdk [2025-06-12T15:05:50.550Z] Downloading & Extracting.. Boot JDK Version : 20.0.2+9 [2025-06-12T15:05:59.460Z] --------------------------------------------- [2025-06-12T15:05:59.460Z] Git is installed. Proceeding with the script. [2025-06-12T15:05:59.460Z] Cloning Temurin Build Repository [2025-06-12T15:05:59.460Z] [2025-06-12T15:06:00.174Z] Switching To Build SHA From SBOM : 13512d5382f12095bc3a9cc5be4730ffed31f2dd [2025-06-12T15:06:01.327Z] Completed [2025-06-12T15:06:01.327Z] --------------------------------------------- [2025-06-12T15:06:01.327Z] Setting Variables [2025-06-12T15:06:01.668Z] [2025-06-12T15:06:01.668Z] Make JDK Any Platform Argument List = [2025-06-12T15:06:01.668Z] --build-reproducible-date "2025-06-12 10:53:11" --clean-git-repo --jdk-boot-dir /cygdrive/c/comp-jdk-build/jdk-20.0.2+9 --configure-args " --disable-warnings-as-errors --disable-ccache --with-toolchain-version=2022 --with-version-opt=ea" --target-file-name OpenJDK21U-jdk_x64_windows_hotspot_21.0.8_6-ea.zip --disable-shallow-git-clone -b jdk-21.0.8+6_adopt --create-jre-image --create-sbom --use-adoptium-devkit vs2022_redist_14.40.33807_10.0.26100.1742 --freetype-dir bundled --use-jep319-certs --create-debug-image --build-variant temurin jdk21u [2025-06-12T15:06:01.668Z] [2025-06-12T15:06:01.668Z] Parameters Parsed Successfully [2025-06-12T15:06:01.668Z] --------------------------------------------- [2025-06-12T15:06:01.668Z] Building JDK... [2025-06-12T16:46:12.420Z] --------------------------------------------- [2025-06-12T16:46:12.420Z] Comparing JDKs [2025-06-12T16:46:13.578Z] Unzip Source [2025-06-12T16:46:18.319Z] Unzip Target [2025-06-12T16:46:34.203Z] 16:46:33 : Pre-processing /cygdrive/c/comp-jdk-build/compare/src_jdk [2025-06-12T16:46:34.203Z] 16:46:33 : Expanding various components to enable comparisons /cygdrive/c/comp-jdk-build/compare/src_jdk (original files will be removed): [2025-06-12T16:46:36.461Z] 16:46:35 : Using 'jimage extract' to expand lib/modules image into lib/modules_extracted [2025-06-12T16:48:29.822Z] 16:48:24 : Unzipping lib/src.zip to normalize file permissions, then removing src.zip [2025-06-12T16:49:09.816Z] 16:49:05 : Using 'jmod extract' to expand all jmods to jmods/expanded_ directories [2025-06-12T16:51:33.393Z] 16:51:25 : Expanding lib/jrt-fs.jar to lib/jrt-fs-exanded to remove signatures from within.. [2025-06-12T16:51:33.393Z] 16:51:26 : Expanding lib/ct.sym to workaround zip timestamp differences (https://bugs.openjdk.org/browse/JDK-8327466) [2025-06-12T16:53:11.461Z] 16:53:03 : Removing all signatures from exe and dll files in /cygdrive/c/comp-jdk-build/compare/src_jdk [2025-06-12T16:53:30.625Z] Generating temp signatures with openssl and adding them to exe/dll files in /cygdrive/c/comp-jdk-build/compare/src_jdk [2025-06-12T16:53:30.625Z] .....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.+...................+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..........+.+.....................+.....+.+..+..........+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [2025-06-12T16:53:30.625Z] ........+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.+...+.+.....+..........+..+.........+...+..........+...........+....+......+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..........+....+...+...+.....+......+.+.....+....+...+..+.........+..........+.....+.+...+.....+......+.........+.............+..+......+...............+.......+........................+......+........+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [2025-06-12T16:53:30.625Z] ----- [2025-06-12T16:54:39.807Z] 16:54:28 : Removing all signatures from exe and dll files in /cygdrive/c/comp-jdk-build/compare/src_jdk [2025-06-12T16:55:02.846Z] Removing jrt-fs.jar MANIFEST.MF BootJDK vendor string lines [2025-06-12T16:55:02.846Z] 16:54:59 : Pre-processing of /cygdrive/c/comp-jdk-build/compare/src_jdk SUCCESSFUL :-) [2025-06-12T16:55:02.846Z] [2025-06-12T16:55:02.846Z] Cleaning any Temurin build-scripts release file BUILD_INFO from /cygdrive/c/comp-jdk-build/compare/src_jdk [2025-06-12T16:56:02.230Z] 16:55:54 : Successfully removed all SystemModules jdk.jpackage hash differences from /cygdrive/c/comp-jdk-build/compare/src_jdk [2025-06-12T16:56:02.230Z] 16:55:54 : Process Module Info from /cygdrive/c/comp-jdk-build/compare/src_jdk [2025-06-12T16:56:02.230Z] 16:55:54 : Normalizing ModuleAttributes order in module-info.class, converting to javap [2025-06-12T16:57:55.427Z] 16:57:49 : Pre-processing /cygdrive/c/comp-jdk-build/compare/tar_jdk [2025-06-12T16:57:55.427Z] 16:57:49 : Expanding various components to enable comparisons /cygdrive/c/comp-jdk-build/compare/tar_jdk (original files will be removed): [2025-06-12T16:57:55.427Z] 16:57:54 : Using 'jimage extract' to expand lib/modules image into lib/modules_extracted [2025-06-12T16:59:48.728Z] 16:59:42 : Unzipping lib/src.zip to normalize file permissions, then removing src.zip [2025-06-12T17:00:28.724Z] 17:00:23 : Using 'jmod extract' to expand all jmods to jmods/expanded_ directories [2025-06-12T17:02:52.218Z] 17:02:42 : Expanding lib/jrt-fs.jar to lib/jrt-fs-exanded to remove signatures from within.. [2025-06-12T17:02:52.218Z] 17:02:43 : Expanding lib/ct.sym to workaround zip timestamp differences (https://bugs.openjdk.org/browse/JDK-8327466) [2025-06-12T17:04:30.301Z] 17:04:21 : Removing all signatures from exe and dll files in /cygdrive/c/comp-jdk-build/compare/tar_jdk [2025-06-12T17:04:49.414Z] Generating temp signatures with openssl and adding them to exe/dll files in /cygdrive/c/comp-jdk-build/compare/tar_jdk [2025-06-12T17:04:49.414Z] ..+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..........+..+.+..+....+.....+.+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.......+...+...+.......+...+..+.........+.........+.+........+.+..+.........+.+.........+...+.....................+...........................+..+...+....+.....+.+..+.+..........................+...+.......+......+........+.........+...+....+.......................+.......+......+.........+.........+.....+....+...............+...........+.........+...+.......+......+..+...+.........+......+.+...+.................+.+........+....+...+..+.......+......+.....+.........+......+.............+............+...+.....+..........+.....+......+.............+.....+...+....+...+...........+.....................+........................+.+...+.....+.+.....................+..............+....+...+...............+.....+..............................+............+.+............+..............+................+...+.....+....+...+..+.......+...+..+...................+.....+....+.....+.+......+.....+.+..+............+......+..........+...+...........+...+.......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [2025-06-12T17:04:49.414Z] .+...+..........+..+.+.........+...+......+..+...+.......+..+..................+...+.+...........+....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*...+.......+...+..............+....+..+.............+.........+...+..+......+......+....+............+..+...+...+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*...+..+......+...................+...+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [2025-06-12T17:04:49.414Z] ----- [2025-06-12T17:05:47.057Z] 17:05:37 : Removing all signatures from exe and dll files in /cygdrive/c/comp-jdk-build/compare/tar_jdk [2025-06-12T17:06:10.057Z] Removing jrt-fs.jar MANIFEST.MF BootJDK vendor string lines [2025-06-12T17:06:10.057Z] 17:06:09 : Pre-processing of /cygdrive/c/comp-jdk-build/compare/tar_jdk SUCCESSFUL :-) [2025-06-12T17:06:10.057Z] [2025-06-12T17:06:10.057Z] Cleaning any Temurin build-scripts release file BUILD_INFO from /cygdrive/c/comp-jdk-build/compare/tar_jdk [2025-06-12T17:07:07.773Z] 17:07:04 : Successfully removed all SystemModules jdk.jpackage hash differences from /cygdrive/c/comp-jdk-build/compare/tar_jdk [2025-06-12T17:07:07.773Z] 17:07:04 : Process Module Info from /cygdrive/c/comp-jdk-build/compare/tar_jdk [2025-06-12T17:07:07.773Z] 17:07:04 : Normalizing ModuleAttributes order in module-info.class, converting to javap [2025-06-12T17:09:15.985Z] Number of files: 108894 [2025-06-12T17:09:15.985Z] 17:09:04 : Comparing expanded JDKs from /cygdrive/c/comp-jdk-build/compare/src_jdk with /cygdrive/c/comp-jdk-build/compare/tar_jdk ... [2025-06-12T17:18:26.508Z] 17:18:25 : diff complete - rc=0. Output written to file: reprotest.diff [2025-06-12T17:18:26.508Z] Number of differences: 0 [2025-06-12T17:18:26.508Z] ReproduciblePercent = 100 % [2025-06-12T17:18:26.508Z] [2025-06-12T17:18:26.508Z] --------------------------------------------- [2025-06-12T17:18:26.508Z] Output From JDK Comparison Script [2025-06-12T17:18:26.508Z] --------------------------------------------- [2025-06-12T17:18:26.508Z] [2025-06-12T17:18:26.508Z] --------------------------------------------- [2025-06-12T17:18:26.508Z] Copying Output To C:/jenkins/workspace/Test_openjdk21_hs_special.system_x86-64_windows_testList_0/aqa-tests/\TKG\output_1749740741143\Rebuild_Same_JDK_Reproducibility_Test_win_0 [2025-06-12T17:18:26.508Z] --------------------------------------------- [2025-06-12T17:20:19.649Z] ----------------------------------- [2025-06-12T17:20:19.649Z] Rebuild_Same_JDK_Reproducibility_Test_win_0_PASSED [2025-06-12T17:20:19.649Z] ----------------------------------- [2025-06-12T17:20:19.649Z] [2025-06-12T17:20:19.649Z] TEST TEARDOWN: [2025-06-12T17:20:19.649Z] Nothing to be done for teardown. [2025-06-12T17:20:19.649Z] Rebuild_Same_JDK_Reproducibility_Test_win_0 Finish Time: Thu Jun 12 17:20:16 2025 Epoch Time (ms): 1749748816542