pact-foundation / pact-reference

Reference implementations for the pact specifications
https://pact.io
MIT License
91 stars 46 forks source link

pact_verifier_cli 0.9.16 panics at clap-3.2.20/src/parser/matches/arg_matches.rs:1795:13 when filtering pacts using consumer name #217

Closed j3rrywan9 closed 1 year ago

j3rrywan9 commented 1 year ago
  1. The relevant versions of the packages you are using. The official pact-ref-verifier Docker image with tag 0.9.16: https://hub.docker.com/layers/pactfoundation/pact-ref-verifier/0.9.16/images/sha256-caf09b90140066410563eac2efd7a69f306ffb781befd2b81946aa92545ce0cc

  2. The steps to recreate your issue. a) Start a container from the official image using Docker Compose

    
    version: "3.7"

services: pact-verifier: container_name: verifier image: "pactfoundation/pact-ref-verifier:0.9.16" entrypoint: "cat" tty: true environment: PACT_BROKER_TOKEN: "[MY_PACKFLOW_TOKEN]" volumes:

At this point, I believe the clap 3.x upgrade introduced in https://github.com/pact-foundation/pact-reference/commit/6117aa50f9b824695c240eabacfff64d75eff173 as part of the 0.9.13 release is the culprit.