Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-75255

AccessDeniedException from AtomicFileWriter.move (e.g., while fingerprinting) on Windows

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • Jenkins 2.492.2
      JDK Temurin-17.0.11+9
      Windows Server 2022
      Cisco Secure Endpoint

      After upgrading to 2.492.1 a lot of my jobs fail due to AccessViolations while creating the fingerprints.

      The fingerprint file is created but can not be updated. All files in "/fingerprint/" are created by the same user (Non-System-Account) so the "access" should be granted.

      The error seems to be some kind of race condition as some jobs are running fine after rerun, some do not, some do fail after success (without source change)

      After rollback to v2.479.3 everything works as intended. No AccessViolations.

          [JENKINS-75255] AccessDeniedException from AtomicFileWriter.move (e.g., while fingerprinting) on Windows

          Jens H created issue -
          Markus Winter made changes -
          Component/s New: copyartifact-plugin [ 15692 ]
          Component/s New: core [ 15593 ]
          Component/s Original: fingerprint-plugin [ 16622 ]
          Basil Crow made changes -
          Labels New: regression
          Jesse Glick made changes -
          Summary Original: AccessDenied Exceptions while fingerprinting New: AccessDeniedException from AtomicFileWriter.move while fingerprinting on Windows
          Jesse Glick made changes -
          Summary Original: AccessDeniedException from AtomicFileWriter.move while fingerprinting on Windows New: AccessDeniedException from AtomicFileWriter.move (e.g., while fingerprinting) on Windows
          Jesse Glick made changes -
          Component/s Original: copyartifact-plugin [ 15692 ]
          Jesse Glick made changes -
          Assignee Original: Marc Sanfacon [ marcsanfacon ]
          Jesse Glick made changes -
          Labels Original: regression New: regression windows
          Jesse Glick made changes -
          Labels Original: regression windows New: lts-candidate regression windows
          Mark Waite made changes -
          Remote Link New: This issue links to "Culprit PR-10058 (Web Link)" [ 30537 ]
          Mark Waite made changes -
          Remote Link New: This issue links to "Fix PR-10271 (Web Link)" [ 30538 ]

            jglick Jesse Glick
            nigjo Jens H
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: