I tried to follow the steps here: https://river.apache.org/building-river.html,
but I probably missed something.
My first attempt to build things was to setup my own Jenkins build (on
RaspberryPi Model 2’s) using the ant target:
"hudson-aa-arm"
In case it matters, I’m using ant-1.9.4, and jdk: jdk-7-oracle-armhf (and had
similar failures with jdk: jdk-8-oracle-arm-vfp-hflt).
The first test failure I see is:
...
[java] -----------------------------------------
[java]
org/apache/river/test/impl/locatordiscovery/BadLocatorDiscoveryListener.td
[java] Test Failed: Construct Failed:
org.apache.river.qa.harness.TestException: Problem creating service for
net.jini.core.lookup.ServiceRegistrar; nested exception is:
[java] Failed to start the shared nonactivatable group; nested
exception is:
[java] NonActivatableGroupAdmin: Failed to exec the group; nested
exception is:
[java] null
And a number of later tests fail also, for example:
...
[java] org/apache/river/test/impl/locatordiscovery/UnicastDelay.td
[java] Test Skipped: verifiers are:
org.apache.river.qa.harness.SkipConfigTestVerifier
[java] ————————————————————
[java] org/apache/river/test/spec/locatordiscovery/AddDiscoveryListenerNull.td
[java] Test Failed: Construct Failed:
org.apache.river.qa.harness.TestException: Problem creating service for
net.jini.core.lookup.ServiceRegistrar; nested exception is:
[java] Failed to start the shared nonactivatable group; nested exception is:
[java] NonActivatableGroupAdmin: Failed to exec the group; nested exception
is:
[java] null
I tried running the first failing test (BadLocatorDiscoveryListener.td) by
itself (on a Mac - not the ARM) via ant: ~/devtools/apache-ant-1.9.6/bin/ant
-Drun.tests=org/apache/river/test/impl/locatordiscovery/BadLocatorDiscoveryListener.td
run-tests
and of course the tests passes.
Any suggestions?
Thanks,
Dan Rollo