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

[6.14.z] Add marker for case insensitive test collection by component and importance #15231

Merged

Conversation

Satellite-QE
Copy link
Collaborator

Cherrypick of PR: #15005

Problem Statement

We need case insensitive test collection component-wise

Solution

Added marker for component-wise test collection
result:
pytest tests/foreman/ --component auditlog
collected 5434 items / 5426 deselected / 8 selected

tests/foreman/api/test_audit.py ✓✓✓                                                                                                38% ███▊      
 tests/foreman/ui/test_audit.py ✓✓✓✓✓                                                                                              100% ██████████

=======================================================

Related Issues

@Satellite-QE Satellite-QE added 6.14.z Introduced in or relating directly to Satellite 6.14 Auto_Cherry_Picked Automatically cherrypicked PR using GHA No-CherryPick PR doesnt need CherryPick to previous branches labels May 30, 2024
@Satellite-QE
Copy link
Collaborator Author

trigger: test-robottelo
pytest: tests/foreman/ --component auditlog

@Satellite-QE Satellite-QE added the AutoMerge_Cherry_Picked The cherrypicked PRs of master PR would be automerged if all checks passing label May 30, 2024
@Satellite-QE
Copy link
Collaborator Author

PRT Result

Build Number: 7205
Build Status: UNSTABLE
PRT Comment: pytest tests/foreman/ --component auditlog --external-logging
Test Result : === 8 passed, 5371 deselected, 5493 warnings, 5 errors in 1067.37s (0:17:47) ===

@Satellite-QE Satellite-QE added the PRT-Failed Indicates that latest PRT run is failed for the PR label May 30, 2024
@Gauravtalreja1
Copy link
Collaborator

@shweta83 Could you investigate the PRT failures?

@shweta83
Copy link
Contributor

@shweta83 Could you investigate the PRT failures?

The scope of this PR is to be able to collect tests by component and importance. I would leave the component team owner to fix the failures. The test collection worked fine.

@shweta83 shweta83 requested a review from a team June 19, 2024 12:13
@jyejare jyejare added PRT-Passed Indicates that latest PRT run is passed for the PR and removed PRT-Failed Indicates that latest PRT run is failed for the PR labels Jun 19, 2024
…rtance (#15005)

Collect tests with case insensitive component marker

(cherry picked from commit 3fa1539)
@jyejare jyejare force-pushed the cherry-pick-6.14.z-3fa1539607ed28a7362bcf30359bafcb4c537411 branch from 2d237a8 to e34e943 Compare June 19, 2024 12:16
@jyejare
Copy link
Member

jyejare commented Jun 19, 2024

Agreeing with Shweta and setting auto-merge.

@jyejare jyejare enabled auto-merge (squash) June 19, 2024 12:17
@Satellite-QE Satellite-QE removed the PRT-Passed Indicates that latest PRT run is passed for the PR label Jun 19, 2024
@jyejare jyejare merged commit 8c4f1a5 into 6.14.z Jun 19, 2024
9 of 10 checks passed
@jyejare jyejare deleted the cherry-pick-6.14.z-3fa1539607ed28a7362bcf30359bafcb4c537411 branch June 19, 2024 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.14.z Introduced in or relating directly to Satellite 6.14 Auto_Cherry_Picked Automatically cherrypicked PR using GHA AutoMerge_Cherry_Picked The cherrypicked PRs of master PR would be automerged if all checks passing No-CherryPick PR doesnt need CherryPick to previous branches
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants