robottelo icon indicating copy to clipboard operation
robottelo copied to clipboard

Make sure erratum is reported

Open peterdragun opened this issue 2 years ago • 3 comments

Listing packages should report facts about errata on satellite, which should remove the non-deterministic behavior of my test which caused the test to fail sometimes.

peterdragun avatar Oct 27 '22 15:10 peterdragun

trigger: test-robottelo pytest: tests/foreman/cli/test_host.py -k test_positive_erratum_applicability

peterdragun avatar Oct 27 '22 15:10 peterdragun

@peterdragun PRT might fail due to the unavailability of 6.10 templates in OSP. Could you provide local test results?

Gauravtalreja1 avatar Oct 27 '22 16:10 Gauravtalreja1

Already working on it :+1:

peterdragun avatar Oct 27 '22 16:10 peterdragun

Test results: image

peterdragun avatar Oct 31 '22 13:10 peterdragun

trigger: test-robottelo pytest: tests/foreman/cli/test_host.py -k test_positive_erratum_applicability -v

ogajduse avatar Nov 01 '22 13:11 ogajduse

PRT did not pass due to an invalid Satellite version being spun up. It spun up 6.12 instead of 6.10 although there was d-v-c run before the pytest session was run, the d-v-c's artifacts were not honored - specifically target_template/deploy_template_name. Also, the arguments passed to the AnsibleTower provider for the deploy workflow were passed in uppercase instead of lowercase.

ogajduse avatar Nov 01 '22 14:11 ogajduse

Let me correct my statement. Robottelo honors the artifacts from d-v-c, but it just passes uppercase args.

ogajduse avatar Nov 01 '22 16:11 ogajduse

@ogajduse @peterdragun This is not an issue with PRT, https://github.com/SatelliteQE/robottelo/pull/10171 and #10127 was never cherry-picked in the 6.10 causing that issue. Now we have the GitHub action bot to remind us about the cherrypick failure.

omkarkhatavkar avatar Nov 02 '22 06:11 omkarkhatavkar