-
Notifications
You must be signed in to change notification settings - Fork 66
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
Build fails intermittently with "Command exited with code -1073741819" #3600
Comments
Could be related to this issue: nodejs/node#34927 |
Honestly, it's unclear how to deal with these issues. Would you be able to provide a simplest repro in a public repository? Like that issue I was able to reproduce on my workstation and on VMs in all major clouds. Try Node 15.x to see if it makes it better? |
@FeodorFitsner I can't even reproduce it outside of a running AppVeyor build. I've RDP'd into Appveyor and still was not able to reproduce when running the command in Command Prompt 50 times. Any ideas? |
Have you tried Node 15.x? Would you be able to do a minimalistic repro in a public repository I can play with? |
@FeodorFitsner Yes, Node 15.x has the same issue. I've tried extensively to try to create a smaller example, but have been unsuccessful so far. |
For the sake of experiment could you try running your build with a new .NET Core-baed build agent and see if it makes it better. You'll need to add this into your environment:
AGENT_VERSION: 7.0.2883
AGENT_INSTALL_DIR: 'C:\Program Files\AppVeyor\BuildAgentCore'
BUILD_AGENT_MODE: HyperV
APPVEYOR_CONSOLE_DISABLE_PTY: true
init:
- appveyor version
- ps: $core_agent_installed = (Test-Path $env:AGENT_INSTALL_DIR)
- ps: |
if (-not $core_agent_installed) {
iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/build-images/master/scripts/Windows/install_appveyor_build_agent_core.ps1'))
$appveyorPath = $env:AGENT_INSTALL_DIR
$pwshProfileFilename = "$env:USERPROFILE\Documents\PowerShell\Microsoft.PowerShell_profile.ps1"
if (Test-Path $pwshProfileFilename) {
$lines = Get-Content $pwshProfileFilename
for($i = 0; $i -lt $lines.length; $i++) {
if ($lines[$i] -contains '*AppVeyor.BuildAgent.PowerShell.dll*') {
$lines[$i] = ''
}
}
$lines += "try { Import-Module '$appveyorPath\AppVeyor.BuildAgent.PowerShell.dll' } catch {}"
$lines | Set-Content $pwshProfileFilename
}
}
# Restart VM
- ps: if (-not $core_agent_installed) { Start-Sleep -s 5; Restart-Computer }
- ps: if (-not $core_agent_installed) { Start-Sleep -s 5 } So, the agent is re-installed on Let me know if that worked. |
@FeodorFitsner Thanks for your response! Unfortunately this fails with the same error. |
Alright, thanks for trying. What about x86 version of Node? Have you tried with x86? |
@FeodorFitsner Same result. |
Hm, honestly, at this stage I'm out of ideas :-/ |
@FeodorFitsner Alright, thanks for your help. I've already spent a couple days digging into it and it happens just infrequently enough that I haven't been able to justify digging into it more. I'll let you know if it ever gets resolved or if I find more useful info. |
Is this still an issue from Node.js 16 onward? (See nodejs/node#34927 (comment).) |
Haven't heard about it for a while. |
We've gotten seven build failures (out of 75 builds) so far this week each with "Command exited with code -1073741819." This has been happening for at least a month, but was occurring less frequently before this week. So far it's always failed while running Jest. I investigated other related issues, but they seemed specific to x86 (#3407).
Environment:
One of them dumped an error message before failing:
I can provide links to private builds if those would help.
The text was updated successfully, but these errors were encountered: