Dmitry Munda
02/21/2023, 2:18 PM● messages provider tests › all messages
Verfication failed
at ../../.yarn/unplugged/@pact-foundation-pact-core-npm-13.13.4-9646a3303c/node_modules/@pact-foundation/pact-core/src/verifier/nativeVerifier.ts:52:20
2023-02-21T13:47:45.029070Z ERROR ThreadId(09) pact_verifier: Failed to load pact - Could not load pacts from the pact broker '<https://pact.xxx.yyy>'
any ideas ? where to search for logs ?Timothy Jones
02/21/2023, 2:27 PMlogLevel: 'debug'Dmitry Munda
02/21/2023, 3:09 PMPACT_BROKER_LOG_LEVEL: "DEBUG"
this one ?Dmitry Munda
02/21/2023, 3:13 PMDmitry Munda
02/21/2023, 3:37 PM/pacts/provider/ccc/for-verification
{
"_embedded": {
"pacts": []
},
"_links": {
"self": {
"href": "https:// /pacts/provider/ccc/for-verification",
"title": "Pacts to be verified"
}
}
}
is empty ( apart from the rest )Dmitry Munda
02/21/2023, 3:58 PMDEBUG tokio-runtime-worker Connection{peer=Client}: h2::proto::connection: Connection::poll; connection error error=GoAway(b"", NO_ERROR, Library)Dmitry Munda
02/21/2023, 4:18 PM"@pact-foundation/pact": "10.4.1",Dmitry Munda
02/21/2023, 4:18 PMDmitry Munda
02/21/2023, 4:27 PMDmitry Munda
02/21/2023, 4:44 PMDmitry Munda
02/21/2023, 8:24 PMDmitry Munda
02/21/2023, 8:31 PM{\"max_age\": 90, \"tag\": \"live1\"} and deletes non-empty pacticipants
so at the end one has “nothing” with recorded and deployed version
and when trying /pacts/provider/ccc/for-verification gets go away :DMatt (pactflow.io / pact-js / pact-go)
This isn’t a problem, i’ve noticed the h2 client does this a lot for perfectly normal http requestsCopy codeDEBUG tokio-runtime-worker Connection{peer=Client}: h2::proto::connection: Connection::poll; connection error error=GoAway(b"", NO_ERROR, Library)
Matt (pactflow.io / pact-js / pact-go)
(kinda 4 ) after some time cleaner comes, and sees - (empty) pacticipant must have only 90 day old pacts (the clean should never remove the latest version for each tag though, so unless they’ve been removed by other means it should always have at least 1and deletes non-empty pacticipants{\"max_age\": 90, \"tag\": \"live1\"}
Matt (pactflow.io / pact-js / pact-go)
Dmitry Munda
02/21/2023, 11:45 PMDmitry Munda
02/21/2023, 11:46 PMDmitry Munda
02/21/2023, 11:47 PMMatt (pactflow.io / pact-js / pact-go)
last sorry?uglyog
GoAway(b"", NO_ERROR, Library) is the standard HTTP2 way of saying doneMatt (pactflow.io / pact-js / pact-go)
uglyog
Beth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
• If an application is not under active development, a selector that keeps versions by age limit might not actually select any versions. To ensure that we don’t loose those critical “latest” versions for our main line of development or our deployed environments, add a selector with.{"tag": true, "latest": true}
Beth (pactflow.io/Pact Broker/pact-ruby)
Dmitry Munda
02/23/2023, 7:08 AMDmitry Munda
02/23/2023, 7:09 AMDmitry Munda
02/23/2023, 7:16 AM11.2022 )
then C was not uploaded to broker ( yes, guilty 😄 )
when new release came, ABD were uploaded, but AB*C*D were tagged 12.2022
then cleaner came and sees there is C 12.2022, so previous could be deleted
then only not-uploaded, but tagged C exists
C is still in can-i-deploy, but when it was requested - connection error error=GoAwayBeth (pactflow.io/Pact Broker/pact-ruby)
Dmitry Munda
03/08/2023, 7:52 AMDmitry Munda
03/08/2023, 7:53 AMBeth (pactflow.io/Pact Broker/pact-ruby)