agent-Python-RobotFramework icon indicating copy to clipboard operation
agent-Python-RobotFramework copied to clipboard

[ ERROR ] Calling method 'start_test' of listener 'robotframework_reportportal.listener' failed: FileNotFoundError: [Errno 2] No such file or directory

Open golfzaptw opened this issue 1 year ago • 1 comments

Describe the bug After PASSED the first test case and continue the next test case, it show error [ ERROR ] Calling method 'start_test' of listener 'robotframework_reportportal.listener' failed: FileNotFoundError: [Errno 2] No such file or directory

Steps to Reproduce Steps to reproduce the behavior:

  1. Run command

robot -d log -o output.xml -l log.html -r report.html -x xunit.xml -b debug.txt -L DEBUG --listener robotframework_reportportal.listener -V report_portal.yaml -v 'RP_LAUNCH:Jenkins Sequential Launch' -v 'RP_LAUNCH_DOC:Robot framework launch sequential on Jenkins' -v 'RP_LAUNCH_ATTRIBUTES:tag APP_VERSION:842 JENKINS_BUILD_NUMBER:142' -v TEST_PLATFORM:android -v ENV:uat -v LANG:en -v APP:/Users/jenkins/842.apk -v FULLRESET_FLAG:true -v IS_LOCAL:false -i logout_feature ./testcases/mobile

  1. report_portal.yaml
RP_ENDPOINT: "<URL>"
RP_API_KEY: "<KEY>"
RP_PROJECT: "superadmin_personal"
RP_ATTACH_REPORT: "True"
RP_ATTACH_LOG: "True"

Expected behavior Test result push to Report portal correctly

Actual behavior image image

Package versions robotframework-reportportal==5.5.1 reportportal-client==5.5.4 robotframework==5.0

Additional context Add any other context about the problem here.

golfzaptw avatar Jan 20 '24 08:01 golfzaptw

@golfzaptw Please provide Traceback from Robot's debug logs (robot -L trace -b debug.log), because we actually do not read any files on start_test method call and I have no idea how you got this error.

HardNorth avatar Mar 18 '24 09:03 HardNorth

No response

HardNorth avatar Sep 03 '24 07:09 HardNorth