https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: games-strategy/freeorion-0.5 fails tests. Discovered on: amd64 (internal ref: ci)
CC'ing also the author of the commit (caf3802e7acd436a4a2c2b6bc2991921194b51e4)
Created attachment 859803 [details] build.log build log and emerge --info
Created attachment 859804 [details] 1-LastTest.log 1-LastTest.log
Error(s) that match a know pattern: 2 - TestPythonParser (Failed) 3 - SmokeTestGame (Failed) 4 - SmokeTestHostless (Failed) -- Could NOT find CPPCheck (missing: CPPCHECK_EXECUTABLE) -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Could NOT find Flake8 (missing: FLAKE8_EXECUTABLE) fatal: not a git repository (or any parent up to mount point /var/tmp)
I suppose it happends because we call tests on CI with `cmake --build . --target unittest` which calls each test in separate process while here binaries with multiple tests are called once, which leads to issues with multiple initialization of global variables.
Re CPPCheck, Flake8 They are testing code quality, and probably the check/ subdir should be disabled altogether in the ebuild. This is only useful for upstream CI. > fatal: not a git repository (or any parent up to mount point /var/tmp) This is an internal output of git which is run by cmake/make_versioncpp.py, and its failure is ignored by the script. > cmake --build . --target unittest Here it's called like this: ctest -j 43 --test-load 999 -j1, which still produces multiple binaries (gg_unittest, fo_unittest_parse, fo_unittest_util, fo_systemtest_game), not one.