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

fixed sanity suite, AttributeError due to not matching scope #14309

Merged

Conversation

omkarkhatavkar
Copy link

Problem Statement

pytest_fixtures/component/taxonomy.py:102: in module_sca_manifest_org
    module_target_sat.upload_manifest(module_org.id, module_sca_manifest.content)
robottelo/host_helpers/satellite_mixins.py:151: in upload_manifest
    or manifest.content is None
E   AttributeError: 'bytes' object has no attribute 'content'

Solution

After applying valid bracket scope it will run the test successfully

Related Issues

@omkarkhatavkar omkarkhatavkar requested a review from a team as a code owner March 8, 2024 07:49
@omkarkhatavkar omkarkhatavkar added CherryPick PR needs CherryPick to previous branches 6.12.z Introduced in or relating directly to Satellite 6.12 6.13.z Introduced in or relating directly to Satellite 6.13 6.14.z Introduced in or relating directly to Satellite 6.14 6.15.z Introduced in or relating directly to Satellite 6.15 labels Mar 8, 2024
@omkarkhatavkar
Copy link
Author

trigger: test-robottelo

@Satellite-QE
Copy link
Collaborator

PRT Result

Build Number: 5988
Build Status: SUCCESS
PRT Comment: pytest /opt/app-root/src/robottelo/tests/foreman -v -m build_sanity --external-logging
Test Result : ======== 11 passed, 6087 deselected, 82 warnings in 1717.75s (0:28:37) =========

@Satellite-QE Satellite-QE added the PRT-Passed Indicates that latest PRT run is passed for the PR label Mar 8, 2024
@jyejare jyejare merged commit 063ac02 into SatelliteQE:master Mar 8, 2024
12 of 13 checks passed
ogajduse pushed a commit to ogajduse/robottelo that referenced this pull request Mar 11, 2024
ogajduse pushed a commit to ogajduse/robottelo that referenced this pull request Mar 11, 2024
ogajduse pushed a commit to ogajduse/robottelo that referenced this pull request Mar 11, 2024
ogajduse pushed a commit to ogajduse/robottelo that referenced this pull request Mar 11, 2024
ogajduse pushed a commit to ogajduse/robottelo that referenced this pull request Mar 11, 2024
lhellebr pushed a commit that referenced this pull request Mar 12, 2024
#14342)

* Add flake8-simplify and flake8-return to ruff config (#14100)

(cherry picked from commit db19610)

* fixed sanity suite, AttributeError due to not matching scope (#14309)

(cherry picked from commit 063ac02)

---------

Co-authored-by: Omkar Khatavkar <[email protected]>
lhellebr pushed a commit that referenced this pull request Mar 12, 2024
#14341)

* Add flake8-simplify and flake8-return to ruff config (#14100)

(cherry picked from commit db19610)

* fixed sanity suite, AttributeError due to not matching scope (#14309)

(cherry picked from commit 063ac02)

---------

Co-authored-by: Omkar Khatavkar <[email protected]>
lhellebr pushed a commit that referenced this pull request Mar 12, 2024
#14340)

* Add flake8-simplify and flake8-return to ruff config (#14100)

(cherry picked from commit db19610)

* fixed sanity suite, AttributeError due to not matching scope (#14309)

(cherry picked from commit 063ac02)

---------

Co-authored-by: Omkar Khatavkar <[email protected]>
shweta83 pushed a commit to shweta83/robottelo that referenced this pull request Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.12.z Introduced in or relating directly to Satellite 6.12 6.13.z Introduced in or relating directly to Satellite 6.13 6.14.z Introduced in or relating directly to Satellite 6.14 6.15.z Introduced in or relating directly to Satellite 6.15 CherryPick PR needs 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.

3 participants