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.13.z] Add marker for case insensitive test collection by component and importance #15232

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.13.z Introduced in or relating directly to Satellite 6.13 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: 7204
Build Status: UNSTABLE
PRT Comment: pytest tests/foreman/ --component auditlog --external-logging
Test Result : === 8 passed, 5289 deselected, 5411 warnings, 5 errors in 1055.85s (0:17:35) ===

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

@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.13.z-3fa1539607ed28a7362bcf30359bafcb4c537411 branch from c9de01f to b60b19b Compare June 19, 2024 12:18
@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:18
@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 daa4abe into 6.13.z Jun 19, 2024
9 of 10 checks passed
@jyejare jyejare deleted the cherry-pick-6.13.z-3fa1539607ed28a7362bcf30359bafcb4c537411 branch June 19, 2024 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.13.z Introduced in or relating directly to Satellite 6.13 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