I’ve got a bit of a problem where my builds do not seem to be finishing like ever.
I do see all the build steps exiting in the build logs but still the build stays in “running” state. No relevant logs found either on server or agent. Agent is started with
DRONE_DEBUG=true env and I can see the build start event there but nothing more. In some of the cases eventually the UI shows:
ERROR: terminal inactive for 15m0s, build cancelled
Any idea where to look for more info?
The problematic steps seems to be this one:
integration-test: image: jnummelin/build-tools volumes: - /var/run/docker.sock:/var/run/docker.sock commands: - docker-compose up -d --build - bats tests/ - docker-compose stop && docker-compose rm -f -v && sleep 5 && echo "Integration testing done"
Weird part is that in the build logs I can see this exiting with:
exit code 0
And on the node where agent runs I don’t see any leftover containers that could even be hanging on any terminal.