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

Jenkins falsely fails builds due to aggressive up-to-date check on junit artifacts

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • junit-plugin
    • None
    • RedHat Linux VMware

      I'm getting this error at the end of a build in Hudson that should have been successful. I don't know why this age check is failing but I would be satisfied if I could simply disable the check.

      Archiving artifacts
      Recording test results
      Test reports were found but none of them are new. Did tests run?
      For example, /opt/hudson-workspace/workspace/project/target/test/reports/unittest/Ant suite/Ant test.xml is 3 min 13 sec old

      These files are, without question, up to date and generated only by the current built.

      Here are my questions:
      1: The comparison is between the date of the file and... what other thing? What do "new" and "old" mean in this context?
      2: How can I disable or deceive this comparison? It's completely unwanted and unnecessary.

      I know there was a bug for this in earlier versions of Hudson, but apparently the error message was the only thing changed.

      The problem still occurs in 1.341. As for the environment, these are RedHat Linux virtual machines, and the dates on the system are synchronized to within 1 second. I cannot understand why Hudson thinks these files are too old.

          [JENKINS-5393] Jenkins falsely fails builds due to aggressive up-to-date check on junit artifacts

          carltonb created issue -
          carltonb made changes -
          Environment Original: RedHad Linux VMware New: RedHat Linux VMware
          OHTAKE Tomohiro made changes -
          Link New: This issue is duplicated by JENKINS-7375 [ JENKINS-7375 ]
          kutzi made changes -
          Link New: This issue is duplicated by JENKINS-6268 [ JENKINS-6268 ]
          Oleg Nenashev made changes -
          Link New: This issue is duplicated by JENKINS-18148 [ JENKINS-18148 ]
          Oleg Nenashev made changes -
          Assignee New: Oleg Nenashev [ oleg_nenashev ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 135482 ] New: JNJira + In-Review [ 174317 ]
          Oleg Nenashev made changes -
          Assignee Original: Oleg Nenashev [ oleg_nenashev ]
          Oleg Nenashev made changes -
          Summary Original: Hudson falsely fails builds due to aggressive up-to-date check on junit artifacts New: Jenkins falsely fails builds due to aggressive up-to-date check on junit artifacts
          Bjorn Frantzen made changes -
          Link New: This issue duplicates JENKINS-47315 [ JENKINS-47315 ]
          manus made changes -
          Link New: This issue is duplicated by JENKINS-10035 [ JENKINS-10035 ]

            Unassigned Unassigned
            carltonb carltonb
            Votes:
            14 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated: