Skip to content

Caller test failure on CITGM #1368

@mcollina

Description

@mcollina

Pino is failing on CITGM in RHEL and Ubuntu systems

https://ci.nodejs.org/view/Node.js-citgm/job/citgm-smoker/2880/nodes=rhel8-s390x/testReport/junit/(root)/citgm/pino_v7_8_1/
https://ci.nodejs.org/view/Node.js-citgm/job/citgm-smoker/2880/nodes=rhel8-x64/testReport/junit/(root)/citgm/pino_v7_8_1/
https://ci.nodejs.org/view/Node.js-citgm/job/citgm-smoker/2880/nodes=ubuntu1804-64/testReport/junit/(root)/citgm/pino_v7_8_1/

# Subtest: when using a custom transport where all files in stacktrace are in the node_modules, the first file inside node_modules should be used
         not ok 1 - should match pattern provided
           ---
           diff: |
             --- expected
             +++ actual
             @@ -1,1 +1,1 @@
             -/done!/
             +""
           pattern: !re /done!/
           at:
             line: 52
             column: 5
             file: test/transport/caller.test.js
             type: Test
           stack: |
             Test.<anonymous> (test/transport/caller.test.js:52:5)
           source: |2
           
               t.match(actual, /done!/)
             ----^
             })
           ...
         
         1..1
         # failed 1 test
     not ok 3 - when using a custom transport where all files in stacktrace are in the node_modules, the first file inside node_modules should be used # time=618.84ms

However that test passes 100% of the time locally and on our CI. I think there is a bug lurking somewhere.

@mhdawson @targos could you replicate this problem on your machines (a citgm pino would do)? Do you think it would be possible to get access to one of those systems so that I can diagnose the problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions