EL8 bug - el8 not logging cron correctly

Description

The following test is failing:
./spec/acceptance/suites/default/10_rsyslog_integration_spec.rb +252

I thought at first it might be changes to the swap module (which is what creates the cron job)

so I ran puppet apply -e "cron{'rsyslog_rtest': user => 'root', minute => '*/5', command => '/usr/bin/cat /etc/rsyslog_test_file_888' }"

It logged something on el7 but not el8 but in both cases the cron job was created.

Acceptance Criteria

None

Activity

Show:
Trevor Vaughan
June 3, 2020, 2:24 PM

Working on getting the acceptance tests running in simp-core.

Something's going on in core beaker so I'm debugging that now.

Trevor Vaughan
June 9, 2020, 6:34 PM

I've finally gotten the tests back to the point where they're executing again.

It looks like there's a slight lag in rsyslog messages in EL8 making it into the final files.

This means that we may need to add a short sleep prior to reading the log files for content and/or potentially send enough information to trigger a queue flush.

Trevor Vaughan
June 11, 2020, 2:17 PM

The swap module disables dynamic swappiness by default so the existing test is no longer valid.

The EL8 systems appear to have some lag between when an item is logged and when it shows up via rsyslog so I'm going to add a sleep and see what happens.

Trevor Vaughan
June 11, 2020, 2:19 PM

Verified that there is simply some lag on EL8. Will adjust the test accordingly.

Labels

None

Epic Link

Story Points

5

Components

Assignee

Trevor Vaughan

Sprint

None

Priority

Medium
Configure