Skip to content

Robot Framework attachments are not present in ReportPortal #148

@lmazureNX

Description

@lmazureNX

Describe the bug
My configuration:

  • ReportPortal 5.7.2 in Docker in WSL2 on my laptop
  • I am running some simple tests Robot Framework tests (https://gitlab.com/m4711/robotframework-samples)
  • I try to push their results in ReportPortal (using gitbash in Windows on my laptop)

Steps to Reproduce

  1. I run the test with the command line
robot --outputdir reports --listener robotframework_reportportal.listener --variable RP_UUID:"b58f8cf0-56a1-44eb-a1ca-45453d5302bc" --variable RP_ENDPOINT:"http://127.0.0.1:8080" --variable RP_LAUNCH:"my ROBOTFRAMEWORKSAMPLES launch" --variable RP_PROJECT:"ROBOTFRAMEWORKSAMPLES" --xunit junit_report.xml --variable RP_ATTACH_XUNIT:"True" --variable RP_ATTACH_REPORT:"True" --variable RP_ATTACH_LOG:"True" mazure.robot
  1. In ReportPortal, I can see the test results :
    image
    the "stack trace"
    image
    but no attachment
    image

Expected behavior
Given the command line I used (--variable RP_ATTACH_XUNIT:"True" --variable RP_ATTACH_REPORT:"True" --variable RP_ATTACH_LOG:"True"), I was expecting to see

  • report.html
  • log.html
  • junit_report.xml

Actual behavior
No attachement is present.

Package versions
The Python modules are

$ pip list | grep report
reportportal-client             5.2.3
robotframework-reportportal     5.3.0

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions