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

Event-loop-stats build failure in CI #3894

Open
busma13 opened this issue Jan 8, 2025 · 0 comments
Open

Event-loop-stats build failure in CI #3894

busma13 opened this issue Jan 8, 2025 · 0 comments
Labels
ci dependencies Pull requests that update a dependency file tests

Comments

@busma13
Copy link
Contributor

busma13 commented Jan 8, 2025

Event-loop-stats fails to build occassionally in CI.
These errors are different, but both look to be happening on the same command.

https://github.com/terascope/teraslice/actions/runs/12672986626/job/35318381954

Run yarn setup
yarn run v1.22.19
$ yarn $YARN_SETUP_ARGS && yarn run build --force
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
warning [email protected]: The engine "pnpm" appears to be invalid.
[4/5] Linking dependencies...
warning "workspace-aggregator-b899a1d6-8ce9-49ec-a584-8a01f4b41bce > @terascope/scripts > [email protected]" has incorrect peer dependency "[email protected] || 4.7.x || 4.8.x || 4.9.x || 5.0.x || 5.1.x || 5.2.x || 5.3.x || 5.4.x".
warning "workspace-aggregator-b899a1d6-8ce9-49ec-a584-8a01f4b41bce > xlucene-parser > [email protected]" has incorrect peer dependency "peggy@^3.0.2".
warning Workspaces can only be enabled in private projects.
warning Workspaces can only be enabled in private projects.
warning Workspaces can only be enabled in private projects.
warning Workspaces can only be enabled in private projects.
[5/5] Building fresh packages...
error /home/runner/work/teraslice/teraslice/node_modules/event-loop-stats: Command failed.
Exit code: 1
Command: node-gyp rebuild
Arguments: 
Directory: /home/runner/work/teraslice/teraslice/node_modules/event-loop-stats
Output:
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp info find Python using Python version 3.10.12 found at "/usr/bin/python3"

gyp http GET https://nodejs.org/download/release/v22.12.0/node-v22.12.0-headers.tar.gz
gyp http 200 https://nodejs.org/download/release/v22.12.0/node-v22.12.0-headers.tar.gz
gyp WARN install got an error, rolling back install
gyp ERR! configure error 
gyp ERR! stack Error: aborted
gyp ERR! stack at TLSSocket.socketCloseListener (node:_http_client:472:19)
gyp ERR! stack at TLSSocket.emit (node:events:536:35)
gyp ERR! stack at node:net:350:12
gyp ERR! stack at TCP.done (node:_tls_wrap:650:7)
gyp ERR! System Linux 6.5.0-1025-azure
gyp ERR! command "/opt/hostedtoolcache/node/22.12.0/x64/bin/node" "/opt/hostedtoolcache/node/22.12.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/runner/work/teraslice/teraslice/node_modules/event-loop-stats
gyp ERR! node -v v22.12.0
gyp ERR! node-gyp -v v10.2.0
gyp ERR! not ok
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Error: Process completed with exit code 1.

https://github.com/terascope/teraslice/actions/runs/12654506601/job/35262671292


Run yarn setup
yarn run v1.22.19
$ yarn $YARN_SETUP_ARGS && yarn run build --force
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
warning [email protected]: The engine "pnpm" appears to be invalid.
[4/5] Linking dependencies...
warning "workspace-aggregator-ba35b946-1dc4-4170-9cad-f10190b67d03 > @terascope/scripts > [email protected]" has incorrect peer dependency "[email protected] || 4.7.x || 4.8.x || 4.9.x || 5.0.x || 5.1.x || 5.2.x || 5.3.x || 5.4.x".
warning "workspace-aggregator-ba35b946-1dc4-4170-9cad-f10190b67d03 > xlucene-parser > [email protected]" has incorrect peer dependency "peggy@^3.0.2".
warning Workspaces can only be enabled in private projects.
warning Workspaces can only be enabled in private projects.
warning Workspaces can only be enabled in private projects.
warning Workspaces can only be enabled in private projects.
[5/5] Building fresh packages...
error /home/runner/work/teraslice/teraslice/node_modules/event-loop-stats: Command failed.
Exit code: 1
Command: node-gyp rebuild
Arguments: 
Directory: /home/runner/work/teraslice/teraslice/node_modules/event-loop-stats
Output:
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp info find Python using Python version 3.10.12 found at "/usr/bin/python3"

gyp http GET https://nodejs.org/download/release/v18.20.5/node-v18.20.5-headers.tar.gz
gyp http 200 https://nodejs.org/download/release/v18.20.5/node-v18.20.5-headers.tar.gz
gyp http GET https://nodejs.org/download/release/v18.20.5/SHASUMS256.txt
gyp http 200 https://nodejs.org/download/release/v18.20.5/SHASUMS256.txt
gyp info spawn /usr/bin/python3
gyp info spawn args [
gyp info spawn args '/opt/hostedtoolcache/node/18.20.5/x64/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/home/runner/work/teraslice/teraslice/node_modules/event-loop-stats/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/opt/hostedtoolcache/node/18.20.5/x64/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/runner/.cache/node-gyp/18.20.5/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/home/runner/.cache/node-gyp/18.20.5',
gyp info spawn args '-Dnode_gyp_dir=/opt/hostedtoolcache/node/18.20.5/x64/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/home/runner/.cache/node-gyp/18.20.5/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/home/runner/work/teraslice/teraslice/node_modules/event-loop-stats',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.'
gyp info spawn args ]
Traceback (most recent call last):
  File "/opt/hostedtoolcache/node/18.20.5/x64/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 45, in <module>
    sys.exit(gyp.script_main())
  File "/opt/hostedtoolcache/node/18.20.5/x64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 688, in script_main
    return main(sys.argv[1:])
  File "/opt/hostedtoolcache/node/18.20.5/x64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 680, in main
    return gyp_main(args)
  File "/opt/hostedtoolcache/node/18.20.5/x64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 647, in gyp_main
    [generator, flat_list, targets, data] = Load(
  File "/opt/hostedtoolcache/node/18.20.5/x64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 157, in Load
    result = gyp.input.Load(
  File "/opt/hostedtoolcache/node/18.20.5/x64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 2985, in Load
    LoadTargetBuildFile(
  File "/opt/hostedtoolcache/node/18.20.5/x64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 400, in LoadTargetBuildFile
    build_file_data = LoadOneBuildFile(
  File "/opt/hostedtoolcache/node/18.20.5/x64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 255, in LoadOneBuildFile
    LoadBuildFileIncludesIntoDict(
  File "/opt/hostedtoolcache/node/18.20.5/x64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 299, in LoadBuildFileIncludesIntoDict
    LoadOneBuildFile(include, data, aux_data, None, False, check),
  File "/opt/hostedtoolcache/node/18.20.5/x64/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 237, in LoadOneBuildFile
    build_file_data = eval(build_file_contents, {"__builtins__": {}}, None)
  File "/home/runner/.cache/node-gyp/18.20.5/include/node/common.gypi", line 0
    
SyntaxError: invalid syntax
gyp ERR! configure error 
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.<anonymous> (/opt/hostedtoolcache/node/18.20.5/x64/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:297:18)
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
gyp ERR! stack at ChildProcess.emit (node:events:517:28)
gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:292:12)
gyp ERR! System Linux 6.5.0-1025-azure
gyp ERR! command "/opt/hostedtoolcache/node/18.20.5/x64/bin/node" "/opt/hostedtoolcache/node/18.20.5/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/runner/work/teraslice/teraslice/node_modules/event-loop-stats
gyp ERR! node -v v18.20.5
gyp ERR! node-gyp -v v10.1.0
gyp ERR! not ok
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Error: Process completed with exit code 1.
@busma13 busma13 added tests dependencies Pull requests that update a dependency file ci labels Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci dependencies Pull requests that update a dependency file tests
Projects
None yet
Development

No branches or pull requests

1 participant