<@U9UUY3CU9> when i was runing in local machine it...
# pact-go
r
@Matt (pactflow.io / pact-js / pact-go) when i was runing in local machine its working fine but in gitlab ci/cd getting this error
Copy code
make consumer
#/builds/panamera/fcg/service/dapi/pact/bin run  --no-config --deadline=10m --enable=misspell --enable=nakedret
--- 🔨Running Consumer Pact tests 
go test -count=1 ./consumer/client -run 'TestClientPact'
go: finding <http://github.com/pact-foundation/pact-go|github.com/pact-foundation/pact-go> v1.7.1-0.20220627045253-94d333263e43
go: finding <http://cloud.google.com/go|cloud.google.com/go> v0.46.3
go: finding <http://github.com/hashicorp/logutils|github.com/hashicorp/logutils> v1.0.0
go: finding <http://github.com/hashicorp/go-version|github.com/hashicorp/go-version> v1.5.0
go: finding <http://google.golang.org/api|google.golang.org/api> v0.13.0
go: finding <http://github.com/stretchr/testify|github.com/stretchr/testify> v1.7.4
go: finding <http://github.com/gorilla/websocket|github.com/gorilla/websocket> v1.4.2
go: finding <http://golang.org/x/net|golang.org/x/net> v0.0.0-20210226172049-e18ecbb05110
go: finding <http://github.com/stretchr/objx|github.com/stretchr/objx> v0.4.0
go: finding <http://golang.org/x/crypto|golang.org/x/crypto> v0.0.0-20210921155107-089bfa567519
go: finding <http://golang.org/x/text|golang.org/x/text> v0.3.3
go: finding <http://github.com/gin-gonic/gin|github.com/gin-gonic/gin> v1.7.7
go: finding <http://gopkg.in/yaml.v3|gopkg.in/yaml.v3> v3.0.1
go: finding <http://github.com/google/uuid|github.com/google/uuid> v1.3.0
go: finding <http://github.com/klauspost/compress|github.com/klauspost/compress> v1.14.2
2022/07/06 05:25:48 [ERROR] service: /builds/panamera/fcg/service/dapi/pact/lib/ruby/bin/ruby: line 6: /builds/panamera/fcg/service/dapi/pact/lib/ruby/bin.real/ruby: No such file or directory
2022/07/06 05:25:58 [ERROR] Expected server to start < 10s. Timed out waiting for Mock Server to start on port 39773 - are you sure it's running?
2022/07/06 05:25:58 [ERROR] client: failed to wait for Mock Server: Expected server to start < 10s. Timed out waiting for Mock Server to start on port 39773 - are you sure it's running?
2022/07/06 05:25:58 Error on Verify: Post <http://localhost:39773/interactions>: dial tcp 127.0.0.1:39773: connect: connection refused
FAIL	<http://frontiercargroup.org/dealer/consumer/client|frontiercargroup.org/dealer/consumer/client>	10.026s
FAIL
make: *** [Makefile:221: consumer] Error 1
@Matt (pactflow.io / pact-js / pact-go) could you pls check this
m
Just an FYI you don’t need to tag maintainers in the channels - we’re all here and we’ll answer when we can 🙂
as per the issue you raised, we need some more detail. You mentioned you’re running in docker - have you read https://docs.pact.io/docker ?
have you tried basic debugging within the container, to see if the CLI tools are properly installed?
What other troubleshooting steps have you tried?
r
@Matt (pactflow.io / pact-js / pact-go) i have diffrent stage on ci/cd pipeline
@Matt (pactflow.io / pact-js / pact-go) can we connect ….?
???
m
Please stop addressing me directly or any maintainers unless requested. I have been traveling and so have not seen your messages, moreover we will see and respond to any message at our discretion and at a time convenient to us. I have tried to be patient and have asked you several clarifying questions which you've not responded to, including on the several GitHub issues you've raised/commented on. Please answer these first and we'll try to help.