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

StackOverflowError when maximum number of builds archived

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • junit-plugin
    • None

      We've been seeing a StackOverflowError with Test stability enabled and Discard Old Builds:

      FATAL: null
      java.lang.StackOverflowError
      	at hudson.tasks.junit.TestResultAction.load(TestResultAction.java:197)
      	at hudson.tasks.junit.TestResultAction.getResult(TestResultAction.java:143)
      	at hudson.tasks.junit.TestResultAction.getResult(TestResultAction.java:62)
      	at hudson.tasks.test.AbstractTestResultAction.findCorrespondingResult(AbstractTestResultAction.java:247)
      	at hudson.tasks.test.TestResult.getPreviousResult(TestResult.java:142)
      	at hudson.tasks.junit.SuiteResult.getPreviousResult(SuiteResult.java:283)
      	at hudson.tasks.junit.CaseResult.getPreviousResult(CaseResult.java:446)
      	at hudson.tasks.junit.CaseResult.freeze(CaseResult.java:575)
      	at hudson.tasks.junit.SuiteResult.freeze(SuiteResult.java:325)
      	at hudson.tasks.junit.TestResult.freeze(TestResult.java:627)
      	at hudson.tasks.junit.TestResultAction.load(TestResultAction.java:200)
      	at hudson.tasks.junit.TestResultAction.getResult(TestResultAction.java:143)
              ... repeated ...
      

      Disabling the test stability resolves our issue.

        1. consoleText
          79 kB
        2. jenkins_stack_trace.txt
          75 kB
        3. jenkins.log
          74 kB
        4. jenkins-full-exception.log
          85 kB
        5. console.log
          89 kB
        6. jenkins-SOE-20170426.log
          24 kB

            Unassigned Unassigned
            davehunt Dave Hunt
            Votes:
            5 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated: