git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CloudStack master and 4.11.2 RC5 build issues


At preparing dependencies, I get error (which seems to be your problem
also):
(this is preparing clean Ubuntu 18.04 to compile things)

mvn -P deps

INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 48.741 s
[INFO] Finished at: 2018-11-18T20:11:19Z
[INFO] Final Memory: 52M/354M
[INFO]
------------------------------------------------------------------------
[WARNING] The requested profile "deps" could not be activated because it
does not exist.
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test)
on project cloud-framework-managed-context: Execution default-test of goal
org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test failed: The
forked VM terminated without properly saying goodbye. VM crash or
System.exit called?
[ERROR] Command was /bin/sh -c cd
/root/ACS/cloudstack/framework/managed-context &&
/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java
-Djava.security.egd=file:/dev/./urandom -noverify -jar
/root/ACS/cloudstack/framework/managed-context/target/surefire/surefirebooter362447731095992015.jar
/root/ACS/cloudstack/framework/managed-context/target/surefire/surefire8329288856899141744tmp
/root/ACS/cloudstack/framework/managed-context/target/surefire/surefire_04304898642870715145tmp
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn <goals> -rf :cloud-framework-managed-context

On Sun, 18 Nov 2018 at 20:24, Andrija Panic <andrija.panic@xxxxxxxxx> wrote:

> On ancient Ubuntu 16.04, OpenJDK 1.8.0_151 it works fine for me (just
> running it with -b switch)...
>
> I can try to reproduce on 18.04...
>
>
> On Sun, 18 Nov 2018 at 20:04, Wido den Hollander <wido@xxxxxxxxx> wrote:
>
>> Hi,
>>
>> Trying to build master using this command it fails:
>>
>> $ dpkg-buildpackage -us -uc -b
>>
>> I get this error:
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 7.282 s
>> [INFO] Finished at: 2018-11-18T19:55:10+01:00
>> [INFO] Final Memory: 50M/174M
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test
>> (default-test) on project cloud-framework-managed-context: Execution
>> default-test of goal
>> org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test failed: The
>> forked VM terminated without properly saying goodbye. VM crash or
>> System.exit called?
>> [ERROR] Command was /bin/sh -c cd
>>
>> /home/wido/Desktop/apache-cloudstack-4.11.2.0-src/framework/managed-context
>> && /usr/lib/jvm/java-11-openjdk-amd64/bin/java
>> -Djava.security.egd=file:/dev/./urandom -noverify -jar
>>
>> /home/wido/Desktop/apache-cloudstack-4.11.2.0-src/framework/managed-context/target/surefire/surefirebooter4935588302032993476.jar
>>
>> /home/wido/Desktop/apache-cloudstack-4.11.2.0-src/framework/managed-context/target/surefire/surefire7506593539939542941tmp
>>
>> /home/wido/Desktop/apache-cloudstack-4.11.2.0-src/framework/managed-context/target/surefire/surefire_010482278773157415685tmp
>> [ERROR] -> [Help 1]
>>
>> I tried both Java 8 and 11 JDK from Ubuntu 18.04, but in both cases it
>> fails.
>>
>> wido@wido-laptop:~$ java -version
>> openjdk version "10.0.2" 2018-07-17
>> OpenJDK Runtime Environment (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.3)
>> OpenJDK 64-Bit Server VM (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.3, mixed
>> mode)
>> wido@wido-laptop:~$
>>
>> Have other people seen this?
>>
>> Wido
>>
>
>
> --
>
> Andrija Panić
>


-- 

Andrija Panić