[JIRA] [core] (JENKINS-33549) Expose Job name for the exception java.lang.IllegalStateException: cannot create a build with number XX since that (or higher) is already in use among [XX]

5 views
Skip to first unread message

fbelzunc@gmail.com (JIRA)

unread,
Mar 15, 2016, 9:49:02 AM3/15/16
to jenkinsc...@googlegroups.com
Félix Belzunce Arcos started work on Improvement JENKINS-33549
 
Change By: Félix Belzunce Arcos
Status: Open In Progress
Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265)
Atlassian logo

fbelzunc@gmail.com (JIRA)

unread,
Mar 15, 2016, 9:49:02 AM3/15/16
to jenkinsc...@googlegroups.com

fbelzunc@gmail.com (JIRA)

unread,
Mar 15, 2016, 9:49:02 AM3/15/16
to jenkinsc...@googlegroups.com
Issue Type: Bug Bug
Assignee: Félix Belzunce Arcos
Components: core
Created: 15/Mar/16 1:48 PM
Priority: Trivial Trivial
Reporter: Félix Belzunce Arcos

If $JENKINS_HOME/jobs/*/nextBuildNumber was somehow reset to a lower value then the stacktrace below will be displayed. It doesn't say what job is affected, so it might be nice to capture this exception and expose the job name.

2016-03-10 13:03:58.785+0000 [id=4541756]   SEVERE  hudson.model.Executor#run: Unexpected executor deathjava.lang.IllegalStateException: cannot create a build with number 38 since that (or higher) is already in use among [45]
    at jenkins.model.lazy.AbstractLazyLoadRunMap.proposeNewNumber(AbstractLazyLoadRunMap.java:361)
    at hudson.model.RunMap.put(RunMap.java:190)
    at jenkins.model.lazy.LazyBuildMixIn.newBuild(LazyBuildMixIn.java:178)
    at hudson.model.AbstractProject.newBuild(AbstractProject.java:1010)
    at hudson.model.AbstractProject.createExecutable(AbstractProject.java:1209)
    at hudson.model.AbstractProject.createExecutable(AbstractProject.java:144)
    at hudson.model.Executor$1.call(Executor.java:335)
    at hudson.model.Executor$1.call(Executor.java:317)
    at hudson.model.Queue._withLock(Queue.java:1399)
    at hudson.model.Queue.withLock(Queue.java:1264)
    at hudson.model.Executor.run(Executor.java:317)

fbelzunc@gmail.com (JIRA)

unread,
Mar 15, 2016, 10:02:03 AM3/15/16
to jenkinsc...@googlegroups.com

claude.choisnet@gmail.com (JIRA)

unread,
Jun 9, 2016, 9:23:02 AM6/9/16
to jenkinsc...@googlegroups.com

scm_issue_link@java.net (JIRA)

unread,
Aug 20, 2016, 8:18:02 PM8/20/16
to jenkinsc...@googlegroups.com

Code changed in jenkins
User: Daniel Beck
Path:
core/src/main/java/jenkins/model/lazy/LazyBuildMixIn.java
http://jenkins-ci.org/commit/jenkins/239ec86bdb39db1009facf7eadb693d4c6c83cdd
Log:
Merge pull request #2125 from fbelzunc/JENKINS-33549

[FIXED JENKINS-33549] Specify on the logger the job which cannot create a new build

Compare: https://github.com/jenkinsci/jenkins/compare/4376fdedfc85...239ec86bdb39

This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo

scm_issue_link@java.net (JIRA)

unread,
Aug 20, 2016, 8:18:02 PM8/20/16
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages