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

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

Details

    • Bug
    • Resolution: Unresolved
    • Undefined
    • None
    • rhel-9.1.0
    • nodejs
    • sst_cs_apps
    • ssg_core_services
    • False
    • Hide

      None

      Show
      None
    • Unspecified
    • If docs needed, set a value
    • Unspecified

    Description

      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:

      Attachments

        Issue Links

          Activity

            People

              lholmqui@redhat.com Luke Holmquist
              pkubat@redhat.com Petr Kubat
              rhel-cs-apps-subsystem-qe bot rhel-cs-apps-subsystem-qe bot
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: