Thanks,
basically, I just run two tasks (output pasted from console):

[go] Task: /bin/bash -c "echo -e \"[distutils]\nindex-servers =\n 
pypi\n\n[pypi]\nrepository: 
https://nexus.test.com/repository/pypi-hosted/\nusername: 
${PYPI_USERNAME}\npassword: ${PYPI_PASSWORD}\" > .pypirc"took: 0.3s
[go] Task: /bin/bash -c "python3 setup.py sdist"took: 6m 10.330s

Even with complete git checkout and build, it should not last that much 
time (6+ minutes).

Best regards


On Monday, April 19, 2021 at 9:02:18 AM UTC+2 [email protected] wrote:

> This is a warning you see when gocd does not detect any console activity 
> for more than 5 minutes. It's usually an indication of a hung job, and 
> there is a possibility gocd kills the job if it is configured to do so. If 
> you have a long running operation in your build pipeline, it's recommended 
> that you generate some progress indicator to indicate that the job is not 
> hung.
>
> - Ketan
>
>
>
> On Mon, Apr 19, 2021 at 12:24 PM Nikola Radovanovic <[email protected]> 
> wrote:
>
>> Hi all,
>> I played with GoCD during the weekend and I noticed that my simple task 
>> of building Python wheel lasts almost 6 minutes, which is strange. By 
>> examining the logs, I saw this message:
>>
>> 2021-04-19 04:29:40,310 INFO  [qtp883613171-43] 
>> BuildRepositoryRemoteImpl:99 - [Agent [c68e2bcdbf4a, 172.26.0.4, 
>> 4368f04f-2766-44c5-8bf0-2239ad05c357, 
>> d39c9b14-9f33-4c53-a006-8edd6e0940c4]] is reporting status [Building] for 
>> [Build [mylib/9/process/1/build/52]]
>> 2021-04-19 04:34:55,705 INFO  [ThreadPoolTaskScheduler-5] 
>> ConsoleActivityMonitor:111 - Job 'mylib/9/process/1/build' hung for more 
>> than '5' minutes
>> 2021-04-19 04:35:03,063 INFO  [qtp883613171-27] 
>> BuildRepositoryRemoteImpl:99 - [Agent [c68e2bcdbf4a, 172.26.0.4, 
>> 4368f04f-2766-44c5-8bf0-2239ad05c357, 
>> d39c9b14-9f33-4c53-a006-8edd6e0940c4]] is reporting result [Passed] for 
>> [Build [mylib/9/process/1/build/52]]
>>
>> The job succeed eventually, but I don't understand why is this? I am 
>> using latest zip with custom docker for both server and agent; so guess it 
>> is most probably my lack of GoCD configuration knowledge. I put my Docker 
>> related stuff in a temporary repository here 
>> <https://github.com/nikoladsp/gocd_docker>.
>>
>> Thank you in advance.
>>
>> Best regards
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "go-cd" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/go-cd/6354f6e2-814e-4a34-89d9-c47b7f3e2da1n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/go-cd/6354f6e2-814e-4a34-89d9-c47b7f3e2da1n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/go-cd/d5c46f58-903c-42c9-8946-6b6c73b486efn%40googlegroups.com.

Reply via email to