Re: [go-cd] ConsoleActivityMonitor hung for 5 mins

31 views
Skip to first unread message
Message has been deleted

Ketan Padegaonkar

unread,
Apr 19, 2021, 3:02:18 AM4/19/21
to go...@googlegroups.com
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 <niko...@gmail.com> 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.

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 go-cd+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/6354f6e2-814e-4a34-89d9-c47b7f3e2da1n%40googlegroups.com.
Message has been deleted

Nikola Radovanovic

unread,
Apr 19, 2021, 6:12:43 AM4/19/21
to go-cd
Please ignore this thread and sorry for the spam: it turns out that building dist_wheel indeed take 5 mins and the warning message as Ketan wrote above is due suppressed output from the scrpit. 

It would be the best that we all delete posts so it dos not confuse others?

Regards
Reply all
Reply to author
Forward
Message has been deleted
0 new messages