Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Tests fail in Pipelines due to uncontactable service but works fine locally

I have a node typescript project that is integration testing access to a mssql server and a gremlin graph server. Locally I am using Docker Compose to run the integration tests and everything is running and tests are passing locally with my mssql and gremlin docker services. However in my build pipeline the gremlin service cannot be reached by the script. I get an ECONNREFUSED on the 8182 port that gremlin server is exposed on. 

I am using the latest official tinkerpop/gremlin-server:3.2.10 docker image which in the config file sets host to localhost and port to 8182. I wondered if the problem might be the hostname so I created a custom build of the gremlin server with hostname set to and * but neither of these worked either. The script can connect to the mssql server it is the graph server causing problems.

If I look at the gremlin server in pipelines the container is starting up correctly and serving on port 8182. My script is saying that it is failing to connect to

How can I go about trying to fix this? Any help is greatly appreciated.

1 answer

This is my pipelines file:


image: node:10-alpine
pipelines: branches: master: - step: name: Build and test script: - npm install - npm run build-no-test - npm run test artifacts: - dist/** - docs/** services: - gremlin-server - mssql - step: name: Publish deployment: production script: - npm publishdefinitions: services: gremlin-server: image: tinkerpop/gremlin-server:3.2.10 environment: GREMLIN_SERVER_VERSION: "3.2.10" ports: - "8182:8182" mssql: image: ports: - "1433:1433" environment: SA_PASSWORD: "G10b352018" ACCEPT_EULA: "Y"

Did you ever find a solution to this?

Like Pedro GN likes this

I'm having this same issue. I have very little hope but did you find a solution? :( 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket Pipelines

Bitbucket Pipelines Runners is now in open beta

We are excited to announce the open beta program for self-hosted runners. Bitbucket Pipelines Runners is available to everyone. Please try it and let us know your feedback. If you have any issue...

758 views 15 10
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you