<commit_before>#!/usr/bin/env bash
#
#TEST: Test to track key rollovers in real time from the enforcer side only. 
#TEST: Configured with very short key lifetimes and 1 min enforcer interval.
#TEST: Checks the output of ods-ksmutil key list and the signconf.xml contents
#TEST: Takes about 10 mins and follows several KSK and ZKK rollovers.
#TEST: DISABLED ON FREEBSD: due to repeated  _pthread_mutex_init_calloc_cb () 
#TEST: seg faults on 64 bit

#TODO: - increase number of steps?
#TODO: - check more logging in syslog

# Lets use parameters for the timing intervals so they are easy to change
SHORT_TIMEOUT=11    # Timeout when checking log output. DS lock out wait is 10 sec so use 11 for this
LONG_TIMEOUT=20     # Timeout when waiting for enforcer run to have happened
SLEEP_INTERVAL=50   # This should be just shorter than the enforcer run interval in conf.xml


case "$DISTRIBUTION" in
	freebsd )
		return 0
		;;
esac
<commit_msg>TEST: (enforcer.keys.rollovers_many) Re-enable the test to see if it works now.<commit_after>#!/usr/bin/env bash
#
#TEST: Test to track key rollovers in real time from the enforcer side only. 
#TEST: Configured with very short key lifetimes and 1 min enforcer interval.
#TEST: Checks the output of ods-ksmutil key list and the signconf.xml contents
#TEST: Takes about 10 mins and follows several KSK and ZKK rollovers.
## TEST: DISABLED ON FREEBSD: due to repeated  _pthread_mutex_init_calloc_cb () 
## TEST: seg faults on 64 bit

#TODO: - increase number of steps?
#TODO: - check more logging in syslog

# Lets use parameters for the timing intervals so they are easy to change
SHORT_TIMEOUT=11    # Timeout when checking log output. DS lock out wait is 10 sec so use 11 for this
LONG_TIMEOUT=20     # Timeout when waiting for enforcer run to have happened
SLEEP_INTERVAL=50   # This should be just shorter than the enforcer run interval in conf.xml


# case "$DISTRIBUTION" in
# 	freebsd )
# 		return 0
# 		;;
# esac

{'fraction_non_alphanumeric': 0.059244126659857, 'fraction_numerical': 0.01634320735444331, 'mean_word_length': 4.1015625, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6345363', 'n_tokens_mistral': 652, 'n_tokens_neox': 602, 'n_words': 286}