Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-16324

JUnit parser makes unfair modification-date comparison.

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Low Low
    • 5.10.1.1
    • None
    • None
    • None

      My error message is as follows:

      File /tai/bamboo/bamboo-agent-home/xml-data/build-dir/INF-CLEAN-CC61/cleanuptask.xml was ignored because it was modified (2015-09-08 15:45:50.000) before task started (2015-09-08 15:45:50.513)

      As you can see, the file time-stamp is only accurate to the exact second. Time stamps on the file system are truncated to the nearest second. Knowing when the task started is accurate to the millisecond. To compare one truncated number to a non-truncated number and that comparison causing a build failure is an unfair comparison.

      I recommend you detect whether that file was created before the task started, by using the task-start-time by truncating both numbers, as defined by the file system.

            [BAM-16324] JUnit parser makes unfair modification-date comparison.

            Monique Khairuliana (Inactive) made changes -
            Workflow Original: Bamboo Workflow 2016 v1 - Restricted [ 1442879 ] New: JAC Bug Workflow v3 [ 3385451 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Symptom Severity Original: Minor [ 14432 ] New: Severity 3 - Minor [ 15832 ]
            Krystian Brazulewicz made changes -
            Fix Version/s New: 5.10.1.1 [ 61404 ]
            Krystian Brazulewicz made changes -
            Resolution New: Duplicate [ 3 ]
            Status Original: Needs Triage [ 10030 ] New: Resolved [ 5 ]
            Krystian Brazulewicz made changes -
            Link New: This issue duplicates BAM-12979 [ BAM-12979 ]
            Krystian Brazulewicz made changes -
            Status Original: Open [ 1 ] New: Needs Triage [ 10030 ]
            jonah (Inactive) made changes -
            Symptom Severity New: Minor [ 14432 ]
            Owen made changes -
            Workflow Original: Bamboo Workflow 2016 v1 [ 1420506 ] New: Bamboo Workflow 2016 v1 - Restricted [ 1442879 ]
            Marek Went (Inactive) made changes -
            Workflow Original: Bamboo Workflow 2014 v2 [ 951892 ] New: Bamboo Workflow 2016 v1 [ 1420506 ]
            Pawel Skierczynski made changes -
            Remote Link New: This issue links to "BDEV-10366 (Atlassian JIRA Extranet - Special Projects)" [ 132801 ]

              Unassigned Unassigned
              0b0a6607a9a8 Tyler Mace
              Affected customers:
              2 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: