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] cu-case-katello-reimport-scenario #14590

Conversation

Satellite-QE
Copy link
Collaborator

Cherrypick of PR: #14572

Problem Statement

cu coverage
https://bugzilla.redhat.com/show_bug.cgi?id=2225534
https://bugzilla.redhat.com/show_bug.cgi?id=2253621

foreman-rake katello:reimport was failing with TypeError: no implicit conversion of String into Integer

Solution

Discussed scenario around BZ with reporter, decided to use custom expired manifest to test/regenerate scenario
steps:

  1. upload exprired manifest & refresh to fetch Katello::HttpErrors::BadRequest:
  2. delete uploaded manifest, reimport new valid manifest & refresh, it should success.
  3. Additionally check foreman-rake katello:reimport --trace there should not any TypeError

Related Issues

N/A

@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 Apr 2, 2024
@Satellite-QE
Copy link
Collaborator Author

trigger: test-robottelo
pytest: tests/foreman/cli/test_subscription.py -k 'test_negative_check_katello_reimport'

@Satellite-QE Satellite-QE added the AutoMerge_Cherry_Picked The cherrypicked PRs of master PR would be automerged if all checks passing label Apr 2, 2024
@Satellite-QE Satellite-QE merged commit ee71a72 into 6.14.z Apr 2, 2024
14 checks passed
@Satellite-QE Satellite-QE deleted the cherry-pick-6.14.z-4cf63ebadf2efd8c9a68a90aa0b685a5be18f911 branch April 2, 2024 15:55
@Satellite-QE
Copy link
Collaborator Author

PRT Result

Build Number: 6269
Build Status: SUCCESS
PRT Comment: pytest tests/foreman/cli/test_subscription.py -k test_negative_check_katello_reimport --external-logging
Test Result : =========== 1 passed, 10 deselected, 4 warnings in 820.49s (0:13:40) ===========

@Satellite-QE Satellite-QE added the PRT-Passed Indicates that latest PRT run is passed for the PR label Apr 2, 2024
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 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