NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.27k stars 14.25k forks source link

Build failure: nodejs_22 on x86_64-darwin #350410

Open dustypomerleau opened 1 month ago

dustypomerleau commented 1 month ago

Steps To Reproduce

Steps to reproduce the behavior:

  1. build nodejs_22 (currently 22.9.0)

Build log

Compilation succeeds, but the build fails on tests, ending with:

Failed tests:
out/Release/node /private/tmp/nix-build-nodejs-22.9.0.drv-0/node-v22.9.0/test/parallel/test-inspector-ip-detection.js
make: *** [Makefile:560: test-ci-js] Error 1

Full log in this gist.

Additional context

Notify maintainers

@aduh95

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

 - system: `"x86_64-darwin"`
 - host os: `Darwin 24.0.0, macOS 10.16`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Lix, like Nix) 2.91.1
System type: x86_64-darwin
Additional system types:
Features: gc, signed-caches
System configuration file: /etc/nix/nix.conf
User configuration files: /Users/dustinpomerleau/.config/nix/nix.conf:/etc/xdg/nix/nix.conf
Store directory: /nix/store
State directory: /nix/var/nix
Data directory: /nix/store/cqvrm2h1501ambaw9l2509dq5c9ch0b1-lix-2.91.1/share`
 - nixpkgs: `/nix/store/69bhrhj8imx84l6zvdz0zmh3qc8ykwvd-source`

Add a :+1: reaction to issues you find important.

philipmw commented 3 weeks ago

I can confirm on my Intel Mac. I also tried updating the nix package to nodejs 22.10.0, and that also fails some test in test-ci-js group, but not the same test that fails for 22.9.0.

aduh95 commented 3 weeks ago

Can you share what test is failing and its output please?

philipmw commented 3 weeks ago

I am attaching the build log for Nodejs 22.10.0 on Nixpkgs commit ID e87b505f5121ae4cd00f3c70987b690b737fc2b3. nodejs-22.10.0-build.log

My system:

% nix-shell -p nix-info --run "nix-info -m" --extra-experimental-features flakes
 - system: `"x86_64-darwin"`
 - host os: `Darwin 24.0.0, macOS 10.16`
 - multi-user?: `no`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.8`
 - channels(root): `"nixpkgs"`
 - nixpkgs: `not found`
aduh95 commented 3 weeks ago
not ok 3714 parallel/test-tick-processor-arguments
  ---
  duration_ms: 120047.76700
  severity: fail
  exitcode: -15
  stack: |-
    timeout
  ...

Is this test consistently failing for you? It looks like a flake to me

philipmw commented 3 weeks ago

I ran it again this morning, now with Nixpkgs commit 161ba5b87e6a0c048de6fdfc9bbda69f4a290969, and I am attaching the latest log: nodejs-22.10.0.log

The same test failed.

I am running it for the third time to see.

philipmw commented 3 weeks ago

Third run. Several tests failed, including test-tick-processor-arguments. Latest log is attached. nodejs-22.10.0-build.log

aduh95 commented 3 weeks ago

🤷‍♂️ it would probably make sense to add that test to the list of skip tests for your architecture.

ngn999 commented 2 weeks ago

Arm64-darwin failed, too. I have to skip the check phase.

oystesla commented 1 week ago

I have the same issue. Attaching my full build log: nodejs_build_output.txt

System details: