question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`choco install` fails with `Exit code was '-2147023829'` on a Windows 11 host with process isolation

See original GitHub issue

Output of the ue4-docker info command:

PS D:\ue4docker> ue4-docker info ue4-docker version: 0.0.94 (latest available version is 0.0.94) Operating system: Windows 10 Pro (Build 22000.376) Docker daemon version: 20.10.11 NVIDIA Docker supported: No Maximum image size: 400GB Available disk space: 6.7 TiB Total system memory: 255.83 GiB physical, 293.83 GiB virtual Number of processors: 64 physical, 128 logical

Additional details:

  • Are you accessing the network through a proxy server? NO

I am running windows 11 as a host OS.

I am building using the following command: PS D:\ue4docker> ue4-docker build -username redacted -password redacted --exclude ddc -basetag ltsc2022 -isolation=process --visual-studio=2019 4.27.2

The build is failing to create the prerequisites image, when installing git from chocolatey. ERROR: Running ["C:\ProgramData\chocolatey\lib\git.install\tools\Git-2.34.1-64-bit.exe" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /NOCANCEL /SP- /LOG /COMPONENTS="icons,assoc,assoc_sh,,,,gitlfs,icons\quicklaunch" /o:PathOption=Cmd /o:BashTerminalOption=ConHost /o:CRLFOption=CRLFCommitAsIs ] was not successful. Exit code was '-1073741819'. See log for possible error messages.

I tried creating a ltsc2022 windows server container, and repeated the following command: choco install -y git --params "'/GitOnlyOnPath /NoAutoCrlf /WindowsTerminal /NoShellIntegration /NoCredentialManager'"

git installed successfully during that attempt, so this does not appear to be a chocolatey issue.

I have repeated the ue4-docker build several times, and get the same result. ue4-docker build log.txt chocolatey.log

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:56 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
bovesancommented, Jan 7, 2022

ue4-docker build --no-engine --no-full --exclude debug --exclude templates --monitor -basetag ltsc2022 -isolation=process 4.27.2

Azure VM D8as v4 (AMD EPYC 7763)

  • LTSC2022 : Passing the git.install step ✅ (don’t remember if failed any vcredist)
  • Win11: Passing the git.install step ✅ (but failing vcredist2005, vcredist2008 and vcredist2010)

Annoyingly enough, that Win11 VM is the exact same version as my local machine (which fails):

Kernel Version: 10.0 22000 (22000.1.amd64fre.co_release.210604-1628)
Operating System: Windows 10 Pro Version 2009 (OS Build 22000.376)

It seems I don’t have any local Intel machines compatible with Windows 11.

2reactions
slonopotamuscommented, Mar 26, 2022

10.0.17763.2686 Windows 10 LTSC 2019 host (fully updated as of today) + 10.0.17763.2686 Docker image (this is the one you get by ltsc2019 tag as of today) + process isolation = everything works.

@alexgeek WRT your 20H2 issue in #230. 20H2 is going EOL on 2022-05-10, in just a month and a half. I don’t think it worth trying to fix anything on it. Just let it go and switch to a more long-term options.

Currently supported and functional systems with process isolation:

  1. Windows Server 2019 + ltsc2019 image
  2. Windows 10 LTSC 2019 + ltsc2019 image
  3. Windows Server 2022 + ltsc2022 image
  4. Windows 11 + ltsc2022 image but only on Intel CPUs

Technically, Windows Server 2016 and Windows 10 LTSB 2016 would also work with ltsc2016 image, but ue4-docker has dropped support for them in https://github.com/adamrehn/ue4-docker/pull/187 (though you might have success with ue4-docker versions older than v0.0.89).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting - Chocolatey Software Docs
Please see I'm getting a 403 unauthorized issue when attempting to use the community package repository. I am having trouble with PowerShell to...
Read more >
choco python installation failing on windows docker image
I can install openjdk11 using choco , but python3 installation fails ... Yes, the error code means DLL not found I am not...
Read more >
How to Install Chocolatey Package Manager on Windows Server
Now lets wait for the process to complete and the software will be ready to use. After that you can get acquainted with...
Read more >
How to Install Chocolatey (Choco) On Windows | Liquid Web
If there are no errors, Chocolatey will be installed. We can verify the installation using the choco or choco -? command. Install Using...
Read more >
Chocolatey on Windows - CODE Magazine
In DevOps, installing software with a GUI by clicking through buttons goes against the principle of automation. Automation is built around the ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found