Bug 1671317

Summary: Gating tests: fail because of file name change of testing system rhel repo.
Product: Red Hat Enterprise Linux 8 Reporter: Radek Vykydal <rvykydal>
Component: anacondaAssignee: Radek Vykydal <rvykydal>
Status: CLOSED CURRENTRELEASE QA Contact: Release Test Team <release-test-team>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.0CC: jkonecny, jstodola, pkotvan, wchadwic
Target Milestone: rc   
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: anaconda-29.19.0.34-2.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-14 01:58:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Radek Vykydal 2019-01-31 11:20:19 UTC
Anaconda needs rhel installation repository in order to run gating test.

Name of the repo file on testing system has been changed from rhel8.repo to rhel-8.0.0.repo so we need to adapt our gating test configuration.

There is a ticket
https://projects.engineering.redhat.com/browse/RHELPLAN-11407
to make it rhel.repo in the future, which should be stable enough solution for us (even though it would be nice if the testing system could provide the name to the test in some way).

Comment 1 Radek Vykydal 2019-01-31 11:26:31 UTC
PR with update to the current rhel-8.0.0.repo value:

https://src.osci.redhat.com/rpms/anaconda/pull-request/9

It will be updated with rhel.repo when the change is done in osci (the ticket from the description is resolved).
For now we'll at least see if the tier0.functional test is passing.

Comment 2 Radek Vykydal 2019-01-31 11:28:15 UTC
Proposing as an exception so we are ready if the change in the ticket happens in time.

Comment 4 Radek Vykydal 2019-01-31 16:05:37 UTC
(In reply to Radek Vykydal from comment #1)
> PR with update to the current rhel-8.0.0.repo value:
> 
> https://src.osci.redhat.com/rpms/anaconda/pull-request/9
> 
> It will be updated with rhel.repo when the change is done in osci (the
> ticket from the description is resolved).
> For now we'll at least see if the tier0.functional test is passing.

PR updated to use rhel.repo

Comment 5 Whitney Chadwick 2019-02-07 20:01:14 UTC
Set exception+ per Feb 7th review meeting

Comment 6 Radek Vykydal 2019-02-08 14:52:00 UTC
PR https://src.osci.redhat.com/rpms/anaconda/pull-request/9 merged.

Comment 8 Radek Vykydal 2019-02-18 15:43:09 UTC
The gating test for anaconda-29.19.0.34-2.el8 finds the rhel repository on testing system (fails for another reason):
https://jenkins.osci.redhat.com/blue/organizations/jenkins/rhel-8-build-pipeline/detail/rhel-8-build-pipeline/10648/pipeline

Comment 9 Radek Vykydal 2019-02-18 15:51:43 UTC
For the record, the original failure was:

https://jenkins.osci.redhat.com/job/rhel-8-build-pipeline/10506/artifact/package-tests/anaconda/logs/tests.yml-run.txt :


Using /etc/ansible/ansible.cfg as config file

PLAY [localhost] ***************************************************************

TASK [Gathering Facts] *********************************************************
ok: [/tmp/test_subject.qcow2]

TASK [prepare-env : Prepare testing environment] *******************************
ok: [/tmp/test_subject.qcow2] => {"changed": false, "msg": "Nothing to do"}

TASK [installation-repos : Create facts directory for repository custom facts] ***
changed: [/tmp/test_subject.qcow2] => {"changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/ansible/facts.d", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0}

TASK [installation-repos : Install base repository facts] **********************
fatal: [/tmp/test_subject.qcow2]: FAILED! => {"changed": false, "msg": "Source /etc/yum.repos.d/rhel8.repo not found"}
	to retry, use: --limit @/workDir/workspace/rhel-run-tests-pipeline/anaconda/tests/tests.retry

PLAY RECAP *********************************************************************
/tmp/test_subject.qcow2    : ok=3    changed=1    unreachable=0    failed=1

Comment 10 Radek Vykydal 2019-02-20 09:51:17 UTC
Verified with gating test for anaconda-29.19.0.34-2.el8.