[jboss-as7-dev] Need help: Build Failed

Tomaž Cerar tomaz.cerar at gmail.com
Thu Aug 23 04:21:01 EDT 2012


hi,
for time being you can add  -Dmaven.test.failure.ignore=true parameter to
build, that will tell maven, not to fail if one of the tests fail.
I would recommend you to use oracle's JDK6 for building, we are working on
fixing build to work also on other jdks.

--
tomaz

On Thu, Aug 23, 2012 at 10:15 AM, MIMIFIR Pierre Jacques <
pierrejacques.mimifir at gmail.com> wrote:

> Hello Scott,
>
> Thanks for your reply. I had the same problems with ./build.sh clean
> install.
>
> Regards,
> mpj
> -----Message d'origine-----
> De : Scott Marlow [mailto:smarlow at redhat.com]
> Envoyé : jeudi 23 août 2012 04:54
> À : Pierre-Jacques MIMIFIR
> Cc : jboss-as7-dev at lists.jboss.org
> Objet : Re: [jboss-as7-dev] Need help: Build Failed
>
> Did you try a "./build.sh clean install"?  After updating AS source, its
> good to do a clean build.
>
> On 08/22/2012 07:53 PM, Pierre-Jacques MIMIFIR wrote:
> > Hi All,
> > Today I was trying to build jboss7 release 7.1.2 on my FreeBSD box
> > with OpenJDK 1.6.
> > After a few moments of compiling task. I have on Error At: [INFO]
> > JBoss Application Server: Platform MBean integration  FAILURE
> [1:31.627s].
> > ...
> > ERROR] Please refer to
> > /home/pierre/jbossas-jboss-as-fe5b783/platform-mbean/target/surefire-r
> > eports
> > for the individual test results.
> > ...
> > The message into the test file journal is: failure
> > message="thread-cpu-time-enabled is undefined"
> > type="junit.framework.AssertionFailedError">junit.fra
> > mework.AssertionFailedError: thread-cpu-time-enabled is undefined
> >          at junit.framework.Assert.fail(Assert.java:50)
> >          at junit.framework.Assert.assertTrue(Assert.java:20)
> >          at
> > org.jboss.as.platform.mbean.PlatformMBeanResourceUnitTestCase.validate
> > Resource(PlatformMBeanResourceUn
> > itTestCase.java:595)
> >          at
> > org.jboss.as.platform.mbean.PlatformMBeanResourceUnitTestCase.basicRes
> > ourceTest(PlatformMBeanResourceU
> > nitTestCase.java:563)
> >          at
> > org.jboss.as.platform.mbean.PlatformMBeanResourceUnitTestCase.testThre
> > adingMXBean(PlatformMBeanResourc
> > eUnitTestCase.java:340)
> >          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >          at
> >
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57
> )
> >          at
> >
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> .java:43)
> >          at java.lang.reflect.Method.invoke(Method.java:616)
> >          at
> >
>
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.
> java:45)
> >          at
> >
>
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.j
> ava:15)
> >          at
> >
>
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.ja
> va:42)
> >          at
> > org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMeth
> > od.java:20)
> >
> > What does it mean by : thread-cpu-time-enabled ilèundefined.
> >
> > It is a maven problem or a JVM ?
> >
> > I will appreciate your help.
> >
> > Thanks,
> > mpj
> >
> >
> > _______________________________________________
> > jboss-as7-dev mailing list
> > jboss-as7-dev at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
> >
>
>
>
>
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-as7-dev/attachments/20120823/a6ee09f8/attachment-0001.html 


More information about the jboss-as7-dev mailing list