Rebuild_Same_JDK_Reproducibility_Test_win_0

[2025-09-25T06:21:19.284Z] Running test Rebuild_Same_JDK_Reproducibility_Test_win_0 ... [2025-09-25T06:21:19.284Z] =============================================== [2025-09-25T06:21:19.284Z] Rebuild_Same_JDK_Reproducibility_Test_win_0 Start Time: Thu Sep 25 06:21:19 2025 Epoch Time (ms): 1758781279146 [2025-09-25T06:21:19.284Z] variation: NoOptions [2025-09-25T06:21:19.624Z] JVM_OPTIONS: [2025-09-25T06:21:19.624Z] { \ [2025-09-25T06:21:19.624Z] echo ""; echo "TEST SETUP:"; \ [2025-09-25T06:21:19.624Z] echo "Nothing to be done for setup."; \ [2025-09-25T06:21:19.624Z] mkdir -p "C:/jenkins/workspace/Test_openjdk21_hs_special.system_x86-64_windows_testList_0/aqa-tests/\\TKG\\output_17587812762574\\Rebuild_Same_JDK_Reproducibility_Test_win_0"; \ [2025-09-25T06:21:19.624Z] cd "C:/jenkins/workspace/Test_openjdk21_hs_special.system_x86-64_windows_testList_0/aqa-tests/\\TKG\\output_17587812762574\\Rebuild_Same_JDK_Reproducibility_Test_win_0"; \ [2025-09-25T06:21:19.624Z] echo ""; echo "TESTING:"; \ [2025-09-25T06:21:19.624Z] unset SPEC;\ [2025-09-25T06:21:19.624Z] 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.9_8-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.9_8-ea.zip "C:/jenkins/workspace/Test_openjdk21_hs_special.system_x86-64_windows_testList_0/aqa-tests/\\TKG\\output_17587812762574\\Rebuild_Same_JDK_Reproducibility_Test_win_0"; \ [2025-09-25T06:21:19.624Z] 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_17587812762574\\Rebuild_Same_JDK_Reproducibility_Test_win_0"; else echo "-----------------------------------"; echo "Rebuild_Same_JDK_Reproducibility_Test_win_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-09-25T06:21:19.624Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-09-25T06:21:19.624Z] echo "Nothing to be done for teardown."; \ [2025-09-25T06:21:19.624Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk21_hs_special.system_x86-64_windows_testList_0/aqa-tests/\\TKG\\output_17587812762574\\TestTargetResult"; [2025-09-25T06:21:19.624Z] [2025-09-25T06:21:19.624Z] TEST SETUP: [2025-09-25T06:21:19.624Z] Nothing to be done for setup. [2025-09-25T06:21:19.624Z] [2025-09-25T06:21:19.624Z] TESTING: [2025-09-25T06:21:19.624Z] --------------------------------------------- [2025-09-25T06:21:19.624Z] Begining Reproducible Windows Build From SBOM [2025-09-25T06:21:19.624Z] --------------------------------------------- [2025-09-25T06:21:19.624Z] Checking Environment And Parameters [2025-09-25T06:21:19.624Z] --------------------------------------------- [2025-09-25T06:21:19.624Z] Checking If Working Directory: /cygdrive/c/comp-jdk-build Exists [2025-09-25T06:21:19.624Z] Folder Exists - Removing '/cygdrive/c/comp-jdk-build' [2025-09-25T06:21:19.624Z] Creating /cygdrive/c/comp-jdk-build [2025-09-25T06:21:19.624Z] --------------------------------------------- [2025-09-25T06:21:19.624Z] SBOM is Local [2025-09-25T06:21:19.965Z] JDK is Local [2025-09-25T06:21:19.965Z] --------------------------------------------- [2025-09-25T06:21:19.965Z] --------------------------------------------- [2025-09-25T06:21:19.965Z] Reading The SBOM Content & Validating The Structure.. [2025-09-25T06:21:19.965Z] [2025-09-25T06:21:20.304Z] SBOM Is Structurally Sound.. Extracting Values: [2025-09-25T06:21:20.304Z] [2025-09-25T06:21:21.019Z] MSVS Windows Compiler Version: microsoft (Microsoft Visual Studio 2022) [2025-09-25T06:21:21.019Z] MSVS C Compiler Version: 19.37.32822 [2025-09-25T06:21:21.019Z] MSVS C++ Compiler Version: 19.37.32822 [2025-09-25T06:21:21.019Z] MS Windows SDK Version: 10.0.26100.1742 (WinBuild.160101.0800) [2025-09-25T06:21:21.019Z] Boot JDK Version: 20.0.2+9 [2025-09-25T06:21:21.019Z] Build Arch: x86_64 [2025-09-25T06:21:21.019Z] Temurin Build SHA: 3fa460839d777feba84a90a9d059a2673fa9459f [2025-09-25T06:21:21.019Z] Temurin Build Stamp: 2025-09-24 19:10:28 [2025-09-25T06:21:21.019Z] Temurin Build Version: 21.0.9-beta+8-ea [2025-09-25T06:21:21.020Z] 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.9_8-ea.zip --disable-shallow-git-clone -b jdk-21.0.9+8_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-09-25T06:21:21.020Z] [2025-09-25T06:21:21.020Z] --------------------------------------------- [2025-09-25T06:21:21.020Z] System Architecture: 64-bit (Intel) [2025-09-25T06:21:21.020Z] SBOM & SYSTEM Architectures Match - All OK [2025-09-25T06:21:21.020Z] --------------------------------------------- [2025-09-25T06:21:21.020Z] Checking Visual Studio Version Retrieved From SBOM : microsoft (Microsoft Visual Studio 2022) [2025-09-25T06:21:21.020Z] Visual Studio Version: 2022 [2025-09-25T06:21:21.020Z] Visual Studio Base Path = /cygdrive/c/Program Files/Microsoft Visual Studio/2022 [2025-09-25T06:21:21.020Z] [2025-09-25T06:21:21.020Z] Checking For C & C++ VS Compilers In : /cygdrive/c/Program Files/Microsoft Visual Studio/2022/ [2025-09-25T06:21:26.921Z] 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-09-25T06:21:26.921Z] 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-09-25T06:21:26.921Z] --------------------------------------------- [2025-09-25T06:21:26.921Z] All Validation Checks Passed - Proceeding To Build [2025-09-25T06:21:26.921Z] --------------------------------------------- [2025-09-25T06:21:26.921Z] Ant Version: 1.10.X Already Installed [2025-09-25T06:21:26.921Z] [2025-09-25T06:21:26.921Z] Checking For Installation Of Ant Contrib Version 1.0b3 [2025-09-25T06:21:26.921Z] Ant Contrib Version: 1.0b3 Is Already Installed [2025-09-25T06:21:26.921Z] --------------------------------------------- [2025-09-25T06:21:26.921Z] Checking The Boot JDK Version From The SBOM Exists : 20.0.2+9 [2025-09-25T06:21:26.921Z] /cygdrive/c/comp-jdk-build/jdk-20.0.2+9 Doesnt Exist - Installing [2025-09-25T06:21:26.921Z] Retrieving boot JDK 20.0.2+9 [2025-09-25T06:21:26.921Z] https://api.adoptium.net/v3/binary/version/jdk-20.0.2+9/windows/x64/jdk/hotspot/normal/eclipse?project=jdk [2025-09-25T06:21:26.921Z] Downloading & Extracting.. Boot JDK Version : 20.0.2+9 [2025-09-25T06:21:37.738Z] --------------------------------------------- [2025-09-25T06:21:37.738Z] Git is installed. Proceeding with the script. [2025-09-25T06:21:37.738Z] Cloning Temurin Build Repository [2025-09-25T06:21:37.738Z] [2025-09-25T06:21:38.453Z] Switching To Build SHA From SBOM : 3fa460839d777feba84a90a9d059a2673fa9459f [2025-09-25T06:21:39.605Z] Completed [2025-09-25T06:21:39.605Z] --------------------------------------------- [2025-09-25T06:21:39.605Z] Setting Variables [2025-09-25T06:21:39.605Z] [2025-09-25T06:21:39.605Z] Make JDK Any Platform Argument List = [2025-09-25T06:21:39.605Z] --build-reproducible-date "2025-09-24 19:10:28" --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.9_8-ea.zip --disable-shallow-git-clone -b jdk-21.0.9+8_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-09-25T06:21:39.605Z] [2025-09-25T06:21:39.605Z] Parameters Parsed Successfully [2025-09-25T06:21:39.605Z] --------------------------------------------- [2025-09-25T06:21:39.605Z] Building JDK... [2025-09-25T07:45:28.537Z] --------------------------------------------- [2025-09-25T07:45:28.537Z] Comparing JDKs [2025-09-25T07:45:28.537Z] Unzip Source [2025-09-25T07:45:28.886Z] Unzip Target [2025-09-25T07:45:51.937Z] 07:45:49 : Pre-processing /cygdrive/c/comp-jdk-build/compare/src_jdk [2025-09-25T07:45:51.937Z] 07:45:49 : Expanding various components to enable comparisons /cygdrive/c/comp-jdk-build/compare/src_jdk (original files will be removed): [2025-09-25T07:45:52.281Z] 07:45:52 : Using 'jimage extract' to expand lib/modules image into lib/modules_extracted [2025-09-25T07:48:00.767Z] 07:47:46 : Unzipping lib/src.zip to normalize file permissions, then removing src.zip [2025-09-25T07:48:23.798Z] 07:48:21 : Using 'jmod extract' to expand all jmods to jmods/expanded_ directories [2025-09-25T07:50:47.365Z] 07:50:42 : Expanding lib/jrt-fs.jar to lib/jrt-fs-exanded to remove signatures from within.. [2025-09-25T07:50:47.365Z] 07:50:42 : Expanding lib/ct.sym to workaround zip timestamp differences (https://bugs.openjdk.org/browse/JDK-8327466) [2025-09-25T07:52:10.421Z] 07:52:03 : Removing all signatures from exe and dll files in /cygdrive/c/comp-jdk-build/compare/src_jdk [2025-09-25T07:52:26.292Z] Generating temp signatures with openssl and adding them to exe/dll files in /cygdrive/c/comp-jdk-build/compare/src_jdk [2025-09-25T07:52:26.292Z] .+....+...+..+...............+....+......+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*....+....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.+....+..............+....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [2025-09-25T07:52:26.292Z] ...+.+..+..................+..........+...+...........+.+..+......+.+......+.....+...+.......+..............+....+..+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..+................+.....+.+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..........+.......+..+.......+.....+........................+......+.+...............+........+.+...+.....+......+....+..+.............+...+.....+..................+.........+.+......+.....+...+..................+....+...+...+........+...................+...+...+...........+...+...+.......+...+.........+.........+.....+..........+..+............+...........................+...................+..........................+....+.....+..........+......+.....+...+.............+...+..+.......+.....+..........+..+....+............+.................+.+..............+...+...+.+........+.............+...+...........+...+.+......+.....+...+.........................+............+......+...+...........+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [2025-09-25T07:52:26.292Z] ----- [2025-09-25T07:53:23.967Z] 07:53:19 : Removing all signatures from exe and dll files in /cygdrive/c/comp-jdk-build/compare/src_jdk [2025-09-25T07:53:51.682Z] Removing jrt-fs.jar MANIFEST.MF BootJDK vendor string lines [2025-09-25T07:53:51.682Z] 07:53:50 : Pre-processing of /cygdrive/c/comp-jdk-build/compare/src_jdk SUCCESSFUL :-) [2025-09-25T07:53:51.682Z] [2025-09-25T07:53:51.682Z] Cleaning any Temurin build-scripts release file BUILD_INFO from /cygdrive/c/comp-jdk-build/compare/src_jdk [2025-09-25T07:54:49.462Z] 07:54:43 : Successfully removed all SystemModules jdk.jpackage hash differences from /cygdrive/c/comp-jdk-build/compare/src_jdk [2025-09-25T07:54:49.462Z] 07:54:43 : Process Module Info from /cygdrive/c/comp-jdk-build/compare/src_jdk [2025-09-25T07:54:49.462Z] 07:54:43 : Normalizing ModuleAttributes order in module-info.class, converting to javap [2025-09-25T07:56:42.654Z] 07:56:37 : Pre-processing /cygdrive/c/comp-jdk-build/compare/tar_jdk [2025-09-25T07:56:42.654Z] 07:56:37 : Expanding various components to enable comparisons /cygdrive/c/comp-jdk-build/compare/tar_jdk (original files will be removed): [2025-09-25T07:56:43.002Z] 07:56:42 : Using 'jimage extract' to expand lib/modules image into lib/modules_extracted [2025-09-25T07:58:36.454Z] 07:58:35 : Unzipping lib/src.zip to normalize file permissions, then removing src.zip [2025-09-25T07:59:16.543Z] 07:59:10 : Using 'jmod extract' to expand all jmods to jmods/expanded_ directories [2025-09-25T08:01:40.116Z] 08:01:31 : Expanding lib/jrt-fs.jar to lib/jrt-fs-exanded to remove signatures from within.. [2025-09-25T08:01:40.116Z] 08:01:31 : Expanding lib/ct.sym to workaround zip timestamp differences (https://bugs.openjdk.org/browse/JDK-8327466) [2025-09-25T08:02:49.346Z] 08:02:47 : Removing all signatures from exe and dll files in /cygdrive/c/comp-jdk-build/compare/tar_jdk [2025-09-25T08:03:12.418Z] Generating temp signatures with openssl and adding them to exe/dll files in /cygdrive/c/comp-jdk-build/compare/tar_jdk [2025-09-25T08:03:12.418Z] ..............+.+...+.........+.....+.............+.....+...+.+...............+.....+.+.....+...+......+...+............+.+...+.........+..+...+.......+.........+..+...+....+...........+.......+...+.....+..........+.........+..+...+......+.+......+........+.......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*........+.+........+.+.....+......+.......+..+......+...+......+.+..+..........+........+...+.+........+.+..+.......+..+..........+.....+....+.....+.......+..+......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*....+...........+....+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [2025-09-25T08:03:12.418Z] ..+...+......+.....+....+.....+.......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*...+...........+...+.+........+.......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*........+...+........+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [2025-09-25T08:03:12.418Z] ----- [2025-09-25T08:04:00.471Z] 08:03:55 : Removing all signatures from exe and dll files in /cygdrive/c/comp-jdk-build/compare/tar_jdk [2025-09-25T08:04:28.198Z] Removing jrt-fs.jar MANIFEST.MF BootJDK vendor string lines [2025-09-25T08:04:28.198Z] 08:04:26 : Pre-processing of /cygdrive/c/comp-jdk-build/compare/tar_jdk SUCCESSFUL :-) [2025-09-25T08:04:28.198Z] [2025-09-25T08:04:28.198Z] Cleaning any Temurin build-scripts release file BUILD_INFO from /cygdrive/c/comp-jdk-build/compare/tar_jdk [2025-09-25T08:05:25.932Z] 08:05:19 : Successfully removed all SystemModules jdk.jpackage hash differences from /cygdrive/c/comp-jdk-build/compare/tar_jdk [2025-09-25T08:05:25.932Z] 08:05:19 : Process Module Info from /cygdrive/c/comp-jdk-build/compare/tar_jdk [2025-09-25T08:05:25.932Z] 08:05:19 : Normalizing ModuleAttributes order in module-info.class, converting to javap [2025-09-25T08:07:19.135Z] Number of files: 108916 [2025-09-25T08:07:19.135Z] 08:07:16 : Comparing expanded JDKs from /cygdrive/c/comp-jdk-build/compare/src_jdk with /cygdrive/c/comp-jdk-build/compare/tar_jdk ... [2025-09-25T08:17:45.063Z] 08:17:35 : diff complete - rc=0. Output written to file: reprotest.diff [2025-09-25T08:17:45.063Z] Number of differences: 0 [2025-09-25T08:17:45.063Z] ReproduciblePercent = 100 % [2025-09-25T08:17:45.063Z] [2025-09-25T08:17:45.063Z] --------------------------------------------- [2025-09-25T08:17:45.063Z] Output From JDK Comparison Script [2025-09-25T08:17:45.063Z] --------------------------------------------- [2025-09-25T08:17:45.063Z] [2025-09-25T08:17:45.063Z] --------------------------------------------- [2025-09-25T08:17:45.063Z] Copying Output To C:/jenkins/workspace/Test_openjdk21_hs_special.system_x86-64_windows_testList_0/aqa-tests/\TKG\output_17587812762574\Rebuild_Same_JDK_Reproducibility_Test_win_0 [2025-09-25T08:17:45.063Z] --------------------------------------------- [2025-09-25T08:19:23.207Z] ----------------------------------- [2025-09-25T08:19:23.207Z] Rebuild_Same_JDK_Reproducibility_Test_win_0_PASSED [2025-09-25T08:19:23.207Z] ----------------------------------- [2025-09-25T08:19:23.207Z] [2025-09-25T08:19:23.207Z] TEST TEARDOWN: [2025-09-25T08:19:23.207Z] Nothing to be done for teardown. [2025-09-25T08:19:23.207Z] Rebuild_Same_JDK_Reproducibility_Test_win_0 Finish Time: Thu Sep 25 08:19:17 2025 Epoch Time (ms): 1758788357733