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

Make checking for modification time of junit results be configurable and off by default

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Fixed
    • junit-plugin
    • None
    • 1119.va_a_5e9068da_d7

    Description

      The JUnit Result Archiver will fail the build if the test result files that match the filemask do not have a very recent modification time. The error message it prints is this:
      "Test reports were found but none of them are new. Did tests run?"

      This can be inconvenient in several settings; notably, when the clocks on the master and slave fall out of sync, or when the test results were generated by some process that isn't part of the build itself – maybe they were scp'd from somewhere else, for instance. Or for testing the JUnitResultArchiver itself.

      In my opinion, the behavior should be changed such that check-for-recent-modifications should be off by default. Additionally, the user should be able to specify a "recent" threshold via a setting.

      Attachments

        Issue Links

          Activity

            bshine bshine created issue -
            kutzi kutzi made changes -
            Field Original Value New Value
            Link This issue duplicates JENKINS-5393 [ JENKINS-5393 ]
            nirro Stanislav Tyurikov made changes -
            Priority Major [ 3 ] Blocker [ 1 ]
            mheil Matthias Heil made changes -
            Link This issue is duplicated by JENKINS-18148 [ JENKINS-18148 ]
            oleg_nenashev Oleg Nenashev made changes -
            Assignee Oleg Nenashev [ oleg_nenashev ]
            centic centic made changes -
            Link This issue is related to JENKINS-9438 [ JENKINS-9438 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 136362 ] JNJira + In-Review [ 174492 ]
            oleg_nenashev Oleg Nenashev made changes -
            Assignee Oleg Nenashev [ oleg_nenashev ]
            bjorn_frantzen Bjorn Frantzen made changes -
            Link This issue duplicates JENKINS-47315 [ JENKINS-47315 ]
            cloudbees CloudBees Inc. made changes -
            Remote Link This issue links to "CloudBees Internal OSS-2657 (Web Link)" [ 20172 ]
            manus manus made changes -
            Link This issue is related to JENKINS-47315 [ JENKINS-47315 ]
            manus manus made changes -
            Link This issue duplicates JENKINS-47315 [ JENKINS-47315 ]
            basil Basil Crow made changes -
            Released As 1119.va_a_5e9068da_d7
            Assignee Olivier Lamy [ olamy ]
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Closed [ 6 ]

            People

              olamy Olivier Lamy
              bshine bshine
              Votes:
              54 Vote for this issue
              Watchers:
              50 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: