Daniel Beck commented on Bug JENKINS-26238

Well, this is weird. This report includes the version of Jenkins you're using (1.546), and the WorkspaceCleanupThread got a major rewrite in 1.551. So my advice would be to upgrade to a recent weekly (1.59x) or LTS release (1.580.x).

Still, here's a few things to investigate or clarify on your current system:


If the symlink detection fails, it may traverse symlinks to directories when recursively deleting workspaces. Do/did you have any symbolic links to any of the affected files from their workspaces? What JRE (vendor + version) is Jenkins running on?


How is the option Workspace Root Directory configured? Manage Jenkins » Configure System » Advanced (near the top).

What is the output of the following script in Script Console:

jenkins.slaves.WorkspaceLocator.all()


Run the following script in Script Console:

Jenkins.instance.getAllItems(AbstractProject).each { println it.customWorkspace + ' ' + it.fullName }
return

Anything having a custom workspace (first part of output is not null)? If so, are any of these paths pointing to a folder that also exists on master, irrespective of whether the job ever runs there?


Could you clarify the following:

files outside of the workspace folders on the linux jenkins master being deleted randomly

In the PR discussion, you mentioned .git/config being deleted from a directory inside the job directory but outside the workspace. Were other files also affected? Other projects? If so, do these projects have something in common?


Do you still have the old jobs (archived "jenkins.log" will do) from the time Jenkins deleted files? Could you provide them (after changing all project names, host names, etc.)?

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to