Skip to content

Windows image build is not working #10

@NachoBrito

Description

@NachoBrito

Example executionlogs:

2025-01-03T08:08:08.9139852Z Current runner version: '2.321.0'
2025-01-03T08:08:08.9162567Z ##[group]Operating System
2025-01-03T08:08:08.9163326Z Microsoft Windows Server 2022
2025-01-03T08:08:08.9163883Z 10.0.20348
2025-01-03T08:08:08.9164316Z Datacenter
2025-01-03T08:08:08.9164758Z ##[endgroup]
2025-01-03T08:08:08.9165228Z ##[group]Runner Image
2025-01-03T08:08:08.9165707Z Image: windows-2022
2025-01-03T08:08:08.9166153Z Version: 20241215.1.0
2025-01-03T08:08:08.9167085Z Included Software: https://github.com/actions/runner-images/blob/win22/20241215.1/images/windows/Windows2022-Readme.md
2025-01-03T08:08:08.9168369Z Image Release: https://github.com/actions/runner-images/releases/tag/win22%2F20241215.1
2025-01-03T08:08:08.9169148Z ##[endgroup]
2025-01-03T08:08:08.9169607Z ##[group]Runner Image Provisioner
2025-01-03T08:08:08.9170122Z 2.0.404.1
2025-01-03T08:08:08.9170513Z ##[endgroup]
2025-01-03T08:08:08.9172607Z ##[group]GITHUB_TOKEN Permissions
2025-01-03T08:08:08.9174748Z Actions: write
2025-01-03T08:08:08.9175339Z Attestations: write
2025-01-03T08:08:08.9175811Z Checks: write
2025-01-03T08:08:08.9176239Z Contents: write
2025-01-03T08:08:08.9176674Z Deployments: write
2025-01-03T08:08:08.9177104Z Discussions: write
2025-01-03T08:08:08.9177552Z Issues: write
2025-01-03T08:08:08.9177975Z Metadata: read
2025-01-03T08:08:08.9178380Z Packages: write
2025-01-03T08:08:08.9178824Z Pages: write
2025-01-03T08:08:08.9179249Z PullRequests: write
2025-01-03T08:08:08.9179690Z RepositoryProjects: write
2025-01-03T08:08:08.9180212Z SecurityEvents: write
2025-01-03T08:08:08.9180666Z Statuses: write
2025-01-03T08:08:08.9181076Z ##[endgroup]
2025-01-03T08:08:08.9183748Z Secret source: Actions
2025-01-03T08:08:08.9184375Z Prepare workflow directory
2025-01-03T08:08:08.9468738Z Prepare all required actions
2025-01-03T08:08:08.9520527Z Getting action download info
2025-01-03T08:08:09.0882216Z Download action repository 'actions/checkout@v4' (SHA:11bd71901bbe5b1630ceea73d27597364c9af683)
2025-01-03T08:08:09.8983642Z Download action repository 'graalvm/setup-graalvm@v1' (SHA:4a200f28cd70d1940b5e33bd00830b7dc71a7e2b)
2025-01-03T08:08:10.6050376Z Complete job name: HelloWorld on windows-latest
2025-01-03T08:08:10.7035049Z ##[group]Run echo "REPO_NAME=$(basename NachoBrito/json-schema-compiler)" >> $GITHUB_ENV
2025-01-03T08:08:10.7036220Z �[36;1mecho "REPO_NAME=$(basename NachoBrito/json-schema-compiler)" >> $GITHUB_ENV�[0m
2025-01-03T08:08:10.7075841Z shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
2025-01-03T08:08:10.7076740Z ##[endgroup]
2025-01-03T08:08:13.2524781Z ##[group]Run actions/checkout@v4
2025-01-03T08:08:13.2525941Z with:
2025-01-03T08:08:13.2526815Z   repository: NachoBrito/json-schema-compiler
2025-01-03T08:08:13.2528281Z   token: ***
2025-01-03T08:08:13.2529081Z   ssh-strict: true
2025-01-03T08:08:13.2529920Z   ssh-user: git
2025-01-03T08:08:13.2530772Z   persist-credentials: true
2025-01-03T08:08:13.2531734Z   clean: true
2025-01-03T08:08:13.2532579Z   sparse-checkout-cone-mode: true
2025-01-03T08:08:13.2533644Z   fetch-depth: 1
2025-01-03T08:08:13.2534471Z   fetch-tags: false
2025-01-03T08:08:13.2535330Z   show-progress: true
2025-01-03T08:08:13.2536183Z   lfs: false
2025-01-03T08:08:13.2536966Z   submodules: false
2025-01-03T08:08:13.2537838Z   set-safe-directory: true
2025-01-03T08:08:13.2538771Z ##[endgroup]
2025-01-03T08:08:13.8026443Z Syncing repository: NachoBrito/json-schema-compiler
2025-01-03T08:08:13.8027841Z ##[group]Getting Git version info
2025-01-03T08:08:13.8028359Z Working directory is 'D:\a\json-schema-compiler\json-schema-compiler'
2025-01-03T08:08:14.0194589Z [command]"C:\Program Files\Git\bin\git.exe" version
2025-01-03T08:08:14.1403109Z git version 2.47.1.windows.1
2025-01-03T08:08:14.1417024Z ##[endgroup]
2025-01-03T08:08:14.1439677Z Temporarily overriding HOME='D:\a\_temp\95da0f8a-a7f9-4570-8a7b-0bc621cf4b6b' before making global git config changes
2025-01-03T08:08:14.1440610Z Adding repository directory to the temporary git global config as a safe directory
2025-01-03T08:08:14.1451446Z [command]"C:\Program Files\Git\bin\git.exe" config --global --add safe.directory D:\a\json-schema-compiler\json-schema-compiler
2025-01-03T08:08:14.2186079Z Deleting the contents of 'D:\a\json-schema-compiler\json-schema-compiler'
2025-01-03T08:08:14.2191837Z ##[group]Initializing the repository
2025-01-03T08:08:14.2202615Z [command]"C:\Program Files\Git\bin\git.exe" init D:\a\json-schema-compiler\json-schema-compiler
2025-01-03T08:08:14.3087749Z Initialized empty Git repository in D:/a/json-schema-compiler/json-schema-compiler/.git/
2025-01-03T08:08:14.3129096Z [command]"C:\Program Files\Git\bin\git.exe" remote add origin https://github.com/NachoBrito/json-schema-compiler
2025-01-03T08:08:14.3650614Z ##[endgroup]
2025-01-03T08:08:14.3651345Z ##[group]Disabling automatic garbage collection
2025-01-03T08:08:14.3660996Z [command]"C:\Program Files\Git\bin\git.exe" config --local gc.auto 0
2025-01-03T08:08:14.3890083Z ##[endgroup]
2025-01-03T08:08:14.3890523Z ##[group]Setting up auth
2025-01-03T08:08:14.3905326Z [command]"C:\Program Files\Git\bin\git.exe" config --local --name-only --get-regexp core\.sshCommand
2025-01-03T08:08:14.4123372Z [command]"C:\Program Files\Git\bin\git.exe" submodule foreach --recursive "sh -c \"git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :\""
2025-01-03T08:08:15.8722370Z [command]"C:\Program Files\Git\bin\git.exe" config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2025-01-03T08:08:15.8940650Z [command]"C:\Program Files\Git\bin\git.exe" submodule foreach --recursive "sh -c \"git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :\""
2025-01-03T08:08:16.2852551Z [command]"C:\Program Files\Git\bin\git.exe" config --local http.https://github.com/.extraheader "AUTHORIZATION: basic ***"
2025-01-03T08:08:16.3074424Z ##[endgroup]
2025-01-03T08:08:16.3075125Z ##[group]Fetching the repository
2025-01-03T08:08:16.3088679Z [command]"C:\Program Files\Git\bin\git.exe" -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +95a9537e0d3cc70405fc8edbfd0c2b6e80a2483b:refs/remotes/origin/main
2025-01-03T08:08:27.7940108Z From https://github.com/NachoBrito/json-schema-compiler
2025-01-03T08:08:27.7940649Z  * [new ref]         95a9537e0d3cc70405fc8edbfd0c2b6e80a2483b -> origin/main
2025-01-03T08:08:27.8063409Z ##[endgroup]
2025-01-03T08:08:27.8065930Z ##[group]Determining the checkout info
2025-01-03T08:08:27.8067099Z ##[endgroup]
2025-01-03T08:08:27.8080750Z [command]"C:\Program Files\Git\bin\git.exe" sparse-checkout disable
2025-01-03T08:08:27.8483454Z [command]"C:\Program Files\Git\bin\git.exe" config --local --unset-all extensions.worktreeConfig
2025-01-03T08:08:27.8693850Z ##[group]Checking out the ref
2025-01-03T08:08:27.8701938Z [command]"C:\Program Files\Git\bin\git.exe" checkout --progress --force -B main refs/remotes/origin/main
2025-01-03T08:08:28.4732181Z branch 'main' set up to track 'origin/main'.
2025-01-03T08:08:28.4734738Z Switched to a new branch 'main'
2025-01-03T08:08:28.4814598Z ##[endgroup]
2025-01-03T08:08:28.5133574Z [command]"C:\Program Files\Git\bin\git.exe" log -1 --format=%H
2025-01-03T08:08:28.5325246Z 95a9537e0d3cc70405fc8edbfd0c2b6e80a2483b
2025-01-03T08:08:28.5615605Z ##[group]Run graalvm/setup-graalvm@v1
2025-01-03T08:08:28.5616002Z with:
2025-01-03T08:08:28.5616159Z   java-version: 23
2025-01-03T08:08:28.5616345Z   distribution: graalvm
2025-01-03T08:08:28.5616731Z   github-token: ***
2025-01-03T08:08:28.5616935Z   native-image-job-reports: true
2025-01-03T08:08:28.5617168Z   java-package: jdk
2025-01-03T08:08:28.5617342Z   set-java-home: true
2025-01-03T08:08:28.5617521Z   check-for-updates: true
2025-01-03T08:08:28.5617738Z   native-image-musl: false
2025-01-03T08:08:28.5617964Z   native-image-pr-reports: false
2025-01-03T08:08:28.5618232Z   native-image-pr-reports-update-existing: false
2025-01-03T08:08:28.5619151Z ##[endgroup]
2025-01-03T08:08:31.1299576Z [command]"C:\Program Files\PowerShell\7\pwsh.exe" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command "$ErrorActionPreference = 'Stop' ; try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ; try { [System.IO.Compression.ZipFile]::ExtractToDirectory('D:\a\_temp\05df8720-a8f4-4c00-aa6f-722f8822b317', 'D:\a\_temp\3f6ddd9f-59c7-4a84-88c5-bc07eed69f23', $true) } catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath 'D:\a\_temp\05df8720-a8f4-4c00-aa6f-722f8822b317' -DestinationPath 'D:\a\_temp\3f6ddd9f-59c7-4a84-88c5-bc07eed69f23' -Force } else { throw $_ } } ;"
2025-01-03T08:08:34.0097713Z Adding graalvm-jdk-23_windows-x64_bin 23 to tool-cache ...
2025-01-03T08:08:36.1775426Z ##[group]Successfully set up 'graalvm-jdk-23.0.1+11.1'
2025-01-03T08:08:36.1779341Z [command]C:\hostedtoolcache\windows\graalvm-jdk-23_windows-x64_bin\23.0.0\x64\graalvm-jdk-23.0.1+11.1\bin\java.exe --version
2025-01-03T08:08:36.3615383Z java 23.0.1 2024-10-15
2025-01-03T08:08:36.3617452Z Java(TM) SE Runtime Environment Oracle GraalVM 23.0.1+11.1 (build 23.0.1+11-jvmci-b01)
2025-01-03T08:08:36.3618076Z Java HotSpot(TM) 64-Bit Server VM Oracle GraalVM 23.0.1+11.1 (build 23.0.1+11-jvmci-b01, mixed mode, sharing)
2025-01-03T08:08:36.3833882Z ##[endgroup]
2025-01-03T08:08:36.4045626Z ##[group]Run git config --global user.email "[email protected]"
2025-01-03T08:08:36.4046193Z �[36;1mgit config --global user.email "[email protected]"�[0m
2025-01-03T08:08:36.4046612Z �[36;1mgit config --global user.name "Pipeline"�[0m
2025-01-03T08:08:36.4046949Z �[36;1m./create-image.sh windows-latest�[0m
2025-01-03T08:08:36.4080457Z shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
2025-01-03T08:08:36.4080776Z env:
2025-01-03T08:08:36.4081184Z   GRAALVM_HOME: C:\hostedtoolcache\windows\graalvm-jdk-23_windows-x64_bin\23.0.0\x64\graalvm-jdk-23.0.1+11.1
2025-01-03T08:08:36.4081839Z   JAVA_HOME: C:\hostedtoolcache\windows\graalvm-jdk-23_windows-x64_bin\23.0.0\x64\graalvm-jdk-23.0.1+11.1
2025-01-03T08:08:36.4082594Z   NATIVE_IMAGE_OPTIONS: -H:BuildOutputJSONFile=C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\native-image-build-output.json
2025-01-03T08:08:36.4083083Z ##[endgroup]
2025-01-03T08:08:37.9035138Z Post job cleanup.
2025-01-03T08:08:38.3593454Z ##[warning]Unable to find build output data to create a report. Are you sure this build job has used GraalVM Native Image?
2025-01-03T08:08:38.3874554Z Post job cleanup.
2025-01-03T08:08:38.5964188Z [command]"C:\Program Files\Git\bin\git.exe" version
2025-01-03T08:08:38.6169715Z git version 2.47.1.windows.1
2025-01-03T08:08:38.6229290Z Copying 'C:\Users\runneradmin\.gitconfig' to 'D:\a\_temp\7ca12515-163e-432d-8ea1-ae3e53f813fc\.gitconfig'
2025-01-03T08:08:38.6247283Z Temporarily overriding HOME='D:\a\_temp\7ca12515-163e-432d-8ea1-ae3e53f813fc' before making global git config changes
2025-01-03T08:08:38.6248512Z Adding repository directory to the temporary git global config as a safe directory
2025-01-03T08:08:38.6258621Z [command]"C:\Program Files\Git\bin\git.exe" config --global --add safe.directory D:\a\json-schema-compiler\json-schema-compiler
2025-01-03T08:08:38.6526874Z [command]"C:\Program Files\Git\bin\git.exe" config --local --name-only --get-regexp core\.sshCommand
2025-01-03T08:08:38.6786379Z [command]"C:\Program Files\Git\bin\git.exe" submodule foreach --recursive "sh -c \"git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :\""
2025-01-03T08:08:39.0951224Z [command]"C:\Program Files\Git\bin\git.exe" config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2025-01-03T08:08:39.1138079Z http.https://github.com/.extraheader
2025-01-03T08:08:39.1170908Z [command]"C:\Program Files\Git\bin\git.exe" config --local --unset-all http.https://github.com/.extraheader
2025-01-03T08:08:39.1447979Z [command]"C:\Program Files\Git\bin\git.exe" submodule foreach --recursive "sh -c \"git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :\""
2025-01-03T08:08:39.5440830Z Cleaning up orphan processes
2025-01-03T08:08:39.5634457Z Terminate orphan process: pid (2192) (OpenWith)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions