The task is not cancelled.
Just got another case (raw log this time):
(beginning of the log)
##|12:10:19.782 [go] Job Started: 2020-03-12 12:10:19 UTC
##|12:10:19.782
pr|12:10:19.782 [go] Start to prepare tp-core-master-build/45-6e4ce/build/1/test on unknown-host-158 [/go]
pr|12:10:19.791 [go] Start to update materials.
pr|12:10:19.791
pr|12:10:19.791 [go] Start updating files at revision 6e4ceac42321c0e964f6b7e9968c5e799fa3b5a6 from g...@github.com:Teamweek/core.git
pr|12:10:19.914 [GIT] Fetching changes
…
&1|12:16:24.694 ==> tp_billing_http_api
&1|12:16:24.694 Compiling 20 files (.ex)
&1|12:16:26.051 Generated tp_billing_http_api app
&1|12:16:29.523 The database for TPBase.Repo has been created
##|12:16:30.055 [go] Job Started: 2020-03-12 12:16:30 UTC
##|12:16:30.055
pr|12:16:30.055 [go] Start to prepare tp-core-master-build/45-6e4ce/build/1/test on unknown-host-406 [/go]
pr|12:16:30.064 [go] Start to update materials.
pr|12:16:30.064
pr|12:16:30.064 [go] Start updating files at revision 6e4ceac42321c0e964f6b7e9968c5e799fa3b5a6 from g...@github.com:Teamweek/core.git
pr|12:16:30.280 [GIT] Fetching changes
…
?0|12:21:10.814 [go] Task status: passed (1228 ms)
j1|12:21:10.826 [go] Current job status: failed
##|12:21:10.832 [go] Start to create properties tp-core-master-build/45-6e4ce/build/1/test on unknown-host-406 [/go]
ar|12:21:10.832 [go] Start to upload tp-core-master-build/45-6e4ce/build/1/test on unknown-host-406 [/go]
ex|12:21:10.832 [go] Job completed tp-core-master-build/45-6e4ce/build/1/test on unknown-host-406 [/go]
(end of the log)
So it just looks like the second run started in the middle of the first one. The first one didn’t even finish or cancel.
Looks like if the log file is shared between different agents (which is not clearly the case) but even this would not explain everything: the job number is the same: 45-6e4ce/build/1/test.
Really blows my mind :)