C
11/27/2022, 5:11 PMThomas K
11/28/2022, 2:51 PMmichael osarumwense
11/28/2022, 6:05 PMwin32-1.89.02-rc1\pact\bin\pact-broker.bat
is missing from node_modules\@pact-foundation\pact-node\standalone\
. I am using pact-node -v ^10.17.6
personal-media@0.1.0 test:publish
node publish.js
[2022-11-28 17:55:35.334 +0000] INFO (13664 on DESKTOP-1H0P31U): pact-node@10.17.6: Publishing Pacts to Broker
[2022-11-28 17:55:35.336 +0000] INFO (13664 on DESKTOP-1H0P31U): pact-node@10.17.6: Publishing pacts to broker at: <https://cloudmargin.pactflow.io>
[2022-11-28 17:55:35.368 +0000] ERROR (13664 on DESKTOP-1H0P31U): pact-node@10.17.6: spawn C:\Users\sanmi\OneDrive\Desktop\New folder\personal-media\node_modules\@pact-foundation\pact-node\standalone\win32-1.89.02-rc1\pact\bin\pact-broker.bat ENOENT
Error: spawn C:\Users\sanmi\OneDrive\Desktop\New folder\personal-media\node_modules\@pact-foundation\pact-node\standalone\win32-1.89.02-rc1\pact\bin\pact-broker.bat ENOENT
at notFoundError (C:\Users\sanmi\OneDrive\Desktop\New folder\personal-media\node_modules\cross-spawn\lib\enoent.js:6:26)
at verifyENOENT (C:\Users\sanmi\OneDrive\Desktop\New folder\personal-media\node_modules\cross-spawn\lib\enoent.js:40:16)
at ChildProcess.cp.emit (C:\Users\sanmi\OneDrive\Desktop\New folder\personal-media\node_modules\cross-spawn\lib\enoent.js:27:25)
at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
[2022-11-28 17:55:35.369 +0000] WARN (13664 on DESKTOP-1H0P31U): pact-node@10.17.6: Pact exited with code 1.
[2022-11-28 17:55:35.370 +0000] ERROR (13664 on DESKTOP-1H0P31U): pact-node@10.17.6: Pact publication failed with non-zero exit code. Full output was:
The system cannot find the path specified.
Pact contract publishing failed: Error: Pact publication failed with non-zero exit code. Full output was:
The system cannot find the path specified.
at ChildProcess.<anonymous> (C:\Users\sanmi\OneDrive\Desktop\New folder\personal-media\node_modules\@pact-foundation\pact-node\src\publisher.js:79:40)
at Object.onceWrapper (node:events:510:26)
at ChildProcess.emit (node:events:402:35)
at ChildProcess.cp.emit (C:\Users\sanmi\OneDrive\Desktop\New folder\personal-media\node_modules\cross-spawn\lib\enoent.js:34:29)
at maybeClose (node:internal/child_process:1064:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)
* Terminal will be reused by tasks, press any key to close it.
michael osarumwense
11/29/2022, 10:55 PM22:42:05.290] INFO (26840): pact@10.1.4: Verifying provider
[22:42:05.297] INFO (26840): pact-core@13.12.2: Verifying Pacts.
RUNS __tests__/provider.js
RUNS __tests__/provider.js
2022-11-29T22:42:11.622800Z ERROR ThreadId(12) pact_verifier: Failed to load pact - Failed to load pact '<https://cloudmargin.pactflow.io/pacts/provider/Provider-Backend/consumer/Consumer-Personal-Media/latest>' - Request failed with status - 401 Unauthorized
2022-11-29T22:42:11.624057Z ERROR ThreadId(12) pact_verifier: Failed to load pact - Could not load pacts from the pact broker '<https://cloudmargin.pactflow.io>'
2022-11-29T22:42:11.625595Z WARN ThreadId(12) pact_matching::metrics:
Please note:
We are tracking events anonymously to gather important usage statistics like Pact version and operating system. To disable tracking, set the 'PACT_DO_NOT_TRACK' environment variable to 'true'.
Failures:
1) Failed to load pact - Failed to load pact '<https://cloudmargin.pactflow.io/pacts/provider/Provider-Backend/consumer/Consumer-Personal-Media/latest>' - Request failed with status - 401 Unauthorized
2) Failed to load pact - Could not load pacts from the pact broker '<https://cloudmargin.pactflow.io>'
FAIL __tests__/provider.js (7.98 s)
Backend Personal Media verification
Ă validates the expectations of personal media (6414 ms)
â Backend Personal Media verification âş validates the expectations of personal media
Verfication failed
at node_modules/@pact-foundation/pact-core/src/verifier/nativeVerifier.ts:50:20
Francislainy Campos
12/01/2022, 4:42 AM./mvnw -Dpactbroker.auth.token=${pactBrokerToken} -Dpactbroker.tags=${getTag(testEnvt)} -Dtest=com.hmhco.lti.ags.tool.infrastructure.pact.*IT \
-Dpact.consumer.version=${ReleaseVersion} integration-test
Krishna Mohan Elluru
12/01/2022, 5:48 PMBasu Silviu
12/05/2022, 3:01 PMBasu Silviu
12/05/2022, 3:01 PMBasu Silviu
12/05/2022, 3:03 PMJames P
12/05/2022, 3:34 PMGitHub
12/07/2022, 8:21 PMBeth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
Basu Silviu
12/13/2022, 8:57 AMpact-broker help
returns the entire list of commands that can be executed, which is useful. But for some commands in the list, the parameters are truncated (due to space maybe).
E.g.: pact-broker publish PACT_DIRS_OR_FILES ... -a, --consumer-app-version=CONSUMER_APP_VERSION -b, --broker-base-url=BROKER_BASE_URL
Also, on the releases page in github I can only see the Usage for pact-mock-service
, pact-stub-service
and pact-provider-verifier
Can we get an implementation for the entire list of attributes when running for example pact-broker publish help
? - (which at the moment returns No value provided for required options '--consumer-app-version')
Thank you,Sam Hogarth
12/14/2022, 9:56 PMpact_1 | bundler: failed to load command: /pact/bin/pact (/pact/bin/pact)
pact_1 | /usr/lib/ruby/gems/3.0.0/gems/pact-1.63.0/lib/pact/hal/entity.rb53in `_link!': Could not find relation 'pb:latest-provider-pacts' in resource at https://sh1989.pactflow.io/pacts/provider/pact-provider/consumer/pact-consumer/pact-version/70a8e3b23699154f9342895ea8bac8e8d79396e3/metadata/Y3ZuPWRmMTgwMmI2Jnc9dHJ1ZQ (PacthalRelationNotFoundError)
Alvaro
12/15/2022, 11:06 AMAlvaro
12/15/2022, 11:06 AMdocker run --rm pactfoundation/pact-cli:latest \
pact-broker list-environments -b="<http://localhost:9292>"
Error
Error making request - Errno::EADDRNOTAVAIL Failed to open TCP connection to localhost:9292 (Address not available - connect(2) for "localhost" port 9292) /usr/lib/ruby/gems/3.0.0/gems/pact_broker-client-1.66.0/lib/pact_broker/client/hal/http_client.rb:79:in `block in perform_request', attempt 3 of 3
Error retrieving matrix. Errno::EADDRNOTAVAIL - Failed to open TCP connection to localhost:9292 (Address not available - connect(2) for "localhost" port 9292)
Alvaro
12/15/2022, 11:08 AM<http://localhost:9292>
works fine. Do you know If I need some kind of configuration or am I doing something wrong with the Pact CLI?Ădouard Lopez
12/20/2022, 1:43 PMevents << 'contract_content_changed' if options.contract_content_changed
events << 'contract_published' if options.contract_published
events << 'provider_verification_published' if options.provider_verification_published
events << 'provider_verification_succeeded' if options.provider_verification_succeeded
events << 'provider_verification_failed' if options.provider_verification_failed
events << 'contract_requiring_verification_published' if options.contract_requiring_verification_published
https://github.com/pact-foundation/pact_broker-client/blob/bf58b5c6503bdf6a4e13743[âŚ]f12d83af3e049891/lib/pact_broker/client/cli/webhook_commands.rbJayachandra K
12/21/2022, 9:31 PMGitHub
12/22/2022, 3:17 PMx
):
âď¸ Confirmed this is the right place to raise the issue - only issues related to the Dockerization of the Pact Broker should be raised here. Issues related to the Pact Broker application itself should be raised in the Pact Broker project.
âď¸ Upgraded to the latest Pact Broker Docker image OR
âď¸ Checked the </CHANGELOG.md|CHANGELOG> to see if the issue I am about to raise has been fixed
âď¸ Read the Troubleshooting page
Software versions
⢠pact-broker docker version: 2.105.0.1
Expected behaviour
No known vulnerabilities.
Actual behaviour
Image apline3.15 contains three packages with known vulnerabilities that are all fixed and upgraded in alpine3.16:
⢠gdbm: fixed in gdbm-1.23
⢠sqlite: CVE-2021-46100 (not disclosed but seems to be fixed in ver 3.37.0)
⢠icu-libs: fixed in version 71.1-rc2
Steps to reproduce
Security scan provided by Jfrog Xray.
Relevent log files
N/A
pact-foundation/pact-broker-dockerGitHub
12/22/2022, 3:32 PMx
):
âď¸ Confirmed this is the right place to raise the issue - only issues related to the Dockerization of the Pact Broker should be raised here. Issues related to the Pact Broker application itself should be raised in the Pact Broker project.
âď¸ Upgraded to the latest Pact Broker Docker image OR
âď¸ Checked the </CHANGELOG.md|CHANGELOG> to see if the issue I am about to raise has been fixed
âď¸ Read the Troubleshooting page
Software versions
⢠pact-broker docker version: 2.105.0.1
Expected behaviour
No known vulnerabilities.
Actual behaviour
Bundler 2.1.4 contains two vulnerabilities fixed in later versions (at least version 2.2.33):
⢠https://bundler.io/blog/2021/02/15/a-more-secure-bundler-we-fixed-our-source-priorities.html
⢠GHSA-fj7f-vq84-fh43
Steps to reproduce
Security scan provided by Jfrog Xray.
Relevent log files
N/A
pact-foundation/pact-broker-dockerGitHub
12/22/2022, 3:55 PMx
):
âď¸ Confirmed this is the right place to raise the issue - only issues related to the Dockerization of the Pact Broker should be raised here. Issues related to the Pact Broker application itself should be raised in the Pact Broker project.
âď¸ Upgraded to the latest Pact Broker Docker image OR
âď¸ Checked the </CHANGELOG.md|CHANGELOG> to see if the issue I am about to raise has been fixed
âď¸ Read the Troubleshooting page
Software versions
⢠pact-broker docker version: 2.105.0.1
Expected behaviour
No known vulnerabilities.
Actual behaviour
The documentation for setting up database connectivity describes PostgreSQL (for production) and SQLite (for testing), but it doesn't mention MariaDB. Still the mariadb-dev
package is brought in as a dependency in the Docker image. MariaDB version 10.6.10 seems to have quite a few security issues, some not fixed in later versions either.
⢠https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-27385
⢠https://jira.mariadb.org/browse/MDEV-26911
⢠https://jira.mariadb.org/browse/MDEV-27001
⢠https://jira.mariadb.org/browse/MDEV-26956
⢠https://jira.mariadb.org/browse/MDEV-26589
⢠https://jira.mariadb.org/browse/MDEV-26590
⢠https://jira.mariadb.org/browse/MDEV-26556
⢠https://jira.mariadb.org/browse/MDEV-26561
⢠https://jira.mariadb.org/browse/MDEV-26574
Question: Is MariaDB used for some internal tasks, or could it be removed from the pact-broker-docker image?
Steps to reproduce
Security scan provided by Jfrog Xray.
Relevent log files
N/A
pact-foundation/pact-broker-dockerKsawery Karwacki
12/27/2022, 11:30 AMJoe Kingston-Lee
01/03/2023, 1:06 PM{"message":"Exception obtaining parameters","status-code":500}
I have checked the logs for clues and searched the source code to trace the error message but to no avail.
Any help appreciated!Ădouard Lopez
01/05/2023, 2:31 PM