Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-5493

Tests for pino testsuite failing when used with Node.js 16

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • rhel-9.1.0
    • nodejs
    • None
    • None
    • rhel-pt-python
    • ssg_platform_tools
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • If docs needed, set a value
    • None
    • 57,005

      Description of problem:
      Pino testsuite fails when used with Node.js 16 on RHEL9. Seems to work fine in RHEL8 and with upstream version (according to Michael Dawson).

      Version-Release number of selected component (if applicable):
      $ node --version
      v16.18.1

      How reproducible: always

      Steps to Reproduce:
      1. podman run --rm -ti ubi9/nodejs-16 bash -c "git clone --branch v8.11.0 --depth 1 https://github.com/pinojs/pino.git && cd pino && npm install && npm test"

      Actual results:
      FAIL ​ test/syncfalse.test.js
      ✖ should be equal

      test/syncfalse.test.js
      50 | await once(child, 'close')
      51 | equal(actual, expected)
      > 52 | equal(actual2.trim(), expected2)

      --^
      53

      54 | teardown(() => {
      55 | os.hostname = hostname

      test: test/syncfalse.test.js asynchronous logging
      found: ""
      wanted: '

      {"level":30,"time":1459875739796,"pid":123456,"hostname":"abcdefghijklmnopqr","msg":"h"}

      '
      compare: ===
      stack: |
      Test.<anonymous> (test/syncfalse.test.js:52:3)

      + hangs here forever.

      Expected results:
      Pass

      Additional info:

              lholmqui@redhat.com Lucas Holmquist
              pkubat@redhat.com Petr Kubat
              Lucas Holmquist Lucas Holmquist
              rhel-nodejs-qe bot rhel-nodejs-qe bot
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: