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

Conversion error: Invalid time "0" (hour must be two digits)

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • xunit-plugin
    • None
    • 3.0.7

      Issue occurs during publishing xUnit report:

      and it looks not related to customer XML file (I see no incorrections in syntax or timestamps). Is there any new change we need to adjust ourselves?

      Customer use ValgrindJunitHudsonTestType type in this case.

          [JENKINS-66921] Conversion error: Invalid time "0" (hour must be two digits)

          Kacper Burzała created issue -
          Nikolas Falco made changes -
          Summary Original: [xUnit] Conversion error: Invalid time "0" (hour must be two digits) New: Conversion error: Invalid time "0" (hour must be two digits)

          Nikolas Falco added a comment -

          What are the values in the XML report for :

          ...
              <status>
                  <state>RUNNING</state>
                  <time>00:00:00:00.0</time>
              </status>
          ...
              <status>
                  <state>FINISHED</state>
                  <time>00:00:00:00.546</time>
              </status>
          ...
          

          Nikolas Falco added a comment - What are the values in the XML report for : ... <status> <state> RUNNING </state> <time> 00:00:00:00.0 </time> </status> ... <status> <state> FINISHED </state> <time> 00:00:00:00.546 </time> </status> ...
          Kacper Burzała made changes -
          Attachment New: 399515.2.valgrind.xml [ 57987 ]
          Attachment New: 399518.2.valgrind.xml [ 57988 ]

          Two example files:
          399515.2.valgrind.xml399518.2.valgrind.xml

          Sorry for inconvenience of keeping this issue open for half a year.

          Kacper Burzała added a comment - Two example files: 399515.2.valgrind.xml 399518.2.valgrind.xml Sorry for inconvenience of keeping this issue open for half a year.

          Nikolas Falco added a comment -

          I will have a look this week end

          Nikolas Falco added a comment - I will have a look this week end

          https://github.com/jenkinsci/xunit-plugin/pull/94

          Please check, it's our proposal for fix. Already tested on our side.

          Kacper Burzała added a comment - https://github.com/jenkinsci/xunit-plugin/pull/94 Please check, it's our proposal for fix. Already tested on our side.
          Nikolas Falco made changes -
          Released As New: 3.0.7
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

            nfalco Nikolas Falco
            kacperburzala Kacper Burzała
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: