timja / jenkins-gh-issues-poc-06-18

0 stars 0 forks source link

[JENKINS-60451] "JENKINS-2111" warning gets logged for master with 0 executors #4726

Open timja opened 4 years ago

timja commented 4 years ago

ci.jenkins.io is an instance with 0 master executors.

And yet, the following message is logged fairly often:

Dec 11, 2019 10:07:26 PM WARNING jenkins.branch.WorkspaceLocatorImpl getWorkspaceRoot
JENKINS-2111 path sanitization ineffective when using legacy Workspace Root Directory ‘${ITEM_ROOTDIR}/workspace’; switch to ‘${JENKINS_HOME}/workspace/${ITEM_FULL_NAME}’ as in JENKINS-8446 / JENKINS-21942

It is unclear why, it shouldn't be.

Possibly because of https://github.com/jenkinsci/jenkins/blob/171c4d7f6d6ea41e52e60aa819ea7fc7985209cc/core/src/main/java/hudson/model/WorkspaceCleanupThread.java#L78 ?


Originally reported by danielbeck, imported from: "JENKINS-2111" warning gets logged for master with 0 executors
  • status: Open
  • priority: Minor
  • resolution: Unresolved
  • imported: 2022/01/10
timja commented 4 years ago

danielbeck:

FYI jglick