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

Robot tests runtime show wrong execution times in Blue Ocean

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • robot-plugin
    • None
    • Jenkins (Cloudbee Jenkins Enterprise): 2.249.1.2
      Blue Ocean: 1.23.3
      Robot Framework: 2.1.2
    • 3.0.0

      We have noticed an issue with how Blue Ocean shows the durations of the tests. It looks like the duration for each test is totally wrong for some reason, so for example in this case the tests took some seconds to run in reality but for some reason in Blue Ocean UI it shows even days:

      And when exiting Blue Ocean view we can see the real times:

       

      Any idea what could be wrong here? Cloudbees support didn't think this is a Blue Ocean plugin issue but perhaps Robot plugin, but I would like to hear your opinion as well. Also please let me know if you would need some additional information to debug this.

          [JENKINS-64955] Robot tests runtime show wrong execution times in Blue Ocean

          Aleksi Simell added a comment -

          Hi jussipol

          Most probably this is due to timescale difference between RF and Blue Ocean. The plugin has a default timescale of milliseconds and it might be that Blue Ocean uses seconds. If this is the case, this should be quite an easy fix. If not, then it needs some further investigation.

          Aleksi Simell added a comment - Hi jussipol Most probably this is due to timescale difference between RF and Blue Ocean. The plugin has a default timescale of milliseconds and it might be that Blue Ocean uses seconds. If this is the case, this should be quite an easy fix. If not, then it needs some further investigation.

          Aleksi Simell added a comment -

          Aleksi Simell added a comment - https://github.com/jenkinsci/robot-plugin/pull/41 Created to resolve this issue.

          Aleksi Simell added a comment -

          Pull request merged. Fix will be available in next release.

          Aleksi Simell added a comment - Pull request merged. Fix will be available in next release.

          Jussi Pollari added a comment -

          Excellent! Thanks Aleksi for quick fix!

          Jussi Pollari added a comment - Excellent! Thanks Aleksi for quick fix!

          Aleksi Simell added a comment -

          New version released (it will take up to 8 hours to show in update-center).

          Aleksi Simell added a comment - New version released (it will take up to 8 hours to show in update-center).

            aleksisimell Aleksi Simell
            jussipol Jussi Pollari
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: