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

Age column could take into consideration aborted run

    • Icon: Improvement Improvement
    • Resolution: Incomplete
    • Icon: Minor Minor
    • xunit-plugin
    • None
    • Jenkins 2.346.1
      xUnit plugin Version3.1.0
      xUnit Categories Extension plugin Version1.1

      Considering an run that is facing an issue (run over the timeout threshold for example), we are facing the below issue for the unit test foo : 

      • Run 0 : Test foo Passed
      • Run 1 : Test foo failing, Age 1
      • Run 2 : Test foo failing, age 2
      • Run 3 : Test foo failing, age 3
      • Run 4 : Run over the threshold (10mins), unit test foo has not beed played, 
      • Run 5 : Test foo failing, age 1
      • Run 6 : test foo failing age 2

      We wrongly believe that the run 5 is responsible for making the unit test failing.

      I believe we should display on run 6 an age of 6.

      This would requiere a paradigm shift from : Age is the run where status = Failed and Previous Run != Failed to 
      Age is the run where status = Failed and Previous run = Passed. 
      Or When a run is aborted and a status is different then Pass, we go through the previous run 

          [JENKINS-69428] Age column could take into consideration aborted run

          florian gouze added a comment -

           

          We could argue over if Ignored should be included on it but we would love so that any aborder / not generated run would be included.
          How would we separate a not played test to a non existent test is an issue tho.

          florian gouze added a comment -   We could argue over if Ignored should be included on it but we would love so that any aborder / not generated run would be included. How would we separate a not played test to a non existent test is an issue tho.

          Nikolas Falco added a comment -

          trend graph is created by junit plugin and we can not change it.
          By your example for me it's clear that is Run 1 responsable of failing I do not know why you should think Run 5 is responsable of failure if the trend grap show you there are failing test since Run 1

          Nikolas Falco added a comment - trend graph is created by junit plugin and we can not change it. By your example for me it's clear that is Run 1 responsable of failing I do not know why you should think Run 5 is responsable of failure if the trend grap show you there are failing test since Run 1

          Nikolas Falco added a comment -

          What is xUnit Categories Extension plugin Version1.1 ?

          Nikolas Falco added a comment - What is xUnit Categories Extension plugin Version1.1 ?

            nfalco Nikolas Falco
            fgouze080321 florian gouze
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: