[ovirt-devel] Tests failure when building the latest master

Shmuel Melamud smelamud at redhat.com
Thu Apr 20 15:31:13 UTC 2017


Hi!

Just tried to build the latest Engine from master and got a lot of
test failures. All related to ThreadPoolUtil. For example:

onSuccessReturnValueOk(org.ovirt.engine.core.bll.pm.StartVdsCommandTest)
 Time elapsed: 0 sec  <<< ERROR!
java.lang.ExceptionInInitializerError
        at org.ovirt.engine.core.bll.VdsCommand.runSleepOnReboot(VdsCommand.java:103)
        at org.ovirt.engine.core.bll.VdsCommand.runSleepOnReboot(VdsCommand.java:99)
        at org.ovirt.engine.core.bll.pm.StartVdsCommand.teardown(StartVdsCommand.java:131)
        at org.ovirt.engine.core.bll.pm.FenceVdsBaseCommand.executeCommand(FenceVdsBaseCommand.java:118)
.....

Caused by: java.lang.NullPointerException
        at org.ovirt.engine.core.common.config.Config.getValue(Config.java:22)
        at org.ovirt.engine.core.common.config.Config.getValue(Config.java:18)
        at org.ovirt.engine.core.utils.threadpool.ThreadPoolUtil$InternalThreadExecutor.<init>(ThreadPoolUtil.java:34)
        at org.ovirt.engine.core.utils.threadpool.ThreadPoolUtil.<clinit>(ThreadPoolUtil.java:110)
        at org.ovirt.engine.core.bll.VdsCommand.runSleepOnReboot(VdsCommand.java:103)
        at org.ovirt.engine.core.bll.pm.StartVdsCommand$MockitoMock$1274036240.runSleepOnReboot$accessor$RBFb71Df(Unknown
Source)
....

Do you know what may cause this?

Shmuel


More information about the Devel mailing list