Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-8106

Add script to attempt to reproduce failing tests from a Jenkins log

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 7.4, 8.0
    • None
    • None
    • New

    Description

      This script will be runnable from a downstream job triggered by an upstream failing Jenkins job, passing log location info between the two.

      The script will also be runnable manually from a developer's cmdline.

      From the script help:

      Usage:
      
           python3 -u reproduceJenkinsFailures.py URL
      
      Must be run from a Lucene/Solr git workspace. Downloads the Jenkins
      log pointed to by the given URL, parses it for Git revision and failed
      Lucene/Solr tests, checks out the Git revision in the local workspace,
      groups the failed tests by module, then runs
      'ant test -Dtest.dups=5 -Dtests.class="*.test1[|*.test2[...]]" ...'
      in each module of interest, failing at the end if any of the runs fails.
      To control the maximum number of concurrent JVMs used for each module's
      test run, set 'tests.jvms', e.g. in ~/lucene.build.properties
      

      Attachments

        1. LUCENE-8106.patch
          8 kB
          Steven Rowe
        2. LUCENE-8106.patch
          9 kB
          Steven Rowe
        3. LUCENE-8106-part2.patch
          11 kB
          Steven Rowe
        4. LUCENE-8106-part3.patch
          5 kB
          Steven Rowe
        5. LUCENE-8106-part4.patch
          4 kB
          Steven Rowe
        6. LUCENE-8106.part5.patch
          2 kB
          Steven Rowe

        Activity

          People

            sarowe Steven Rowe
            sarowe Steven Rowe
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: