This morning I cut a new Drone 0.6.0 image and tested the same scenario (recreated database and project repo activation, etc.).
I got the same result.
There are two tasks running in parallel - “git” and “build”.
The “git” task passes with exit code 0.
The “build” task fails at different spots in the execution – sometimes at the beginning of the build script, sometimes in the middle. Exit code is always 127 (see new snapshot below – this time it made it past the
ls command but got cut off while doing
It looks like a timing issue caused by the fact that both tasks run in parallel while I think “build” should not run before cloning is complete.
Another odd thing is that the “git” task seems to be doing
git init instead of
git clone, yet the repo is cloned as evident by the result of
ls (see snapshot).
Am I overriding the clone task correctly? I followed the docs.
Here are the logs from the agent and the server:
pipeline: received next execution: 7
pipeline: finish uploading logs: application/json+logs: step 7: git
pipeline: finish uploading logs: 7: step git
pipeline: finish uploading logs: application/json+logs: step 7: build
pipeline: finish uploading logs: 7: step build
pipeline: execution complete: 7
pipeline: cancel channel closed: 7
pipeline: request next execution
pipeline: cancel ping loop: 7
time="2017-05-22T12:34:02Z" level=error msg="pull queue item: 7: successfully removed from backup"