-
Improvement
-
Resolution: Fixed
-
Blocker
-
None
-
-
1119.va_a_5e9068da_d7
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.
- duplicates
-
JENKINS-5393 Jenkins falsely fails builds due to aggressive up-to-date check on junit artifacts
-
- Open
-
- is duplicated by
-
JENKINS-18148 JUnit Test Result Report Silently Ignores Files With Old Timestamps?
-
- Resolved
-
- is related to
-
JENKINS-9438 Gradle CI builds fail when no test tasks are run
-
- Closed
-
-
JENKINS-47315 No new tests found should be treated as empty results
-
- In Progress
-
- links to
[JENKINS-6268] Make checking for modification time of junit results be configurable and off by default
Link | New: This issue duplicates JENKINS-5393 [ JENKINS-5393 ] |
Priority | Original: Major [ 3 ] | New: Blocker [ 1 ] |
I have to use Hudson on a virtual machine on which clock behaves in the following way (less than a second between successive date invocations):
[pcwindci] /etc/sysconfig > date
Wed Nov 17 09:37:23 CET 2010
[pcwindci] /etc/sysconfig > date
Wed Nov 17 09:34:46 CET 2010
[pcwindci] /etc/sysconfig > date
Wed Nov 17 09:37:23 CET 2010
This makes using Hudson impossible in my environment. I know my setup and would like to completely disable the check for modifications.