#8265 [ipatests] `/var/log/ipaupgrade.log` is not collected
Closed: fixed by cheimes. Opened by slev.

In the recent issue [0] ipa-server-upgrade failed:

Update complete
Upgrading the configuration of the IPA services
[Verifying that root certificate is published]
[Migrate CRL publish directory]
CRL tree already moved
IPA server upgrade failed: Inspect /var/log/ipaupgrade.log and run command ipa-server-upgrade manually.

But the mentioned log is not collected after the test completed, so, it's nothing to check.
The list of collected on a master:

[2020-04-08 23:14:35] [ipatests.pytest_ipa.integration] Adding master1.ipa.test:/var/log/dirsrv/slapd-IPA-TEST/errors to list of logs to collect
[2020-04-08 23:14:35] [ipatests.pytest_ipa.integration] Adding master1.ipa.test:/var/log/dirsrv/slapd-IPA-TEST/access to list of logs to collect
[2020-04-08 23:14:35] [ipatests.pytest_ipa.integration] Adding master1.ipa.test:/var/log/dirsrv/slapd-IPA-TEST/audit to list of logs to collect
[2020-04-08 23:14:35] [ipatests.pytest_ipa.integration] Adding master1.ipa.test:/var/log/ipaserver-install.log to list of logs to collect
[2020-04-08 23:14:35] [ipatests.pytest_ipa.integration] Adding master1.ipa.test:/var/log/ipaserver-uninstall.log to list of logs to collect
[2020-04-08 23:14:35] [ipatests.pytest_ipa.integration] Adding master1.ipa.test:/var/log/ipaclient-install.log to list of logs to collect
[2020-04-08 23:14:35] [ipatests.pytest_ipa.integration] Adding master1.ipa.test:/var/log/ipaclient-uninstall.log to list of logs to collect
[2020-04-08 23:14:35] [ipatests.pytest_ipa.integration] Adding master1.ipa.test:/var/log/ipareplica-install.log to list of logs to collect
[2020-04-08 23:14:35] [ipatests.pytest_ipa.integration] Adding master1.ipa.test:/var/log/ipareplica-conncheck.log to list of logs to collect
[2020-04-08 23:14:35] [ipatests.pytest_ipa.integration] Adding master1.ipa.test:/var/log/ipareplica-ca-install.log to list of logs to collect
[2020-04-08 23:14:35] [ipatests.pytest_ipa.integration] Adding master1.ipa.test:/var/log/ipaserver-kra-install.log to list of logs to collect
[2020-04-08 23:14:35] [ipatests.pytest_ipa.integration] Adding master1.ipa.test:/var/log/ipa-custodia.audit.log to list of logs to collect
[2020-04-08 23:14:35] [ipatests.pytest_ipa.integration] Adding master1.ipa.test:/var/log/ipaclient-uninstall.log to list of logs to collect
[2020-04-08 23:14:35] [ipatests.pytest_ipa.integration] Adding master1.ipa.test:/var/log/iparestore.log to list of logs to collect
[2020-04-08 23:14:35] [ipatests.pytest_ipa.integration] Adding master1.ipa.test:/var/log/ipabackup.log to list of logs to collect
[2020-04-08 23:14:35] [ipatests.pytest_ipa.integration] Adding master1.ipa.test:/var/log/kadmind.log to list of logs to collect
[2020-04-08 23:14:35] [ipatests.pytest_ipa.integration] Adding master1.ipa.test:/var/log/krb5kdc.log to list of logs to collect
[2020-04-08 23:14:35] [ipatests.pytest_ipa.integration] Adding master1.ipa.test:/var/log/httpd/error_log to list of logs to collect
[2020-04-08 23:14:35] [ipatests.pytest_ipa.integration] Adding master1.ipa.test:/var/log/pki/ to list of logs to collect
[2020-04-08 23:14:35] [ipatests.pytest_ipa.integration] Adding master1.ipa.test:/var/log/audit/audit.log to list of logs to collect

[0]: https://pagure.io/freeipa/issue/8264


Metadata Update from @slev:
- Issue assigned to slev

Metadata Update from @fcami:
- Issue tagged with: tests

master:

  • 43ac2d9ab36518e510d621813ed73fb40e7cd2de ipatests: Cleanup 'collect_logs' decorator
  • 5da309ee11f2aaba687d12a8c517f64070e22ae8 ipatests: Pretty print multihost config
  • 63747bc0c041382536e2cad121bb591e42df3a2f ipatests: Collect all logs on all Unix hosts
  • 87408ee7557cff04c1dd9c5de052e49f22c34f0f Azure: Increase memory limit

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

ipa-4-8:

  • 7b39e5fbd8db10b5af3402e2c88194e351486614 ipatests: enable 389-ds audit log and collect audit file
  • 295d207245a626e57e1024504ba9e0098081adbc ipatests: Cleanup 'collect_logs' decorator
  • 5da643f1b270ccad3a261ff700ddc163ea60bc93 ipatests: Pretty print multihost config
  • 736b8ba5a0c4cfbb0a158d9eae800ae843281b9c ipatests: Collect all logs on all Unix hosts
  • 97581ec6b3ccb2043f1ad0f26589467badae3819 Azure: Increase memory limit
Metadata