lava_dispatcher: allow to ignore kernel errors

This patch allows to set a boot action flag that will force to ignore
the kernel errors. The use case it tries to address is OTA rollback
trigerred from u-boot. It should happen in case kernel panics before
starting a certain systemd service.

Signed-off-by: Milosz Wasilewski <milosz.wasilewski@foundries.io>
19 jobs for ignore_kernel_messages in 22 minutes and 37 seconds (queued for 6 seconds)
latest
Status Name Job ID Coverage
  Test
passed amd64/dispatcher-debian-11 #170829
amd64

00:02:43

passed amd64/dispatcher-debian-12 #170831
amd64

00:02:50

passed amd64/server-debian-11 #170830
amd64

00:05:11

passed amd64/server-debian-12 #170832
amd64

00:08:11

 
  Analyze
passed bandit-sast #170833
amd64-dind

00:01:21

passed black #170836
amd64

00:01:21

passed code_quality #170837
amd64

00:00:44

passed codespell #170842
amd64

00:00:47

passed coverage #170838
amd64

00:09:48

60.64%
passed dockerfiles #170839
amd64

00:00:36

passed eslint-sast #170834
amd64-dind

00:00:51

passed pylint #170841
amd64

00:03:02

passed schemas #170840
amd64

00:00:59

passed semgrep-sast #170835
amd64-dind

00:01:21

 
  Build
passed debian/11 #170844
amd64

00:01:41

passed debian/12 #170845
amd64

00:01:44

passed doc #170843
amd64

00:00:40

passed docker-amd64-dispatcher #170846
amd64-dind

00:04:25

passed docker-amd64-server #170847
amd64-dind

00:04:35