Skip to content

build: test-permission-drop-ffi test fails with Missing FFI test fixture library error #66055

Description

@apteryks

Version

26.8.2

Platform

Guix System with Linux 7.1.8.

Subsystem

No response

What steps will reproduce the bug?

Build latest release (26.8.2) from source in an environment made of:

bash-minimal@5.2.37 brotli@1.2.0 c-ares@1.34.4 coreutils@9.1 icu4c@76.1 libuv@1.52.1
+ llhttp-bootstrap@9.4.2 nghttp2@1.69.0 nghttp3@1.11.0 ngtcp2@1.15.1 openssl@3.5.7 perl@5.36.0
+ pkg-config@0.29.2 procps@4.0.3 python@3.12.12 util-linux@2.42.2 zlib@1.3.1 zstd@1.5.6

The configure flags used are:

("--shared-cares"
           "--shared-libuv"
           "--shared-http-parser"
           "--shared-http-parser-libname=llhttp"
           "--shared-nghttp2"
           "--shared-openssl"
           "--shared-zlib"
           "--shared-brotli"
           "--with-intl=system-icu"
           "--shared-ngtcp2"
           "--shared-nghttp3"
           "--shared-zstd"
           "--shared"
           ;;Needed for correct snapshot checksums
           "--v8-enable-snapshot-compression")

Run make test-ci-js to run the test suite.

How often does it reproduce? Is there a required condition?

Always.

What is the expected behavior? Why is that the expected behavior?

All tests should pass. If some dependency (test or otherwise) needs to be built for a test, the build system should take care of it automatically.

What do you see instead?

not ok 2796 parallel/test-permission-drop-ffi
  ---
  duration_ms: 55.72600
  severity: fail
  exitcode: 1
  stack: |-
    /tmp/guix-build-node-26.8.2.drv-0/node-v26.8.2/test/ffi/ffi-test-common.js:21
        throw new Error(
        ^
    
    Error: Missing FFI test fixture library: /tmp/guix-build-node-26.8.2.drv-0/node-v26.8.2/test/ffi/fixture_library/build/Release/ffi_test_library.so. Build it first with `make build-ffi-tests` or the equivalent test build step.
        at ensureFixtureLibrary (/tmp/guix-build-node-26.8.2.drv-0/node-v26.8.2/test/ffi/ffi-test-common.js:21:11)
        at Object.<anonymous> (/tmp/guix-build-node-26.8.2.drv-0/node-v26.8.2/test/ffi/ffi-test-common.js:28:1)
        at Module._compile (node:internal/modules/cjs/loader:1934:14)
        at Object..js (node:internal/modules/cjs/loader:2074:10)
        at Module.load (node:internal/modules/cjs/loader:1656:32)
        at Module._load (node:internal/modules/cjs/loader:1448:12)
        at wrapModuleLoad (node:internal/modules/cjs/loader:261:19)
        at Module.require (node:internal/modules/cjs/loader:1679:12)
        at require (node:internal/modules/helpers:196:16)
        at Object.<anonymous> (/tmp/guix-build-node-26.8.2.drv-0/node-v26.8.2/test/parallel/test-permission-drop-ffi.js:5:41)
    
    Node.js v26.8.2
  ...

Additional information

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildIssues and PRs related to Node.js builds or CI infrastructure.ffiIssues and PRs related to experimental Foreign Function Interface support.testIssues and PRs related to Node.js core tests and test infrastructure.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions