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

Error: Execution failed with java.lang.InterruptedException

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Code Sync failed in the Virtual Machines when running the scripts from Jenkins. Earlier scripts were running without any issue, but now its failing due to the below error message. Please let me know if you need any other information.

      13:46:37 [sync67] ERROR: Execution failed
      13:46:37 [sync67] java.lang.InterruptedException
      13:46:37 [sync67] at java.lang.Object.wait(Native Method)
      13:46:37 [sync67] at hudson.remoting.Request.call(Request.java:177)
      13:46:37 [sync67] at hudson.remoting.Channel.call(Channel.java:956)
      13:46:37 [sync67] at hudson.FilePath.act(FilePath.java:1070)
      13:46:37 [sync67] at hudson.FilePath.act(FilePath.java:1059)
      13:46:37 [sync67] at org.jenkinsci.plugins.p4.PerforceScm.checkout(PerforceScm.java:572)
      13:46:37 [sync67] at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:113)
      13:46:37 [sync67] at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:85)
      13:46:37 [sync67] at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:75)
      13:46:37 [sync67] at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:47)
      13:46:37 [sync67] at hudson.security.ACL.impersonate(ACL.java:290)
      13:46:37 [sync67] at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1.run(AbstractSynchronousNonBlockingStepExecution.java:44)
      13:46:37 [sync67] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      13:46:37 [sync67] at java.util.concurrent.FutureTask.run(Unknown Source)
      13:46:37 [sync67] at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      13:46:37 [sync67] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      13:46:37 [sync67] at java.lang.Thread.run(Unknown Source)
      13:46:37 [sync67] Retrying
      [Pipeline] [sync68] }
      [Pipeline] [sync67]

      { [Pipeline] [sync68] // node [Pipeline] [sync68] }

      [Pipeline] [sync67] timeout
      13:46:38 [sync67] Timeout set to expire in 2 min 0 sec
       

       

        Attachments

          Activity

          Hide
          p4karl Karl Wirth added a comment -

          Hi Sree ram,

          Please let me know which version of the p4-plugin you are using and what type of job this is (freestyle, pipeline, multibranch).

          What has changed? Did you just upgrade the p4-plugin? If you did what version did you upgrade from?

          The error suggests this is a network problem however please attach the full console log.

          Regards,

          Karl

          Show
          p4karl Karl Wirth added a comment - Hi Sree ram , Please let me know which version of the p4-plugin you are using and what type of job this is (freestyle, pipeline, multibranch). What has changed? Did you just upgrade the p4-plugin? If you did what version did you upgrade from? The error suggests this is a network problem however please attach the full console log. Regards, Karl
          Hide
          sreeramydk Sree ram added a comment - - edited

          hi Karl,

          Thanks for looking into the issue !!!

          Issue got resolved now. I did two things actually to resolve the issue.

          1. Increased Sync time from 2 mins to 5 mins(Actually code will be copied into Virtual Machine from Perforce during this time).
          2. Reduced code size by deleting few unwanted folders like Reports, SnapShots and scripts which are not executed regularly.

          By doing the above two steps, now my Jenkins builds are successfully and didn't see the error again. You can close the ticket now.

          Show
          sreeramydk Sree ram added a comment - - edited hi Karl, Thanks for looking into the issue !!! Issue got resolved now. I did two things actually to resolve the issue. 1. Increased Sync time from 2 mins to 5 mins(Actually code will be copied into Virtual Machine from Perforce during this time). 2. Reduced code size by deleting few unwanted folders like Reports, SnapShots and scripts which are not executed regularly. By doing the above two steps, now my Jenkins builds are successfully and didn't see the error again. You can close the ticket now.
          Hide
          p4karl Karl Wirth added a comment -

          Hi Sree ram - Thanks and great that you solved it. Also this makes a great resource for other users that hit the same error message so thanks again.

          Show
          p4karl Karl Wirth added a comment - Hi Sree ram - Thanks and great that you solved it. Also this makes a great resource for other users that hit the same error message so thanks again.

            People

            Assignee:
            p4karl Karl Wirth
            Reporter:
            sreeramydk Sree ram
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: