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

Build with lots of parameterized tests makes Jenkins hang

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: testng-plugin
    • Labels:
      None
    • Environment:
      Jenkins 1.539
    • Similar Issues:

      Description

      We have a Java build job with a TestNG unit test that is run through a lot of combinations (30000).
      Jenkins fails to display dashboards, staying forever in XML parsing (see attached thread dump).
      It feels like every request loads and parses the build results... Is there a known workaround ?

      Removing the test and purging the build history fixes the issue.

        Attachments

          Activity

          Hide
          nullin Nalin Makar added a comment -

          Julien, if possible, please provide the testng-results.xml file generated by this build.

          Show
          nullin Nalin Makar added a comment - Julien, if possible, please provide the testng-results.xml file generated by this build.
          Hide
          nicoulaj Julien Nicoulaud added a comment -

          Unfortunately, I can not provide the file as it contains sensitive data.
          However, in the meanwhile I realized it works fine with lots of parameterized tests, the slowdown happens when a parameterized tests with lots of combinations is skipped. So I guess the steps to reproduce are:

          • Create a test class with a single test method
          • Make it parameterized with 100000 combinations
          • Make it throw a SkipException
          Show
          nicoulaj Julien Nicoulaud added a comment - Unfortunately, I can not provide the file as it contains sensitive data. However, in the meanwhile I realized it works fine with lots of parameterized tests, the slowdown happens when a parameterized tests with lots of combinations is skipped. So I guess the steps to reproduce are: Create a test class with a single test method Make it parameterized with 100000 combinations Make it throw a SkipException
          Hide
          nullin Nalin Makar added a comment -

          Please try v1.10. It potentially could fix your issue.

          Show
          nullin Nalin Makar added a comment - Please try v1.10. It potentially could fix your issue.

            People

            • Assignee:
              nullin Nalin Makar
              Reporter:
              nicoulaj Julien Nicoulaud
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: