Occasional failures of qa_pcbnew
Description
qa_pcbnew occasionally fails, but also occasionally succeeds with the exact same sources and dependency packages.
The error happens on both x86_64 and aach64.
[ 5879s] 2/3 Test #8: qa_pcbnew ........................***Failed 68.36 sec
[ 5879s] 02:04:58: Ignoring a wire since Eagle layer 'tRestrict' (41) was not mapped
[ 5879s] 02:04:59: Warning: Error loading font 'Calibri'.
[ 5879s] /home/abuild/rpmbuild/BUILD/kicad-8.0.0/pcbnew/drc/drc_test_provider_connection_width.cpp(421): assert ""checked < total_pts"" failed in isSubstantial(): Invalid polygon detected. Missing points to check [in thread ffffae00eca0]
[ 5879s]
[ 5879s]
[ 5879s] Call stack:
[ 5879s] [01] 0xaaaabcf96938
[ 5879s] [02] 0xaaaabcf96cb4
[ 5879s] [03] 0xaaaabcf9eef0
[ 5879s] [04] 0xaaaabcfa0988
[ 5879s] [05] 0xaaaabdafed48
[ 5879s] [06] 0xffffb34e3740
[ 5879s] [07] 0xffffb32bb7b4
[ 5879s] [08] 0xffffb332278c
[ 5879s] 02:05:08: Warning: Legacy zone fill strategy is not supported anymore.
[ 5879s] Zone fills will be converted on best-effort basis.
[ 5879s] Running 50 test cases...
[ 5879s] /home/abuild/rpmbuild/BUILD/kicad-8.0.0/qa/tests/pcbnew/drc/test_drc_regressions.cpp(188): [1;31;49merror: in "DRCFalseNegativeRegressions": check violations.size() == expectedErrors has failed [5 != 4][0;39;49m
[ 5879s] /home/abuild/rpmbuild/BUILD/kicad-8.0.0/qa/tests/pcbnew/drc/test_drc_regressions.cpp(190): [1;31;49merror: in "DRCFalseNegativeRegressions": DRC regression: issue7325, failed[0;39;49m
[ 5879s] 02:05:24: Warning: Legacy zone fill strategy is not supported anymore.
[ 5879s] Zone fills will be converted on best-effort basis.
[ 5879s] 0xaaaaf7de26d0 [via] - 0xaaaaf772cf40 [via], clearance 1000000
[ 5879s] 0xaaaaf77f28c0 [hole] - 0xaaaaf7d9e080 [hole], clearance 1000000
[ 5879s] 0xaaaaf77f28c0 [hole] - 0xaaaaf772cf40 [via], clearance 1000000
[ 5879s] 0xaaaaf7de26d0 [via] - 0xaaaaf7d9e080 [hole], clearance 1000000
[ 5879s]
[ 5879s] [1;31;49m*** 2 failures are detected in the test module "Pcbnew module tests"
[ 5879s] [0;39;49m
Steps to reproduce
Build and test until it fails.
Need to investigate if the failure is reproducible if the tests has failed once.
KiCad Version
8.0.0
build-error, failures happens during automated test during build.