ipatests: add systemd journal collection for multihost tests

Some messages are only logged in journal. Collection of journal
makes debugging failed tests from logs easier.

Fixes: https://pagure.io/freeipa/issue/6971

Signed-off-by: Tomas Krizek <tkrizek@redhat.com>
Reviewed-By: Martin Basti <mbasti@redhat.com>
This commit is contained in:
Tomas Krizek
2017-05-22 18:33:49 +02:00
committed by Martin Basti
parent 906c4c9459
commit 48b7e83511
4 changed files with 39 additions and 1 deletions

View File

@@ -41,7 +41,8 @@ DEFAULT_OUTPUT_DICT = {
"dirman_password": "Secret123",
"ntp_server": "ntp.clock.test",
"admin_password": "Secret123",
"domain_level": MAX_DOMAIN_LEVEL
"domain_level": MAX_DOMAIN_LEVEL,
"log_journal_since": "-1h",
}
DEFAULT_OUTPUT_ENV = {
@@ -60,6 +61,7 @@ DEFAULT_OUTPUT_ENV = {
"IPv6SETUP": "",
"IPADEBUG": "",
"DOMAINLVL": str(MAX_DOMAIN_LEVEL),
"LOG_JOURNAL_SINCE": "-1h",
}
DEFAULT_INPUT_ENV = {