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

Bitbucket Pipelines stderr

Oleg Mikhailov December 13, 2020

Hi! Recently I've got a very strange error during bitbucket pipelines execution:

2020-12-11T14:36:21.5200365Z stderr P 

Pipelines worked fine, then they stopped working suddenly and started to return that weird message.

My configuration uses docker

image: docker/compose:1.25.4

docker: true

memory: 3072
- step:
name: Run Unit tests
- apk add --no-cache git openssh
- git submodule update --init
- cp .env.example .env
- cp phpunit.xml.dist phpunit.xml
- cp /opt/atlassian/pipelines/agent/ssh/id_rsa .docker/node
- cp /opt/atlassian/pipelines/agent/ssh/id_rsa .docker/composer
- mkdir -p .docker/.storage/composer && chmod -R a+rw .docker/.storage/composer
- docker-compose build
- docker-compose run --rm composer install --no-progress
- docker-compose run --rm phpunit dockerize -wait tcp://mysql:3306 -wait tcp://mongodb:27017 -timeout 60s
- docker-compose run --rm phpunit ./artisan migrate --seed
- docker-compose run --rm phpunit vendor/bin/phpunit --configuration ./phpunit.xml --testsuite 'Checkout Unit'
- docker-compose run --rm phpunit vendor/bin/phpunit --configuration ./phpunit.xml --testsuite 'App Api'
- docker-compose run --rm phpunit vendor/bin/phpunit --configuration ./phpunit.xml --testsuite 'Checkout Api'

The first 2 testsuites work fine, pipeline is failing on the third testsuite and returns me

stderr P error that I see in docker-compose logs.

Tests work fine on my local machine, and they worked fine in bitbucket until recently.

Can anybody give me any clue what's wrong?

I checked if anything is spoiling stderr, nothing is logging there.

1 answer

0 votes
jlarroque January 12, 2023

This happened to me when I tried to import a library called opencv for python, but I guess it could happen for any other language/library. For anyone checking this, try to see if any recent library added could be causing you troubles.

Anyway, looks like a bug, the error should be visible in the GUI

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events