#7335 Integration tests are not collecting all logs
Closed: fixed 6 years ago Opened 6 years ago 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

6 years ago

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

6 years ago

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

6 years ago

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

6 years ago

master:

  • 7b7edd5 IntegrationTests now collects logs from all test methods

ipa-4-6:

  • d37b2fe 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)

6 years ago

Login to comment on this ticket.

Metadata