Rebuild_Same_JDK_Reproducibility_Test_win_0

[2025-05-16T12:56:32.188Z] Running test Rebuild_Same_JDK_Reproducibility_Test_win_0 ... [2025-05-16T12:56:32.514Z] =============================================== [2025-05-16T12:56:32.514Z] Rebuild_Same_JDK_Reproducibility_Test_win_0 Start Time: Fri May 16 12:56:32 2025 Epoch Time (ms): 1747400192438 [2025-05-16T12:56:32.858Z] variation: NoOptions [2025-05-16T12:56:32.858Z] JVM_OPTIONS: [2025-05-16T12:56:32.858Z] { \ [2025-05-16T12:56:32.858Z] echo ""; echo "TEST SETUP:"; \ [2025-05-16T12:56:32.858Z] echo "Nothing to be done for setup."; \ [2025-05-16T12:56:32.858Z] mkdir -p "C:/jenkins/workspace/Test_openjdk21_hs_special.system_x86-64_windows_testList_0/aqa-tests/\\TKG\\output_17474001897276\\Rebuild_Same_JDK_Reproducibility_Test_win_0"; \ [2025-05-16T12:56:32.858Z] cd "C:/jenkins/workspace/Test_openjdk21_hs_special.system_x86-64_windows_testList_0/aqa-tests/\\TKG\\output_17474001897276\\Rebuild_Same_JDK_Reproducibility_Test_win_0"; \ [2025-05-16T12:56:32.858Z] echo ""; echo "TESTING:"; \ [2025-05-16T12:56:32.858Z] unset SPEC;\ [2025-05-16T12:56:32.858Z] 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_3-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_3-ea.zip "C:/jenkins/workspace/Test_openjdk21_hs_special.system_x86-64_windows_testList_0/aqa-tests/\\TKG\\output_17474001897276\\Rebuild_Same_JDK_Reproducibility_Test_win_0"; \ [2025-05-16T12:56:32.858Z] 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_17474001897276\\Rebuild_Same_JDK_Reproducibility_Test_win_0"; else echo "-----------------------------------"; echo "Rebuild_Same_JDK_Reproducibility_Test_win_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-05-16T12:56:32.858Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-05-16T12:56:32.858Z] echo "Nothing to be done for teardown."; \ [2025-05-16T12:56:32.858Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk21_hs_special.system_x86-64_windows_testList_0/aqa-tests/\\TKG\\output_17474001897276\\TestTargetResult"; [2025-05-16T12:56:32.858Z] [2025-05-16T12:56:32.858Z] TEST SETUP: [2025-05-16T12:56:32.858Z] Nothing to be done for setup. [2025-05-16T12:56:32.858Z] [2025-05-16T12:56:32.858Z] TESTING: [2025-05-16T12:56:32.858Z] --------------------------------------------- [2025-05-16T12:56:32.858Z] Begining Reproducible Windows Build From SBOM [2025-05-16T12:56:32.858Z] --------------------------------------------- [2025-05-16T12:56:32.858Z] Checking Environment And Parameters [2025-05-16T12:56:32.858Z] --------------------------------------------- [2025-05-16T12:56:32.858Z] Checking If Working Directory: /cygdrive/c/comp-jdk-build Exists [2025-05-16T12:56:33.199Z] Folder Exists - Removing '/cygdrive/c/comp-jdk-build' [2025-05-16T12:56:33.199Z] Creating /cygdrive/c/comp-jdk-build [2025-05-16T12:56:33.199Z] --------------------------------------------- [2025-05-16T12:56:33.199Z] SBOM is Local [2025-05-16T12:56:33.199Z] JDK is Local [2025-05-16T12:56:33.199Z] --------------------------------------------- [2025-05-16T12:56:33.199Z] --------------------------------------------- [2025-05-16T12:56:33.199Z] Reading The SBOM Content & Validating The Structure.. [2025-05-16T12:56:33.199Z] [2025-05-16T12:56:33.582Z] SBOM Is Structurally Sound.. Extracting Values: [2025-05-16T12:56:33.582Z] [2025-05-16T12:56:34.733Z] MSVS Windows Compiler Version: microsoft (Microsoft Visual Studio 2022) [2025-05-16T12:56:34.733Z] MSVS C Compiler Version: 19.37.32822 [2025-05-16T12:56:34.733Z] MSVS C++ Compiler Version: 19.37.32822 [2025-05-16T12:56:34.733Z] MS Windows SDK Version: 10.0.26100.1742 (WinBuild.160101.0800) [2025-05-16T12:56:34.733Z] Boot JDK Version: 20.0.2+9 [2025-05-16T12:56:34.733Z] Build Arch: x86_64 [2025-05-16T12:56:34.733Z] Temurin Build SHA: 46d74b96d237da02236c9313c077eac16278fa00 [2025-05-16T12:56:34.733Z] Temurin Build Stamp: 2025-05-16 08:36:28 [2025-05-16T12:56:34.733Z] Temurin Build Version: 21.0.8-beta+3-ea [2025-05-16T12:56:34.733Z] 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_3-ea.zip --disable-shallow-git-clone -b jdk-21.0.8+3_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-16T12:56:34.733Z] [2025-05-16T12:56:34.733Z] --------------------------------------------- [2025-05-16T12:56:34.733Z] System Architecture: 64-bit (Intel) [2025-05-16T12:56:34.733Z] SBOM & SYSTEM Architectures Match - All OK [2025-05-16T12:56:34.733Z] --------------------------------------------- [2025-05-16T12:56:34.733Z] Checking Visual Studio Version Retrieved From SBOM : microsoft (Microsoft Visual Studio 2022) [2025-05-16T12:56:34.733Z] Visual Studio Version: 2022 [2025-05-16T12:56:34.733Z] Visual Studio Base Path = /cygdrive/c/Program Files/Microsoft Visual Studio/2022 [2025-05-16T12:56:34.733Z] [2025-05-16T12:56:34.733Z] Checking For C & C++ VS Compilers In : /cygdrive/c/Program Files/Microsoft Visual Studio/2022/ [2025-05-16T12:56:41.998Z] 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-16T12:56:41.998Z] 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-16T12:56:41.998Z] --------------------------------------------- [2025-05-16T12:56:41.998Z] All Validation Checks Passed - Proceeding To Build [2025-05-16T12:56:41.998Z] --------------------------------------------- [2025-05-16T12:56:41.998Z] Ant Version: 1.10.X Already Installed [2025-05-16T12:56:41.998Z] [2025-05-16T12:56:41.998Z] Checking For Installation Of Ant Contrib Version 1.0b3 [2025-05-16T12:56:41.998Z] Ant Contrib Version: 1.0b3 Is Already Installed [2025-05-16T12:56:41.998Z] --------------------------------------------- [2025-05-16T12:56:41.998Z] Checking The Boot JDK Version From The SBOM Exists : 20.0.2+9 [2025-05-16T12:56:41.998Z] /cygdrive/c/comp-jdk-build/jdk-20.0.2+9 Doesnt Exist - Installing [2025-05-16T12:56:41.998Z] Retrieving boot JDK 20.0.2+9 [2025-05-16T12:56:41.998Z] https://api.adoptium.net/v3/binary/version/jdk-20.0.2+9/windows/x64/jdk/hotspot/normal/eclipse?project=jdk [2025-05-16T12:56:41.998Z] Downloading & Extracting.. Boot JDK Version : 20.0.2+9 [2025-05-16T12:56:49.273Z] --------------------------------------------- [2025-05-16T12:56:49.273Z] Git is installed. Proceeding with the script. [2025-05-16T12:56:49.273Z] Cloning Temurin Build Repository [2025-05-16T12:56:49.273Z] [2025-05-16T12:56:50.423Z] Switching To Build SHA From SBOM : 46d74b96d237da02236c9313c077eac16278fa00 [2025-05-16T12:56:51.575Z] Completed [2025-05-16T12:56:51.575Z] --------------------------------------------- [2025-05-16T12:56:51.575Z] Setting Variables [2025-05-16T12:56:51.918Z] [2025-05-16T12:56:51.918Z] Make JDK Any Platform Argument List = [2025-05-16T12:56:51.918Z] --build-reproducible-date "2025-05-16 08:36: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.8_3-ea.zip --disable-shallow-git-clone -b jdk-21.0.8+3_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-16T12:56:51.918Z] [2025-05-16T12:56:51.918Z] Parameters Parsed Successfully [2025-05-16T12:56:51.918Z] --------------------------------------------- [2025-05-16T12:56:51.918Z] Building JDK... [2025-05-16T14:39:16.289Z] --------------------------------------------- [2025-05-16T14:39:16.289Z] Comparing JDKs [2025-05-16T14:39:16.289Z] Unzip Source [2025-05-16T14:39:17.008Z] Unzip Target [2025-05-16T14:39:36.151Z] 14:39:33 : Pre-processing /cygdrive/c/comp-jdk-build/compare/src_jdk [2025-05-16T14:39:36.151Z] 14:39:33 : Expanding various components to enable comparisons /cygdrive/c/comp-jdk-build/compare/src_jdk (original files will be removed): [2025-05-16T14:39:36.151Z] 14:39:36 : Using 'jimage extract' to expand lib/modules image into lib/modules_extracted [2025-05-16T14:41:44.611Z] 14:41:33 : Unzipping lib/src.zip to normalize file permissions, then removing src.zip [2025-05-16T14:42:17.969Z] 14:42:14 : Using 'jmod extract' to expand all jmods to jmods/expanded_ directories [2025-05-16T14:44:56.531Z] 14:44:42 : Expanding lib/jrt-fs.jar to lib/jrt-fs-exanded to remove signatures from within.. [2025-05-16T14:44:56.531Z] 14:44:42 : Expanding lib/ct.sym to workaround zip timestamp differences (https://bugs.openjdk.org/browse/JDK-8327466) [2025-05-16T14:46:34.602Z] 14:46:23 : Removing all signatures from exe and dll files in /cygdrive/c/comp-jdk-build/compare/src_jdk [2025-05-16T14:46:50.457Z] Generating temp signatures with openssl and adding them to exe/dll files in /cygdrive/c/comp-jdk-build/compare/src_jdk [2025-05-16T14:46:52.181Z] ......+...+...+......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.......+.........+...........+...+.+.....+.+..............+....+...+........+....+..+......+.........+..........+...+...+............+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*........+...+.......+...+..+......+.......+..+.+.........+...+.....+......+.........+.......+.....+.+.........+......+.................+......+...............+....+......+...........+....+..............+......+....+......+.....+.......+...+......+...+...+..+.............+...+.....+.......+..+...+...........................+.............+...+.....+.+........+......+......+..........+...........+...................+...+..................+..+...+...+.+......+..............+...+......+....+..+.+.....+.......+....................+.......+.....+...+...+..........+..+.+..+....+.........+...........+..........+........+...+.........+.............+......+.........+..+...+...+..........+.........+...+.................+...+.+............+..+................+..+.............+..............+..........+...+..+.+.........+...........+..........+..+............+.............+...+..+.........+.+...+.........+..+...+.+.....+.......+........+.......+..+......................+....................+.+.................+...+..................+.+......+........+.+...............+........+...+...+....+.....+.............+.................+..........+........+............+.+.....+.+........+.+......+..................+........+.............+...........+.+...+........................+.................+..................+.+.....................+..................+..+...+...+.........+.............+........+...+.......+..+.........................+........+...+......+.........+....+......+..+...............+.......+......+......+.....+....+.................+....+.....+...+......+.+.....................+..+.......+.........+..+...........................+.......+.....+.+.........+.....+...+...+.......+...+...+..+...+....+..+...+..........+...............+...+............+...........+..........+...........+.+.....+...+.+...+..+.........+....+...+..+.......+.....+....+............+..+.+..+....+.....+..................+...+.........+.........+....+..+.............+............+...+.....+...+.......+.....................+...........+...+..........+.....+...+....+...........+.........+......+....+.....+...+...+....+......+........+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [2025-05-16T14:46:52.523Z] ..+..+.+..+...+....+..+.+........+......+.+.....+...+......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.+.........+............+...+.....+............+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.......+....................................+..+.+..............+...+......................+..+......+............+.......+........................+......+......+..+.+............+............+..+.+..+......+...................+........+............+.+..+.......+...+..+......+......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [2025-05-16T14:46:52.524Z] ----- [2025-05-16T14:48:01.745Z] 14:47:50 : Removing all signatures from exe and dll files in /cygdrive/c/comp-jdk-build/compare/src_jdk [2025-05-16T14:48:24.784Z] Removing jrt-fs.jar MANIFEST.MF BootJDK vendor string lines [2025-05-16T14:48:24.784Z] 14:48:24 : Pre-processing of /cygdrive/c/comp-jdk-build/compare/src_jdk SUCCESSFUL :-) [2025-05-16T14:48:24.784Z] [2025-05-16T14:48:24.784Z] Cleaning any Temurin build-scripts release file BUILD_INFO from /cygdrive/c/comp-jdk-build/compare/src_jdk [2025-05-16T14:49:22.448Z] 14:49:21 : Successfully removed all SystemModules jdk.jpackage hash differences from /cygdrive/c/comp-jdk-build/compare/src_jdk [2025-05-16T14:49:22.448Z] 14:49:21 : Process Module Info from /cygdrive/c/comp-jdk-build/compare/src_jdk [2025-05-16T14:49:22.448Z] 14:49:21 : Normalizing ModuleAttributes order in module-info.class, converting to javap [2025-05-16T14:51:30.719Z] 14:51:26 : Pre-processing /cygdrive/c/comp-jdk-build/compare/tar_jdk [2025-05-16T14:51:30.719Z] 14:51:26 : Expanding various components to enable comparisons /cygdrive/c/comp-jdk-build/compare/tar_jdk (original files will be removed): [2025-05-16T14:51:32.985Z] 14:51:32 : Using 'jimage extract' to expand lib/modules image into lib/modules_extracted [2025-05-16T14:53:26.398Z] 14:53:24 : Unzipping lib/src.zip to normalize file permissions, then removing src.zip [2025-05-16T14:54:06.462Z] 14:54:04 : Using 'jmod extract' to expand all jmods to jmods/expanded_ directories [2025-05-16T14:56:29.988Z] 14:56:29 : Expanding lib/jrt-fs.jar to lib/jrt-fs-exanded to remove signatures from within.. [2025-05-16T14:56:30.333Z] 14:56:30 : Expanding lib/ct.sym to workaround zip timestamp differences (https://bugs.openjdk.org/browse/JDK-8327466) [2025-05-16T14:58:23.554Z] 14:58:09 : Removing all signatures from exe and dll files in /cygdrive/c/comp-jdk-build/compare/tar_jdk [2025-05-16T14:58:36.660Z] Generating temp signatures with openssl and adding them to exe/dll files in /cygdrive/c/comp-jdk-build/compare/tar_jdk [2025-05-16T14:58:36.660Z] .....+.........+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*................+.......+.....+.............+.....+...+.........+.......+...............+...+..+.+........+....+.................+......+....+........+.+......+...........+...+....+..+..........+......+...+..+....+........+.......+...+...+........+....+.....................+......+........+............+.........+..........+.....+.+......+.....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [2025-05-16T14:58:36.660Z] ..........+.+........+.+...+........+..........+.....+.......+........+....+.........+......+...+........+.......+.....+.......+......+........+.+.....+...............+......+...+.......+..+...+.........+....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*............+..+......+....+...........+....+...........+...+.........+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*...+...+.....+.........+......................+......+...+..............+...............+..................+....+.....+.+.........+........+.+..............+...+....+......+.....+......................+..+...+......+.+.........+..........................+....+..+....+..................+..+.+........+....+..+...+.......+...+........+.......+.....+...+.......+............+.........+..+.........+.+............+..+....+...........+.............+...............+........+.......+..+.+.........+......+........+....+........+....+.........+...........+......+.............+..+.......+......+.....+..........+.....+.+...........+.........+......+....+.........+...............+..+.........+......+...+.+...+.....+.......+..............+.......+.........+...+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [2025-05-16T14:58:36.660Z] ----- [2025-05-16T14:59:34.328Z] 14:59:28 : Removing all signatures from exe and dll files in /cygdrive/c/comp-jdk-build/compare/tar_jdk [2025-05-16T15:00:07.626Z] Removing jrt-fs.jar MANIFEST.MF BootJDK vendor string lines [2025-05-16T15:00:07.626Z] 15:00:04 : Pre-processing of /cygdrive/c/comp-jdk-build/compare/tar_jdk SUCCESSFUL :-) [2025-05-16T15:00:07.626Z] [2025-05-16T15:00:07.626Z] Cleaning any Temurin build-scripts release file BUILD_INFO from /cygdrive/c/comp-jdk-build/compare/tar_jdk [2025-05-16T15:01:05.274Z] 15:01:01 : Successfully removed all SystemModules jdk.jpackage hash differences from /cygdrive/c/comp-jdk-build/compare/tar_jdk [2025-05-16T15:01:05.274Z] 15:01:01 : Process Module Info from /cygdrive/c/comp-jdk-build/compare/tar_jdk [2025-05-16T15:01:05.274Z] 15:01:01 : Normalizing ModuleAttributes order in module-info.class, converting to javap [2025-05-16T15:03:13.537Z] Number of files: 108894 [2025-05-16T15:03:13.537Z] 15:03:08 : Comparing expanded JDKs from /cygdrive/c/comp-jdk-build/compare/src_jdk with /cygdrive/c/comp-jdk-build/compare/tar_jdk ... [2025-05-16T15:14:39.680Z] 15:14:26 : diff complete - rc=0. Output written to file: reprotest.diff [2025-05-16T15:14:39.680Z] Number of differences: 0 [2025-05-16T15:14:39.680Z] ReproduciblePercent = 100 % [2025-05-16T15:14:39.680Z] [2025-05-16T15:14:39.680Z] --------------------------------------------- [2025-05-16T15:14:39.680Z] Output From JDK Comparison Script [2025-05-16T15:14:39.680Z] --------------------------------------------- [2025-05-16T15:14:39.680Z] [2025-05-16T15:14:39.680Z] --------------------------------------------- [2025-05-16T15:14:39.680Z] Copying Output To C:/jenkins/workspace/Test_openjdk21_hs_special.system_x86-64_windows_testList_0/aqa-tests/\TKG\output_17474001897276\Rebuild_Same_JDK_Reproducibility_Test_win_0 [2025-05-16T15:14:39.680Z] --------------------------------------------- [2025-05-16T15:16:32.844Z] ----------------------------------- [2025-05-16T15:16:32.844Z] Rebuild_Same_JDK_Reproducibility_Test_win_0_PASSED [2025-05-16T15:16:32.844Z] ----------------------------------- [2025-05-16T15:16:32.844Z] [2025-05-16T15:16:32.844Z] TEST TEARDOWN: [2025-05-16T15:16:32.844Z] Nothing to be done for teardown. [2025-05-16T15:16:32.844Z] Rebuild_Same_JDK_Reproducibility_Test_win_0 Finish Time: Fri May 16 15:16:21 2025 Epoch Time (ms): 1747408581198