Christoph Oswald
05/23/2022, 2:27 PMjson
05/24/2022, 3:54 PM--request-timeout
value, but it's still failing, so I think the way my server must work is that while it's still setting up, it's returning 500s instead of hangingDominic Plourde
05/25/2022, 7:53 PMLAV JOSHI
05/27/2022, 5:33 AMJayakannan Jeyapandian
05/27/2022, 7:50 AM@PactTestFor(providerName = "test-provider", port = "${pact.server.port}")
E R
05/29/2022, 11:22 AMNuno Frias
05/30/2022, 2:13 PMDaniel Flieger
05/31/2022, 7:13 AMjson
05/31/2022, 6:23 PMjson
05/31/2022, 7:39 PMcontract_requiring_verification_published
webhook, which will trigger on our feature branch build (so before it has been merged/tagged or deployed to any environment) so I just want to point at a specific consumer version when I run the verification. Is there a way to do that with the consumer version selector? Or is there some other way I'm not seeing?json
06/01/2022, 7:39 PMpact-broker create-or-update-webhook
command, where it suggested I write a curl command and then change it from curl
to pact-broker create-or-update-webhook
and I did, this worked to kick off my jenkins job:
curl \
"http://$JENKINS_BASE_URL/job/Pact%20Verify%20Provider/buildWithParameters" \
-X POST \
-u "$USERNAME:$PASSWORD" \
-d project=\${pactbroker.providerName} \
-d version=\${pactbroker.providerVersionNumber} \
-d pactfile_url=\${pactbroker.pactUrl}
but when I change it to this:
pact-broker create-or-update-webhook \
"http://$JENKINS_BASE_URL/job/Pact%20Verify%20Provider/buildWithParameters" \
-X POST \
-u "$USERNAME:$PASSWORD" \
-d project=\${pactbroker.providerName} \
-d version=\${pactbroker.providerVersionNumber} \
-d pactfile_url=\${pactbroker.pactUrl} \
--contract-requiring-verification-published \
--broker-base-url "$PACT_BROKER_URL" \
--description 'Automatically trigger pact verification on contract change.' \
--uuid "$PROVIDER_VERIFICATION_WEBHOOK_UUID"
I get the exact same error:
ERROR: "pact-broker create_or_update_webhook" was called with arguments ["<http://jenkins-base-url/job/Pact%20Verify%20Provider/buildWithParameters>", "version=${pactbroker.providerVersionNumber}", "pactfile_url=${pactbroker.pactUrl}"]
Usage: "pact-broker create-or-update-webhook URL --uuid=UUID -X, --request=METHOD -b, --broker-base-url=BROKER_BASE_URL"
Very perplexing 😕Akke Luukkonen
06/02/2022, 12:42 PM[WARN] Received a ServerHelloDone handshake message while expecting [CertificateRequest]
I'm currently switching from using the Ruby CLI verifier to the Rust one in our CI pipelines by using the pact-ref-verifier Docker image. However, something currently triggers that warning to appear at the start of each verification.
From my understanding it's caused by this bug introduced in 0.20.3 of Rustls, which was fixed in 0.20.5. However, the latest Docker image for pact_verifier_cli is of 0.9.10 which is still using 0.20.4 (Cargo.lock from time of release), while it seems that the master branch of the repo is using 0.20.6 of Rustls.
Curious if anyone else has noticed the same thing since I didn't find anything in the workspace via searching messages. I noticed also that the Cargo.toml for the verifier was already bumped to 0.9.11 in this commit during April, but apparently no release itself was made or is it still being tested (this 0.9.11 release is still using the 0.20.4 version of rustls, so it probably won't fix this issue even if released).Thomas K
06/06/2022, 6:38 PMrecord-deployment
and record-release
please...
When I record-deployment
into an environment, should the --version
be the same git commit sha for each environment I deploy to?
Reason I ask is because I had a command like this
docker run pactfoundation/pact-cli:latest pact-broker record-release --pacticipant DojoPayConsumerApp \
--version $BITRISE_GIT_COMMIT \
--environment production \
--broker-base-url $PACT_BROKER_BASE_URL \
--broker-username $PACT_BROKER_BASIC_AUTH_USERNAME \
--broker-password $PACT_BROKER_BASIC_AUTH_PASSWORD
in CI for deployments and releases, where the $BITRISE_GIT_COMMIT
version would be different for each deployment.
On the record-release
I was getting failures as it could not find the version it was looking up, would love some clarification on this please, thanks 🙂Timothy Jones
06/07/2022, 1:00 AMritika arora
06/08/2022, 12:01 AMMarcello Rigan
06/08/2022, 8:14 AMSlackbot
06/09/2022, 1:59 PMÉdouard Lopez
06/10/2022, 10:34 AMMatt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Slackbot
06/10/2022, 10:35 AMYousaf Nabi (pactflow.io)
Madu Alikor
06/13/2022, 9:09 PMAkke Luukkonen
06/14/2022, 2:01 PMpact_verifier_cli
(Rust) using --url
, should it also select additional contracts using the default consumer version selection rules? In the second picture the first contract was the one passed with --url
but I didn't expect the verifications to run with what I'm guessing is the rule latest: true
(or whatever is the default?) in addition to it.Syed Muhammad Dawoud Sheraz Ali
06/16/2022, 9:38 AMGaurav
06/17/2022, 3:52 AMRachid Lafriakh
06/18/2022, 2:30 PMMark Kell
06/20/2022, 9:00 AMHarris Lee
06/22/2022, 12:09 AMNuno Frias
06/22/2022, 12:14 PMpact-broker publish
), but when I go to the pactflow.io UI I can only see the HTTP interaction. However when I retrieve the latest pact for the provider I get a JSON file that contains both interactions and messages -- I used curl to retrieve the JSON.
I also built a provider test but only for the HTTP interaction (using HTTPVerifier
), what I am also seeing is that when I run the provider test it is attempting to verify the Kafka message.
Has anyone experienced a similar situation?