Rebuild_Same_JDK_Reproducibility_Test_win_0

[2025-03-26T23:17:03.707Z] Running test Rebuild_Same_JDK_Reproducibility_Test_win_0 ... [2025-03-26T23:17:03.707Z] =============================================== [2025-03-26T23:17:04.037Z] Rebuild_Same_JDK_Reproducibility_Test_win_0 Start Time: Wed Mar 26 23:17:03 2025 Epoch Time (ms): 1743031023726 [2025-03-26T23:17:04.037Z] variation: NoOptions [2025-03-26T23:17:04.366Z] JVM_OPTIONS: [2025-03-26T23:17:04.366Z] { \ [2025-03-26T23:17:04.366Z] echo ""; echo "TEST SETUP:"; \ [2025-03-26T23:17:04.366Z] echo "Nothing to be done for setup."; \ [2025-03-26T23:17:04.366Z] mkdir -p "C:/jenkins/workspace/Test_openjdk21_hs_special.system_x86-64_windows/aqa-tests/\\TKG\\output_17430309632173\\Rebuild_Same_JDK_Reproducibility_Test_win_0"; \ [2025-03-26T23:17:04.366Z] cd "C:/jenkins/workspace/Test_openjdk21_hs_special.system_x86-64_windows/aqa-tests/\\TKG\\output_17430309632173\\Rebuild_Same_JDK_Reproducibility_Test_win_0"; \ [2025-03-26T23:17:04.366Z] echo ""; echo "TESTING:"; \ [2025-03-26T23:17:04.366Z] unset SPEC;\ [2025-03-26T23:17:04.366Z] C:/jenkins/workspace/Test_openjdk21_hs_special.system_x86-64_windows/aqa-tests/\\system\\reproducibleCompare\\windows_repro_build_compare.sh C:/jenkins/workspace/Test_openjdk21_hs_special.system_x86-64_windows/aqa-tests//../jdkbinary/OpenJDK21U-sbom_x64_windows_hotspot_21.0.7_5-ea.json C:/jenkins/workspace/Test_openjdk21_hs_special.system_x86-64_windows/aqa-tests//../jdkbinary/OpenJDK21U-jdk_x64_windows_hotspot_21.0.7_5-ea.zip "C:/jenkins/workspace/Test_openjdk21_hs_special.system_x86-64_windows/aqa-tests/\\TKG\\output_17430309632173\\Rebuild_Same_JDK_Reproducibility_Test_win_0"; \ [2025-03-26T23:17:04.366Z] 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/aqa-tests/; rm -f -r "C:/jenkins/workspace/Test_openjdk21_hs_special.system_x86-64_windows/aqa-tests/\\TKG\\output_17430309632173\\Rebuild_Same_JDK_Reproducibility_Test_win_0"; else echo "-----------------------------------"; echo "Rebuild_Same_JDK_Reproducibility_Test_win_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-03-26T23:17:04.366Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-03-26T23:17:04.366Z] echo "Nothing to be done for teardown."; \ [2025-03-26T23:17:04.366Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk21_hs_special.system_x86-64_windows/aqa-tests/\\TKG\\output_17430309632173\\TestTargetResult"; [2025-03-26T23:17:04.366Z] [2025-03-26T23:17:04.366Z] TEST SETUP: [2025-03-26T23:17:04.366Z] Nothing to be done for setup. [2025-03-26T23:17:04.366Z] [2025-03-26T23:17:04.366Z] TESTING: [2025-03-26T23:17:04.698Z] --------------------------------------------- [2025-03-26T23:17:04.698Z] Begining Reproducible Windows Build From SBOM [2025-03-26T23:17:04.698Z] --------------------------------------------- [2025-03-26T23:17:04.698Z] Checking Environment And Parameters [2025-03-26T23:17:04.698Z] --------------------------------------------- [2025-03-26T23:17:04.698Z] Checking If Working Directory: /cygdrive/c/comp-jdk-build Exists [2025-03-26T23:17:04.698Z] Folder Exists - Removing '/cygdrive/c/comp-jdk-build' [2025-03-26T23:17:04.698Z] Creating /cygdrive/c/comp-jdk-build [2025-03-26T23:17:04.698Z] --------------------------------------------- [2025-03-26T23:17:04.698Z] SBOM is Local [2025-03-26T23:17:04.698Z] JDK is Local [2025-03-26T23:17:04.698Z] --------------------------------------------- [2025-03-26T23:17:04.698Z] --------------------------------------------- [2025-03-26T23:17:04.698Z] Reading The SBOM Content & Validating The Structure.. [2025-03-26T23:17:04.698Z] [2025-03-26T23:17:05.029Z] SBOM Is Structurally Sound.. Extracting Values: [2025-03-26T23:17:05.029Z] [2025-03-26T23:17:05.717Z] MSVS Windows Compiler Version: microsoft (Microsoft Visual Studio 2022) [2025-03-26T23:17:05.717Z] MSVS C Compiler Version: 19.37.32822 [2025-03-26T23:17:05.717Z] MSVS C++ Compiler Version: 19.37.32822 [2025-03-26T23:17:05.717Z] MS Windows SDK Version: 10.0.26100.1742 (WinBuild.160101.0800) [2025-03-26T23:17:05.717Z] Boot JDK Version: 20.0.2+9 [2025-03-26T23:17:05.717Z] Build Arch: x86_64 [2025-03-26T23:17:05.717Z] Temurin Build SHA: cbdec456980070f0bbd1f622eb00d0a35ece20c2 [2025-03-26T23:17:05.717Z] Temurin Build Stamp: 2025-03-26 20:09:42 [2025-03-26T23:17:05.717Z] Temurin Build Version: 21.0.7-beta+5-ea [2025-03-26T23:17:05.717Z] 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.7_5-ea.zip --disable-shallow-git-clone -b jdk-21.0.7+5_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-03-26T23:17:05.717Z] [2025-03-26T23:17:05.717Z] --------------------------------------------- [2025-03-26T23:17:05.717Z] System Architecture: 64-bit (Intel) [2025-03-26T23:17:05.717Z] SBOM & SYSTEM Architectures Match - All OK [2025-03-26T23:17:05.717Z] --------------------------------------------- [2025-03-26T23:17:05.717Z] Checking Visual Studio Version Retrieved From SBOM : microsoft (Microsoft Visual Studio 2022) [2025-03-26T23:17:05.717Z] Visual Studio Version: 2022 [2025-03-26T23:17:05.717Z] Visual Studio Base Path = /cygdrive/c/Program Files/Microsoft Visual Studio/2022 [2025-03-26T23:17:05.717Z] [2025-03-26T23:17:05.717Z] Checking For C & C++ VS Compilers In : /cygdrive/c/Program Files/Microsoft Visual Studio/2022/ [2025-03-26T23:17:12.820Z] 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-03-26T23:17:12.820Z] 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-03-26T23:17:12.820Z] --------------------------------------------- [2025-03-26T23:17:12.820Z] All Validation Checks Passed - Proceeding To Build [2025-03-26T23:17:12.820Z] --------------------------------------------- [2025-03-26T23:17:12.820Z] Ant Version: 1.10.X Already Installed [2025-03-26T23:17:12.820Z] [2025-03-26T23:17:12.820Z] Checking For Installation Of Ant Contrib Version 1.0b3 [2025-03-26T23:17:12.820Z] Ant Contrib Version: 1.0b3 Is Already Installed [2025-03-26T23:17:12.820Z] --------------------------------------------- [2025-03-26T23:17:12.820Z] Checking The Boot JDK Version From The SBOM Exists : 20.0.2+9 [2025-03-26T23:17:12.820Z] /cygdrive/c/comp-jdk-build/jdk-20.0.2+9 Doesnt Exist - Installing [2025-03-26T23:17:12.820Z] Retrieving boot JDK 20.0.2+9 [2025-03-26T23:17:12.820Z] https://api.adoptium.net/v3/binary/version/jdk-20.0.2+9/windows/x64/jdk/hotspot/normal/eclipse?project=jdk [2025-03-26T23:17:12.820Z] Downloading & Extracting.. Boot JDK Version : 20.0.2+9 [2025-03-26T23:17:21.626Z] --------------------------------------------- [2025-03-26T23:17:21.626Z] Git is installed. Proceeding with the script. [2025-03-26T23:17:21.626Z] Cloning Temurin Build Repository [2025-03-26T23:17:21.626Z] [2025-03-26T23:17:23.223Z] Switching To Build SHA From SBOM : cbdec456980070f0bbd1f622eb00d0a35ece20c2 [2025-03-26T23:17:23.910Z] Completed [2025-03-26T23:17:23.910Z] --------------------------------------------- [2025-03-26T23:17:23.910Z] Setting Variables [2025-03-26T23:17:24.236Z] [2025-03-26T23:17:24.236Z] Make JDK Any Platform Argument List = [2025-03-26T23:17:24.236Z] --build-reproducible-date "2025-03-26 20:09:42" --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.7_5-ea.zip --disable-shallow-git-clone -b jdk-21.0.7+5_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-03-26T23:17:24.236Z] [2025-03-26T23:17:24.236Z] Parameters Parsed Successfully [2025-03-26T23:17:24.236Z] --------------------------------------------- [2025-03-26T23:17:24.236Z] Building JDK... [2025-03-27T00:42:07.942Z] --------------------------------------------- [2025-03-27T00:42:07.942Z] Comparing JDKs [2025-03-27T00:42:07.942Z] Unzip Source [2025-03-27T00:42:07.942Z] Unzip Target [2025-03-27T00:42:20.849Z] 00:42:20 : Pre-processing /cygdrive/c/comp-jdk-build/compare/src_jdk [2025-03-27T00:42:20.849Z] 00:42:20 : Expanding various components to enable comparisons /cygdrive/c/comp-jdk-build/compare/src_jdk (original files will be removed): [2025-03-27T00:42:21.964Z] 00:42:21 : Using 'jimage extract' to expand lib/modules image into lib/modules_extracted [2025-03-27T00:44:14.899Z] 00:44:07 : Unzipping lib/src.zip to normalize file permissions, then removing src.zip [2025-03-27T00:44:42.350Z] 00:44:41 : Using 'jmod extract' to expand all jmods to jmods/expanded_ directories [2025-03-27T00:47:05.418Z] 00:46:50 : Expanding lib/jrt-fs.jar to lib/jrt-fs-exanded to remove signatures from within.. [2025-03-27T00:47:05.418Z] 00:46:51 : Expanding lib/ct.sym to workaround zip timestamp differences (https://bugs.openjdk.org/browse/JDK-8327466) [2025-03-27T00:48:14.252Z] 00:48:10 : Removing all signatures from exe and dll files in /cygdrive/c/comp-jdk-build/compare/src_jdk [2025-03-27T00:48:37.037Z] Generating temp signatures with openssl and adding them to exe/dll files in /cygdrive/c/comp-jdk-build/compare/src_jdk [2025-03-27T00:48:37.037Z] ...+.+............+...+..+.+......+...+..+.........+....+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*...+...+...+..+.........+.+............+.....+.............+...+..............+.+......+......+...+..+....+.....+.+.......................+....+...+.........+...+..+......+...+.........+.+..+..........+..+......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.......+...+..+...+....+.....+.............+..+..........+.....+...+......+.........................+......+..................+..+......+...+...........................+.......+..+......+...+.+...+...+.................+......+.......+.....+.........................+...............+.................+.......+........+.+.........+..+...+.+...........+.+.........+..............+.+.........+.........+........+....+.....+.........+.+......+.....+...+......+...+.............+..+.+...........+.+..................+..+...+....+.....+.+......+........+...+....+...+............+...+...+..+......+.......+.....+...+......+.+........+....+........+.........+...+.......+........+...+...............+....+.........+......+...............+...+........+....+...+..................+............+............+..............+...............+...............+.........+.......+..................+...+..+..........+.....+...+...+................+.....................+............+........+..........+............+.................+....+............+..+...+....+.........+......+........+...............+......+............+...+....+............+..............+.......+.........+..............+.+......+...+.....+.......................................+...+....+...+...........+....+......+..+...+.+........+.+.....+............+...+....+........+.........+...............+....+..............+..........+...+........+.+..............+........................+..................+.......+...+..+..................+.......+........+....+.........+.....+............+...+....+..+.+...............+............+.....+...+....+...............+...+...+........+.+........+.+............+.........+..............+....+...........+....+...............+......+.....+....+........+...+....+......+.....+...............+.+......+.........+......+.....+...+......+.............+........+............+...+...+.+...............+...........+....+...........+.............+...............+......+...........+..........+...+...........+...............+....+......+......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [2025-03-27T00:48:37.037Z] ...+..+............+.+..+............+.+......+......+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.+...+.+...........+.........+....+........................+......+.........+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [2025-03-27T00:48:37.037Z] ----- [2025-03-27T00:49:34.368Z] 00:49:27 : Removing all signatures from exe and dll files in /cygdrive/c/comp-jdk-build/compare/src_jdk [2025-03-27T00:50:01.818Z] Removing jrt-fs.jar MANIFEST.MF BootJDK vendor string lines [2025-03-27T00:50:01.818Z] 00:49:58 : Pre-processing of /cygdrive/c/comp-jdk-build/compare/src_jdk SUCCESSFUL :-) [2025-03-27T00:50:01.818Z] [2025-03-27T00:50:01.818Z] Cleaning any Temurin build-scripts release file BUILD_INFO from /cygdrive/c/comp-jdk-build/compare/src_jdk [2025-03-27T00:50:59.186Z] 00:50:55 : Successfully removed all SystemModules jdk.jpackage hash differences from /cygdrive/c/comp-jdk-build/compare/src_jdk [2025-03-27T00:50:59.186Z] 00:50:55 : Process Module Info from /cygdrive/c/comp-jdk-build/compare/src_jdk [2025-03-27T00:50:59.186Z] 00:50:55 : Normalizing ModuleAttributes order in module-info.class, converting to javap [2025-03-27T00:53:07.042Z] 00:52:53 : Pre-processing /cygdrive/c/comp-jdk-build/compare/tar_jdk [2025-03-27T00:53:07.042Z] 00:52:53 : Expanding various components to enable comparisons /cygdrive/c/comp-jdk-build/compare/tar_jdk (original files will be removed): [2025-03-27T00:53:07.042Z] 00:52:58 : Using 'jimage extract' to expand lib/modules image into lib/modules_extracted [2025-03-27T00:54:44.926Z] 00:54:43 : Unzipping lib/src.zip to normalize file permissions, then removing src.zip [2025-03-27T00:55:17.961Z] 00:55:16 : Using 'jmod extract' to expand all jmods to jmods/expanded_ directories [2025-03-27T00:57:41.011Z] 00:57:27 : Expanding lib/jrt-fs.jar to lib/jrt-fs-exanded to remove signatures from within.. [2025-03-27T00:57:41.012Z] 00:57:28 : Expanding lib/ct.sym to workaround zip timestamp differences (https://bugs.openjdk.org/browse/JDK-8327466) [2025-03-27T00:58:49.852Z] 00:58:47 : Removing all signatures from exe and dll files in /cygdrive/c/comp-jdk-build/compare/tar_jdk [2025-03-27T00:59:12.620Z] Generating temp signatures with openssl and adding them to exe/dll files in /cygdrive/c/comp-jdk-build/compare/tar_jdk [2025-03-27T00:59:12.620Z] ....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*...+.....+..................+......+....+...+..+...+....+..................+..+.+..................+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.+.+.........+........+..........+...............+..+............+....+.....+.......+..............+................+.....+.............+.........+......+..+....+..............+.........+..................+...+............+.......+...+..............+...+.+..+..........+..+.+..+...................+........+......+....+..+.+..................+.....+......+...+...+............+..........+...+..+.+............+...............+.....+...+....+............+.....+......+...+......+......+.......+............+...+............+...+...+........+.......+.....+.........................+.....+...+......+.+.......................+....+......+...........+.+...+......+........+...+...+.........+...+.........+....+.........+............+...+..+...+............................+..+.+......+...........+...............+.......+..+....+.........+..+.+...+......+........+.......+...+........+....+.........+.....+......+.........+.+...+...........+..........+...........+.+..............+...+...+....+......+...+..+...+.....................+...+...+....+...+............+...........+...+.......+..+.+..+....+........................+.....+......+....+...........+.+.....+..........+..+.......+..........................+.......+...........+.+...+.....+...+............+.+.....+......+....+......+...........+.......+...+.....+.............+...........+....+.....+................+...+.....+.+...........+......+.......+..+.+..+......+.+.....+.+........+.......+.......................+.+...............+........+...............+......+................+...........+.........+...+.+..+.......+..+...+...+.......+......+..+...+......+..........+.........+.........+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [2025-03-27T00:59:12.620Z] ..+...+......+.....+.+.....+.......+...+........+....+........+...+......+...................+......+...+.....+......+.+.....+...+...............+...+...+.+...+...+..+..........+..+.+........+......+...................+..+...+................+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.+.............+...+.....................+...+.....+......+....+......+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [2025-03-27T00:59:12.620Z] ----- [2025-03-27T01:00:00.332Z] 00:59:57 : Removing all signatures from exe and dll files in /cygdrive/c/comp-jdk-build/compare/tar_jdk [2025-03-27T01:00:33.350Z] Removing jrt-fs.jar MANIFEST.MF BootJDK vendor string lines [2025-03-27T01:00:33.350Z] 01:00:30 : Pre-processing of /cygdrive/c/comp-jdk-build/compare/tar_jdk SUCCESSFUL :-) [2025-03-27T01:00:33.350Z] [2025-03-27T01:00:33.350Z] Cleaning any Temurin build-scripts release file BUILD_INFO from /cygdrive/c/comp-jdk-build/compare/tar_jdk [2025-03-27T01:01:30.700Z] 01:01:28 : Successfully removed all SystemModules jdk.jpackage hash differences from /cygdrive/c/comp-jdk-build/compare/tar_jdk [2025-03-27T01:01:30.700Z] 01:01:28 : Process Module Info from /cygdrive/c/comp-jdk-build/compare/tar_jdk [2025-03-27T01:01:30.700Z] 01:01:28 : Normalizing ModuleAttributes order in module-info.class, converting to javap [2025-03-27T01:03:38.570Z] Number of files: 108890 [2025-03-27T01:03:38.570Z] 01:03:27 : Comparing expanded JDKs from /cygdrive/c/comp-jdk-build/compare/src_jdk with /cygdrive/c/comp-jdk-build/compare/tar_jdk ... [2025-03-27T01:13:03.217Z] 01:12:54 : diff complete - rc=0. Output written to file: reprotest.diff [2025-03-27T01:13:03.217Z] Number of differences: 0 [2025-03-27T01:13:03.217Z] ReproduciblePercent = 100 % [2025-03-27T01:13:03.217Z] [2025-03-27T01:13:03.217Z] --------------------------------------------- [2025-03-27T01:13:03.217Z] Output From JDK Comparison Script [2025-03-27T01:13:03.217Z] --------------------------------------------- [2025-03-27T01:13:03.217Z] [2025-03-27T01:13:03.217Z] --------------------------------------------- [2025-03-27T01:13:03.217Z] Copying Output To C:/jenkins/workspace/Test_openjdk21_hs_special.system_x86-64_windows/aqa-tests/\TKG\output_17430309632173\Rebuild_Same_JDK_Reproducibility_Test_win_0 [2025-03-27T01:13:03.217Z] --------------------------------------------- [2025-03-27T01:14:40.946Z] ----------------------------------- [2025-03-27T01:14:40.946Z] Rebuild_Same_JDK_Reproducibility_Test_win_0_PASSED [2025-03-27T01:14:40.946Z] ----------------------------------- [2025-03-27T01:14:40.946Z] [2025-03-27T01:14:40.946Z] TEST TEARDOWN: [2025-03-27T01:14:40.946Z] Nothing to be done for teardown. [2025-03-27T01:14:40.946Z] Rebuild_Same_JDK_Reproducibility_Test_win_0 Finish Time: Thu Mar 27 01:14:33 2025 Epoch Time (ms): 1743038073453