moose
moose copied to clipboard
Revision Header for Combined is sometimes not built before include
Bug Description
We occasionally see jobs in CIVET failing with the following message:
/data/civet0/build/moose/modules/combined/test/src/base/CombinedTestApp.C:16:10: fatal error: CombinedRevision.h: No such file or directory
16 | #include "CombinedRevision.h"
| ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [/data/civet0/build/moose/framework/build.mk:150: /data/civet0/build/moose/modules/combined/test/src/base/CombinedTestApp.x86_64-conda-linux-gnu.opt.lo] Error 1
make: *** Waiting for unfinished jobs....
The command used in CIVET that can cause this is:
BUILD_ROOT/moose/modules/: make -j 20 -l 60 all builds
Steps to Reproduce
This is very difficult to reproduce manually, even when touching the affected files and explicitly removing their dependencies. However, it still happens occasionally in the test environment. There must be a missing dependency.
Impact
This is mostly an annoyance in the testing system. I don't believe we've had any users report this as an issue on local workstation systems. Also, the impact is minor as rerunning make will generally get past this issue.