I have a task that generates test results immediately. They are ignored by the JUnit parser. (this is a Mac related issue)
14-Feb-2017 18:04:41 Starting task 'JUnit Parser' of type 'com.atlassian.bamboo.plugins.testresultparser:task.testresultparser.junit' 14-Feb-2017 18:04:41 Parsing test results under /Users/aslaski/repos/bamboo/bamboo-homes/8085/xml-data/build-dir/DRAG-DRAG-JOB1... 14-Feb-2017 18:04:41 File /Users/aslaski/repos/bamboo/bamboo-homes/8085/xml-data/build-dir/DRAG-DRAG-JOB1/TEST.xml was ignored because it was modified (2017-02-14 18:04:41.000) before task started (2017-02-14 18:04:41.248) 14-Feb-2017 18:04:41 Failing task since test cases were expected but none were found.
Workaround
Run your agents (or server if you use local agents) with -Dbamboo.fs.timestamp.precision=1000 system property.
[BAM-18179] Default resolution of timestamp is too small for Mac
Assignee | Original: Przemyslaw Czuj [ pczuj ] | New: Przemek Bruski [ pbruski ] |
Assignee | New: Przemyslaw Czuj [ pczuj ] |
Assignee | Original: Shashank Kumar [ 4f38d6bf51c0 ] |
Assignee | Original: Przemek Bruski [ pbruski ] | New: Shashank Kumar [ 4f38d6bf51c0 ] |
Workflow | Original: Bamboo Workflow 2016 v1 - Restricted [ 1646427 ] | New: JAC Bug Workflow v3 [ 3383898 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Symptom Severity | Original: Minor [ 14432 ] | New: Severity 3 - Minor [ 15832 ] |
Labels | New: da-mac |
Fix Version/s | New: 6.0 EAP [ 67330 ] |
Resolution | New: Answered [ 9 ] | |
Status | Original: Needs Triage [ 10030 ] | New: Resolved [ 5 ] |
Resolution | Original: Done [ 17 ] | |
Status | Original: Resolved [ 5 ] | New: Needs Triage [ 10030 ] |