#7335 Integration tests are not collecting all logs
Closed: fixed Opened by fbarreto.

Issue

The integration tests are not collecting all logs of all methods of test classes.
As an example, check the simple_replication tests, only its first method has its log collected. The same behavior happens in Jenkins, so it's not related to PR CI or Jenkins, but to the code itself.

Steps to Reproduce

  1. Run a integration test (ipatest/test_integration/*)

Actual behavior

  1. Check that the logs from some methods are not collected

Expected behavior

Logs should be collected

Version/Release/Distribution

freeipa-server-4.6.90.dev201712201616+git9400a4058-0.fc27.x86_64
freeipa-client-4.6.90.dev201712201616+git9400a4058-0.fc27.x86_64
package ipa-server is not installed
package ipa-client is not installed
389-ds-base-1.3.7.8-1.fc27.x86_64
pki-ca-10.5.1-2.fc27.noarch
krb5-server-1.15.2-4.fc27.x86_64

Additional info:

We have the @tasks.collect_log decorator, however, it should not be necessary to call it everywhere, since the code it's already being called.


Metadata Update from @fbarreto:
- Issue assigned to fbarreto

Metadata Update from @fbarreto:
- Issue priority set to: normal (was: important)

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

Metadata Update from @rcritten:
- Issue set to the milestone: FreeIPA 4.6.4

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