Closed oferdan closed 2 years ago
I am using next but as well can not get launch registered
robot \
--listener robotframework_reportportal.listener \
--variable RP_UUID:"db06db83-07d4-4103-b115-c7ff7c93701e" \
--variable RP_ENDPOINT:"http://127.0.0.1:8080" \
--variable RP_LAUNCH:"launch-$(now.sh)" \
--variable RP_LAUNCH_UUID:"$(uuid)" \
--variable RP_PROJECT:"default_personal" \
.
Current workarround seems pip install robotframework-reportportal==5.2.2
, then you need no launch uuid and launch gets registered
Hmm, looks like this issue https://github.com/reportportal/client-Python/issues/195 affects people wider than I expected.
Then I release new Client version 5.2.5, this should fix the issue.
Thank you!
Describe the bug Variable should be optional but is required (even without Pabot)
--variable RP_LAUNCH_UUID:""
Steps to Reproduce Execute test with required variables:
robot -d results --listener robotframework_reportportal.listener --variable RP_UUID:"xYxYxYxYxYxYxYxYxY" --variable RP_ENDPOINT:"http://localhost:8080" --variable RP_LAUNCH:"dev_test" --variable RP_PROJECT:"default_personal" -t"Test decision" tests/dev_test.robot
Expected behavior Listener is sending results to the Report Portal
Actual behavior Getting error from Robot Framework:
Error in Docker:
Package versions Python 3.7.3 Report Portal: Build: 5.7.2 robotframework 5.0.1 robotframework-reportportal 5.3.0 reportportal-client 5.2.4
Additional context If I add RP_LAUNCH_UUID then it is not printing any error, but Report Portal doesn't know about this UUID
--variable RP_LAUNCH_UUID:"1"
Error in Docker: