Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu 24.04 install hangs #60

Closed
adang1345 opened this issue Oct 9, 2024 · 5 comments
Closed

Ubuntu 24.04 install hangs #60

adang1345 opened this issue Oct 9, 2024 · 5 comments

Comments

@adang1345
Copy link

Starting October 8, 2024, a hang is occurring during installation of Ubuntu 24.04. The workflow at https://github.com/adang1345/delvewheel/actions/runs/11243666402/job/31260089471 shows that the job hung for about 6 hours before the job timed out and was killed. See the relevant part of the log below.

Run Vampire/setup-wsl@v3
Verify Windows Environment
Install Distribution
  C:\Windows\system32\wsl.exe --set-default-version 1
  The operation completed successfully.
  
  
  ::debug::isExplicit: 24.4.0
  Failure happened, retrying (Could not determine download URL (statusCode: 403 / statusMessage: Forbidden))
  "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\a37bdc63-027d-45de-9844-9f1e7cbddb46.zip', 'D:\a\_temp\f3eaa9e9-4692-4009-9881-ec4873d43b75', $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\a37bdc63-027d-45de-9844-9f1e7cbddb46.zip' -DestinationPath 'D:\a\_temp\f3eaa9e9-4692-4009-9881-ec4873d43b75' -Force } else { throw $_ } } ;"
  "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\f3eaa9e9-4692-4009-9881-ec4873d43b75\Ubuntu_2404.1.24.0_x64.appx.zip', 'D:\a\_temp\99f[18](https://github.com/adang1345/delvewheel/actions/runs/11243666402/job/31260089471#step:12:20)aca-e448-43c2-b567-36c9ac1efd07', $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\f3eaa9e9-4692-4009-9881-ec4873d43b75\Ubuntu_2404.1.24.0_x64.appx.zip' -DestinationPath 'D:\a\_temp\99f18aca-e448-43c2-b567-36c9ac1efd07' -Force } else { throw $_ } } ;"
  "C:\Program Files\Git\usr\bin\tar.exe" --posix -cf cache.tzst --exclude cache.tzst -P -C D:/a/delvewheel/delvewheel --files-from manifest.txt --force-local --use-compress-program "zstd -T0"
  Cache Size: ~344 MB (360346596 B)
  Cache saved successfully
  C:\hostedtoolcache\windows\Ubuntu\24.4.0\x64\ubuntu2404.exe install --root
  Error: The operation was canceled.

I tried re-running the job a few times and clearing the GitHub Actions cache, but the hang happens in the same place. The run succeeded on September 30 with https://github.com/adang1345/delvewheel/actions/runs/11110554652/job/30868514229.

@Vampire Vampire modified the milestone: Next Version Oct 17, 2024
@Vampire
Copy link
Owner

Vampire commented Oct 18, 2024

I don't think this has anything to do with this action actually.
The action calls ubuntu2404.exe install --root and that just hangs for you.
In the tests this works just fine as you can see at: https://github.com/Vampire/setup-wsl/actions/runs/11395517336/job/31707926655#step:3:21

@kirb
Copy link

kirb commented Oct 18, 2024

We also experienced this in the following run: https://github.com/LegacyUpdate/LegacyUpdate/actions/runs/11144039923/job/30972218098

We're currently working on some other CI changes, so I'll try 24.04 again right after that. (edit: Blocked by #61)

@Vampire
Copy link
Owner

Vampire commented Oct 18, 2024

Blocked by #61

Fixed, sorry

@adang1345
Copy link
Author

The hang is no longer occurring for me.

@Vampire
Copy link
Owner

Vampire commented Oct 24, 2024

Great, then I'll close this for now.
Feel free to comment if the problem comes back and seems to be related to the action.

@Vampire Vampire closed this as not planned Won't fix, can't repro, duplicate, stale Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants