Hello,
Currently we are moving from another tool to bitbucket CI. We are using self-hosted runners and are pipeline is currently up to an hour. Now we've already had done some optimization steps. However we are seeing major timing differences between the console and the pipeline view left of the console.
Example of a step:
Runner <1s
Build setup <1m 29s
custom grep command placeholder <1s
Build teardown <1s
But the step viewer says this has taken 2m 36s
Also for a larger step like behat tests (Docker in Docker)
Runner <1s
Build setup 2m 43s
export DOCKER_COMPOSE_VERSION=2.19.0 <1s
curl -L https://github.com/docker/compose/releases/download/v${DOCKER_COMPOSE_VERSION}/docker-compose-linux-x86_64 -o /usr/local/bin/docker-compose 12s
chmod +x /usr/local/bin/docker-compose <1s
cp .env.REDACTED.dist .env <1s
docker login REDACTED -u REDACTED -p REDACTED 15s
make REDACTED <1s
make behat-up 3m 14s
make behat-REDACTED-prepare 40s
make behat-REDACTED > behat-REDACTED.log 2>&1 || true 10m 16s
cat behat-REDACTED.log <1s
make behat-down 7s
Build teardown 51s
But the step viewer says this has taken 25m 33s
The first step is a solo sequential step, the other runs in parallel to other tests. However we see all steps run at the same time, since we have enough runners spin up.
Is there anyway i can see what causes the time difference?