I have couple pipelines and two services in my .drone.yml. What is happening is that after all the pipelines finish the two services still show as spinning in the UI and the build appears to be hung. When I tried to cancel the build it said “Successfully cancelled your build” but it didn’t as after F5 it was still showing as spinning The next retry to cancel said “Failed to cancel your build”. What’s curious is that after couple minutes the build finally shows as successfully completed in the original 4m time.
Some facts:
- all docker pipelines finish normally, it’s the reported status that seems to hang
- I’m seeing connection failures in the log - so this seems to be the core issue
2017-10-11T18:04:52Z |DEBU| log stream closed build=17 id=219 image=drillster/drone-volume-cache:latest repo=our/repo stage=rebuild-cache
INFO: 2017/10/11 18:05:10 transport: http2Client.notifyError got notified that the client transport was broken EOF.
INFO: 2017/10/11 18:05:10 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: Error while dialing dial tcp 35.190.188.41:9000: getsockopt: connection refused"; Reconnecting to {our.ci.io:9000 <nil>}
INFO: 2017/10/11 18:05:11 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: Error while dialing dial tcp 35.190.188.41:9000: getsockopt: connection refused"; Reconnecting to {our.ci.io:9000 <nil>}
2017-10-11T18:05:13Z |DEBU| stop listening for cancel signal build=17 id=219 repo=our/repo
2017-10-11T18:05:35Z |DEBU| pipeline lease renewed build=17 id=219 repo=our/repo