Rebuild_Same_JDK_Reproducibility_Test_win_0

[2025-05-09T14:05:20.240Z] Running test Rebuild_Same_JDK_Reproducibility_Test_win_0 ... [2025-05-09T14:05:20.565Z] =============================================== [2025-05-09T14:05:20.565Z] Rebuild_Same_JDK_Reproducibility_Test_win_0 Start Time: Fri May 9 14:05:20 2025 Epoch Time (ms): 1746799520427 [2025-05-09T14:05:20.889Z] variation: NoOptions [2025-05-09T14:05:20.890Z] JVM_OPTIONS: [2025-05-09T14:05:20.890Z] { \ [2025-05-09T14:05:20.890Z] echo ""; echo "TEST SETUP:"; \ [2025-05-09T14:05:20.890Z] echo "Nothing to be done for setup."; \ [2025-05-09T14:05:20.890Z] mkdir -p "C:/jenkins/workspace/Test_openjdk21_hs_special.system_x86-64_windows/aqa-tests/\\TKG\\output_17467994636573\\Rebuild_Same_JDK_Reproducibility_Test_win_0"; \ [2025-05-09T14:05:20.890Z] cd "C:/jenkins/workspace/Test_openjdk21_hs_special.system_x86-64_windows/aqa-tests/\\TKG\\output_17467994636573\\Rebuild_Same_JDK_Reproducibility_Test_win_0"; \ [2025-05-09T14:05:20.890Z] echo ""; echo "TESTING:"; \ [2025-05-09T14:05:20.890Z] unset SPEC;\ [2025-05-09T14:05:20.890Z] 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.8_2-ea.json C:/jenkins/workspace/Test_openjdk21_hs_special.system_x86-64_windows/aqa-tests//../jdkbinary/OpenJDK21U-jdk_x64_windows_hotspot_21.0.8_2-ea.zip "C:/jenkins/workspace/Test_openjdk21_hs_special.system_x86-64_windows/aqa-tests/\\TKG\\output_17467994636573\\Rebuild_Same_JDK_Reproducibility_Test_win_0"; \ [2025-05-09T14:05:20.890Z] 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_17467994636573\\Rebuild_Same_JDK_Reproducibility_Test_win_0"; else echo "-----------------------------------"; echo "Rebuild_Same_JDK_Reproducibility_Test_win_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-05-09T14:05:20.890Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-05-09T14:05:20.890Z] echo "Nothing to be done for teardown."; \ [2025-05-09T14:05:20.890Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk21_hs_special.system_x86-64_windows/aqa-tests/\\TKG\\output_17467994636573\\TestTargetResult"; [2025-05-09T14:05:20.890Z] [2025-05-09T14:05:20.890Z] TEST SETUP: [2025-05-09T14:05:20.890Z] Nothing to be done for setup. [2025-05-09T14:05:20.890Z] [2025-05-09T14:05:20.890Z] TESTING: [2025-05-09T14:05:21.220Z] --------------------------------------------- [2025-05-09T14:05:21.220Z] Begining Reproducible Windows Build From SBOM [2025-05-09T14:05:21.221Z] --------------------------------------------- [2025-05-09T14:05:21.221Z] Checking Environment And Parameters [2025-05-09T14:05:21.221Z] --------------------------------------------- [2025-05-09T14:05:21.221Z] Checking If Working Directory: /cygdrive/c/comp-jdk-build Exists [2025-05-09T14:05:21.221Z] Folder Exists - Removing '/cygdrive/c/comp-jdk-build' [2025-05-09T14:05:21.221Z] Creating /cygdrive/c/comp-jdk-build [2025-05-09T14:05:21.221Z] --------------------------------------------- [2025-05-09T14:05:21.221Z] SBOM is Local [2025-05-09T14:05:21.221Z] JDK is Local [2025-05-09T14:05:21.552Z] --------------------------------------------- [2025-05-09T14:05:21.552Z] --------------------------------------------- [2025-05-09T14:05:21.552Z] Reading The SBOM Content & Validating The Structure.. [2025-05-09T14:05:21.552Z] [2025-05-09T14:05:21.552Z] SBOM Is Structurally Sound.. Extracting Values: [2025-05-09T14:05:21.552Z] [2025-05-09T14:05:22.231Z] MSVS Windows Compiler Version: microsoft (Microsoft Visual Studio 2022) [2025-05-09T14:05:22.231Z] MSVS C Compiler Version: 19.37.32822 [2025-05-09T14:05:22.231Z] MSVS C++ Compiler Version: 19.37.32822 [2025-05-09T14:05:22.231Z] MS Windows SDK Version: 10.0.26100.1742 (WinBuild.160101.0800) [2025-05-09T14:05:22.231Z] Boot JDK Version: 20.0.2+9 [2025-05-09T14:05:22.231Z] Build Arch: x86_64 [2025-05-09T14:05:22.231Z] Temurin Build SHA: c95ebc13962190f9e24c4fafc07c68dbcffd50cc [2025-05-09T14:05:22.231Z] Temurin Build Stamp: 2025-05-09 00:44:13 [2025-05-09T14:05:22.231Z] Temurin Build Version: 21.0.8-beta+2-ea [2025-05-09T14:05:22.231Z] 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_2-ea.zip --disable-shallow-git-clone -b jdk-21.0.8+2_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-05-09T14:05:22.231Z] [2025-05-09T14:05:22.231Z] --------------------------------------------- [2025-05-09T14:05:22.231Z] System Architecture: 64-bit (Intel) [2025-05-09T14:05:22.231Z] SBOM & SYSTEM Architectures Match - All OK [2025-05-09T14:05:22.231Z] --------------------------------------------- [2025-05-09T14:05:22.231Z] Checking Visual Studio Version Retrieved From SBOM : microsoft (Microsoft Visual Studio 2022) [2025-05-09T14:05:22.231Z] Visual Studio Version: 2022 [2025-05-09T14:05:22.231Z] Visual Studio Base Path = /cygdrive/c/Program Files/Microsoft Visual Studio/2022 [2025-05-09T14:05:22.231Z] [2025-05-09T14:05:22.231Z] Checking For C & C++ VS Compilers In : /cygdrive/c/Program Files/Microsoft Visual Studio/2022/ [2025-05-09T14:05:25.877Z] 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-05-09T14:05:25.877Z] 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-05-09T14:05:25.877Z] --------------------------------------------- [2025-05-09T14:05:25.877Z] All Validation Checks Passed - Proceeding To Build [2025-05-09T14:05:25.877Z] --------------------------------------------- [2025-05-09T14:05:25.877Z] Ant Version: 1.10.X Already Installed [2025-05-09T14:05:25.877Z] [2025-05-09T14:05:25.877Z] Checking For Installation Of Ant Contrib Version 1.0b3 [2025-05-09T14:05:25.877Z] Ant Contrib Version: 1.0b3 Is Already Installed [2025-05-09T14:05:25.877Z] --------------------------------------------- [2025-05-09T14:05:25.877Z] Checking The Boot JDK Version From The SBOM Exists : 20.0.2+9 [2025-05-09T14:05:25.877Z] /cygdrive/c/comp-jdk-build/jdk-20.0.2+9 Doesnt Exist - Installing [2025-05-09T14:05:25.877Z] Retrieving boot JDK 20.0.2+9 [2025-05-09T14:05:25.877Z] https://api.adoptium.net/v3/binary/version/jdk-20.0.2+9/windows/x64/jdk/hotspot/normal/eclipse?project=jdk [2025-05-09T14:05:25.877Z] Downloading & Extracting.. Boot JDK Version : 20.0.2+9 [2025-05-09T14:05:36.449Z] --------------------------------------------- [2025-05-09T14:05:36.449Z] Git is installed. Proceeding with the script. [2025-05-09T14:05:36.449Z] Cloning Temurin Build Repository [2025-05-09T14:05:36.449Z] [2025-05-09T14:05:38.030Z] Switching To Build SHA From SBOM : c95ebc13962190f9e24c4fafc07c68dbcffd50cc [2025-05-09T14:05:39.131Z] Completed [2025-05-09T14:05:39.131Z] --------------------------------------------- [2025-05-09T14:05:39.131Z] Setting Variables [2025-05-09T14:05:39.131Z] [2025-05-09T14:05:39.131Z] Make JDK Any Platform Argument List = [2025-05-09T14:05:39.131Z] --build-reproducible-date "2025-05-09 00:44:13" --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_2-ea.zip --disable-shallow-git-clone -b jdk-21.0.8+2_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-05-09T14:05:39.131Z] [2025-05-09T14:05:39.131Z] Parameters Parsed Successfully [2025-05-09T14:05:39.131Z] --------------------------------------------- [2025-05-09T14:05:39.131Z] Building JDK... [2025-05-09T15:31:21.475Z] --------------------------------------------- [2025-05-09T15:31:21.476Z] Comparing JDKs [2025-05-09T15:31:22.159Z] Unzip Source [2025-05-09T15:31:25.822Z] Unzip Target [2025-05-09T15:31:38.675Z] 15:31:38 : Pre-processing /cygdrive/c/comp-jdk-build/compare/src_jdk [2025-05-09T15:31:38.675Z] 15:31:38 : Expanding various components to enable comparisons /cygdrive/c/comp-jdk-build/compare/src_jdk (original files will be removed): [2025-05-09T15:31:41.522Z] 15:31:41 : Using 'jimage extract' to expand lib/modules image into lib/modules_extracted [2025-05-09T15:33:34.320Z] 15:33:20 : Unzipping lib/src.zip to normalize file permissions, then removing src.zip [2025-05-09T15:33:57.038Z] 15:33:53 : Using 'jmod extract' to expand all jmods to jmods/expanded_ directories [2025-05-09T15:36:04.995Z] 15:35:56 : Expanding lib/jrt-fs.jar to lib/jrt-fs-exanded to remove signatures from within.. [2025-05-09T15:36:04.995Z] 15:35:56 : Expanding lib/ct.sym to workaround zip timestamp differences (https://bugs.openjdk.org/browse/JDK-8327466) [2025-05-09T15:37:13.777Z] 15:37:12 : Removing all signatures from exe and dll files in /cygdrive/c/comp-jdk-build/compare/src_jdk [2025-05-09T15:37:36.494Z] Generating temp signatures with openssl and adding them to exe/dll files in /cygdrive/c/comp-jdk-build/compare/src_jdk [2025-05-09T15:37:36.494Z] ..+..+...+......................+......+.........+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.+.+...+......+...+...+.....+.............+...........+.+..+...+............+.+......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..+..........+....................+......+.........+.......+.......................+.........+..........+..+...+...+...+.+...+...+........+.+........+............+.+..+.+......+...+...............+..+.+..............+...+............+....+.....+............+..........+.........+...........+.........+.........+.+...+...+........+....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [2025-05-09T15:37:36.494Z] ...+..+.............+.....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*......+...+..........+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*...........+...................+.....+.......+....................+.......+.....+......+.+...+..+...............+.+........+......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [2025-05-09T15:37:36.494Z] ----- [2025-05-09T15:38:33.767Z] 15:38:24 : Removing all signatures from exe and dll files in /cygdrive/c/comp-jdk-build/compare/src_jdk [2025-05-09T15:38:56.490Z] Removing jrt-fs.jar MANIFEST.MF BootJDK vendor string lines [2025-05-09T15:38:56.490Z] 15:38:54 : Pre-processing of /cygdrive/c/comp-jdk-build/compare/src_jdk SUCCESSFUL :-) [2025-05-09T15:38:56.490Z] [2025-05-09T15:38:56.490Z] Cleaning any Temurin build-scripts release file BUILD_INFO from /cygdrive/c/comp-jdk-build/compare/src_jdk [2025-05-09T15:39:53.780Z] 15:39:47 : Successfully removed all SystemModules jdk.jpackage hash differences from /cygdrive/c/comp-jdk-build/compare/src_jdk [2025-05-09T15:39:53.780Z] 15:39:47 : Process Module Info from /cygdrive/c/comp-jdk-build/compare/src_jdk [2025-05-09T15:39:53.780Z] 15:39:47 : Normalizing ModuleAttributes order in module-info.class, converting to javap [2025-05-09T15:41:46.494Z] 15:41:37 : Pre-processing /cygdrive/c/comp-jdk-build/compare/tar_jdk [2025-05-09T15:41:46.494Z] 15:41:37 : Expanding various components to enable comparisons /cygdrive/c/comp-jdk-build/compare/tar_jdk (original files will be removed): [2025-05-09T15:41:46.494Z] 15:41:42 : Using 'jimage extract' to expand lib/modules image into lib/modules_extracted [2025-05-09T15:43:24.258Z] 15:43:19 : Unzipping lib/src.zip to normalize file permissions, then removing src.zip [2025-05-09T15:43:51.642Z] 15:43:51 : Using 'jmod extract' to expand all jmods to jmods/expanded_ directories [2025-05-09T15:45:59.546Z] 15:45:54 : Expanding lib/jrt-fs.jar to lib/jrt-fs-exanded to remove signatures from within.. [2025-05-09T15:45:59.546Z] 15:45:54 : Expanding lib/ct.sym to workaround zip timestamp differences (https://bugs.openjdk.org/browse/JDK-8327466) [2025-05-09T15:47:08.326Z] 15:47:07 : Removing all signatures from exe and dll files in /cygdrive/c/comp-jdk-build/compare/tar_jdk [2025-05-09T15:47:31.041Z] Generating temp signatures with openssl and adding them to exe/dll files in /cygdrive/c/comp-jdk-build/compare/tar_jdk [2025-05-09T15:47:31.041Z] ...+.+.....+.......+...+..+...+.......+......+..............+......+.+...+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*............+....+..+..........+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.+.+..+...+.........+................+...+...............+............+..+................+............+..+...+.........+.+.....+.......+.....................+......+.....+....+...............+.....+.........+............+.+.....+...+.......+.................................+......+...+.....+.+.........+.....+..........+.....................+..+...+....+..+.........+.+...........+...+.......+..............+...............................+.......................+.......+...............+........+..........+..+............+..........+............+.....+...............+...+..........+...+..+...+..........+...+..+.........+......+....+...+..+....+......+......+..+..........+...........+.+...........+.........+...+...+...........................+...............+.+.....+..........+..+.............+......+.....+.+............+..+...+...+...............+.......+..+.............+........+...............+....+...+............+........+...............+.............+...+.....+...................+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [2025-05-09T15:47:31.041Z] .........+......+..+.........+.+....................+.......+...+..+.+......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.....+......+...+.+.........+...........+.........+..........+..+...+.......+.....+.+...+......+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [2025-05-09T15:47:31.041Z] ----- [2025-05-09T15:48:18.696Z] 15:48:11 : Removing all signatures from exe and dll files in /cygdrive/c/comp-jdk-build/compare/tar_jdk [2025-05-09T15:48:41.430Z] Removing jrt-fs.jar MANIFEST.MF BootJDK vendor string lines [2025-05-09T15:48:41.430Z] 15:48:41 : Pre-processing of /cygdrive/c/comp-jdk-build/compare/tar_jdk SUCCESSFUL :-) [2025-05-09T15:48:41.430Z] [2025-05-09T15:48:41.430Z] Cleaning any Temurin build-scripts release file BUILD_INFO from /cygdrive/c/comp-jdk-build/compare/tar_jdk [2025-05-09T15:49:38.694Z] 15:49:34 : Successfully removed all SystemModules jdk.jpackage hash differences from /cygdrive/c/comp-jdk-build/compare/tar_jdk [2025-05-09T15:49:38.694Z] 15:49:34 : Process Module Info from /cygdrive/c/comp-jdk-build/compare/tar_jdk [2025-05-09T15:49:38.694Z] 15:49:34 : Normalizing ModuleAttributes order in module-info.class, converting to javap [2025-05-09T15:51:31.392Z] Number of files: 108894 [2025-05-09T15:51:31.392Z] 15:51:25 : Comparing expanded JDKs from /cygdrive/c/comp-jdk-build/compare/src_jdk with /cygdrive/c/comp-jdk-build/compare/tar_jdk ... [2025-05-09T15:59:40.557Z] 15:59:40 : diff complete - rc=0. Output written to file: reprotest.diff [2025-05-09T15:59:40.881Z] Number of differences: 0 [2025-05-09T15:59:40.881Z] ReproduciblePercent = 100 % [2025-05-09T15:59:40.881Z] [2025-05-09T15:59:40.881Z] --------------------------------------------- [2025-05-09T15:59:40.881Z] Output From JDK Comparison Script [2025-05-09T15:59:40.881Z] --------------------------------------------- [2025-05-09T15:59:40.881Z] [2025-05-09T15:59:40.881Z] --------------------------------------------- [2025-05-09T15:59:40.881Z] Copying Output To C:/jenkins/workspace/Test_openjdk21_hs_special.system_x86-64_windows/aqa-tests/\TKG\output_17467994636573\Rebuild_Same_JDK_Reproducibility_Test_win_0 [2025-05-09T15:59:41.546Z] --------------------------------------------- [2025-05-09T16:01:19.237Z] ----------------------------------- [2025-05-09T16:01:19.237Z] Rebuild_Same_JDK_Reproducibility_Test_win_0_PASSED [2025-05-09T16:01:19.237Z] ----------------------------------- [2025-05-09T16:01:19.237Z] [2025-05-09T16:01:19.237Z] TEST TEARDOWN: [2025-05-09T16:01:19.237Z] Nothing to be done for teardown. [2025-05-09T16:01:19.237Z] Rebuild_Same_JDK_Reproducibility_Test_win_0 Finish Time: Fri May 9 16:01:12 2025 Epoch Time (ms): 1746806472756