Bug 12717 - [autobuilder2] - Buildbot stop never saw process goes away
Summary: [autobuilder2] - Buildbot stop never saw process goes away
Status: RESOLVED INVALID
Alias: None
Product: AutoBuilder
Classification: Infrastructure
Component: autobuilder (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium minor
Target Milestone: 4.99
Assignee: Aaron Chan
QA Contact: Aaron Chan
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2018-04-26 20:01 UTC by Aaron Chan
Modified: 2018-07-03 02:01 UTC (History)
8 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: Unknown (Hard to categorize)
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron Chan 2018-04-26 20:01:02 UTC
This is probably not a bug from autobuilder but rather from Buildbot itself.

I found this discussion along the way during my discovery - https://lists.buildbot.net/pipermail/devel/2006-October/001555.html

Hence this is what could happen, i gave up on permanent solution and resolve on my own workaround.

$ buildbot restart yocto-controller 
never saw process go away

$ ps -ef | grep twistd

user 6577  1522  1 10:19 ?        00:00:07 /usr/bin/python3 -c from twisted.scripts import twistd; twistd.run() --no_save --logfile=twistd.log --python=buildbot.tac
user 7536  4318  0 10:28 pts/2    00:00:00 grep --color=auto twistd

$ twistd-kill ~/yocto-controller restart


# Simple script to forcefully killed the reactor still running on the background.
#!/usr/bin -xe

BUILDBOT_PATH=$1
BUILDBOT_ACTION = $2

kill -9 `cat $BUILDBOT_PATH/twistd.pid`
buildbot $BUILDBOT_ACTION $BUILDBOT_PATH
Comment 1 Aaron Chan 2018-07-03 01:59:01 UTC
This ticket is no longer needed as the issue is not with Yocto Projet but rather this threat should posted with devel-Buildbot community.
Comment 2 Aaron Chan 2018-07-03 02:01:03 UTC
Resolve this ticket since its not a bug. Its basically to hightlight the issues observed when we moved from old Buildbot 0.8.8 into newer version Buildbot 1.1.+