All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Failing tests on gitlab
@ 2021-11-09 20:30 Arnout Vandecappelle
  2021-11-09 22:21 ` Romain Naour
  0 siblings, 1 reply; 2+ messages in thread
From: Arnout Vandecappelle @ 2021-11-09 20:30 UTC (permalink / raw)
  To: Buildroot Mailing List; +Cc: Romain Naour

  Hi all,

  The 2021.11-rc1 tag triggered a complete run of all the defconfigs and all the 
tests. 148 out of 725 jobs failed [0].


  There are two main causes for failures:


1. multiple definition of `yylloc' in u-boot or linux, e.g. [1]. This is 
triggered by the update of the docker image which has a new (host) gcc version 
10, which defaults to -fno-common. Since there are more than 100 defconfigs that 
suffer from this problem, I think it would be best to solve this in uboot.mk and 
linux.mk rather than patching all the defconfigs. The fix is rather simple: 
remove the definition "YYLTYPE yylloc" from scripts/dtc/dtc-lexer.l. There's a 
slight complication that older kernels still have a "shipped" version of the 
file, but that can be solved with wildcard matching. This will need a bit of 
testing though to see how it behaves with older kernel/uboot versions, because 
that code *has* changed a couple of times. Also, for the cases where there's a 
shipped version, we should probably take care with the timestamps, to avoid that 
the c file is regenerated.


2. Job timeout, e.g. [2]. I'm not entirely sure what this timeout is. It's 
definitely not the 6h job timeout, because the job hasn't even started. I 
suspect that there's some hidden overall 24h timeout for the entire pipeline, 
and that because we have so many jobs, we're not able to finish all of them 
within that time. The only solution for that is to add additional runners. So, 
if there's anybody out there with spare cycles, please volunteer to add a 
runner! You can contact me or Romain to learn how to set one up.


  Hopefully, we can get better results by -rc2!


  Regards,
  Arnout



[0] https://gitlab.com/buildroot.org/buildroot/-/pipelines/404249740/failures

[1] https://gitlab.com/buildroot.org/buildroot/-/jobs/1758966028

[2] https://gitlab.com/buildroot.org/buildroot/-/jobs/1758966567


_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-09 22:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-09 20:30 [Buildroot] Failing tests on gitlab Arnout Vandecappelle
2021-11-09 22:21 ` Romain Naour

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.