aboutsummaryrefslogtreecommitdiffstats
path: root/syz-ci
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2024-01-22 19:47:19 +0100
committerAleksandr Nogikh <nogikh@google.com>2024-01-23 11:46:37 +0000
commitbf3aec2f3e1a78ec42b8502de7ef8978cb8b7a0b (patch)
tree979e086288b66f19154c6fbef466a347a446c460 /syz-ci
parent312699d7f4fcaf0e1a7a007f15195e770a99b3c2 (diff)
syz-ci: make stale kernel error less noticeable
If the kernel build is broken, we must have already filed a bug for it. Let's just print to the logs instead of recording an error.
Diffstat (limited to 'syz-ci')
-rw-r--r--syz-ci/manager.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/syz-ci/manager.go b/syz-ci/manager.go
index c19c4cb52..3d5b98b2a 100644
--- a/syz-ci/manager.go
+++ b/syz-ci/manager.go
@@ -417,8 +417,8 @@ func (mgr *Manager) restartManager() {
}
daysSinceCommit := time.Since(info.KernelCommitDate).Hours() / 24
if mgr.buildFailed && daysSinceCommit > float64(mgr.mgrcfg.MaxKernelLagDays) {
- mgr.Errorf("the kernel is now too old (%.1f days since last commit), fuzzing is stopped",
- daysSinceCommit)
+ log.Logf(0, "%s: the kernel is now too old (%.1f days since last commit), fuzzing is stopped",
+ mgr.name, daysSinceCommit)
return
}
cfgFile, err := mgr.writeConfig(buildTag)