[JIRA] (JENKINS-56108) AuditTrail java.nio.file.NoSuchFileException for log file handler
Title: Message Title Pierre Beitz updated an issue Jenkins / JENKINS-56108 AuditTrail java.nio.file.NoSuchFileException for log file handler Change By: Pierre Beitz Labels: 2.5-fixed Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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 jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.197540.1550002091000.24045.1560086700708%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-56108) AuditTrail java.nio.file.NoSuchFileException for log file handler
Title: Message Title Pierre Beitz updated JENKINS-56108 Release in version 2.5 Jenkins / JENKINS-56108 AuditTrail java.nio.file.NoSuchFileException for log file handler Change By: Pierre Beitz Status: Fixed but Unreleased Resolved Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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 jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.197540.1550002091000.24043.1560086700679%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-56108) AuditTrail java.nio.file.NoSuchFileException for log file handler
Title: Message Title Pierre Beitz updated JENKINS-56108 Jenkins / JENKINS-56108 AuditTrail java.nio.file.NoSuchFileException for log file handler Change By: Pierre Beitz Status: Resolved Fixed but Unreleased Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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 jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.197540.1550002091000.4851.1558273800546%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-56108) AuditTrail java.nio.file.NoSuchFileException for log file handler
Title: Message Title Pierre Beitz updated JENKINS-56108 Jenkins / JENKINS-56108 AuditTrail java.nio.file.NoSuchFileException for log file handler Change By: Pierre Beitz Status: In Review Resolved Resolution: Fixed Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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 jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.197540.1550002091000.4849.1558273800524%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-56108) AuditTrail java.nio.file.NoSuchFileException for log file handler
Title: Message Title Pierre Beitz commented on JENKINS-56108 Re: AuditTrail java.nio.file.NoSuchFileException for log file handler Attached a PR for the original issue. Here is the linked hpi: https://ci.jenkins.io/job/Plugins/job/audit-trail-plugin/job/PR-13/1/artifact/target/audit-trail.hpi Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-56108) AuditTrail java.nio.file.NoSuchFileException for log file handler
Title: Message Title Pierre Beitz updated JENKINS-56108 Jenkins / JENKINS-56108 AuditTrail java.nio.file.NoSuchFileException for log file handler Change By: Pierre Beitz Status: In Progress Review Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-56108) AuditTrail java.nio.file.NoSuchFileException for log file handler
Title: Message Title Pierre Beitz started work on JENKINS-56108 Change By: Pierre Beitz Status: Open In Progress Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-56108) AuditTrail java.nio.file.NoSuchFileException for log file handler
Title: Message Title Pierre Beitz assigned an issue to Pierre Beitz Jenkins / JENKINS-56108 AuditTrail java.nio.file.NoSuchFileException for log file handler Change By: Pierre Beitz Assignee: Tomasz Sęk Pierre Beitz Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-56108) AuditTrail java.nio.file.NoSuchFileException for log file handler
Title: Message Title Pierre Beitz commented on JENKINS-56108 Re: AuditTrail java.nio.file.NoSuchFileException for log file handler Apologies, I missed the bug report, somehow the plugin default assignee wasn't changed on plugin ownership transfer. Regarding the reported issue, it appears that the path you are specifying doesn't exist on the host and the FileHandler used by the plugin is not able to create the intermediate missing directories. I'll make a fix for this, in the meantime, workaround is to manually create the intermediate directories. After further testing, it appears that the initial configuration of this plugin does not work (I deployed Jenkins using a helm chart, so the plugin was configured as code). After the deployment, I am getting the same error when performing some action that would trigger the plugin to create a log file. Then, I went into the Jenkins Configure System UI and manually update one of the values in the plugin configuration, say, Log File Size, save the configuration, then the error goes away, and the plugin started working correctly Sylvia Qi this description makes me think that you are describing a different issue, with an incompatibility between the jcasc plugin in the audit trail plugin. I can see that you logged JENKINS-57232 that seems to cover the issue, I propose to discuss this specific issue in there and keep JENKINS-56108 for the issue reported initially. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-56108) AuditTrail java.nio.file.NoSuchFileException for log file handler
Title: Message Title Allan BURDAJEWICZ commented on JENKINS-56108 Re: AuditTrail java.nio.file.NoSuchFileException for log file handler Might be something to fix in there: https://github.com/jenkinsci/audit-trail-plugin/blob/master/src/main/java/hudson/plugins/audit_trail/AuditTrailPlugin.java#L65-L84 Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-56108) AuditTrail java.nio.file.NoSuchFileException for log file handler
Title: Message Title Sylvia Qi commented on JENKINS-56108 Re: AuditTrail java.nio.file.NoSuchFileException for log file handler After further testing, it appears that the initial configuration of this plugin does not work (I deployed Jenkins using a helm chart, so the plugin was configured as code). After the deployment, I am getting the same error when performing some action that would trigger the plugin to create a log file. Then, I went into the Jenkins Configure System UI and manually update one of the values in the plugin configuration, say, Log File Size, save the configuration, then the error goes away, and the plugin started working correctly. This behavior is consistently repeatable. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-56108) AuditTrail java.nio.file.NoSuchFileException for log file handler
Title: Message Title Sylvia Qi commented on JENKINS-56108 Re: AuditTrail java.nio.file.NoSuchFileException for log file handler I encountered the same issue, but later discovered it had to do with the audit trail log directory. When I had the audit trail log directory set to /var/log/jenkins/audit-%g.log, I got that error. Then I changed it to /var/jenkins_home/logs/audit-%g.log, it worked. The default jenkins log dir of my installation is /var/jenkins_home/logs. Hope this helps. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-56108) AuditTrail java.nio.file.NoSuchFileException for log file handler
Title: Message Title Semanur Gulen updated an issue Jenkins / JENKINS-56108 AuditTrail java.nio.file.NoSuchFileException for log file handler Change By: Semanur Gulen Environment: RHEL7 Jenkins ver. 2.138.3 Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-56108) AuditTrail java.nio.file.NoSuchFileException for log file handler
Title: Message Title Semanur Gulen created an issue Jenkins / JENKINS-56108 AuditTrail java.nio.file.NoSuchFileException for log file handler Issue Type: Bug Assignee: Tomasz Sęk Components: audit-trail-plugin Created: 2019-02-12 20:08 Environment: RHEL7 Priority: Critical Reporter: Semanur Gulen Installed and encountered same exception with the audit trail plugin version 2.4 and 2.3. It was a fresh install and added log file as logger in configure. Started getting following exception in logs when users change the configurations where it was expected to log these activities. java.nio.file.NoSuchFileException: /data/jenkins/logs/audit/audit-0.log.lck I have removed the logger and created another logger, the issue stays same. No log file is created under this folder. Add Comment