Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
golfzaptw opened this issue Jan 20, 2024 · 1 comment
Labels

Comments

@golfzaptw
Copy link

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 golfzaptw added the bug label Jan 20, 2024
@HardNorth
Copy link
Member

HardNorth commented Mar 18, 2024

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants