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

CpsThreadGroup#saveProgram can't persist/copy to program.dat

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • workflow-cps-plugin
    • None
    • Jenkins 2.249.3
      Windows server 2012R2

      Dear,

      I have this message many time per hour, can someone tell me how to fix/correct this or bring me to a root cause ?

       

      2021-02-24 09:25:49.956+0000 [id=106296]

      WARNING o.j.p.w.cps.CpsThreadGroup#saveProgramIfPossible: program state save failed

      java.nio.file.AccessDeniedException: K:\JENKINS\jobs\HCONN\jobs\DEV_OGPC_INTERFACES_ADT_84_TRUNK_RELEASE\builds\244{color:#FF0000}atomic7946735575740836839.tmp -> K:\JENKINS\jobs\HCONN\jobs\DEV_OGPC_INTERFACES_ADT_84_TRUNK_RELEASE\builds\244{color:#FF0000}program.dat

      at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:83)

      at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)

      at sun.nio.fs.WindowsFileCopy.move(WindowsFileCopy.java:301)

      at sun.nio.fs.WindowsFileSystemProvider.move(WindowsFileSystemProvider.java:287)

      at java.nio.file.Files.move(Files.java:1395)

      at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.saveProgram(CpsThreadGroup.java:560)Caused: java.io.IOException: Failed to persist K:\JENKINS\jobs\HCONN\jobs\DEV_OGPC_INTERFACES_ADT_84_TRUNK_RELEASE\builds\244\program.dat

      at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.saveProgram(CpsThreadGroup.java:569) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.saveProgram(CpsThreadGroup.java:534) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.saveProgramIfPossible(CpsThreadGroup.java:517)

      at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:441)

      at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$400(CpsThreadGroup.java:96) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:312)

      at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:276)

      at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:67) at java.util.concurrent.FutureTask.run(FutureTask.java:266)

      at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:136)

      at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28) at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:59) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

      at java.util.concurrent.FutureTask.run(FutureTask.java:266)

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

      at java.lang.Thread.run(Thread.java:748)

            Unassigned Unassigned
            fredericmeyrou Frédéric Meyrou
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: