Turns out we will need https://github.com/openshift/ocp-build-data/pull/121 to merge before we can start getting slave builds at osbs/brew with dumb-init
looks like we have new images on brew for this
verified with openshift3/jenkins-agent-nodejs-8-rhel7:v3.10 (v3.10.149) openshift3/jenkins-agent-maven-35-rhel7:v3.10 (v3.10.149) openshift3/jenkins-slave-nodejs-rhel7:v3.10 (v3.10.149) openshift3/jenkins-slave-maven-rhel7:v3.10 (v3.10.149) Steps: 1. Create jenkins server and maven| nodejs pipeline buildconfigs. 2.Login to jenkins console to set the maven/nodejs pod idle 30 mins 3.Trigger maven and nodejs pipeline builds. 4.Rsh into slave pod when time is almost out. dumb-init process has cleaned defunct processes, no defunct processes exist. maven-nc44t 1/1 Running 0 30m nodejs-3nxf6 1/1 Running 0 30m # oc rsh -n xiuwang nodejs-3nxf6 sh-4.2$ ps -ef UID PID PPID C STIME TTY TIME CMD default 1 0 0 07:06 ? 00:00:00 /usr/bin/dumb-init -- /usr/local/bin/run-jnlp-client b4b4586fb94d09888b23ffe144cd18271ae9eb9075483b37a933a77ac5a69786 nodejs-3nxf6 default 7 1 1 07:06 ? 00:00:17 java -XX:+UseParallelGC -XX:MinHeapFreeRatio=5 -XX:MaxHeapFreeRatio=10 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -cp /home/jenkins/remoting.jar hudson.re default 251 0 0 07:34 ? 00:00:00 /bin/sh default 260 251 0 07:34 ? 00:00:00 ps -ef # oc rsh -n xiuwang maven-nc44t sh-4.2$ ps -ef UID PID PPID C STIME TTY TIME CMD default 1 0 0 07:07 ? 00:00:00 /usr/bin/dumb-init -- /usr/local/bin/run-jnlp-client ce6250144ae1685757b511ca3be8555faeebf1451574103da5e4fcea6cfddbc3 maven-nc44t default 7 1 1 07:07 ? 00:00:18 java -XX:+UseParallelGC -XX:MinHeapFreeRatio=5 -XX:MaxHeapFreeRatio=10 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -cp /home/jenkins/remoting.jar hudson.re default 265 0 0 07:37 ? 00:00:00 /bin/sh default 274 265 0 07:37 ? 00:00:00 ps -ef
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:1607