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

Infinite loop with crontab "0 0 1 0 0"

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Environment:
      Jenkins 1.446
      Next Executions plugin 1.0.2
    • Similar Issues:

      Description

      Steps to reproduce:

      1. Create a free-style job and set its "Build periodically" schedule to "0 0 1 0 0"
      2. Go to All view, then jenkins' java process consumes 100% CPU

      As described in the help, month=0 is invalid. Jenkins should reject month=0.

      > MONTH The month (1-12)

        Attachments

          Issue Links

            Activity

            ohtake_tomohiro OHTAKE Tomohiro created issue -
            ohtake_tomohiro OHTAKE Tomohiro made changes -
            Field Original Value New Value
            Link This issue is related to JENKINS-12357 [ JENKINS-12357 ]
            ohtake_tomohiro OHTAKE Tomohiro made changes -
            Link This issue is related to JENKINS-12388 [ JENKINS-12388 ]
            sogabe sogabe made changes -
            Assignee OHTAKE Tomohiro [ ohtake_tomohiro ] sogabe [ sogabe ]
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Seiji Sogabe
            Path:
            changelog.html
            core/src/main/java/hudson/scheduler/BaseParser.java
            http://jenkins-ci.org/commit/jenkins/921359c1257a3e30aa46e491c2c00817b838e52c
            Log:
            [FIXED JENKINS-12356] month should not be 0.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Seiji Sogabe Path: changelog.html core/src/main/java/hudson/scheduler/BaseParser.java http://jenkins-ci.org/commit/jenkins/921359c1257a3e30aa46e491c2c00817b838e52c Log: [FIXED JENKINS-12356] month should not be 0.
            scm_issue_link SCM/JIRA link daemon made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            Hide
            dogfood dogfood added a comment -

            Integrated in jenkins_main_trunk #1485
            [FIXED JENKINS-12356] month should not be 0. (Revision 921359c1257a3e30aa46e491c2c00817b838e52c)

            Result = SUCCESS
            Seiji Sogabe : 921359c1257a3e30aa46e491c2c00817b838e52c
            Files :

            • changelog.html
            • core/src/main/java/hudson/scheduler/BaseParser.java
            Show
            dogfood dogfood added a comment - Integrated in jenkins_main_trunk #1485 [FIXED JENKINS-12356] month should not be 0. (Revision 921359c1257a3e30aa46e491c2c00817b838e52c) Result = SUCCESS Seiji Sogabe : 921359c1257a3e30aa46e491c2c00817b838e52c Files : changelog.html core/src/main/java/hudson/scheduler/BaseParser.java
            Hide
            ohtake_tomohiro OHTAKE Tomohiro added a comment -

            Thank you for fixing the issue.

            I should have linked the issue and pull-344,
            in order not to let multiple people try to resolve same issue separately.

            Show
            ohtake_tomohiro OHTAKE Tomohiro added a comment - Thank you for fixing the issue. I should have linked the issue and pull-344 , in order not to let multiple people try to resolve same issue separately.
            ohtake_tomohiro OHTAKE Tomohiro made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 142722 ] JNJira + In-Review [ 205593 ]

              People

              • Assignee:
                sogabe sogabe
                Reporter:
                ohtake_tomohiro OHTAKE Tomohiro
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: