My Jenkins operator keeps restarting my Jenkins pods I am referring to this link if anyone can help that would very much appreciate Installing the Operator | Jenkins Operator
Hello, could you post Operator and Kubernetes logs? That would be very helpful to find the cause of problem.
sure @MKajzik here are the logs for the operator and Jenkins pod
2022-02-10T09:27:31.020Z INFO cmd Version: v0.7.0
2022-02-10T09:27:31.020Z INFO cmd Git commit: 76078d5f
2022-02-10T09:27:31.020Z INFO cmd Go Version: go1.15.6
2022-02-10T09:27:31.020Z INFO cmd Go OS/Arch: linux/amd64
2022-02-10T09:27:31.020Z INFO cmd Watch namespace: jenkins
2022-02-10T09:27:32.312Z INFO controller-runtime.metrics metrics server is starting to listen {"addr": "0.0.0.0:8383"}
2022-02-10T09:27:32.412Z INFO cmd starting manager
I0210 09:27:32.419314 1 leaderelection.go:243] attempting to acquire leader lease jenkins/c674355f.jenkins.io...
2022-02-10T09:27:32.507Z INFO controller-runtime.manager starting metrics server {"path": "/metrics"}
I0210 09:27:32.537307 1 leaderelection.go:253] successfully acquired lease jenkins/c674355f.jenkins.io
2022-02-10T09:27:32.537Z DEBUG controller-runtime.manager.events Normal {"object": {"kind":"ConfigMap","namespace":"jenkins","name":"c674355f.jenkins.io","uid":"85b676ee-54c0-4d20-8017-099fa0533efa","apiVersion":"v1","resourceVersion":"653"}, "reason": "LeaderElection", "message": "jenkins-operator-5d5965f79d-lpbp4_461962f7-ab82-458d-9166-a0b7a0d19ec2 became leader"}
2022-02-10T09:27:32.538Z DEBUG controller-runtime.manager.events Normal {"object": {"kind":"Lease","namespace":"jenkins","name":"c674355f.jenkins.io","uid":"16756cbe-28c3-4199-8141-279e99b4efb5","apiVersion":"coordination.k8s.io/v1","resourceVersion":"654"}, "reason": "LeaderElection", "message": "jenkins-operator-5d5965f79d-lpbp4_461962f7-ab82-458d-9166-a0b7a0d19ec2 became leader"}
2022-02-10T09:27:32.538Z INFO controller-runtime.manager.controller.jenkins Starting EventSource {"reconciler group": "jenkins.io", "reconciler kind": "Jenkins", "source": "kind source: jenkins.io/v1alpha2, Kind=Jenkins"}
2022-02-10T09:27:33.208Z INFO controller-runtime.manager.controller.jenkins Starting EventSource {"reconciler group": "jenkins.io", "reconciler kind": "Jenkins", "source": "kind source: /, Kind="}
2022-02-10T09:27:33.310Z INFO controller-runtime.manager.controller.jenkins Starting EventSource {"reconciler group": "jenkins.io", "reconciler kind": "Jenkins", "source": "kind source: /, Kind="}
2022-02-10T09:27:33.411Z INFO controller-runtime.manager.controller.jenkins Starting EventSource {"reconciler group": "jenkins.io", "reconciler kind": "Jenkins", "source": "kind source: /, Kind="}
2022-02-10T09:27:33.512Z INFO controller-runtime.manager.controller.jenkins Starting EventSource {"reconciler group": "jenkins.io", "reconciler kind": "Jenkins", "source": "kind source: core/v1, Kind=Secret"}
2022-02-10T09:27:33.512Z INFO controller-runtime.manager.controller.jenkins Starting EventSource {"reconciler group": "jenkins.io", "reconciler kind": "Jenkins", "source": "kind source: core/v1, Kind=ConfigMap"}
2022-02-10T09:27:33.512Z INFO controller-runtime.manager.controller.jenkins Starting EventSource {"reconciler group": "jenkins.io", "reconciler kind": "Jenkins", "source": "kind source: jenkins.io/v1alpha2, Kind=Jenkins"}
2022-02-10T09:27:33.512Z INFO controller-runtime.manager.controller.jenkins Starting Controller {"reconciler group": "jenkins.io", "reconciler kind": "Jenkins"}
2022-02-10T09:27:33.512Z INFO controller-runtime.manager.controller.jenkins Starting workers {"reconciler group": "jenkins.io", "reconciler kind": "Jenkins", "worker count": 1}
+ '[' '' == true ']'
+ echo 'To print debug messages set environment variable '\''DEBUG_JENKINS_OPERATOR'\'' to '\''true'\'''
+ mkdir -p /var/lib/jenkins/init.groovy.d
To print debug messages set environment variable 'DEBUG_JENKINS_OPERATOR' to 'true'
+ cp -n /var/jenkins/init-configuration/createOperatorUser.groovy /var/lib/jenkins/init.groovy.d
+ mkdir -p /var/lib/jenkins/scripts
+ cp /var/jenkins/scripts/init.sh /var/jenkins/scripts/install-plugins.sh /var/lib/jenkins/scripts
+ chmod +x /var/lib/jenkins/scripts/init.sh /var/lib/jenkins/scripts/install-plugins.sh
+ echo 'Installing plugins required by Operator - begin'
+ cat
Installing plugins required by Operator - begin
+ [[ -z '' ]]
+ install-plugins.sh
WARN: install-plugins.sh is deprecated, please switch to jenkins-plugin-cli
Creating initial locks...
Analyzing war /usr/share/jenkins/jenkins.war...
Registering preinstalled plugins...
Using version-specific update center: https://updates.jenkins.io/dynamic-2.319/...
Downloading plugins...
Downloading plugin: kubernetes from https://updates.jenkins.io/download/plugins/kubernetes/1.30.11/kubernetes.hpi
Downloading plugin: workflow-job from https://updates.jenkins.io/download/plugins/workflow-job/2.42/workflow-job.hpi
Downloading plugin: workflow-aggregator from https://updates.jenkins.io/download/plugins/workflow-aggregator/2.6/workflow-aggregator.hpi
Downloading plugin: git from https://updates.jenkins.io/download/plugins/git/4.10.0/git.hpi
Downloading plugin: job-dsl from https://updates.jenkins.io/download/plugins/job-dsl/1.78.1/job-dsl.hpi
Downloading plugin: configuration-as-code from https://updates.jenkins.io/download/plugins/configuration-as-code/1.55/configuration-as-code.hpi
Downloading plugin: kubernetes-credentials-provider from https://updates.jenkins.io/download/plugins/kubernetes-credentials-provider/0.20/kubernetes-credentials-provider.hpi
> workflow-job depends on workflow-api:2.46,workflow-step-api:2.23,workflow-support:3.8
Downloading plugin: workflow-api from https://updates.jenkins.io/dynamic-2.319//latest/workflow-api.hpi
> workflow-aggregator depends on lockable-resources:2.3,pipeline-stage-view:2.10,workflow-api:2.29,workflow-basic-steps:2.11,workflow-cps-global-lib:2.11,workflow-cps:2.56,workflow-durable-task-step:2.22,workflow-job:2.25,workflow-multibranch:2.20,workflow-scm-step:2.6,workflow-step-api:2.16,workflow-support:2.20,cloudbees-folder:6.6,credentials:2.1.18,git-client:2.7.3,jackson2-api:2.8.11.3,pipeline-build-step:2.7,pipeline-input-step:2.8,pipeline-milestone-step:1.3.1,pipeline-stage-step:2.3,scm-api:2.2.8,structs:1.15,pipeline-model-definition:1.3.2
Downloading plugin: workflow-step-api from https://updates.jenkins.io/dynamic-2.319//latest/workflow-step-api.hpi
Downloading plugin: workflow-support from https://updates.jenkins.io/dynamic-2.319//latest/workflow-support.hpi
Downloading plugin: lockable-resources from https://updates.jenkins.io/dynamic-2.319//latest/lockable-resources.hpi
Downloading plugin: pipeline-stage-view from https://updates.jenkins.io/dynamic-2.319//latest/pipeline-stage-view.hpi
Downloading plugin: workflow-basic-steps from https://updates.jenkins.io/dynamic-2.319//latest/workflow-basic-steps.hpi
Downloading plugin: workflow-cps-global-lib from https://updates.jenkins.io/dynamic-2.319//latest/workflow-cps-global-lib.hpi
Downloading plugin: workflow-cps from https://updates.jenkins.io/dynamic-2.319//latest/workflow-cps.hpi
Downloading plugin: workflow-durable-task-step from https://updates.jenkins.io/dynamic-2.319//latest/workflow-durable-task-step.hpi
Downloading plugin: workflow-multibranch from https://updates.jenkins.io/dynamic-2.319//latest/workflow-multibranch.hpi
Downloading plugin: workflow-scm-step from https://updates.jenkins.io/dynamic-2.319//latest/workflow-scm-step.hpi
Downloading plugin: cloudbees-folder from https://updates.jenkins.io/dynamic-2.319//latest/cloudbees-folder.hpi
Downloading plugin: credentials from https://updates.jenkins.io/dynamic-2.319//latest/credentials.hpi
> kubernetes depends on caffeine-api:2.9.2-29.v717aac953ff3,workflow-api:2.47,workflow-cps:2.94;resolution:=optional,workflow-step-api:2.24,authentication-tokens:1.4,cloudbees-folder:6.16,credentials-binding:1.27,credentials:2.6.1,durable-task:1.37,jackson2-api:2.13.0-230.v59243c64b0a5,kubernetes-client-api:5.4.1,metrics:4.0.2.8,plain-credentials:1.7,structs:1.23,variant:1.4,kubernetes-credentials:0.9.0,pipeline-model-extensions:1.9.2;resolution:=optional
Downloading plugin: git-client from https://updates.jenkins.io/dynamic-2.319//latest/git-client.hpi
Downloading plugin: jackson2-api from https://updates.jenkins.io/dynamic-2.319//latest/jackson2-api.hpi
Downloading plugin: caffeine-api from https://updates.jenkins.io/dynamic-2.319//latest/caffeine-api.hpi
Skipping optional dependency workflow-cps
Downloading plugin: pipeline-build-step from https://updates.jenkins.io/dynamic-2.319//latest/pipeline-build-step.hpi
Downloading plugin: pipeline-input-step from https://updates.jenkins.io/dynamic-2.319//latest/pipeline-input-step.hpi
Downloading plugin: authentication-tokens from https://updates.jenkins.io/dynamic-2.319//latest/authentication-tokens.hpi
> git depends on configuration-as-code:1.54;resolution:=optional,workflow-scm-step:2.13,workflow-step-api:2.24,credentials-binding:1.27,credentials:2.6.1,git-client:3.10.0,mailer:1.34,matrix-project:1.19;resolution:=optional,parameterized-trigger:2.39;resolution:=optional,promoted-builds:3.9.1;resolution:=optional,scm-api:2.6.5,script-security:1.78,ssh-credentials:1.19,structs:1.23,token-macro:2.15;resolution:=optional
Skipping optional dependency configuration-as-code
Downloading plugin: pipeline-milestone-step from https://updates.jenkins.io/dynamic-2.319//latest/pipeline-milestone-step.hpi
Downloading plugin: pipeline-stage-step from https://updates.jenkins.io/dynamic-2.319//latest/pipeline-stage-step.hpi
Downloading plugin: credentials-binding from https://updates.jenkins.io/dynamic-2.319//latest/credentials-binding.hpi
Downloading plugin: scm-api from https://updates.jenkins.io/dynamic-2.319//latest/scm-api.hpi
Downloading plugin: structs from https://updates.jenkins.io/dynamic-2.319//latest/structs.hpi
Downloading plugin: pipeline-model-definition from https://updates.jenkins.io/dynamic-2.319//latest/pipeline-model-definition.hpi
Downloading plugin: durable-task from https://updates.jenkins.io/dynamic-2.319//latest/durable-task.hpi
Downloading plugin: mailer from https://updates.jenkins.io/dynamic-2.319//latest/mailer.hpi
Downloading plugin: kubernetes-client-api from https://updates.jenkins.io/dynamic-2.319//latest/kubernetes-client-api.hpi
Skipping optional dependency matrix-project
Skipping optional dependency parameterized-trigger
Downloading plugin: metrics from https://updates.jenkins.io/dynamic-2.319//latest/metrics.hpi
Skipping optional dependency promoted-builds
Downloading plugin: plain-credentials from https://updates.jenkins.io/dynamic-2.319//latest/plain-credentials.hpi
Downloading plugin: variant from https://updates.jenkins.io/dynamic-2.319//latest/variant.hpi
Downloading plugin: kubernetes-credentials from https://updates.jenkins.io/dynamic-2.319//latest/kubernetes-credentials.hpi
Skipping optional dependency pipeline-model-extensions
Downloading plugin: ssh-credentials from https://updates.jenkins.io/dynamic-2.319//latest/ssh-credentials.hpi
Skipping optional dependency token-macro
Downloading plugin: script-security from https://updates.jenkins.io/dynamic-2.319//latest/script-security.hpi
> kubernetes-credentials-provider depends on aws-credentials:1.26;resolution:=optional,credentials:2.2.0,github-branch-source:2.7.1;resolution:=optional,kubernetes-client-api:5.4.1,openstack-cloud:2.47;resolution:=optional,plain-credentials:1.4;resolution:=optional,ssh-credentials:1.18.1;resolution:=optional,variant:1.1
Skipping optional dependency aws-credentials
Skipping optional dependency github-branch-source
Skipping optional dependency openstack-cloud
Skipping optional dependency plain-credentials
Skipping optional dependency ssh-credentials
> workflow-basic-steps depends on workflow-api:2.46,workflow-durable-task-step:2.39,workflow-step-api:2.24,apache-httpcomponents-client-4-api:4.5.13-1.0,mailer:1.34,structs:1.23
> workflow-step-api depends on structs:1.23
> workflow-multibranch depends on workflow-api:2.47,workflow-cps:2.94,workflow-job:2.41,workflow-scm-step:2.13,workflow-step-api:2.24,workflow-support:3.8,branch-api:2.7.0,cloudbees-folder:6.16,scm-api:2.6.5,script-security:1.78
> lockable-resources depends on caffeine-api:2.9.2-29.v717aac953ff3,workflow-support:3.8,mailer:1.34,matrix-project:1.18,script-security:1.78,structs:1.23
> workflow-api depends on workflow-step-api:2.24,scm-api:2.6.5
> pipeline-build-step depends on workflow-api:2.46,workflow-step-api:2.23,workflow-support:3.8,script-security:1.77,structs:1.23
> authentication-tokens depends on credentials:1.22
> workflow-durable-task-step depends on workflow-api:1108.v57edf648f5d4,workflow-step-api:622.vb_8e7c15b_c95a_,workflow-support:804.vba10a18a1476,durable-task:493.v195aefbb0ff2,scm-api:2.6.5,script-security:1118.vba21ca2e3286,structs:308.v852b473a2b8c
Downloading plugin: apache-httpcomponents-client-4-api from https://updates.jenkins.io/dynamic-2.319//latest/apache-httpcomponents-client-4-api.hpi
> pipeline-input-step depends on workflow-api:1108.v57edf648f5d4,workflow-step-api:622.vb_8e7c15b_c95a_,workflow-support:804.vba10a18a1476,credentials:2.6.1,structs:308.v852b473a2b8c
> workflow-scm-step depends on workflow-step-api:2.23
> pipeline-milestone-step depends on workflow-api:2.47,workflow-step-api:2.24
> cloudbees-folder depends on credentials:2.5;resolution:=optional
Skipping optional dependency credentials
Downloading plugin: matrix-project from https://updates.jenkins.io/dynamic-2.319//latest/matrix-project.hpi
Downloading plugin: branch-api from https://updates.jenkins.io/dynamic-2.319//latest/branch-api.hpi
> workflow-cps-global-lib depends on workflow-api:2.47,workflow-cps:2.94,workflow-step-api:2.24,workflow-support:3.8,cloudbees-folder:6.16,credentials:2.6.1,git-server:1.10,scm-api:2.6.5,script-security:1.78
> credentials-binding depends on workflow-step-api:2.23,credentials:2.5,plain-credentials:1.7,ssh-credentials:1.18.1,structs:1.23
> workflow-support depends on workflow-api:1108.v57edf648f5d4,workflow-step-api:622.vb_8e7c15b_c95a_,scm-api:2.6.5,script-security:1118.vba21ca2e3286
> kubernetes-credentials depends on apache-httpcomponents-client-4-api:4.5.5-3.0,authentication-tokens:1.3,credentials:2.3.5,docker-commons:1.15;resolution:=optional,google-oauth-plugin:0.8;resolution:=optional,jackson2-api:2.11.0,kubernetes-client-api:4.9.2-2,plain-credentials:1.6;resolution:=optional
> pipeline-stage-view depends on pipeline-rest-api:2.21,workflow-api:2.46,workflow-job:2.41,handlebars:3.0.8,momentjs:1.1.1
> workflow-cps depends on workflow-api:2.46,workflow-scm-step:2.13,workflow-step-api:2.23,workflow-support:3.8,scm-api:2.6.4,script-security:1.77,structs:1.23,support-core:2.43;resolution:=optional,ace-editor:1.1
> plain-credentials depends on credentials:2.6.1
> scm-api depends on structs:308.v852b473a2b8c
> credentials depends on configuration-as-code:1.55;resolution:=optional,structs:308.v852b473a2b8c
Skipping optional dependency configuration-as-code
Downloading plugin: pipeline-rest-api from https://updates.jenkins.io/dynamic-2.319//latest/pipeline-rest-api.hpi
> pipeline-stage-step depends on workflow-api:2.46,workflow-step-api:2.23
Skipping optional dependency docker-commons
Skipping optional dependency google-oauth-plugin
Downloading plugin: git-server from https://updates.jenkins.io/dynamic-2.319//latest/git-server.hpi
Downloading plugin: handlebars from https://updates.jenkins.io/dynamic-2.319//latest/handlebars.hpi
Downloading plugin: momentjs from https://updates.jenkins.io/dynamic-2.319//latest/momentjs.hpi
Skipping optional dependency plain-credentials
Skipping optional dependency support-core
> ssh-credentials depends on credentials:2.5,trilead-api:1.0.13
Downloading plugin: ace-editor from https://updates.jenkins.io/dynamic-2.319//latest/ace-editor.hpi
Downloading plugin: trilead-api from https://updates.jenkins.io/dynamic-2.319//latest/trilead-api.hpi
> configuration-as-code depends on caffeine-api:2.9.2-29.v717aac953ff3,snakeyaml-api:1.29.1
> mailer depends on javax-mail-api:1.6.2-2,display-url-api:2.3.5
Downloading plugin: snakeyaml-api from https://updates.jenkins.io/dynamic-2.319//latest/snakeyaml-api.hpi
Downloading plugin: javax-mail-api from https://updates.jenkins.io/dynamic-2.319//latest/javax-mail-api.hpi
Downloading plugin: display-url-api from https://updates.jenkins.io/dynamic-2.319//latest/display-url-api.hpi
> pipeline-model-definition depends on workflow-api:2.46,workflow-basic-steps:2.20,workflow-cps-global-lib:2.19,workflow-cps:2.93,workflow-durable-task-step:2.35,workflow-multibranch:2.24,workflow-scm-step:2.13,workflow-support:3.8,credentials-binding:1.27,credentials:2.5,git-client:3.6.0,mailer:1.34,pipeline-input-step:2.12,pipeline-stage-step:2.5,scm-api:2.6.4,structs:1.23,pipeline-model-api:1.9.3,pipeline-model-extensions:1.9.3,pipeline-stage-tags-metadata:1.9.3
> metrics depends on workflow-durable-task-step:2.35;resolution:=optional,jackson2-api:2.10.2,variant:1.3
Skipping optional dependency workflow-durable-task-step
> job-dsl depends on config-file-provider:2.15.4;resolution:=optional,configuration-as-code:1.15;resolution:=optional,managed-scripts:1.3;resolution:=optional,cloudbees-folder:5.14,structs:1.19,script-security:1.54,vsphere-cloud:1.1.11;resolution:=optional
Skipping optional dependency config-file-provider
Skipping optional dependency configuration-as-code
Skipping optional dependency managed-scripts
Skipping optional dependency vsphere-cloud
> git-client depends on configuration-as-code:1.54;resolution:=optional,apache-httpcomponents-client-4-api:4.5.13-1.0,credentials:2.6.1,jsch:0.1.55.2,script-security:1.78,ssh-credentials:1.19,structs:1.23,trilead-api:1.0.13
Skipping optional dependency configuration-as-code
Downloading plugin: jsch from https://updates.jenkins.io/dynamic-2.319//latest/jsch.hpi
Downloading plugin: pipeline-model-api from https://updates.jenkins.io/dynamic-2.319//latest/pipeline-model-api.hpi
Downloading plugin: pipeline-model-extensions from https://updates.jenkins.io/dynamic-2.319//latest/pipeline-model-extensions.hpi
Downloading plugin: pipeline-stage-tags-metadata from https://updates.jenkins.io/dynamic-2.319//latest/pipeline-stage-tags-metadata.hpi
> script-security depends on caffeine-api:2.9.2-29.v717aac953ff3
> branch-api depends on cloudbees-folder:6.16,scm-api:2.6.5
> matrix-project depends on junit:1.47,script-security:1.75
Downloading plugin: junit from https://updates.jenkins.io/dynamic-2.319//latest/junit.hpi
> git-server depends on sshd:3.0.4,git-client:2.7.6
Downloading plugin: sshd from https://updates.jenkins.io/dynamic-2.319//latest/sshd.hpi
> javax-mail-api depends on javax-activation-api:1.2.0-2
Downloading plugin: javax-activation-api from https://updates.jenkins.io/dynamic-2.319//latest/javax-activation-api.hpi
> pipeline-rest-api depends on workflow-api:2.46,workflow-job:2.41,workflow-step-api:2.24,workflow-support:3.8,jackson2-api:2.12.4,pipeline-graph-analysis:1.4,pipeline-input-step:2.12,pipeline-stage-step:2.5
Downloading plugin: pipeline-graph-analysis from https://updates.jenkins.io/dynamic-2.319//latest/pipeline-graph-analysis.hpi
> jsch depends on ssh-credentials:1.14,trilead-api:1.0.5
> pipeline-stage-tags-metadata depends on workflow-api:2.46
> pipeline-model-extensions depends on workflow-cps:2.93,workflow-job:2.41,credentials-binding:1.27,credentials:2.5,pipeline-stage-step:2.5,pipeline-model-api:1.9.3
> kubernetes-client-api depends on snakeyaml-api:1.29.1,bouncycastle-api:2.25,jackson2-api:2.12.4
Downloading plugin: bouncycastle-api from https://updates.jenkins.io/dynamic-2.319//latest/bouncycastle-api.hpi
> pipeline-model-api depends on workflow-step-api:2.24,jackson2-api:2.12.4,structs:1.23
> pipeline-graph-analysis depends on workflow-api:1105.v3de5e2efac97,workflow-cps:2.94,workflow-job:1145.v7f2433caa07f,workflow-step-api:615.vb09dac339255,workflow-support:3.8,pipeline-input-step:427.va6441fa17010,pipeline-stage-step:2.5
> junit depends on bootstrap4-api:4.6.0-3,checks-api:1.7.2,echarts-api:5.0.2-1,plugin-util-api:2.12.0,workflow-api:1122.v7a_916f363c86,workflow-step-api:622.vb_8e7c15b_c95a_,display-url-api:2.3.5,jackson2-api:2.13.1-246.va8a9f3eaf46a,script-security:1131.v8b_b_5eda_c328e
Downloading plugin: bootstrap4-api from https://updates.jenkins.io/dynamic-2.319//latest/bootstrap4-api.hpi
Downloading plugin: checks-api from https://updates.jenkins.io/dynamic-2.319//latest/checks-api.hpi
Downloading plugin: echarts-api from https://updates.jenkins.io/dynamic-2.319//latest/echarts-api.hpi
Downloading plugin: plugin-util-api from https://updates.jenkins.io/dynamic-2.319//latest/plugin-util-api.hpi
> bootstrap4-api depends on font-awesome-api:5.15.2-2,jquery3-api:3.5.1-3,popper-api:1.16.1-2
Downloading plugin: font-awesome-api from https://updates.jenkins.io/dynamic-2.319//latest/font-awesome-api.hpi
Downloading plugin: jquery3-api from https://updates.jenkins.io/dynamic-2.319//latest/jquery3-api.hpi
Downloading plugin: popper-api from https://updates.jenkins.io/dynamic-2.319//latest/popper-api.hpi
> checks-api depends on plugin-util-api:2.4.0,workflow-step-api:2.23,workflow-support:3.8,display-url-api:2.3.5
> font-awesome-api depends on plugin-util-api:2.8.0
> echarts-api depends on bootstrap5-api:5.1.3-4,font-awesome-api:5.15.4-5,jquery3-api:3.6.0-2,plugin-util-api:2.8.0,jackson2-api:2.13.0-230.v59243c64b0a5
Downloading plugin: bootstrap5-api from https://updates.jenkins.io/dynamic-2.319//latest/bootstrap5-api.hpi
> bootstrap5-api depends on font-awesome-api:5.15.4-5,popper2-api:2.11.0-1
Downloading plugin: popper2-api from https://updates.jenkins.io/dynamic-2.319//latest/popper2-api.hpi
> jackson2-api depends on jersey2-api:2.35-1;resolution:=optional,snakeyaml-api:1.29.1
Skipping optional dependency jersey2-api
WAR bundled plugins:
Installed plugins:
ace-editor:1.1
apache-httpcomponents-client-4-api:4.5.13-1.0
authentication-tokens:1.4
bootstrap4-api:4.6.0-3
bootstrap5-api:5.1.3-4
bouncycastle-api:2.25
branch-api:2.7.0
caffeine-api:2.9.2-29.v717aac953ff3
checks-api:1.7.2
cloudbees-folder:6.17
configuration-as-code:1.55
credentials-binding:1.27.1
credentials:1074.v60e6c29b_b_44b_
display-url-api:2.3.5
durable-task:493.v195aefbb0ff2
echarts-api:5.2.2-2
font-awesome-api:5.15.4-5
git-client:3.11.0
git-server:1.10
git:4.10.0
handlebars:3.0.8
jackson2-api:2.13.1-246.va8a9f3eaf46a
javax-activation-api:1.2.0-2
javax-mail-api:1.6.2-5
job-dsl:1.78.1
jquery3-api:3.6.0-2
jsch:0.1.55.2
junit:1.54
kubernetes-client-api:5.11.2-182.v0f1cf4c5904e
kubernetes-credentials-provider:0.20
kubernetes-credentials:0.9.0
kubernetes:1.30.11
lockable-resources:2.14
mailer:408.vd726a_1130320
matrix-project:1.20
metrics:4.0.2.8.1
momentjs:1.1.1
pipeline-build-step:2.15
pipeline-graph-analysis:188.v3a01e7973f2c
pipeline-input-step:446.vf27b_0b_83500e
pipeline-milestone-step:100.v60a_03cd446e1
pipeline-model-api:1.9.3
pipeline-model-definition:1.9.3
pipeline-model-extensions:1.9.3
pipeline-rest-api:2.21
pipeline-stage-step:291.vf0a8a7aeeb50
pipeline-stage-tags-metadata:1.9.3
pipeline-stage-view:2.21
plain-credentials:1.8
plugin-util-api:2.13.0
popper-api:1.16.1-2
popper2-api:2.11.2-1
scm-api:595.vd5a_df5eb_0e39
script-security:1131.v8b_b_5eda_c328e
snakeyaml-api:1.29.1
ssh-credentials:1.19
sshd:3.1.0
structs:308.v852b473a2b8c
trilead-api:1.0.13
variant:1.4
workflow-aggregator:2.6
workflow-api:1136.v7f5f1759dc16
workflow-basic-steps:2.24
workflow-cps-global-lib:552.vd9cc05b8a2e1
workflow-cps:2648.va9433432b33c
workflow-durable-task-step:1121.va_65b_d2701486
workflow-job:2.42
workflow-multibranch:706.vd43c65dec013
workflow-scm-step:2.13
workflow-step-api:622.vb_8e7c15b_c95a_
workflow-support:813.vb_d7c3d2984a_0
Cleaning up locks
+ echo 'Installing plugins required by Operator - end'
+ echo 'Installing plugins required by user - begin'
+ cat
Installing plugins required by Operator - end
Installing plugins required by user - begin
+ [[ -z '' ]]
+ install-plugins.sh
WARN: install-plugins.sh is deprecated, please switch to jenkins-plugin-cli
Creating initial locks...
Analyzing war /usr/share/jenkins/jenkins.war...
Registering preinstalled plugins...
Using version-specific update center: https://updates.jenkins.io/dynamic-2.319/...
Downloading plugins...
WAR bundled plugins:
Installed plugins:
ace-editor:1.1
apache-httpcomponents-client-4-api:4.5.13-1.0
authentication-tokens:1.4
bootstrap4-api:4.6.0-3
bootstrap5-api:5.1.3-4
bouncycastle-api:2.25
branch-api:2.7.0
caffeine-api:2.9.2-29.v717aac953ff3
checks-api:1.7.2
git-client:3.11.0
git-server:1.10
git:4.10.0
handlebars:3.0.8
jackson2-api:2.13.1-246.va8a9f3eaf46a
javax-activation-api:1.2.0-2
javax-mail-api:1.6.2-5
job-dsl:1.78.1
jquery3-api:3.6.0-2
jsch:0.1.55.2
junit:1.54
kubernetes-client-api:5.11.2-182.v0f1cf4c5904e
kubernetes-credentials-provider:0.20
kubernetes-credentials:0.9.0
kubernetes:1.30.11
lockable-resources:2.14
mailer:408.vd726a_1130320
matrix-project:1.20
metrics:4.0.2.8.1
momentjs:1.1.1
pipeline-build-step:2.15
pipeline-graph-analysis:188.v3a01e7973f2c
pipeline-input-step:446.vf27b_0b_83500e
pipeline-milestone-step:100.v60a_03cd446e1
pipeline-model-api:1.9.3
pipeline-model-definition:1.9.3
pipeline-model-extensions:1.9.3
pipeline-rest-api:2.21
pipeline-stage-step:291.vf0a8a7aeeb50
pipeline-stage-tags-metadata:1.9.3
pipeline-stage-view:2.21
plain-credentials:1.8
plugin-util-api:2.13.0
popper-api:1.16.1-2
popper2-api:2.11.2-1
scm-api:595.vd5a_df5eb_0e39
script-security:1131.v8b_b_5eda_c328e
snakeyaml-api:1.29.1
ssh-credentials:1.19
sshd:3.1.0
structs:308.v852b473a2b8c
trilead-api:1.0.13
variant:1.4
workflow-aggregator:2.6
workflow-api:1136.v7f5f1759dc16
workflow-basic-steps:2.24
workflow-cps-global-lib:552.vd9cc05b8a2e1
workflow-cps:2648.va9433432b33c
workflow-durable-task-step:1121.va_65b_d2701486
workflow-job:2.42
workflow-multibranch:706.vd43c65dec013
workflow-scm-step:2.13
workflow-step-api:622.vb_8e7c15b_c95a_
workflow-support:813.vb_d7c3d2984a_0
Cleaning up locks
+ echo 'Installing plugins required by user - end'
Installing plugins required by user - end
Running from: /usr/share/jenkins/jenkins.war
webroot: EnvVars.masterEnvVars.get("JENKINS_HOME")
2022-02-10 09:45:41.721+0000 [id=1] INFO org.eclipse.jetty.util.log.Log#initialized: Logging initialized @2045ms to org.eclipse.jetty.util.log.JavaUtilLog
2022-02-10 09:45:42.067+0000 [id=1] INFO winstone.Logger#logInternal: Beginning extraction from war file
2022-02-10 09:45:44.437+0000 [id=1] WARNING o.e.j.s.handler.ContextHandler#setContextPath: Empty contextPath
2022-02-10 09:45:44.925+0000 [id=1] INFO org.eclipse.jetty.server.Server#doStart: jetty-9.4.43.v20210629; built: 2021-06-30T11:07:22.254Z; git: 526006ecfa3af7f1a27ef3a288e2bef7ea9dd7e8; jvm 11.0.13+8
2022-02-10 09:45:46.920+0000 [id=1] INFO o.e.j.w.StandardDescriptorProcessor#visitServlet: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet
2022-02-10 09:45:47.135+0000 [id=1] INFO o.e.j.s.s.DefaultSessionIdManager#doStart: DefaultSessionIdManager workerName=node0
2022-02-10 09:45:47.136+0000 [id=1] INFO o.e.j.s.s.DefaultSessionIdManager#doStart: No SessionScavenger set, using defaults
2022-02-10 09:45:47.138+0000 [id=1] INFO o.e.j.server.session.HouseKeeper#startScavenging: node0 Scavenging every 600000ms
2022-02-10 09:45:49.613+0000 [id=1] INFO hudson.WebAppMain#contextInitialized: Jenkins home directory: /var/lib/jenkins found at: EnvVars.masterEnvVars.get("JENKINS_HOME")
2022-02-10 09:45:50.834+0000 [id=1] INFO o.e.j.s.handler.ContextHandler#doStart: Started w.@216914{Jenkins v2.319.1,/,file:///var/lib/jenkins/war/,AVAILABLE}{/var/lib/jenkins/war}
2022-02-10 09:45:51.042+0000 [id=1] INFO o.e.j.server.AbstractConnector#doStart: Started ServerConnector@72cf2de5{HTTP/1.1, (http/1.1)}{0.0.0.0:8080}
2022-02-10 09:45:51.043+0000 [id=1] INFO org.eclipse.jetty.server.Server#doStart: Started @11373ms
2022-02-10 09:45:51.111+0000 [id=23] INFO winstone.Logger#logInternal: Winstone Servlet Engine running: controlPort=disabled
2022-02-10 09:45:52.742+0000 [id=30] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization
2022-02-10 09:45:55.638+0000 [id=28] INFO hudson.PluginManager#considerDetachedPlugin: Loading a detached plugin as a dependency: /var/lib/jenkins/plugins/command-launcher.jpi
2022-02-10 09:45:55.722+0000 [id=28] INFO hudson.PluginManager#considerDetachedPlugin: Loading a detached plugin as a dependency: /var/lib/jenkins/plugins/jdk-tool.jpi
2022-02-10 09:45:55.808+0000 [id=28] INFO hudson.PluginManager#considerDetachedPlugin: Loading a detached plugin as a dependency: /var/lib/jenkins/plugins/jaxb.jpi
2022-02-10 09:46:04.338+0000 [id=29] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins
2022-02-10 09:46:05.750+0000 [id=28] SEVERE jenkins.InitReactorRunner$1#onTaskFailed: Failed Loading plugin Pipeline Graph Analysis Plugin v188.v3a01e7973f2c (pipeline-graph-analysis)
java.io.IOException: Failed to load: Pipeline Graph Analysis Plugin (188.v3a01e7973f2c)
- Update required: Pipeline: Job (2.42) to be updated to 1145.v7f2433caa07f or higher
at hudson.PluginWrapper.resolvePluginDependencies(PluginWrapper.java:1016)
at hudson.PluginManager$2$1$1.run(PluginManager.java:535)
at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:296)
at jenkins.model.Jenkins$5.runTask(Jenkins.java:1151)
at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:214)
at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
2022-02-10 09:46:05.752+0000 [id=28] SEVERE jenkins.InitReactorRunner$1#onTaskFailed: Failed Loading plugin Pipeline: REST API Plugin v2.21 (pipeline-rest-api)
java.io.IOException: Failed to load: Pipeline: REST API Plugin (2.21)
- Failed to load: Pipeline Graph Analysis Plugin (188.v3a01e7973f2c)
at hudson.PluginWrapper.resolvePluginDependencies(PluginWrapper.java:1016)
at hudson.PluginManager$2$1$1.run(PluginManager.java:535)
at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:296)
at jenkins.model.Jenkins$5.runTask(Jenkins.java:1151)
at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:214)
at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
2022-02-10 09:46:05.849+0000 [id=31] SEVERE jenkins.InitReactorRunner$1#onTaskFailed: Failed Loading plugin Pipeline: Stage View Plugin v2.21 (pipeline-stage-view)
java.io.IOException: Failed to load: Pipeline: Stage View Plugin (2.21)
- Failed to load: Pipeline: REST API Plugin (2.21)
at hudson.PluginWrapper.resolvePluginDependencies(PluginWrapper.java:1016)
at hudson.PluginManager$2$1$1.run(PluginManager.java:535)
at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:296)
at jenkins.model.Jenkins$5.runTask(Jenkins.java:1151)
at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:214)
at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
2022-02-10 09:46:06.525+0000 [id=29] SEVERE jenkins.InitReactorRunner$1#onTaskFailed: Failed Loading plugin Pipeline v2.6 (workflow-aggregator)
java.io.IOException: Failed to load: Pipeline (2.6)
- Failed to load: Pipeline: Stage View Plugin (2.21)
at hudson.PluginWrapper.resolvePluginDependencies(PluginWrapper.java:1016)
at hudson.PluginManager$2$1$1.run(PluginManager.java:535)
at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:296)
at jenkins.model.Jenkins$5.runTask(Jenkins.java:1151)
at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:214)
at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$2 (file:/var/lib/jenkins/war/WEB-INF/lib/guice-4.0.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$2
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
2022-02-10 09:46:29.524+0000 [id=29] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
2022-02-10 09:46:29.961+0000 [id=29] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins
2022-02-10 09:46:36.317+0000 [id=30] INFO c.c.j.p.k.KubernetesCredentialProvider#startWatchingForSecrets: retrieving secrets with selector: jenkins.io/credentials-type, LabelSelector(matchExpressions=[], matchLabels=null, additionalProperties={})
2022-02-10 09:46:36.649+0000 [id=28] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
2022-02-10 09:46:43.522+0000 [id=31] INFO jenkins.InitReactorRunner$1#onAttained: System config loaded
2022-02-10 09:46:45.518+0000 [id=28] INFO jenkins.InitReactorRunner$1#onAttained: System config adapted
2022-02-10 09:46:45.521+0000 [id=28] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
2022-02-10 09:46:45.528+0000 [id=28] INFO jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
2022-02-10 09:46:45.613+0000 [id=53] INFO hudson.model.AsyncPeriodicWork#lambda$doRun$1: Started Download metadata
2022-02-10 09:46:45.624+0000 [id=31] INFO j.util.groovy.GroovyHookScript#execute: Executing /var/lib/jenkins/init.groovy.d/createOperatorUser.groovy
2022-02-10 09:46:45.719+0000 [id=53] INFO hudson.util.Retrier#start: Attempt #1 to do the action check updates server
2022-02-10 09:46:49.615+0000 [id=31] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization
2022-02-10 09:46:49.828+0000 [id=22] INFO hudson.WebAppMain$3#run: Jenkins is fully up and running
2022-02-10 09:46:54.520+0000 [id=60] WARNING j.m.api.Metrics$HealthChecker#execute: Some health checks are reporting as unhealthy: [plugins : There are 4 failed plugins: pipeline-graph-analysis; pipeline-rest-api; pipeline-stage-view; workflow-aggregator]
Exception: java.lang.NullPointerException thrown from the UncaughtExceptionHandler in thread "TCP agent connection handler #1 with /172.17.0.7:58664"
@MKajzik when i check event i get this message
29m Normal Starting node/minikube
0s Normal jenkins/example Jenkins master pod restarted by operator: Some plugins have changed, restarting Jenkins
0s Normal Killing pod/jenkins-example Stopping container jenkins-master
0s Normal jenkins/example Creating a new Jenkins Master Pod
0s Normal Scheduled pod/jenkins-example Successfully assigned default/jenkins-example to minikube
0s Warning Unhealthy pod/jenkins-jenkins Liveness probe failed: Get "http://172.17.0.8:8080/login": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
0s Normal Pulling pod/jenkins-example Pulling image "jenkins/jenkins:2.319.1-lts-alpine"
0s Normal Pulled pod/jenkins-example Successfully pulled image "jenkins/jenkins:2.319.1-lts-alpine" in 3.410675578s
0s Normal Created pod/jenkins-example Created container jenkins-master
0s Normal Started pod/jenkins-example Started container jenkins-master
Ok, what I see, you need to update some plugins for Jenkins, starting from the line with:
java.io.IOException: Failed to load: Pipeline Graph Analysis Plugin (188.v3a01e7973f2c)
- Update required: Pipeline: Job (2.42) to be updated to 1145.v7f2433caa07f or higher
Update all plugins mentioned in logs and try again. Let me know if that helped.
1 Like
Hi Manas,
Were you able to resolve this issue? If yes, can you advise what do we need to do? I have encountered a similar problem and hence, reaching out for help.
Thanks and Regards,
Sam