Skip to content

Pact Builder Error thrown in RedHat Pipelines for Provider test #603

@TheTreeofGrace

Description

@TheTreeofGrace

Software versions

  • OS: Docker node:20-slim | Linux/amd64 | RedHat
  • Pact Node version: pact-core 15.2.1
  • Node Version: 20.18.0
  • Other Versions: Last working version is pact-core 15.1.0

Issue Checklist

Please confirm the following:

  • I have upgraded to the latest
  • I have the read the FAQs in the Readme
  • I have triple checked, that there are no unhandled promises in my code
  • I have set my log level to debug and attached a log file showing the complete request/response cycle
  • For bonus points and virtual high fives, I have created a reproduceable git repository (see below) to illustrate the problem

Expected behaviour

Pact provider test runs.

Actual behaviour

The Apollo server starts as expected. Pact loads in the pact file but then exits with an error.

"Verification failed at node_modules/@pact-foundation/pact-core/src/verifier/nativeVerifier.ts:52:20"

"Request Failed - builder error"

Steps to reproduce

Maybe will be able to replicate with the Docker image. Pact file version is pactSpecification version 4.

For extra bonus points and internet karma, provide a repository, gist or reproducible code snippet so that we can test the problem.

We recommend forking the project and modifying a relevant example in the examples folder

Relevant log files

Please ensure you set logging to DEBUG and attach any relevant log files here (or link to a gist).

GitHub is blocked by corporate firewall so unable to provide example currently.

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting feedbackAwaiting Feedback from OPbugIndicates an unexpected problem or unintended behaviortriageThis issue is yet to be triaged by a maintainer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions