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

WARNING: RunListener failed java.lang.IllegalStateException:

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • CentOS Linux release 7.2.1511 (Core)

      Hi,

      I have installed jenkin 2.7.4 in my rackspace instance. Now while building one of my very first jenkin job, the build is failing and I can see below exception in jenkins.log.

      Can someone please tell me what is this related for and how I can I fix this. Thanks in advance.

      Nov 19, 2016 12:00:36 AM hudson.model.listeners.RunListener report
      WARNING: RunListener failed
      java.lang.IllegalStateException: Already completed
      	at org.jenkinsci.plugins.workflow.cps.CpsStepContext.onFailure(CpsStepContext.java:310)
      	at org.jenkinsci.plugins.workflow.support.steps.build.BuildTriggerListener.onDeleted(BuildTriggerListener.java:33)
      	at hudson.model.listeners.RunListener.fireDeleted(RunListener.java:247)
      	at hudson.model.Run.delete(Run.java:1486)
      	at hudson.tasks.LogRotator.perform(LogRotator.java:131)
      	at hudson.model.Job.logRotate(Job.java:471)
      	at hudson.model.Run.execute(Run.java:1805)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      	at hudson.model.ResourceController.execute(ResourceController.java:98)
      	at hudson.model.Executor.run(Executor.java:410)
      Caused by: java.lang.Exception: broken since this build
      	... 9 more
      
      Nov 19, 2016 12:00:36 AM hudson.model.listeners.RunListener report
      WARNING: RunListener failed
      java.lang.IllegalStateException: Already completed
      	at org.jenkinsci.plugins.workflow.cps.CpsStepContext.onFailure(CpsStepContext.java:310)
      	at org.jenkinsci.plugins.workflow.support.steps.build.BuildTriggerListener.onDeleted(BuildTriggerListener.java:33)
      	at hudson.model.listeners.RunListener.fireDeleted(RunListener.java:247)
      	at hudson.model.Run.delete(Run.java:1486)
      	at hudson.tasks.LogRotator.perform(LogRotator.java:131)
      	at hudson.model.Job.logRotate(Job.java:471)
      	at hudson.model.Run.execute(Run.java:1805)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      	at hudson.model.ResourceController.execute(ResourceController.java:98)
      	at hudson.model.Executor.run(Executor.java:410)
      Caused by: java.lang.Exception: broken since this build
      	... 9 more
      
      Nov 19, 2016 12:00:36 AM org.jenkinsci.plugins.workflow.job.WorkflowRun finish
      INFO: oo-all-oss #10 completed: FAILURE
      

            Unassigned Unassigned
            ighouri Imaad Ghouri
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: