freebsd-ci
freebsd-ci copied to clipboard
Pass -s -de to buildworld/buildkernel make steps
Printing all the commands results in a 80+ MB logfile and is very rarely useful. Passing -de should print the failed command but unfortunately does not work when combined with -jN. However, I have submitted a patch to fix this problem at https://reviews.freebsd.org/D29647, so there should be no downsides to enabling -s once that has been merged.
Basically I like this idea, and it can help generating sane mails on build fails. I somehow want to keep the full log because of sometimes we need to dig into it for a naughty racing condition in dependencies. It happened few times previously.
I am thinking some possibilities:
- Just using this, as there seems less dependency racing issues recently.
- Keep the full console output (since I don't think people will watch it scrolls), but send the mail through summarizing script like tools/tools/whereintheworld/whereintheworld.pl
- Have the concise console output, but put the full log into a file, put atrifact server along with the built artifacts.
Thoughts?
I set up the CheriBSD Jenkins to always use -s
and I find that even for build races you generally get enough information to guess what went wrong. If disk space is not an issue, we can keep the verbose output. In our case I wanted to avoid 80MB * 7+ configurations of logs being saved on the jenkins master for each build (and also make the output more readable).
I think if make is updated to include https://reviews.freebsd.org/D29647, we should also be able to debug build races with -s?
Bmake has now been updated to include my patch, should we merge this to make the build output more useful?