-
Notifications
You must be signed in to change notification settings - Fork 34
Description
Describe the bug
After Robot Framework 7.4.1 was released, I started to face problems with getting test results sent to Report Portal. My assumption is that the change in handling the Secret variables is the issue. The same problem is present with Robot Framework 7.4.
After the test run is finished in Bitbucket Pipelines, the post_report command is run. RF versions <7.4 have been working perfectly, but with RF 7.4/7.4.1 the results are not sent. Instead, only the help text is printed to the pipeline logs. In my case, the RP_API_KEY is stored in repository variables in Bitbucket, but when I tried to set the API key directly to the pipeline script in testing purposes, it did not help.
Steps to Reproduce
Steps to reproduce the behavior:
- Build bitbucket_pipelines.yml file with script including some test set, and after-script section including post_report command.
- Run the test set in Bitbucket Pipelines.
- Observe Report Portal and Bitbucket logs.
Expected behavior
Test results are sent to Report Portal.
Actual behavior
Test results are not sent to Report Portal. Bitbucket logs show the help section of Report Portal post_report functionality and not any error message.
Package versions
reportportal-client 5.6.7
robotframework-reportportal 5.6.4
robotframework 7.4.1
Additional context
The post_report has been working just great with earlier versions of Robot Framework, so my bitbucket_pipelines.yml is built correctly. I want to underline this so that if I had not mentioned all details of the .yml file, the issue is not found from there. Of course the RP_API_KEY syntax might be wrong, but I did not find any details how it should be set from your documentation.