Skip to content

Instantly share code, notes, and snippets.

@aslakknutsen

aslakknutsen/test.md

Last active Sep 11, 2018
Embed
What would you like to do?

Start up with user having a running Server:

time="2018-09-11T18:26:25+02:00" level=info msg="UserIdler created." component=user-idler id=xxxxxx-a31f-471c-a3e7-9402c086d1be username=xxxxxxx 
time="2018-09-11T18:26:25+02:00" level=info msg="UserIdler started." checkIdle=5m component=user-idler id=xxxxxx-a31f-471c-a3e7-9402c086d1be maxRetriesQuietInterval=5m username=xxxxxxx 
time="2018-09-11T18:26:25+02:00" level=info msg="Will send user xxxxxxx to idler due to done build" 
time="2018-09-11T18:26:25+02:00" level=info msg="Sending user xxxxxxx to idler from a Build event" 
time="2018-09-11T18:26:26+02:00" level=info msg="Will send user xxxxxxx to idler due to a new version of DC or an existing version is coming up" 
time="2018-09-11T18:26:26+02:00" level=info msg="Sending user xxxxxxx to idler from a Deployment Config event" 
time="2018-09-11T18:26:26+02:00" level=info msg="About to idle jenkins, Reason: DoneBuild BuildName:cuckoo-1 Last:2018-07-20 05:05:22 +0000 UTC" attempt="(1/5)" component=user-idler id=xxxxxx-a31f-471c-a3e7-9402c086d1be username=xxxxxxx 
time="2018-09-11T18:26:26+02:00" level=info msg="Idling jenkins in xxxxxxx-jenkins" component=openshift-client 
time="2018-09-11T18:26:26+02:00" level=info msg="Will send user xxxxxxx to idler due to a new version of DC or an existing version is coming up" 
time="2018-09-11T18:26:26+02:00" level=info msg="Sending user xxxxxxx to idler from a Deployment Config event" 
time="2018-09-11T18:26:26+02:00" level=info msg="Current Jenkins' pod's state is idled" component=user-idler id=xxxxxx-a31f-471c-a3e7-9402c086d1be username=xxxxxxx 
time="2018-09-11T18:26:26+02:00" level=info msg="About to un-idle jenkins, Reason: DoneBuild BuildName:cuckoo-1 Last:2018-07-20 05:05:22 +0000 UTC" attempt="(1/5)" component=user-idler id=xxxxxx-a31f-471c-a3e7-9402c086d1be username=xxxxxxx 
time="2018-09-11T18:26:26+02:00" level=info msg="Un-idling jenkins in xxxxxxx-jenkins" component=openshift-client 
time="2018-09-11T18:26:27+02:00" level=info msg="Will send user xxxxxxx to idler due to a new version of DC or an existing version is coming up" 
time="2018-09-11T18:26:27+02:00" level=info msg="Sending user xxxxxxx to idler from a Deployment Config event" 
time="2018-09-11T18:26:27+02:00" level=info msg="Scaled service jenkins to 1" component=openshift-client 
time="2018-09-11T18:26:27+02:00" level=info msg="Successfully un-idled service jenkins in namespace xxxxxxx-jenkins (un-idle attempt: 1)" component=user-idler id=xxxxxx-a31f-471c-a3e7-9402c086d1be username=xxxxxxx 
time="2018-09-11T18:26:27+02:00" level=info msg="Will send user xxxxxxx to idler due to a new version of DC or an existing version is coming up" 
time="2018-09-11T18:26:27+02:00" level=info msg="Sending user xxxxxxx to idler from a Deployment Config event" 
time="2018-09-11T18:26:27+02:00" level=info msg="Will send user xxxxxxx to idler due to a new version of DC or an existing version is coming up" 
time="2018-09-11T18:26:27+02:00" level=info msg="Sending user xxxxxxx to idler from a Deployment Config event" 
time="2018-09-11T18:26:27+02:00" level=info msg="Current Jenkins' pod's state is starting" component=user-idler id=xxxxxx-a31f-471c-a3e7-9402c086d1be username=xxxxxxx 
time="2018-09-11T18:26:27+02:00" level=info msg="Current Jenkins' pod's state is starting" component=user-idler id=xxxxxx-a31f-471c-a3e7-9402c086d1be username=xxxxxxx 
time="2018-09-11T18:26:27+02:00" level=info msg="Current Jenkins' pod's state is starting" component=user-idler id=xxxxxx-a31f-471c-a3e7-9402c086d1be username=xxxxxxx 
time="2018-09-11T18:26:27+02:00" level=info msg="Current Jenkins' pod's state is starting" component=user-idler id=xxxxxx-a31f-471c-a3e7-9402c086d1be username=xxxxxxx 
time="2018-09-11T18:28:54+02:00" level=info msg="Will send user xxxxxxx to idler because Jenkins was just started" 
time="2018-09-11T18:28:54+02:00" level=info msg="Sending user xxxxxxx to idler from a Deployment Config event" 
time="2018-09-11T18:28:54+02:00" level=info msg="Current Jenkins' pod's state is running" component=user-idler id=xxxxxx-a31f-471c-a3e7-9402c086d1be username=xxxxxxx 

Idle check kicks in (in this case 5min ish later):

time="2018-09-11T18:33:54+02:00" level=info msg="Time based idle check." component=user-idler id=xxxxxx-a31f-471c-a3e7-9402c086d1be state="HasBuilds:true HasActiveBuilds:false JenkinsLastUpdate:11 Sep 18 16:28 UTC" username=xxxxxxx 
time="2018-09-11T18:33:54+02:00" level=info msg="About to idle jenkins, Reason: DoneBuild BuildName:cuckoo-1 Last:2018-07-20 05:05:22 +0000 UTC" attempt="(1/5)" component=user-idler id=xxxxxx-a31f-471c-a3e7-9402c086d1be username=xxxxxxx 
time="2018-09-11T18:33:54+02:00" level=info msg="Idling jenkins in xxxxxxx-jenkins" component=openshift-client 
time="2018-09-11T18:33:55+02:00" level=info msg="Will send user xxxxxxx to idler because Jenkins was just started" 
time="2018-09-11T18:33:55+02:00" level=info msg="Sending user xxxxxxx to idler from a Deployment Config event" 
time="2018-09-11T18:33:55+02:00" level=info msg="Will send user xxxxxxx to idler because Jenkins was just started" 
time="2018-09-11T18:33:55+02:00" level=info msg="Sending user xxxxxxx to idler from a Deployment Config event" 
time="2018-09-11T18:33:55+02:00" level=info msg="Will send user xxxxxxx to idler due to a new version of DC or an existing version is coming up" 
time="2018-09-11T18:33:55+02:00" level=info msg="Sending user xxxxxxx to idler from a Deployment Config event" 
time="2018-09-11T18:33:55+02:00" level=info msg="Will send user xxxxxxx to idler due to a new version of DC or an existing version is coming up" 
time="2018-09-11T18:33:55+02:00" level=info msg="Sending user xxxxxxx to idler from a Deployment Config event" 
time="2018-09-11T18:33:55+02:00" level=info msg="Current Jenkins' pod's state is idled" component=user-idler id=xxxxxx-a31f-471c-a3e7-9402c086d1be username=xxxxxxx 
time="2018-09-11T18:33:55+02:00" level=info msg="About to un-idle jenkins, Reason: DoneBuild BuildName:cuckoo-1 Last:2018-07-20 05:05:22 +0000 UTC" attempt="(1/5)" component=user-idler id=xxxxxx-a31f-471c-a3e7-9402c086d1be username=xxxxxxx 
time="2018-09-11T18:33:55+02:00" level=info msg="Un-idling jenkins in xxxxxxx-jenkins" component=openshift-client 
time="2018-09-11T18:33:55+02:00" level=info msg="Scaled service jenkins to 1" component=openshift-client 
time="2018-09-11T18:33:55+02:00" level=info msg="Successfully un-idled service jenkins in namespace xxxxxxx-jenkins (un-idle attempt: 1)" component=user-idler id=xxxxxx-a31f-471c-a3e7-9402c086d1be username=xxxxxxx 
time="2018-09-11T18:33:55+02:00" level=info msg="Current Jenkins' pod's state is idled" component=user-idler id=xxxxxx-a31f-471c-a3e7-9402c086d1be username=xxxxxxx 
time="2018-09-11T18:33:55+02:00" level=info msg="About to un-idle jenkins, Reason: DoneBuild BuildName:cuckoo-1 Last:2018-07-20 05:05:22 +0000 UTC" attempt="(2/5)" component=user-idler id=xxxxxx-a31f-471c-a3e7-9402c086d1be username=xxxxxxx 
time="2018-09-11T18:33:55+02:00" level=info msg="Un-idling jenkins in xxxxxxx-jenkins" component=openshift-client 
time="2018-09-11T18:33:55+02:00" level=info msg="Scaled service jenkins to 1" component=openshift-client 
time="2018-09-11T18:33:55+02:00" level=info msg="Successfully un-idled service jenkins in namespace xxxxxxx-jenkins (un-idle attempt: 2)" component=user-idler id=xxxxxx-a31f-471c-a3e7-9402c086d1be username=xxxxxxx 
time="2018-09-11T18:34:09+02:00" level=info msg="Will send user xxxxxxx to idler due to a new version of DC or an existing version is coming up" 
time="2018-09-11T18:34:09+02:00" level=info msg="Sending user xxxxxxx to idler from a Deployment Config event" 
time="2018-09-11T18:34:09+02:00" level=info msg="Current Jenkins' pod's state is starting" component=user-idler id=xxxxxx-a31f-471c-a3e7-9402c086d1be username=xxxxxxx 
  1. Idle check kicks in
time="2018-09-11T18:41:29+02:00" level=info msg="Time based idle check." component=user-idler id=xxxxxx-a31f-471c-a3e7-9402c086d1be state="HasBuilds:true HasActiveBuilds:false JenkinsLastUpdate:11 Sep 18 16:36 UTC" username=xxxxxxx 
time="2018-09-11T18:41:29+02:00" level=info msg="About to idle jenkins, Reason: DoneBuild BuildName:cuckoo-1 Last:2018-07-20 05:05:22 +0000 UTC" attempt="(1/5)" component=user-idler id=xxxxxx-a31f-471c-a3e7-9402c086d1be username=xxxxxxx 
time="2018-09-11T18:41:29+02:00" level=info msg="Idling jenkins in xxxxxxx-jenkins" component=openshift-client 
time="2018-09-11T18:41:30+02:00" level=info msg="Will send user xxxxxxx to idler because Jenkins was just started" 
time="2018-09-11T18:41:30+02:00" level=info msg="Sending user xxxxxxx to idler from a Deployment Config event" 
time="2018-09-11T18:41:30+02:00" level=info msg="Will send user xxxxxxx to idler because Jenkins was just started" 
time="2018-09-11T18:41:30+02:00" level=info msg="Sending user xxxxxxx to idler from a Deployment Config event" 
  1. Idle check kicks in
time="2018-09-11T18:46:30+02:00" level=info msg="Time based idle check." component=user-idler id=xxxxxx-a31f-471c-a3e7-9402c086d1be state="HasBuilds:true HasActiveBuilds:false JenkinsLastUpdate:11 Sep 18 16:36 UTC" username=xxxxxxx 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment