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

Plugin not displaying Robot Test Summary correctly if robot framework task running in parallel in pipeline

    Details

    • Type: Improvement
    • Status: Open (View Workflow)
    • Priority: Trivial
    • Resolution: Unresolved
    • Component/s: robot-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      I am building running my robot framework test case parallel in Jenkins pipeline. However the Robot Test Summary generated post build is not correct, it displaying the count/summary of last finished in parallelism, however it should show the count of individual job. It was overwriting the report also earlier but that I saved as different name & it worked fine, but still the Robot Test Summary is problem(please not my both suite below have different number of test cases).

      suite1:{
      try

      { mvn -s /settings.xml install robotframework:run -Dexcludes=inprogress -Dsuites=test1 -DLogFileName=suite1_log.html -DoutputFileName=suite1_output.xml -DreportFileName=suite1_report.html' currentBuild.result = 'SUCCESS' }

      catch(any)

      { currentBuild.result = 'FAILURE' throw any }

      finally

      { step([$class: 'RobotPublisher', outputPath:'/source/xxxxxx/target/robotframework-reports', passThreshold: 0, unstableThreshold: 0, otherFiles: "", logFileName: 'suite1_log.html', outputFileName: 'suite1_output.xml', reportFileName: 'suite1_report.html']) }

      },
      suite2:{
      try

      { mvn -s /settings.xml robotframework:run -Dexcludes=inprogress -Dsuites=test2 -DLogFileName=suite2_log.html -DoutputFileName=suite2_output.xml -DreportFileName=suite2_report.html' currentBuild.result = 'SUCCESS' }

      catch(any)

      { currentBuild.result = 'FAILURE' //sendMail() throw any }

      finally

      { step([$class: 'RobotPublisher', outputPath:'/source/xxxxxx/target/robotframework-reports/', passThreshold: 0, unstableThreshold: 0, otherFiles: "", logFileName: 'suite2_log.html', outputFileName: 'suite2_output.xml', reportFileName: 'suite2_report.html']) }

        Attachments

          Activity

          Hide
          astaruch Andrej Staruch added a comment -

          Hi, something similar was addressed in the warning-ng plugin https://issues.jenkins-ci.org/browse/JENKINS-54027?attachmentViewMode=list.
          Maybe if the id and name parameters would be added, it could solve this issue.

          Show
          astaruch Andrej Staruch added a comment - Hi, something similar was addressed in the warning-ng plugin https://issues.jenkins-ci.org/browse/JENKINS-54027?attachmentViewMode=list . Maybe if the id and name parameters would be added, it could solve this issue.
          Hide
          sipani909 Abhijit Sipani added a comment -

          shyam singh Can you please provide details of how you were able to generate the table?

          Show
          sipani909 Abhijit Sipani added a comment - shyam singh Can you please provide details of how you were able to generate the table?
          Hide
          singhshyam shyam singh added a comment -

          We have achieved the same in-house by modifying the same plugin, instead of merging the report, we are showing the merge count and all the report in tabular form,  user can access individual report. Indeed this is very fast, whereas we used to spend lots of time in merging the report . Please refer the attached screen shot.

          Show
          singhshyam shyam singh added a comment - We have achieved the same in-house by modifying the same plugin, instead of merging the report, we are showing the merge count and all the report in tabular form,  user can access individual report. Indeed this is very fast, whereas we used to spend lots of time in merging the report . Please refer the attached screen shot.
          Hide
          mpenven Mériadec Penven added a comment -

          I'm facing the same issue on my project. I confirm that a fix would be really appreciated 

          Thanks in advance

          Show
          mpenven Mériadec Penven added a comment - I'm facing the same issue on my project. I confirm that a fix would be really appreciated  Thanks in advance
          Hide
          graines Glen Raines added a comment -

          Our team here would also prefer to display separate Robot Test Summaries, so a fix would be really appreciated.

          Show
          graines Glen Raines added a comment - Our team here would also prefer to display separate Robot Test Summaries, so a fix would be really appreciated.

            People

            • Assignee:
              hifi Juho Saarinen
              Reporter:
              singhshyam shyam singh
            • Votes:
              9 Vote for this issue
              Watchers:
              17 Start watching this issue

              Dates

              • Created:
                Updated: