So for once instead of random and otherwise impossible to reproduce unit test failures I noticed an explicit mention of low PermGen memory. So I set these Maven args for the build:
-Xmx512m -XX:MaxPermSize=128m That fixed 3.1 build: https://builds.apache.org/job/Cayenne-31/23/ But not 3.2: https://builds.apache.org/job/Cayenne-trunk/776/ I also suspect that enabling "Use private Maven repository" should help with another common class of problems (but not the one at hand for 3.2), but figured we'll wait till the next relevant failure before changing this config. Andrus