Details
-
Bug
-
Status: Open (View Workflow)
-
Minor
-
Resolution: Unresolved
-
Jenkins: 2.298
OS: Mac OS X - 11.0
---
jsch:0.1.55.2
ws-cleanup:0.39
blueocean-commons:1.24.7
mercurial:2.14
echarts-api:5.1.0-2
structs:1.23
sse-gateway:1.24
conditional-buildstep:1.4.1
apache-httpcomponents-client-4-api:4.5.13-1.0
parameterized-trigger:2.40
sshd:3.0.3
pipeline-model-extensions:1.8.4
build-with-parameters:1.5.1
workflow-aggregator:2.6
mailer:1.34
git:4.7.1
handy-uri-templates-2-api:2.1.8-1.0
theme-manager:0.6
bootstrap4-api:4.6.0-3
jquery3-api:3.6.0-1
delivery-pipeline-plugin:1.4.2
command-launcher:1.6
dark-theme:0.0.12
workflow-api:2.42
docker-build-publish:1.3.3
extended-choice-parameter:0.82
workflow-job:2.40
ssh-credentials:1.18.2
authentication-tokens:1.4
blueocean-rest-impl:1.24.7
github-branch-source:2.10.4
htmlpublisher:1.25
javadoc:1.6
workflow-cps-global-lib:2.19
blueocean-web:1.24.7
jackson2-api:2.12.3
disable-failed-job:1.15
ssh-slaves:1.31.7
docker-workflow:1.26
pipeline-stage-tags-metadata:1.8.4
blueocean-pipeline-scm-api:1.24.7
pipeline-milestone-step:1.3.2
credentials:2.3.19
docker-java-api:3.1.5.2
cloudbees-bitbucket-branch-source:2.9.9
jquery:1.12.4-1
github:1.33.1
lockable-resources:2.10
jquery-detached:1.2.1
blueocean-personalization:1.24.7
workflow-scm-step:2.12
matrix-auth:2.6.6
matrix-project:1.18
pipeline-stage-step:2.5
pipeline-build-step:2.13
antisamy-markup-formatter:2.1
pipeline-input-step:2.12
bouncycastle-api:2.20
checks-api:1.7.0
handlebars:3.0.8
blueocean:1.24.7
variant:1.4
momentjs:1.1.1
blueocean-jwt:1.24.7
plain-credentials:1.7
docker-commons:1.17
aws-java-sdk:1.11.995
docker-plugin:1.2.2
jobConfigHistory:2.27
copyartifact:1.46
git-client:3.7.1
timestamper:1.13
gradle:1.36
pipeline-rest-api:2.19
workflow-basic-steps:2.23
github-api:1.123
blueocean-i18n:1.24.7
ldap:2.6
blueocean-events:1.24.7
jaxb:2.3.0.1
blueocean-core-js:1.24.7
maven-plugin:3.10
aws-credentials:1.29
thinBackup:1.10
blueocean-config:1.24.7
blueocean-github-pipeline:1.24.7
font-awesome-api:5.15.3-2
credentials-binding:1.24
pipeline-model-definition:1.8.4
config-file-provider:3.8.0
pipeline-stage-view:2.19
sonar:2.13.1
token-macro:2.15
slack:2.47
blueocean-display-url:2.4.1
workflow-multibranch:2.23
script-security:1.76
git-server:1.9
snakeyaml-api:1.27.0
docker-build-step:2.7
discard-old-build:1.05
ssh-agent:1.22
workflow-step-api:2.23
run-condition:1.5
rebuild:1.32
okhttp-api:3.14.9
pipeline-graph-analysis:1.10
blueocean-git-pipeline:1.24.7
pipeline-model-api:1.8.4
plugin-util-api:2.2.0
jenkins-design-language:1.24.7
windows-slaves:1.8
workflow-cps:2.90
popper-api:1.16.1-2
blueocean-autofavorite:1.2.4
workflow-durable-task-step:2.38
trilead-api:1.0.13
branch-api:2.6.4
jdk-tool:1.5
whitesource:21.1.2
cloudbees-folder:6.15
blueocean-pipeline-editor:1.24.7
Parameterized-Remote-Trigger:3.1.5.1
blueocean-dashboard:1.24.7
jjwt-api:0.11.2-9.c8b45b8bb173
durable-task:1.36
kpp-management-plugin:1.0.0
junit:1.49
pam-auth:1.6
pubsub-light:1.14
next-build-number:1.6
scm-api:2.6.4
blueocean-pipeline-api-impl:1.24.7
ace-editor:1.1
display-url-api:2.3.4
workflow-support:3.8
resource-disposer:0.15
blueocean-rest:1.24.7
build-timeout:1.20
favorite:2.3.3
versionnumber:1.9
blueocean-bitbucket-pipeline:1.24.7
mapdb-api:1.0.9.0
git-parameter:0.9.13
Also reproducible with a minimal amount of plugins and clean install.
Installed with homebrew, running as "jenkins" command (not a brew service).
Local instance behind a firewall and accessed through the machine's IP.Jenkins: 2.298 OS: Mac OS X - 11.0 --- jsch:0.1.55.2 ws-cleanup:0.39 blueocean-commons:1.24.7 mercurial:2.14 echarts-api:5.1.0-2 structs:1.23 sse-gateway:1.24 conditional-buildstep:1.4.1 apache-httpcomponents-client-4-api:4.5.13-1.0 parameterized-trigger:2.40 sshd:3.0.3 pipeline-model-extensions:1.8.4 build-with-parameters:1.5.1 workflow-aggregator:2.6 mailer:1.34 git:4.7.1 handy-uri-templates-2-api:2.1.8-1.0 theme-manager:0.6 bootstrap4-api:4.6.0-3 jquery3-api:3.6.0-1 delivery-pipeline-plugin:1.4.2 command-launcher:1.6 dark-theme:0.0.12 workflow-api:2.42 docker-build-publish:1.3.3 extended-choice-parameter:0.82 workflow-job:2.40 ssh-credentials:1.18.2 authentication-tokens:1.4 blueocean-rest-impl:1.24.7 github-branch-source:2.10.4 htmlpublisher:1.25 javadoc:1.6 workflow-cps-global-lib:2.19 blueocean-web:1.24.7 jackson2-api:2.12.3 disable-failed-job:1.15 ssh-slaves:1.31.7 docker-workflow:1.26 pipeline-stage-tags-metadata:1.8.4 blueocean-pipeline-scm-api:1.24.7 pipeline-milestone-step:1.3.2 credentials:2.3.19 docker-java-api:3.1.5.2 cloudbees-bitbucket-branch-source:2.9.9 jquery:1.12.4-1 github:1.33.1 lockable-resources:2.10 jquery-detached:1.2.1 blueocean-personalization:1.24.7 workflow-scm-step:2.12 matrix-auth:2.6.6 matrix-project:1.18 pipeline-stage-step:2.5 pipeline-build-step:2.13 antisamy-markup-formatter:2.1 pipeline-input-step:2.12 bouncycastle-api:2.20 checks-api:1.7.0 handlebars:3.0.8 blueocean:1.24.7 variant:1.4 momentjs:1.1.1 blueocean-jwt:1.24.7 plain-credentials:1.7 docker-commons:1.17 aws-java-sdk:1.11.995 docker-plugin:1.2.2 jobConfigHistory:2.27 copyartifact:1.46 git-client:3.7.1 timestamper:1.13 gradle:1.36 pipeline-rest-api:2.19 workflow-basic-steps:2.23 github-api:1.123 blueocean-i18n:1.24.7 ldap:2.6 blueocean-events:1.24.7 jaxb:2.3.0.1 blueocean-core-js:1.24.7 maven-plugin:3.10 aws-credentials:1.29 thinBackup:1.10 blueocean-config:1.24.7 blueocean-github-pipeline:1.24.7 font-awesome-api:5.15.3-2 credentials-binding:1.24 pipeline-model-definition:1.8.4 config-file-provider:3.8.0 pipeline-stage-view:2.19 sonar:2.13.1 token-macro:2.15 slack:2.47 blueocean-display-url:2.4.1 workflow-multibranch:2.23 script-security:1.76 git-server:1.9 snakeyaml-api:1.27.0 docker-build-step:2.7 discard-old-build:1.05 ssh-agent:1.22 workflow-step-api:2.23 run-condition:1.5 rebuild:1.32 okhttp-api:3.14.9 pipeline-graph-analysis:1.10 blueocean-git-pipeline:1.24.7 pipeline-model-api:1.8.4 plugin-util-api:2.2.0 jenkins-design-language:1.24.7 windows-slaves:1.8 workflow-cps:2.90 popper-api:1.16.1-2 blueocean-autofavorite:1.2.4 workflow-durable-task-step:2.38 trilead-api:1.0.13 branch-api:2.6.4 jdk-tool:1.5 whitesource:21.1.2 cloudbees-folder:6.15 blueocean-pipeline-editor:1.24.7 Parameterized-Remote-Trigger:3.1.5.1 blueocean-dashboard:1.24.7 jjwt-api:0.11.2-9.c8b45b8bb173 durable-task:1.36 kpp-management-plugin:1.0.0 junit:1.49 pam-auth:1.6 pubsub-light:1.14 next-build-number:1.6 scm-api:2.6.4 blueocean-pipeline-api-impl:1.24.7 ace-editor:1.1 display-url-api:2.3.4 workflow-support:3.8 resource-disposer:0.15 blueocean-rest:1.24.7 build-timeout:1.20 favorite:2.3.3 versionnumber:1.9 blueocean-bitbucket-pipeline:1.24.7 mapdb-api:1.0.9.0 git-parameter:0.9.13 Also reproducible with a minimal amount of plugins and clean install. Installed with homebrew, running as "jenkins" command (not a brew service). Local instance behind a firewall and accessed through the machine's IP.
-
-
2.297, 2.289.2
Description
This issue appeared after migrating our Jenkins instance from a Macbook to a new Mac mini (M1). I could also reproduce it with a clean install on the M1 machine.
It has been present in the last few versions (at least).
Steps to reproduce:
- Go to http://[JENKINS_URL]/updateCenter/
- Check "Restart Jenkins when installation is complete and no jobs are running" (regardless of whether there's an upgrade or not)
- Observe what happens in the terminal - after 10 seconds, Jenkins process is killed instead of restarted.
This is how the log looks like:
2021-06-17 08:27:47.284+0000 [id=1066] INFO jenkins.model.Jenkins$20#run: Restart in 10 seconds
2021-06-17 08:27:57.287+0000 [id=1066] INFO jenkins.model.Jenkins$20#run: Restarting VM as requested by admin
2021-06-17 08:27:57.287+0000 [id=1066] INFO jenkins.model.Jenkins#cleanUp: Stopping Jenkins
2021-06-17 08:27:57.339+0000 [id=1066] INFO jenkins.model.Jenkins$16#onAttained: Started termination
2021-06-17 08:27:57.370+0000 [id=1066] INFO jenkins.model.Jenkins$16#onAttained: Completed termination
2021-06-17 08:27:57.370+0000 [id=1066] INFO jenkins.model.Jenkins#_cleanUpDisconnectComputers: Starting node disconnection
2021-06-17 08:27:57.379+0000 [id=1066] INFO jenkins.model.Jenkins#_cleanUpShutdownPluginManager: Stopping plugin manager
2021-06-17 08:27:57.440+0000 [id=1066] INFO jenkins.model.Jenkins#_cleanUpPersistQueue: Persisting build queue
2021-06-17 08:27:57.443+0000 [id=1066] INFO jenkins.model.Jenkins#_cleanUpAwaitDisconnects: Waiting for node disconnection completion
2021-06-17 08:27:57.443+0000 [id=1066] INFO jenkins.model.Jenkins#cleanUp: Jenkins stopped
[1] 72539 killed jenkins
Jenkins runs fine when manually started again (with "jenkins" command).
Attachments
Issue Links
- is related to
-
JENKINS-65195 Unexpected process termination by agent.jar on Apple Big Sur
-
- Closed
-
Interesting I found that the file descriptor is only created after logging in to Jenkins,
If you disable auth and restart it doesn't get killed
and after some more digging it seems to be the azure-ad plugin is starting that file descriptor somehow.
The built-in security realm doesn't have the problem.
But the restart doesn't work either way it still hits the: