agent-Python-RobotFramework
agent-Python-RobotFramework copied to clipboard
Variable RP_LAUNCH_UUID is required for execution
with newest versions I am using
robotframework-reportportal==5.6.4 reportportal-client==5.6.5
i get errors when trying to log to report portal from robot framework>
'errorCode': 4001, 'message': "Incorrect Request. [Field 'launchUuid' should not be null.] "}
I understood RP_LAUNCH_UUID is optional, my VARs are set as> --variable RP_ENDPOINT:" ... \ --variable RP_ATTACH_LOG:"False" \ --variable RP_API_KEY:"${RP_API_KEY}" \ --variable RP_PROJECT:"${PROJECT}" \ --variable RP_VERIFY_SSL:"${SSL}" \ --variable RP_LAUNCH:'${env.JOB_NAME}-${env.environment}' \ --variable RP_LAUNCH_ATTRIBUTES:"ENV:${env.environment} ... --variable RP_LAUNCH_TIMEOUT:120 \ --variable RP_LOG_BATCH_PAYLOAD_SIZE:64000000 \ --variable RP_REMOVE_KEYWORDS:"True" \
with downgrade to older versions, no issues at all> robotframework-reportportal==5.6.0 reportportal-client==5.6.0
@keef78
I don't see such issue:
My dependencies:
Name: robotframework-reportportal
Version: 5.6.4
Name: reportportal-client
Version: 5.6.5
I'm running our examples using Python 3.11: https://github.com/reportportal/examples-python/blob/master/robotframework/run-variables-file.sh
And only change I did is put API key here: https://github.com/reportportal/examples-python/blob/master/robotframework/variables.yaml#L1
So, what is your:
- Python version
- Server version
- Way to run: robot, pabot?
Abandoned