#7310 Integration tests don't collect logs from other replicas
Closed: fixed Opened by ftweedal.

Request for enhancement

As developer, I want integration tests to collect logs on all replicas, not just the replicas on
which an action was performed. For example, when doing a KRA replica install, if something
breaks the analysis will involve the server it was cloning from, but we don't have logs.

Issue

For example, the TestInstallWithCA_KRA2 test artifacts include:

test_integration-test_installation.py-TestInstallWithCA_KRA2--test_replica0_with_ca_kra_dns_install:     
vm-171-039.abc.idm.lab.eng.brq.redhat.com 
vm-171-061.abc.idm.lab.eng.brq.redhat.com 
vm-171-062.abc.idm.lab.eng.brq.redhat.com  
vm-171-068.abc.idm.lab.eng.brq.redhat.com                                         
test_integration-test_installation.py-TestInstallWithCA_KRA2--test_replica1_ipa_kra_install:             
vm-171-039.abc.idm.lab.eng.brq.redhat.com           
test_integration-test_installation.py-TestInstallWithCA_KRA2--test_replica1_with_ca_dns_install:         
vm-171-039.abc.idm.lab.eng.brq.redhat.com           
test_integration-test_installation.py-TestInstallWithCA_KRA2--test_replica2_ipa_ca_install:              
vm-171-061.abc.idm.lab.eng.brq.redhat.com           
test_integration-test_installation.py-TestInstallWithCA_KRA2--test_replica2_ipa_kra_install:             
vm-171-061.abc.idm.lab.eng.brq.redhat.com           
test_integration-test_installation.py-TestInstallWithCA_KRA2--test_replica2_with_dns_install:            
vm-171-061.abc.idm.lab.eng.brq.redhat.com    

If the test_replica2_ipa_kra_install step failed, we want to see logs for other replicas, not just the one on which the action was performed.


Metadata Update from @pvoborni:
- Issue set to the milestone: FreeIPA 4.7

Metadata Update from @pvoborni:
- Issue priority set to: normal

Metadata Update from @fbarreto:
- Issue assigned to fbarreto

Metadata Update from @fbarreto:
- Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/1423/

master:

  • 7b7edd57cd8ec144ea3c23889f84cb26d7f89d61 IntegrationTests now collects logs from all test methods

ipa-4-6:

  • d37b2febed7484794db482941d41a7de905f04ea IntegrationTests now collects logs from all test methods

Metadata Update from @cheimes:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

Metadata