Jenkins Health Advisor fails to upload Bundle due to 'No such file or directory'

Issue

  • The Health Advisor by Cloudbees plugin shows an administrative monitor because it failed to upload a bundle due to No such file or directory:
SEVERE  c.c.j.p.a.client.AdvisorClient#doUploadFile: Exception trying to upload support bundle. Message: [<bundle file path> (No such file or directory)], File: [<bundle file path>], Metadata: [isDirectory: [false], isHidden: [false], isReadable: [false], isRegularFile: [false], isSymbolicLink: [false], isWritable: [false]]

Environment

Related Issues

Explanation

This is caused by the Support Core cleanup process that considers the bundles generated by Health Advisor plugin for deletion. This can happen is the bundle generated for Health Advisor completes at around the same time as the background generation of Support Core. See JENKINS-64262 for more details.

Resolution

This problem is fixed in Health Advisor by CloudBees plugin version 3.2.3 available since CloudBees CI 2.263.4.1.

For CloudBees CI, the solution is to upgrade CloudBees CI to version 2.263.4.1 or later.
Otherwise, upgrade the Health Advisor by Cloudbees plugin to version 3.2.3 or later.

Have more questions?

0 Comments

Please sign in to leave a comment.