Ah ya, unfortunately my company wants me to build our own RPMs from source. I did see while searching for a solution that this issue had popped up in earlier builds but it looked like a fix had been merged in.

# java -version
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.11.90) (rhel-1.62.1.11.11.90.el6_4-x86_64)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)

btw, I've tried w/ maven 3.04, 3.05, 3.1.1

# mvn --version
Apache Maven 3.0.4 (r1232337; 2012-01-17 00:44:56-0800)
Maven home: /usr/local/apache-maven-3.0.4
Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
Java home: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "2.6.32-358.18.1.el6.x86_64", arch: "amd64", family: "unix"

-Jamie

On 10/08/2013 08:19 PM, David Nalley wrote:
Hi Jamie:

So as has been pointed out, you can use pre-built RPMs if you wish.

If you really need to build your own....I don't know what to suggest -
the RPMs built fine for me on CentOS 6.4 x86_64 from the tarball.

A couple of things - what version of Java? 6 or 7? OpenJDK or
something else? Any chance system log4j is installed?

I am copying Francois on this - he ran into the same test failure back
in March - perhaps he knows how it was resolved.

--David

On Tue, Oct 8, 2013 at 9:51 PM, Jamie Carranza <gojamieg...@gmail.com> wrote:
Hi All, I'm trying to build Cloudstack 4.2 RPMs and keep running up against
the same error, this looks like the most important part:

Failed tests:
appendTest(org.apache.cloudstack.alert.snmp.SnmpTrapAppenderTest): error
snmpHelper list size not as expected  expected:<0> but was:<2>

The full error is here: http://pastebin.com/0i4hbibQ

I start from a fresh CentOS 6.3 or 6.4 box and follow instructions from
here:
https://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Installation_Guide/sect-source-buildrpm.html
with no luck.

Has anyone else run into a similar error?

-Jamie

Reply via email to