<#888 GLIBC version issue from pact js vs beta nod...
# pact-js-development
g
#888 GLIBC version issue from pact js vs beta node:14-slim, node:16-slim Issue created by harris-linktree Software versions Please provide at least OS and version of pact-jsOS: _e.g. public docker image node14-slim/node16-slim • Consumer Pact library: "10.0.0-beta.60" • Provider Pact library: • Node Version: 14/16 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 and have read the section on intermittent test failures ☑︎ 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 contract tests are running Actual behaviour complaints about GLIBC version from node 14/16 container. however, node-18 slim works as expected
Copy code
/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by /app/node_modules/@pact-foundation/pact-core/build/Release/libpact_ffi.so)
Steps to reproduce pact-demo.zip 1 download pact-demo.zip 2 unzip then go do unziped folder 3 run
docker build --platform linux/amd64 -t test-pact-beta .
(for mac m1) or run
docker build -t test-pact-beta .
4 after build image, run
docker run test-pact-beta
How can someone else reproduce this bug? same as above Relevant log files Please ensure you set logging to
DEBUG
and attach any relevant log files here (or link to a gist).
pact-foundation/pact-js