Rebuild_Same_JDK_Reproducibility_Test_win_0

[2025-05-18T12:38:11.241Z] Running test Rebuild_Same_JDK_Reproducibility_Test_win_0 ... [2025-05-18T12:38:11.242Z] =============================================== [2025-05-18T12:38:11.544Z] Rebuild_Same_JDK_Reproducibility_Test_win_0 Start Time: Sun May 18 12:38:11 2025 Epoch Time (ms): 1747571891286 [2025-05-18T12:38:11.544Z] variation: NoOptions [2025-05-18T12:38:11.866Z] JVM_OPTIONS: [2025-05-18T12:38:11.866Z] { \ [2025-05-18T12:38:11.866Z] echo ""; echo "TEST SETUP:"; \ [2025-05-18T12:38:11.866Z] echo "Nothing to be done for setup."; \ [2025-05-18T12:38:11.866Z] mkdir -p "C:/jenkins/workspace/Test_openjdk21_hs_special.system_x86-64_windows_testList_0/aqa-tests/\\TKG\\output_17475718883828\\Rebuild_Same_JDK_Reproducibility_Test_win_0"; \ [2025-05-18T12:38:11.866Z] cd "C:/jenkins/workspace/Test_openjdk21_hs_special.system_x86-64_windows_testList_0/aqa-tests/\\TKG\\output_17475718883828\\Rebuild_Same_JDK_Reproducibility_Test_win_0"; \ [2025-05-18T12:38:11.866Z] echo ""; echo "TESTING:"; \ [2025-05-18T12:38:11.866Z] unset SPEC;\ [2025-05-18T12:38:11.866Z] 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_17475718883828\\Rebuild_Same_JDK_Reproducibility_Test_win_0"; \ [2025-05-18T12:38:11.866Z] 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_17475718883828\\Rebuild_Same_JDK_Reproducibility_Test_win_0"; else echo "-----------------------------------"; echo "Rebuild_Same_JDK_Reproducibility_Test_win_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-05-18T12:38:11.866Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-05-18T12:38:11.866Z] echo "Nothing to be done for teardown."; \ [2025-05-18T12:38:11.866Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk21_hs_special.system_x86-64_windows_testList_0/aqa-tests/\\TKG\\output_17475718883828\\TestTargetResult"; [2025-05-18T12:38:11.866Z] [2025-05-18T12:38:11.866Z] TEST SETUP: [2025-05-18T12:38:11.866Z] Nothing to be done for setup. [2025-05-18T12:38:11.866Z] [2025-05-18T12:38:11.866Z] TESTING: [2025-05-18T12:38:11.866Z] --------------------------------------------- [2025-05-18T12:38:11.866Z] Begining Reproducible Windows Build From SBOM [2025-05-18T12:38:11.866Z] --------------------------------------------- [2025-05-18T12:38:11.866Z] Checking Environment And Parameters [2025-05-18T12:38:11.866Z] --------------------------------------------- [2025-05-18T12:38:11.866Z] Checking If Working Directory: /cygdrive/c/comp-jdk-build Exists [2025-05-18T12:38:11.866Z] Folder Exists - Removing '/cygdrive/c/comp-jdk-build' [2025-05-18T12:38:11.866Z] Creating /cygdrive/c/comp-jdk-build [2025-05-18T12:38:11.866Z] --------------------------------------------- [2025-05-18T12:38:11.866Z] SBOM is Local [2025-05-18T12:38:11.866Z] JDK is Local [2025-05-18T12:38:12.183Z] --------------------------------------------- [2025-05-18T12:38:12.183Z] --------------------------------------------- [2025-05-18T12:38:12.183Z] Reading The SBOM Content & Validating The Structure.. [2025-05-18T12:38:12.183Z] [2025-05-18T12:38:12.839Z] SBOM Is Structurally Sound.. Extracting Values: [2025-05-18T12:38:12.839Z] [2025-05-18T12:38:13.510Z] MSVS Windows Compiler Version: microsoft (Microsoft Visual Studio 2022) [2025-05-18T12:38:13.510Z] MSVS C Compiler Version: 19.37.32822 [2025-05-18T12:38:13.510Z] MSVS C++ Compiler Version: 19.37.32822 [2025-05-18T12:38:13.510Z] MS Windows SDK Version: 10.0.26100.1742 (WinBuild.160101.0800) [2025-05-18T12:38:13.510Z] Boot JDK Version: 20.0.2+9 [2025-05-18T12:38:13.510Z] Build Arch: x86_64 [2025-05-18T12:38:13.510Z] Temurin Build SHA: 46d74b96d237da02236c9313c077eac16278fa00 [2025-05-18T12:38:13.510Z] Temurin Build Stamp: 2025-05-17 04:16:36 [2025-05-18T12:38:13.510Z] Temurin Build Version: 21.0.8-beta+3-ea [2025-05-18T12:38:13.510Z] 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-18T12:38:13.510Z] [2025-05-18T12:38:13.510Z] --------------------------------------------- [2025-05-18T12:38:13.511Z] System Architecture: 64-bit (Intel) [2025-05-18T12:38:13.511Z] SBOM & SYSTEM Architectures Match - All OK [2025-05-18T12:38:13.511Z] --------------------------------------------- [2025-05-18T12:38:13.511Z] Checking Visual Studio Version Retrieved From SBOM : microsoft (Microsoft Visual Studio 2022) [2025-05-18T12:38:13.511Z] Visual Studio Version: 2022 [2025-05-18T12:38:13.511Z] Visual Studio Base Path = /cygdrive/c/Program Files/Microsoft Visual Studio/2022 [2025-05-18T12:38:13.511Z] [2025-05-18T12:38:13.511Z] Checking For C & C++ VS Compilers In : /cygdrive/c/Program Files/Microsoft Visual Studio/2022/ [2025-05-18T12:38:20.535Z] 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-18T12:38:20.535Z] 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-18T12:38:20.535Z] --------------------------------------------- [2025-05-18T12:38:20.535Z] All Validation Checks Passed - Proceeding To Build [2025-05-18T12:38:20.535Z] --------------------------------------------- [2025-05-18T12:38:20.535Z] Ant Version: 1.10.X Already Installed [2025-05-18T12:38:20.535Z] [2025-05-18T12:38:20.535Z] Checking For Installation Of Ant Contrib Version 1.0b3 [2025-05-18T12:38:20.535Z] Ant Contrib Version: 1.0b3 Is Already Installed [2025-05-18T12:38:20.535Z] --------------------------------------------- [2025-05-18T12:38:20.535Z] Checking The Boot JDK Version From The SBOM Exists : 20.0.2+9 [2025-05-18T12:38:20.535Z] /cygdrive/c/comp-jdk-build/jdk-20.0.2+9 Doesnt Exist - Installing [2025-05-18T12:38:20.535Z] Retrieving boot JDK 20.0.2+9 [2025-05-18T12:38:20.535Z] https://api.adoptium.net/v3/binary/version/jdk-20.0.2+9/windows/x64/jdk/hotspot/normal/eclipse?project=jdk [2025-05-18T12:38:20.535Z] Downloading & Extracting.. Boot JDK Version : 20.0.2+9 [2025-05-18T12:38:29.184Z] --------------------------------------------- [2025-05-18T12:38:29.184Z] Git is installed. Proceeding with the script. [2025-05-18T12:38:29.184Z] Cloning Temurin Build Repository [2025-05-18T12:38:29.184Z] [2025-05-18T12:38:31.330Z] Switching To Build SHA From SBOM : 46d74b96d237da02236c9313c077eac16278fa00 [2025-05-18T12:38:32.416Z] Completed [2025-05-18T12:38:32.416Z] --------------------------------------------- [2025-05-18T12:38:32.416Z] Setting Variables [2025-05-18T12:38:32.737Z] [2025-05-18T12:38:32.737Z] Make JDK Any Platform Argument List = [2025-05-18T12:38:32.737Z] --build-reproducible-date "2025-05-17 04:16:36" --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-18T12:38:32.737Z] [2025-05-18T12:38:32.737Z] Parameters Parsed Successfully [2025-05-18T12:38:32.737Z] --------------------------------------------- [2025-05-18T12:38:32.737Z] Building JDK... [2025-05-18T14:03:58.847Z] --------------------------------------------- [2025-05-18T14:03:58.847Z] Comparing JDKs [2025-05-18T14:03:58.847Z] Unzip Source [2025-05-18T14:04:00.992Z] Unzip Target [2025-05-18T14:04:16.533Z] 14:04:16 : Pre-processing /cygdrive/c/comp-jdk-build/compare/src_jdk [2025-05-18T14:04:16.533Z] 14:04:16 : Expanding various components to enable comparisons /cygdrive/c/comp-jdk-build/compare/src_jdk (original files will be removed): [2025-05-18T14:04:18.708Z] 14:04:18 : Using 'jimage extract' to expand lib/modules image into lib/modules_extracted [2025-05-18T14:06:11.459Z] 14:06:05 : Unzipping lib/src.zip to normalize file permissions, then removing src.zip [2025-05-18T14:06:44.359Z] 14:06:40 : Using 'jmod extract' to expand all jmods to jmods/expanded_ directories [2025-05-18T14:09:07.279Z] 14:08:52 : Expanding lib/jrt-fs.jar to lib/jrt-fs-exanded to remove signatures from within.. [2025-05-18T14:09:07.279Z] 14:08:52 : Expanding lib/ct.sym to workaround zip timestamp differences (https://bugs.openjdk.org/browse/JDK-8327466) [2025-05-18T14:10:15.962Z] 14:10:12 : Removing all signatures from exe and dll files in /cygdrive/c/comp-jdk-build/compare/src_jdk [2025-05-18T14:10:38.625Z] Generating temp signatures with openssl and adding them to exe/dll files in /cygdrive/c/comp-jdk-build/compare/src_jdk [2025-05-18T14:10:38.625Z] ....+.........+........+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.+...+.................+.+.....+....+...+...+.....+.........+....+..+.........+..........+.........+..+...+......................+...+......+.........+.........+............+...+........+..........+...+..+.......+..+....+............+.....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [2025-05-18T14:10:38.625Z] .+.........+.....+.+............+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.+...+..............+.............+...+..+.......+...+...+..+.......+..+...+......+.......+...+.....+.......+..+............+.+...+..+...+......+...+.............+............+..+.+.........+...+.....+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*............+...+.+......+...........+....+.....+...............+.............+........+.........+.+...+.....................+.....+.........+....+.....+.............+..+.+.....+............+.......+..+.+..+...+.........+......+...................+..................+.....+.+..+...+.+..............+......+....+..+.......+...+.....+...+......+.+...+.....+.....................................+..+...+.........+...+............+........................+...............+......+.+.........+...+......+..+...+....+......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [2025-05-18T14:10:38.625Z] ----- [2025-05-18T14:11:35.802Z] 14:11:32 : Removing all signatures from exe and dll files in /cygdrive/c/comp-jdk-build/compare/src_jdk [2025-05-18T14:12:08.695Z] Removing jrt-fs.jar MANIFEST.MF BootJDK vendor string lines [2025-05-18T14:12:08.695Z] 14:12:05 : Pre-processing of /cygdrive/c/comp-jdk-build/compare/src_jdk SUCCESSFUL :-) [2025-05-18T14:12:08.695Z] [2025-05-18T14:12:08.695Z] Cleaning any Temurin build-scripts release file BUILD_INFO from /cygdrive/c/comp-jdk-build/compare/src_jdk [2025-05-18T14:13:05.882Z] 14:13:03 : Successfully removed all SystemModules jdk.jpackage hash differences from /cygdrive/c/comp-jdk-build/compare/src_jdk [2025-05-18T14:13:05.882Z] 14:13:03 : Process Module Info from /cygdrive/c/comp-jdk-build/compare/src_jdk [2025-05-18T14:13:05.882Z] 14:13:03 : Normalizing ModuleAttributes order in module-info.class, converting to javap [2025-05-18T14:15:13.542Z] 14:15:00 : Pre-processing /cygdrive/c/comp-jdk-build/compare/tar_jdk [2025-05-18T14:15:13.542Z] 14:15:00 : Expanding various components to enable comparisons /cygdrive/c/comp-jdk-build/compare/tar_jdk (original files will be removed): [2025-05-18T14:15:13.543Z] 14:15:05 : Using 'jimage extract' to expand lib/modules image into lib/modules_extracted [2025-05-18T14:17:06.300Z] 14:16:53 : Unzipping lib/src.zip to normalize file permissions, then removing src.zip [2025-05-18T14:17:33.624Z] 14:17:29 : Using 'jmod extract' to expand all jmods to jmods/expanded_ directories [2025-05-18T14:19:56.466Z] 14:19:43 : Expanding lib/jrt-fs.jar to lib/jrt-fs-exanded to remove signatures from within.. [2025-05-18T14:19:56.466Z] 14:19:43 : Expanding lib/ct.sym to workaround zip timestamp differences (https://bugs.openjdk.org/browse/JDK-8327466) [2025-05-18T14:21:05.170Z] 14:21:02 : Removing all signatures from exe and dll files in /cygdrive/c/comp-jdk-build/compare/tar_jdk [2025-05-18T14:21:27.842Z] Generating temp signatures with openssl and adding them to exe/dll files in /cygdrive/c/comp-jdk-build/compare/tar_jdk [2025-05-18T14:21:27.842Z] ....+.....+....+......+......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.....+....+......+..+...+...+.........+.+.....+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.........+....+..............+..........+...........+.......+........+.+......+...+.....+......+....+.....+....+...+.........+...+..+.........+.........+.+..+....+...........+............+......+....+..+.........+.+.....+.+.................+......+.+..............+....+..+......+.......+...........+.......+.........+......+..+.+.....+.+......+..+.+..............................+.................+...............+...+.+...+...+..+.......+.....+.+..+.+...............+........................+.....................+..+...............+.............+..+.......+.....+.......+.....+.+...+..+....+......+.........+......+........+.........+.+...............+..+...+.+...+.....+.+.....+.......+..+.....................+................+.....+.............+......+..+.........+......+...+....+............+......+.......................+......+......+...+....+..+.............+..+....+...........+...+.............+..+.......+.............................+.......+.....+...+.+......+.....+..........+.................+................+.....+......+...+................+......+.....+...+.............+...+...............+....................+................+........+.......+...............+......+..+..................+...+..........+..+......................+........+....+...............+.....+....+.....+.+...+...........+.+...+...+........+....+.....+...+....+........+......+.+........................+.....+..........+........................+......+..+..........+..+............+...+...+.......+......+...........+.........+.........+.......+...+.....+......+......+...................+..............+......+....+.....+..........+...+..+......+.+...........+.......+..+.+.....+.............+..+...............+.......+..+......+...+.+........+...+.......+.....+...........................+................+...+.........+...+.................+...+...............+....+.....+....+.....+.+......+.....+....+.....+......+...+............+.........+....+.........+......+..............+.+.....+..............................+......+.+.........+...+....................+..........+........+......................+............+.........+.....+.+...+..+.+.....+....+.....+.+.................+.+......+...+..+....+........................+...+..+......+..........+......+.....+...+...+.......+...........+..........+..+.........+....+..+....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [2025-05-18T14:21:28.800Z] .......+...+...+.........+...+.......+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*...+.........+.....+......+...+.............+...+..+...+.+........+..........+...............+...+..+..........+...........+.+........+......+.........+.............+.....+...+.+...+..+...+...+....+......+...+.....+......+...+...+....+.........+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..+...........+................+..+...............+.+.....+.+.....+....+.....+.+...........+..........+............+...+.........+...+........+...+....+........+..........+.........+......+...+..............+...+..................+....+..+..........+........+......+.......+.................+.+.....+.+.........+.................+.......+......+..+...+.......+...+.........+.....+.......+.............................+......+....+.........+..+.+.........+...+..+.+........+....+........+.......+.....+.+............+........+....+.....+.+...........+.+..+..........+............+.....+.+...+...........+...+.......+........+................+..+...+......+................+..+.....................+....+..+....+.........+.....+.+...............+............+...+..+....+........+.......+...........+....+...........+.............+.................+.......+......+............+.....+.......+..+.+...+.....+............+.......+...+....................+..........+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [2025-05-18T14:21:28.800Z] ----- [2025-05-18T14:22:25.959Z] 14:22:16 : Removing all signatures from exe and dll files in /cygdrive/c/comp-jdk-build/compare/tar_jdk [2025-05-18T14:22:48.621Z] Removing jrt-fs.jar MANIFEST.MF BootJDK vendor string lines [2025-05-18T14:22:48.621Z] 14:22:48 : Pre-processing of /cygdrive/c/comp-jdk-build/compare/tar_jdk SUCCESSFUL :-) [2025-05-18T14:22:48.621Z] [2025-05-18T14:22:48.621Z] Cleaning any Temurin build-scripts release file BUILD_INFO from /cygdrive/c/comp-jdk-build/compare/tar_jdk [2025-05-18T14:23:45.834Z] 14:23:44 : Successfully removed all SystemModules jdk.jpackage hash differences from /cygdrive/c/comp-jdk-build/compare/tar_jdk [2025-05-18T14:23:45.834Z] 14:23:44 : Process Module Info from /cygdrive/c/comp-jdk-build/compare/tar_jdk [2025-05-18T14:23:45.834Z] 14:23:44 : Normalizing ModuleAttributes order in module-info.class, converting to javap [2025-05-18T14:25:53.493Z] Number of files: 108894 [2025-05-18T14:25:53.493Z] 14:25:49 : Comparing expanded JDKs from /cygdrive/c/comp-jdk-build/compare/src_jdk with /cygdrive/c/comp-jdk-build/compare/tar_jdk ... [2025-05-18T14:35:47.861Z] 14:35:37 : diff complete - rc=0. Output written to file: reprotest.diff [2025-05-18T14:35:47.861Z] Number of differences: 0 [2025-05-18T14:35:47.861Z] ReproduciblePercent = 100 % [2025-05-18T14:35:47.861Z] [2025-05-18T14:35:47.861Z] --------------------------------------------- [2025-05-18T14:35:47.861Z] Output From JDK Comparison Script [2025-05-18T14:35:47.861Z] --------------------------------------------- [2025-05-18T14:35:47.861Z] [2025-05-18T14:35:47.861Z] --------------------------------------------- [2025-05-18T14:35:47.861Z] Copying Output To C:/jenkins/workspace/Test_openjdk21_hs_special.system_x86-64_windows_testList_0/aqa-tests/\TKG\output_17475718883828\Rebuild_Same_JDK_Reproducibility_Test_win_0 [2025-05-18T14:35:47.861Z] --------------------------------------------- [2025-05-18T14:37:25.437Z] ----------------------------------- [2025-05-18T14:37:25.437Z] Rebuild_Same_JDK_Reproducibility_Test_win_0_PASSED [2025-05-18T14:37:25.437Z] ----------------------------------- [2025-05-18T14:37:25.437Z] [2025-05-18T14:37:25.437Z] TEST TEARDOWN: [2025-05-18T14:37:25.437Z] Nothing to be done for teardown. [2025-05-18T14:37:25.437Z] Rebuild_Same_JDK_Reproducibility_Test_win_0 Finish Time: Sun May 18 14:37:12 2025 Epoch Time (ms): 1747579032735