Skip to content
This repository was archived by the owner on Aug 11, 2021. It is now read-only.
This repository was archived by the owner on Aug 11, 2021. It is now read-only.

[BUG] stack Exit status 3221226505 running scripts in Node windows-x86 #54

@aminya

Description

@aminya

What / Why

Windows x86 fails to run Node scripts. This is reproducible.
https://github.com/atom-ide-community/fuzzaldrin-plus-fast/pull/29/checks?check_run_id=1324783415#step:6:209

Logs
2020-10-29T05:15:36.4387919Z ThreeLetter#legacy: 16275.666ms
2020-10-29T05:15:43.0984527Z npm verb lifecycle fuzzaldrin-plus-fast@0.12.5~benchmark:large: unsafe-perm in lifecycle true
2020-10-29T05:15:43.1135451Z npm verb lifecycle fuzzaldrin-plus-fast@0.12.5~benchmark:large: PATH: C:\hostedtoolcache\windows\node\12.19.0\x86\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;D:\a\fuzzaldrin-plus-fast\fuzzaldrin-plus-fast\node_modules\.bin;C:\hostedtoolcache\windows\node\12.19.0\x86\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;D:\a\fuzzaldrin-plus-fast\fuzzaldrin-plus-fast\node_modules\.bin;C:\Program Files\PowerShell\7;C:\hostedtoolcache\windows\node\12.19.0\x86;C:\Users\runneradmin\.dotnet\tools;C:\Program Files\Mercurial\;C:\Program Files\MongoDB\Server\4.4\bin;C:\ProgramData\kind;C:\vcpkg;C:\cf-cli;C:\Program Files (x86)\NSIS\;C:\Program Files\Mercurial\;C:\hostedtoolcache\windows\stack\2.5.1\x64;C:\ProgramData\chocolatey\lib\ghc.8.10.2.1\tools\ghc-8.10.2\bin;C:\Program Files\dotnet;C:\mysql-5.7.21-winx64\bin;C:\Program Files\R\R-4.0.3\bin\x64;C:\SeleniumWebDrivers\GeckoDriver;C:\Rust\.cargo\bin;C:\Program Files (x86)\GitHub CLI;C:\Program Files\Git\bin;C:\Program Files (x86)\sbt\bin;C:\hostedtoolcache\windows\go\1.14.10\x64\bin;C:\hostedtoolcache\windows\Python\3.7.9\x64\Scripts;C:\hostedtoolcache\windows\Python\3.7.9\x64;C:\hostedtoolcache\windows\Ruby\2.5.8\x64\bin;C:\Program Files\Java\jdk8u265-b01\bin;C:\aliyun-cli;C:\npm\prefix;C:\Program Files\Microsoft SDKs\Azure\Azure Dev Spaces CLI;C:\Program Files\Microsoft SDKs\Azure\Azure Dev Spaces CLI\;C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\wbin;C:\Program Files\Microsoft MPI\Bin\;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\ProgramData\Chocolatey\bin;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files\Docker;C:\Program Files\PowerShell\7\;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\130\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\140\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\150\DTS\Binn\;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code;C:\Program Files\Microsoft SDKs\Service Fabric\Tools\ServiceFabricLocalClusterManager;C:\Program Files\nodejs\;C:\ProgramData\chocolatey\lib\pulumi\tools\Pulumi\bin;C:\ProgramData\chocolatey\lib\maven\apache-maven-3.6.3\bin;C:\Program Files (x86)\sbt\bin;C:\Program Files\OpenSSL\bin;C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;c:\tools\php;C:\Program Files\TortoiseSVN\bin;C:\SeleniumWebDrivers\ChromeDriver\;C:\SeleniumWebDrivers\EdgeDriver\;C:\Program Files\CMake\bin;C:\Program Files\Amazon\AWSCLIV2\;C:\Program Files\Amazon\SessionManagerPlugin\bin\;C:\Program Files\Amazon\AWSSAMCLI\bin\;C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\bin;C:\Users\runneradmin\AppData\Local\Microsoft\WindowsApps
2020-10-29T05:15:43.1147132Z npm verb lifecycle fuzzaldrin-plus-fast@0.12.5~benchmark:large: CWD: D:\a\fuzzaldrin-plus-fast\fuzzaldrin-plus-fast
2020-10-29T05:15:43.1148567Z npm info lifecycle fuzzaldrin-plus-fast@0.12.5~benchmark:large: Failed to exec benchmark:large script
2020-10-29T05:15:43.1149508Z npm verb stack Error: fuzzaldrin-plus-fast@0.12.5 benchmark:large: `node benchmark/benchmark-large.js`
2020-10-29T05:15:43.1150168Z npm verb stack Exit status 3221226505
2020-10-29T05:15:43.1151023Z npm verb stack     at EventEmitter.<anonymous> (C:\hostedtoolcache\windows\node\12.19.0\x86\node_modules\npm\node_modules\npm-lifecycle\index.js:332:16)
2020-10-29T05:15:43.1151837Z npm verb stack     at EventEmitter.emit (events.js:314:20)
2020-10-29T05:15:43.1153123Z npm verb stack     at ChildProcess.<anonymous> (C:\hostedtoolcache\windows\node\12.19.0\x86\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
2020-10-29T05:15:43.1153993Z npm verb stack     at ChildProcess.emit (events.js:314:20)
2020-10-29T05:15:43.1154592Z npm verb stack     at maybeClose (internal/child_process.js:1021:16)
2020-10-29T05:15:43.1155397Z npm verb stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
2020-10-29T05:15:43.1156047Z npm verb pkgid fuzzaldrin-plus-fast@0.12.5
2020-10-29T05:15:43.1156764Z npm verb cwd D:\a\fuzzaldrin-plus-fast\fuzzaldrin-plus-fast
2020-10-29T05:15:43.1157293Z npm verb Windows_NT 10.0.14393
2020-10-29T05:15:43.1158248Z npm verb argv "C:\\hostedtoolcache\\windows\\node\\12.19.0\\x86\\node.exe" "C:\\hostedtoolcache\\windows\\node\\12.19.0\\x86\\node_modules\\npm\\bin\\npm-cli.js" "run" "benchmark:large"
2020-10-29T05:15:43.1158947Z npm verb node v12.19.0
2020-10-29T05:15:43.1159244Z npm verb npm  v6.14.8
2020-10-29T05:15:43.1159579Z npm ERR! code ELIFECYCLE
2020-10-29T05:15:43.1160093Z npm ERR! errno 3221226505
2020-10-29T05:15:43.1160945Z npm ERR! fuzzaldrin-plus-fast@0.12.5 benchmark:large: `node benchmark/benchmark-large.js`
2020-10-29T05:15:43.1161553Z npm ERR! Exit status 3221226505
2020-10-29T05:15:43.1161828Z npm ERR! 
2020-10-29T05:15:43.1162365Z npm ERR! Failed at the fuzzaldrin-plus-fast@0.12.5 benchmark:large script.
2020-10-29T05:15:43.1163408Z npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
2020-10-29T05:15:43.1164187Z npm verb exit [ 3221226505, true ]
2020-10-29T05:15:43.1520687Z npm timing npm Completed in 53830ms
2020-10-29T05:15:43.1521852Z 
2020-10-29T05:15:43.1523012Z npm ERR! A complete log of this run can be found in:
2020-10-29T05:15:43.1526384Z npm ERR!     C:\npm\cache\_logs\2020-10-29T05_15_43_109Z-debug.log
2020-10-29T05:15:43.1605477Z npm verb lifecycle fuzzaldrin-plus-fast@0.12.5~benchmark: unsafe-perm in lifecycle true
2020-10-29T05:15:43.1619050Z npm verb lifecycle fuzzaldrin-plus-fast@0.12.5~benchmark: PATH: C:\hostedtoolcache\windows\node\12.19.0\x86\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;D:\a\fuzzaldrin-plus-fast\fuzzaldrin-plus-fast\node_modules\.bin;C:\Program Files\PowerShell\7;C:\hostedtoolcache\windows\node\12.19.0\x86;C:\Users\runneradmin\.dotnet\tools;C:\Program Files\Mercurial\;C:\Program Files\MongoDB\Server\4.4\bin;C:\ProgramData\kind;C:\vcpkg;C:\cf-cli;C:\Program Files (x86)\NSIS\;C:\Program Files\Mercurial\;C:\hostedtoolcache\windows\stack\2.5.1\x64;C:\ProgramData\chocolatey\lib\ghc.8.10.2.1\tools\ghc-8.10.2\bin;C:\Program Files\dotnet;C:\mysql-5.7.21-winx64\bin;C:\Program Files\R\R-4.0.3\bin\x64;C:\SeleniumWebDrivers\GeckoDriver;C:\Rust\.cargo\bin;C:\Program Files (x86)\GitHub CLI;C:\Program Files\Git\bin;C:\Program Files (x86)\sbt\bin;C:\hostedtoolcache\windows\go\1.14.10\x64\bin;C:\hostedtoolcache\windows\Python\3.7.9\x64\Scripts;C:\hostedtoolcache\windows\Python\3.7.9\x64;C:\hostedtoolcache\windows\Ruby\2.5.8\x64\bin;C:\Program Files\Java\jdk8u265-b01\bin;C:\aliyun-cli;C:\npm\prefix;C:\Program Files\Microsoft SDKs\Azure\Azure Dev Spaces CLI;C:\Program Files\Microsoft SDKs\Azure\Azure Dev Spaces CLI\;C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\wbin;C:\Program Files\Microsoft MPI\Bin\;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\ProgramData\Chocolatey\bin;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files\Docker;C:\Program Files\PowerShell\7\;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\130\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\140\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\150\DTS\Binn\;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code;C:\Program Files\Microsoft SDKs\Service Fabric\Tools\ServiceFabricLocalClusterManager;C:\Program Files\nodejs\;C:\ProgramData\chocolatey\lib\pulumi\tools\Pulumi\bin;C:\ProgramData\chocolatey\lib\maven\apache-maven-3.6.3\bin;C:\Program Files (x86)\sbt\bin;C:\Program Files\OpenSSL\bin;C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;c:\tools\php;C:\Program Files\TortoiseSVN\bin;C:\SeleniumWebDrivers\ChromeDriver\;C:\SeleniumWebDrivers\EdgeDriver\;C:\Program Files\CMake\bin;C:\Program Files\Amazon\AWSCLIV2\;C:\Program Files\Amazon\SessionManagerPlugin\bin\;C:\Program Files\Amazon\AWSSAMCLI\bin\;C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\bin;C:\Users\runneradmin\AppData\Local\Microsoft\WindowsApps
2020-10-29T05:15:43.1628624Z npm verb lifecycle fuzzaldrin-plus-fast@0.12.5~benchmark: CWD: D:\a\fuzzaldrin-plus-fast\fuzzaldrin-plus-fast
2020-10-29T05:15:43.1630398Z npm info lifecycle fuzzaldrin-plus-fast@0.12.5~benchmark: Failed to exec benchmark script
2020-10-29T05:15:43.1645857Z npm verb stack Error: fuzzaldrin-plus-fast@0.12.5 benchmark: `npm run benchmark:small && npm run benchmark:regular && npm run benchmark:large`
2020-10-29T05:15:43.1647281Z npm verb stack Exit status 3221226505
2020-10-29T05:15:43.1648262Z npm verb stack     at EventEmitter.<anonymous> (C:\hostedtoolcache\windows\node\12.19.0\x86\node_modules\npm\node_modules\npm-lifecycle\index.js:332:16)
2020-10-29T05:15:43.1649470Z npm verb stack     at EventEmitter.emit (events.js:314:20)
2020-10-29T05:15:43.1650677Z npm verb stack     at ChildProcess.<anonymous> (C:\hostedtoolcache\windows\node\12.19.0\x86\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
2020-10-29T05:15:43.1651906Z npm verb stack     at ChildProcess.emit (events.js:314:20)
2020-10-29T05:15:43.1652741Z npm verb stack     at maybeClose (internal/child_process.js:1021:16)
2020-10-29T05:15:43.1654078Z npm verb stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
2020-10-29T05:15:43.1654850Z npm verb pkgid fuzzaldrin-plus-fast@0.12.5
2020-10-29T05:15:43.1655809Z npm verb cwd D:\a\fuzzaldrin-plus-fast\fuzzaldrin-plus-fast
2020-10-29T05:15:43.1656362Z npm verb Windows_NT 10.0.14393
2020-10-29T05:15:43.1657980Z npm verb argv "C:\\hostedtoolcache\\windows\\node\\12.19.0\\x86\\node.exe" "C:\\hostedtoolcache\\windows\\node\\12.19.0\\x86\\node_modules\\npm\\bin\\npm-cli.js" "run" "benchmark" "--verbose"
2020-10-29T05:15:43.1658690Z npm verb node v12.19.0
2020-10-29T05:15:43.1659433Z npm verb npm  v6.14.8
2020-10-29T05:15:43.1659785Z npm ERR! code ELIFECYCLE
2020-10-29T05:15:43.1660662Z npm ERR! errno 3221226505
2020-10-29T05:15:43.1715110Z npm ERR! fuzzaldrin-plus-fast@0.12.5 benchmark: `npm run benchmark:small && npm run benchmark:regular && npm run benchmark:large`
2020-10-29T05:15:43.1715872Z npm ERR! Exit status 3221226505
2020-10-29T05:15:43.1716762Z npm ERR! 
2020-10-29T05:15:43.1717335Z npm ERR! Failed at the fuzzaldrin-plus-fast@0.12.5 benchmark script.
2020-10-29T05:15:43.1718518Z npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
2020-10-29T05:15:43.1719085Z npm verb exit [ 3221226505, true ]
2020-10-29T05:15:43.1994067Z npm timing npm Completed in 59749ms
2020-10-29T05:15:43.1995140Z 
2020-10-29T05:15:43.1996679Z npm ERR! A complete log of this run can be found in:
2020-10-29T05:15:43.1998166Z npm ERR!     C:\npm\cache\_logs\2020-10-29T05_15_43_171Z-debug.log
2020-10-29T05:15:43.3769147Z ##[error]Process completed with exit code 1.
2020-10-29T05:15:43.4002032Z Post job cleanup.
2020-10-29T05:15:45.4071469Z [command]"C:\Program Files\Git\bin\git.exe" version
2020-10-29T05:15:45.4259739Z git version 2.29.0.windows.1
2020-10-29T05:15:46.0988598Z [command]"C:\Program Files\Git\bin\git.exe" config --local --name-only --get-regexp core\.sshCommand
2020-10-29T05:15:46.0994281Z [command]"C:\Program Files\Git\bin\git.exe" submodule foreach --recursive "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
2020-10-29T05:15:46.0998203Z [command]"C:\Program Files\Git\bin\git.exe" config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2020-10-29T05:15:46.0999033Z http.https://github.com/.extraheader
2020-10-29T05:15:46.1000852Z [command]"C:\Program Files\Git\bin\git.exe" config --local --unset-all http.https://github.com/.extraheader
2020-10-29T05:15:46.1003279Z [command]"C:\Program Files\Git\bin\git.exe" submodule foreach --recursive "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"

When

Always

Where

  1. First reproduction:

    Repo: https://github.com/atom-ide-community/fuzzaldrin-plus-fast/tree/github-action

    Run: https://github.com/atom-ide-community/fuzzaldrin-plus-fast/pull/29/checks?check_run_id=1324783415#step:6:209

  2. This is also similar to the error that happens in the Parcel source map code.
    Repo: 32 bit builds for Windows parcel-bundler/source-map#36

    Run: https://dev.azure.com/devongovett/devongovett/_build/results?buildId=12429&view=logs&j=a7050980-30f4-548a-8538-d503683a61ab&t=68f0869c-b4ea-55c9-b726-ffeab62ade64&l=30

How

Current Behavior

winx86 fails to run Node scripts

Steps to Reproduce

I have given the exact repo to reproduce the error above.

On Windows x86:

npm install
npm run benchmark --verbose

Expected Behavior

Run successfully like other versions

Who

@aminya
cc: @DeMoorJasper

References

Blocks: atom-community/zadeh#29
Blocks: parcel-bundler/source-map#36

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions