Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Pipelines failing 'Build setup' with no logs

john_mccabe February 18, 2020

One of the steps in our pipeline is consistently failing but produces no logs.

When I click on 'Build setup' there is a brief loading spinner but then we always get the warning triangle and still no logs are visible.

Screen Shot 2020-02-18 at 10.48.36 AM.png

While writing this question I re-ran the pipelines again and this time the "Frontend Tests" failed with no info in 0s.

The pipeline uses image: python:3.6.8 and the step that fails looks like this:

- step:
name: Frontend Tests
caches:
- pip
script:
- echo 'hi'
# Install Requirements
- pip install -r requirements.txt
# Run Tests
- python tests.py
services:
- mongo
- postgres

 Please let me know what additional info may be helpful.

Thanks in advance for any guidance/help.

3 answers

1 accepted

3 votes
Answer accepted
john_mccabe February 20, 2020

Looks like this was caused by a change to the Postgres docker image and how it handles authentication.

After adding `POSTGRES_HOST_AUTH_METHOD: trust` to our bitbucket-pipelines.yml builds are passing again.

definitions:
services:
postgres:
image: postgres
variables:
POSTGRES_HOST_AUTH_METHOD: trust
Michel Moreau February 20, 2020

AWESOME!

 

Thanks, will try this very soon.

1 vote
Michel Moreau February 19, 2020

Same problem here, really annoying. 

 

Using the following

 

```

image: python:3.7.2

```

Even pipelines that were previously succeeding are now failing. No change were made to repo variables as well.

Michel Moreau February 19, 2020

It's surely on BB's side. This has been like this for about 5 days or more now.

Michel Moreau February 19, 2020

Incident logged on 17th of Feb https://bitbucket.status.atlassian.com/ has not been 100% resolved.

1 vote
john_mccabe February 18, 2020

We tried upgrading to a newer image (python:3.8.10) and still got the same result, no logs no hints as to what went wrong.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events