Hi team could you please help me here:
When am try to publish pact with goCD pipeline it worked for me but with same pipeline when am trying to verify pact its giving me timeout error.
Here is my error :
[go] Task: /bin/bash -c "PACT_BROKER_TOKEN=\"$(aws secretsmanager get-secret-value --profile secrets-manager --region eu-central-1 --secret-id pactflow-read-write-token | jq -r '.SecretString')\" GIT_COMMIT_ID=$(git rev-parse --short=7 HEAD) ./gradlew --refresh-dependencies pactTest pactPublish -x build -S"took: 9m 14.601sexited: 1
> Task :checkKotlinGradlePluginConfigurationErrors
> Task :compileKotlin UP-TO-DATE
> Task :compileJava NO-SOURCE
> Task :processResources UP-TO-DATE
> Task :classes UP-TO-DATE
> Task :compileTestKotlin UP-TO-DATE
> Task :compileTestJava NO-SOURCE
> Task :processTestResources UP-TO-DATE
> Task :testClasses UP-TO-DATE
> Task :pacttest
OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended
> Task :pacttest
pmd.contracts.ApiProviderContractTests
pactVerificationTestTemplate(PactVerificationContext)
✘ initializationError
au.com.dius.pact.core.pactbroker.InvalidNavigationRequest: Failed to fetch the root HAL document
Caused by: org.apache.hc.client5.http.HttpHostConnectException: Connect to
https://pactflow.io:443failed: Operation timed out
pmd.contracts.FootnotesProviderContractTests
✘ initializationError
org.koin.core.error.KoinAppAlreadyStartedException: A Koin Application has already been started
at app<//com.mercedesbenz.ms|/>/pmd.contracts.FootnotesProviderContractTests.setup(FootnotesProviderContractTests.kt:62)
0 passing (8m 58s)
2 tests completed, 2 failed
2 failing
> Task :pacttest FAILED