git.net

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

Re: CloudStack master and 4.11.2 RC5 build issues



On 11/19/18 1:51 AM, Rohit Yadav wrote:
> Hi Wido,
> 
> Can you share the output using jdk8 by running the mvn command with -e and -X (you'll need to add that in some file in the debian directory or sinply do a mvn based build with those flags)? Alternatively, you may also skip tests using - DskipTests to get around the issue. Looks like it started happening recently in 18.04 (I'm able to reproduce as well).
> 

Sure! Here is the output of such a build:

https://widodh.o.auroraobjects.eu/cloudstack/tmp/4.11.2-build.log.gz

Unzipped it's a 265M file, so be aware of a lot of data. I'm not sure
what's happening here.

Wido

> Regards,
> Rohit Yadav
> 
> ________________________________
> From: Wido den Hollander <wido@xxxxxxxxx>
> Sent: Monday, November 19, 2018 12:26:47 AM
> To: dev@xxxxxxxxxxxxxxxxxxxxx
> Subject: CloudStack master and 4.11.2 RC5 build issues
> 
> 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
> 
> rohit.yadav@xxxxxxxxxxxxx 
> www.shapeblue.com
> Amadeus House, Floral Street, London  WC2E 9DPUK
> @shapeblue
>   
>  
>