[Pkg-javascript-devel] Bug#1016707: nodejs: ftbfs on riscv64 because of a failing test

Jérémy Lal kapouer at melix.org
Fri Aug 5 19:53:58 BST 2022


Package: nodejs
Version: 18.6.0+dfsg-5
Severity: important

The idea is to ignore those failures until they are resolved by upstream v8 riscv team,
CPU Profiling is really not a core feature of nodejs.

not ok 3046 sequential/test-cpu-prof-drained
  ---
  duration_ms: 3.98
  severity: fail
  exitcode: 1
  stack: |-
    Dispatching message { "id": 1, "method": "Profiler.enable" }
    Receive CPU profile message
    {"id":1,"result":{}}
    Dispatching message { "id": 2, "method": "Profiler.start" }
    Receive CPU profile message
    {"id":2,"result":{}}
    Dispatching message { "id": 3, "method": "Profiler.setSamplingInterval", "params": { "interval": 50 } }
    Receive CPU profile message
    {"id":3,"error":{"code":-32000,"message":"Cannot change sampling interval when profiling."}}
    
    node:assert:124
      throw new AssertionError(obj);
      ^
    
    AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
    
    null !== 0
    
        at Object.<anonymous> (/<<PKGBUILDDIR>>/test/sequential/test-cpu-prof-drained.js:36:10)
        at Module._compile (node:internal/modules/cjs/loader:1120:14)
        at Module._extensions..js (node:internal/modules/cjs/loader:1174:10)
        at Module.load (node:internal/modules/cjs/loader:998:32)
        at Module._load (node:internal/modules/cjs/loader:839:12)
        at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
        at node:internal/main/run_main_module:17:47 {
      generatedMessage: true,
      code: 'ERR_ASSERTION',
      actual: null,
      expected: 0,
      operator: 'strictEqual'
    }


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.18.0-3-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages nodejs depends on:
ii  libc6       2.33-8
ii  libnode108  18.6.0+dfsg-5

Versions of packages nodejs recommends:
ii  ca-certificates  20211016
ii  nodejs-doc       18.6.0+dfsg-5

Versions of packages nodejs suggests:
ii  npm  8.15.1~ds1-1

-- no debconf information



More information about the Pkg-javascript-devel mailing list