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>

So I joined this list just to report the answer to your question
Jamie.  I found the solution after digging into the code.  Essentially
you need to configure your host to pass the hostname --fqdn test
before the SnmpAppenderTest class will pass the junit test.

I simply added my hostname to /etc/hosts and was able to build
successfully.  Just wanted to share so if anyone else caring to build
from source ran into this issue, that they would know what to do.
FYI, this was on Centos 6.4 64-bit with Cloudstack 4.2.


Sincerely,

Z

Reply via email to