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

Did not created test run after uploading test result using trcli #273

Open
Louie-O opened this issue Sep 15, 2024 · 1 comment
Open

Did not created test run after uploading test result using trcli #273

Louie-O opened this issue Sep 15, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Louie-O
Copy link

Louie-O commented Sep 15, 2024

TestRail CLI Version

1.9.7

CLI Environment

No response

TestRail Version

8.0.5

TestRail Instance Type

Enterprise Cloud

Current behavior

I'm integrating our testNG framework, running the trcli command below. It did not created test run but created a test suite with no test case in it.

*Case IDs are existing test cases

GFI00348:gcash-regression marclouie.omampo$ trcli -y -c "trcli-config.yml" parse_junit --case-matcher "name" --suite-id=70 --case-fields "custom_scenario:1" --case-fields "custom_qualityprinciples:1" --case-fields "custom_segmentation:1" --case-fields "custom_testing_type:1" --case-fields "custom_test_development_unit:0" --case-fields "custom_capability:1" --case-fields "custom_component_s:[1]" --case-fields "custom_testing_phase:[1]" --case-fields "custom_testing_activity:1" -f "./target/surefire-reports/TEST-TestSuite.xml"
TestRail CLI v1.9.7
Copyright 2024 Gurock Software GmbH - www.gurock.com
Parser Results Execution Parameters

Report file: ./target/surefire-reports/TEST-TestSuite.xml
Config file: trcli-config.yml
TestRail instance: https://myntfintech.testrail.io/ (user: qa.practice+AF01@gcash.com)
Project: TESTING SANDBOX
Run title: TestRail Integration
Update run: No
Add to milestone: No
Auto-create entities: True
Parsing JUnit report.
Processed 36 test cases in section TestSuite.
Checking project. Done.
Found 34 test cases without case ID in the report file.
Nonexistent case IDs found in the report file: [2268]
Error occurred while checking for 'missing test cases': 'Case IDs not in TestRail project or suite were detected in the report file.'
Adding missing sections to the suite.
Removing unnecessary empty sections that may have been created earlier. Removed 1 unused/empty section(s).
Creating test run.
Field :case_ids contains unrecognized case IDs.
Unable to delete created section: Field :section_id is not a valid section.

Desired behavior

No response

More Details

No response

@Louie-O Louie-O added the bug Something isn't working label Sep 15, 2024
@aaleshin
Copy link

same problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants