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

Brian Stansberry brian.stansberry at redhat.com
Wed Aug 22 21:20:03 EDT 2012


Looks like it's a bug exposed by your VM:

https://issues.jboss.org/browse/AS7-5418

Thanks for reporting it.

If it's blocking you building, you can add the @org.junit.Ignore 
annotation to 
org.jboss.as.platform.mbean.PlatformMBeanResourceUnitTestCase's 
testThreadingMXBean method.

On 8/22/12 6: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-reports
> 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.validateResource(PlatformMBeanResourceUn
> itTestCase.java:595)
>          at
> org.jboss.as.platform.mbean.PlatformMBeanResourceUnitTestCase.basicResourceTest(PlatformMBeanResourceU
> nitTestCase.java:563)
>          at
> org.jboss.as.platform.mbean.PlatformMBeanResourceUnitTestCase.testThreadingMXBean(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.java:15)
>          at
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
>          at
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.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
>


-- 
Brian Stansberry
Principal Software Engineer
JBoss by Red Hat


More information about the jboss-as7-dev mailing list