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

Crash when cancelling a freestyle job

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • core
    • None
    • jenkins 2.243, centos 7.4.1708, java 1.8.0_161-b14

      If I cancel my freestyle build while it's in the middle of a shell script the jenkins service exits and I have to restart it. This is the last log.

      2020-08-01 00:04:26.739+0000 [id=526524]        INFO    hudson.model.Run#execute: MYEXAMPLEJOB #531 aborted
      java.lang.InterruptedException
              at java.lang.Object.wait(Native Method)
              at java.lang.Object.wait(Object.java:502)
              at java.lang.UNIXProcess.waitFor(UNIXProcess.java:395)
              at hudson.Proc$LocalProc.join(Proc.java:327)
              at hudson.tasks.CommandInterpreter.join(CommandInterpreter.java:155)
              at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:109)
              at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:66)
              at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
              at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)
              at hudson.model.Build$BuildExecution.build(Build.java:206)
              at hudson.model.Build$BuildExecution.doRun(Build.java:163)
              at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
              at hudson.model.Run.execute(Run.java:1880)
              at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
              at hudson.model.ResourceController.execute(ResourceController.java:97)
              at hudson.model.Executor.run(Executor.java:428)
      

            Unassigned Unassigned
            jamshid Jamshid Afshar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: