Message ID | 20241105224213.1596075-1-yoann.congal@smile.fr |
---|---|
State | New |
Headers | show |
Series | reproducibility: restart bitbake for each build | expand |
diff --git a/meta/lib/oeqa/selftest/cases/reproducible.py b/meta/lib/oeqa/selftest/cases/reproducible.py index a68f72ff23..415a1ef577 100644 --- a/meta/lib/oeqa/selftest/cases/reproducible.py +++ b/meta/lib/oeqa/selftest/cases/reproducible.py @@ -239,6 +239,10 @@ class ReproducibleTests(OESelftestTestCase): capture_vars.append("BB_CONSOLELOG") config += 'BB_CONSOLELOG = "${LOG_DIR}/cooker/${MACHINE}/console.log"\n' + # We want different log files for each build, but a persistent bitbake + # may reuse the previous log file so restart the bitbake server. + bitbake("--kill-server") + bitbake_failure_count = 0 if not use_sstate: if self.sstate_targets: