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.16.z] cvv incremental update and cv publish duration fix #16196

Conversation

Satellite-QE
Copy link
Collaborator

Cherrypick of PR: #16169

Problem Statement

  1. Content view version incremental update command run via robottelo, it executed successfully but doesn't return anything in stdout.
  2. Content view version Incremental update took longer time than publish of entire content-view, Update took significantly more time, 20% or longer, than publish.
update duration: 19.336696 s.
publish duration: 16.057788 s.

Encountering an assertion error for this  
assert ((19.336696 - 16.057788) / 16.057788) <= 0.2
0.20419425141246114 != 0.2

Expected :0.2
Actual   :0.20419425141246114

Solution

  1. Used content view version list and check incremental version number
  2. Update significance value by 0.05 (on trial and error basis)
  • now comparison will happen with 0.25 instread of 0.2

Related Issues

Jira - https://issues.redhat.com/browse/SAT-27517

PRT test Cases example

trigger: test-robottelo
pytest: tests/foreman/longrun/test_inc_updates.py -k 'test_positive_incremental_update_time'

* cvv incremental update and cv publish duration fix

* changed output format of version_incremental_update

(cherry picked from commit 0ebdcba)
@Satellite-QE Satellite-QE requested a review from a team as a code owner September 3, 2024 11:46
@Satellite-QE Satellite-QE added 6.16.z Introduced in or relating directly to Satellite 6.16 Auto_Cherry_Picked Automatically cherrypicked PR using GHA No-CherryPick PR doesnt need CherryPick to previous branches labels Sep 3, 2024
@Satellite-QE Satellite-QE requested a review from a team as a code owner September 3, 2024 11:46
@Satellite-QE
Copy link
Collaborator Author

trigger: test-robottelo
pytest: tests/foreman/longrun/test_inc_updates.py -k 'test_positive_incremental_update_time'

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

PRT Result

Build Number: 8439
Build Status: UNSTABLE
PRT Comment: pytest tests/foreman/longrun/test_inc_updates.py -k test_positive_incremental_update_time --external-logging
Test Result : ============ 1 deselected, 7 warnings, 1 error in 152.83s (0:02:32) ============

@Satellite-QE Satellite-QE added the PRT-Failed Indicates that latest PRT run is failed for the PR label Sep 3, 2024
@vijaysawant
Copy link
Contributor

trigger: test-robottelo
pytest: tests/foreman/longrun/test_inc_updates.py -k 'test_positive_incremental_update_time'

@Satellite-QE
Copy link
Collaborator Author

PRT Result

Build Number: 8482
Build Status: SUCCESS
PRT Comment: pytest tests/foreman/longrun/test_inc_updates.py -k test_positive_incremental_update_time --external-logging
Test Result : =========== 1 passed, 1 deselected, 15 warnings in 956.26s (0:15:56) ===========

@Satellite-QE Satellite-QE 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 Sep 5, 2024
@Satellite-QE Satellite-QE merged commit a98dd24 into 6.16.z Sep 5, 2024
20 of 22 checks passed
@Satellite-QE Satellite-QE deleted the cherry-pick-6.16.z-0ebdcba3af2a581a866dd8dc43b2665f20120057 branch September 5, 2024 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.16.z Introduced in or relating directly to Satellite 6.16 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 PRT-Passed Indicates that latest PRT run is passed for the PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants