You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@isis.apache.org by james agada <ok...@gmail.com> on 2013/10/11 16:17:26 UTC

Error building from source

I cloned the repository today and tried to rebuild from source. I am
getting the error
>
> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on
>> project isis-core-metamodel: There are test failures.
>
> [ERROR]
>
> [ERROR] Please refer to
>> /Users/jamesagada/isis/core/metamodel/target/surefire-reports for the
>> individual test results.
>
> [ERROR] -> [Help 1]
>
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
>> goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test
>> (default-test) on project isis-core-metamodel: There are test failures.
>
>
>> Please refer to
>> /Users/jamesagada/isis/core/metamodel/target/surefire-reports for the
>> individual test results.
>
> at
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
>
> at
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>
> at
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>
> at
>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
>
> at
>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>
> at
>> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>
> at
>> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
>
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
>
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>
> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>
> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>
> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:597)
>
> at
>> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
>
> at
>> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
>
> at
>> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
>
> at
>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
>
> Caused by: org.apache.maven.plugin.MojoFailureException: There are test
>> failures.
>
>
>> Please refer to
>> /Users/jamesagada/isis/core/metamodel/target/surefire-reports for the
>> individual test results.
>
> at
>> org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:83)
>
> at
>> org.apache.maven.plugin.surefire.SurefirePlugin.writeSummary(SurefirePlugin.java:673)
>
> at
>> org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(SurefirePlugin.java:647)
>
> at
>> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:137)
>
> at
>> org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:98)
>
> at
>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>
> at
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>
> ... 19 more
>
> [ERROR]
>
> [ERROR]
>
> [ERROR] For more information about the errors and possible solutions,
>> please read the following articles:
>
> [ERROR] [Help 1]
>> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
>
> [ERROR]
>
> [ERROR] After correcting the problems, you can resume the build with the
>> command
>
> [ERROR]   mvn <goals> -rf :isis-core-metamodel
>
>
> I am not sure what is going on. Anyone knows?

Re: Error building from source

Posted by Dan Haywood <da...@haywood-associates.co.uk>.
ok, I've now fixed this test in the codebase (under ISIS-437)


On 15 October 2013 16:57, james agada <ok...@gmail.com> wrote:

> Thanks.
>
>
> On Mon, Oct 14, 2013 at 8:52 AM, Jeroen van der Wal <jeroen@stromboli.it
> >wrote:
>
> > There was a typo in the command. It should be:  mvn clean install
> > -DskipTests (note the capital T)
> >
> >
> > On Mon, Oct 14, 2013 at 12:22 AM, james agada <ok...@gmail.com>
> > wrote:
> >
> > > Thanks for the hint but still no luck.
> > > ------------------------------------------------------
> > >  T E S T S
> > > -------------------------------------------------------
> > > SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
> > > SLF4J: Defaulting to no-operation (NOP) logger implementation
> > > SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for
> > further
> > > details.
> > > the Mockery is not thread-safe: use a Synchroniser to ensure thread
> > safety
> > > the Mockery is not thread-safe: use a Synchroniser to ensure thread
> > safety
> > > the Mockery is not thread-safe: use a Synchroniser to ensure thread
> > safety
> > > the Mockery is not thread-safe: use a Synchroniser to ensure thread
> > safety
> > > the Mockery is not thread-safe: use a Synchroniser to ensure thread
> > safety
> > > the Mockery is not thread-safe: use a Synchroniser to ensure thread
> > safety
> > > the Mockery is not thread-safe: use a Synchroniser to ensure thread
> > safety
> > > the Mockery is not thread-safe: use a Synchroniser to ensure thread
> > safety
> > > the Mockery is not thread-safe: use a Synchroniser to ensure thread
> > safety
> > > the Mockery is not thread-safe: use a Synchroniser to ensure thread
> > safety
> > > the Mockery is not thread-safe: use a Synchroniser to ensure thread
> > safety
> > > the Mockery is not thread-safe: use a Synchroniser to ensure thread
> > safety
> > > the Mockery is not thread-safe: use a Synchroniser to ensure thread
> > safety
> > > the Mockery is not thread-safe: use a Synchroniser to ensure thread
> > safety
> > > the Mockery is not thread-safe: use a Synchroniser to ensure thread
> > safety
> > > the Mockery is not thread-safe: use a Synchroniser to ensure thread
> > safety
> > > the Mockery is not thread-safe: use a Synchroniser to ensure thread
> > safety
> > > the Mockery is not thread-safe: use a Synchroniser to ensure thread
> > safety
> > > the Mockery is not thread-safe: use a Synchroniser to ensure thread
> > safety
> > > the Mockery is not thread-safe: use a Synchroniser to ensure thread
> > safety
> > > the Mockery is not thread-safe: use a Synchroniser to ensure thread
> > safety
> > > the Mockery is not thread-safe: use a Synchroniser to ensure thread
> > safety
> > >
> > > Results :
> > >
> > >
> > >
> > >
> >
> init_when_preDestroyMultiple(org.apache.isis.core.metamodel.specloader.ServiceInitializerTest):
> > > (..)
> > >
> > >
> > >
> >
> init_when_postConstructMultiple(org.apache.isis.core.metamodel.specloader.ServiceInitializerTest):
> > > (..)
> > >
> > > Tests run: 1031, Failures: 2, Errors: 0, Skipped: 7
> > >
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [INFO] Reactor Summary:
> > > [INFO]
> > > [INFO] Apache Isis Core .................................. SUCCESS
> > [5.771s]
> > > [INFO] Isis Core Unit Test Support ....................... SUCCESS
> > [7.929s]
> > > [INFO] Isis Core AppLib .................................. SUCCESS
> > > [11.223s]
> > > [INFO] Isis Core Log4j Impls ............................. SUCCESS
> > [2.891s]
> > > [INFO] Isis Core MetaModel ............................... FAILURE
> > > [21.899s]
> > > [
> > >
> > >
> > > On Sun, Oct 13, 2013 at 8:33 PM, Jeroen van der Wal <
> jeroen@stromboli.it
> > > >wrote:
> > >
> > > > Hi James,
> > > > If you don't want to change the Isis code to have Maven ignore the
> > > failing
> > > > test but still want to build Isis from source you could skip all
> tests
> > > [1]
> > > > until this issue is resolved.
> > > >
> > > > [1] mvn clean install -Dskiptests
> > > >
> > > > Jeroen
> > > >
> > > > On Sun, Oct 13, 2013 at 8:48 PM, Dan Haywood
> > > > <da...@haywood-associates.co.uk>wrote:
> > > >
> > > > > Alongside the @Test of the failing tests. Make sure it is the
> > > > > org.junit.Ignore, not the Isis one in the applib.
> > > > >
> > > > > I take it you do my site tests., then :-)?
> > > > >
> > > > > Sorry to be brief, sent from my phone
> > > > > On 13 Oct 2013 19:07, "james agada" <ok...@gmail.com> wrote:
> > > > >
> > > > > > Where exactly am i to place the @Ignore?
> > > > > >
> > > > > >
> > > > > > On Fri, Oct 11, 2013 at 4:07 PM, Dan Haywood
> > > > > > <da...@haywood-associates.co.uk>wrote:
> > > > > >
> > > > > > > Nice!  I guess running a different JVM is altering the order of
> > the
> > > > > > methods
> > > > > > > being found.
> > > > > > >
> > > > > > > Could you raise a ticket (attach the above stacktrace) and I'll
> > do
> > > a
> > > > > > quick
> > > > > > > fix.
> > > > > > >
> > > > > > > In the meantime, suggest you add an @Ignore to your local copy
> of
> > > the
> > > > > > > failing test(s), so you aren't blocked.
> > > > > > >
> > > > > > > Thx
> > > > > > > Dan
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > On 11 October 2013 16:02, james agada <ok...@gmail.com>
> > > wrote:
> > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> -------------------------------------------------------------------------------
> > > > > > > > Test set:
> > > > > > >
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> -------------------------------------------------------------------------------
> > > > > > > > Tests run: 7, Failures: 2, Errors: 0, Skipped: 0, Time
> elapsed:
> > > > 0.504
> > > > > > sec
> > > > > > > > <<< FAILURE!
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> init_when_preDestroyMultiple(org.apache.isis.core.metamodel.specloader.ServiceInitializerTest)
> > > > > > > >  Time elapsed: 0.009 sec  <<< FAILURE!
> > > > > > > > java.lang.AssertionError:
> > > > > > > > Expected: exception with message a string containing "Found
> > more
> > > > than
> > > > > > one
> > > > > > > > @PreDestroy method; service is:
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest$DomainServiceWithMultiplePreDestroy,
> > > > > > > > found x and y"
> > > > > > > >      but: message was "Found more than one @PreDestroy
> method;
> > > > > service
> > > > > > > is:
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest$DomainServiceWithMultiplePreDestroy,
> > > > > > > > found y and x"
> > > > > > > > Stacktrace was: java.lang.RuntimeException: Found more than
> one
> > > > > > > @PreDestroy
> > > > > > > > method; service is:
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest$DomainServiceWithMultiplePreDestroy,
> > > > > > > > found y and x
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializer.init(ServiceInitializer.java:98)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest.init_when_preDestroyMultiple(ServiceInitializerTest.java:165)
> > > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
> > > > > > > > at
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.isis.core.unittestsupport.jmocking.JUnitRuleMockery2$1.evaluate(JUnitRuleMockery2.java:149)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:168)
> > > > > > > > at org.junit.rules.RunRules.evaluate(RunRules.java:20)
> > > > > > > > at
> > org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
> > > > > > > > at
> org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> > > > > > > > at
> > > org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> > > > > > > > at
> > > > org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> > > > > > > > at
> > > org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> > > > > > > > at
> > > org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> > > > > > > > at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
> > > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
> > > > > > > > at
> > > > > > >
> > > > >
> > >
> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> > > > > > > >
> > > > > > > > at
> org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
> > > > > > > > at org.junit.Assert.assertThat(Assert.java:865)
> > > > > > > > at org.junit.Assert.assertThat(Assert.java:832)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.rules.ExpectedException.handleException(ExpectedException.java:198)
> > > > > > > > at
> > > > > > >
> > > >
> org.junit.rules.ExpectedException.access$500(ExpectedException.java:85)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:177)
> > > > > > > > at org.junit.rules.RunRules.evaluate(RunRules.java:20)
> > > > > > > > at
> > org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
> > > > > > > > at
> org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> > > > > > > > at
> > > org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> > > > > > > > at
> > > > org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> > > > > > > > at
> > > org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> > > > > > > > at
> > > org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> > > > > > > > at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
> > > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
> > > > > > > > at
> > > > > > >
> > > > >
> > >
> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> init_when_postConstructMultiple(org.apache.isis.core.metamodel.specloader.ServiceInitializerTest)
> > > > > > > >  Time elapsed: 0.004 sec  <<< FAILURE!
> > > > > > > > java.lang.AssertionError:
> > > > > > > > Expected: exception with message a string containing "Found
> > more
> > > > than
> > > > > > one
> > > > > > > > @PostConstruct method; service is:
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest$DomainServiceWithMultiplePostConstruct,
> > > > > > > > found x and y"
> > > > > > > >      but: message was "Found more than one @PostConstruct
> > method;
> > > > > > service
> > > > > > > > is:
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest$DomainServiceWithMultiplePostConstruct,
> > > > > > > > found y and x"
> > > > > > > > Stacktrace was: java.lang.RuntimeException: Found more than
> one
> > > > > > > > @PostConstruct method; service is:
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest$DomainServiceWithMultiplePostConstruct,
> > > > > > > > found y and x
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializer.init(ServiceInitializer.java:72)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest.init_when_postConstructMultiple(ServiceInitializerTest.java:145)
> > > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
> > > > > > > > at
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.isis.core.unittestsupport.jmocking.JUnitRuleMockery2$1.evaluate(JUnitRuleMockery2.java:149)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:168)
> > > > > > > > at org.junit.rules.RunRules.evaluate(RunRules.java:20)
> > > > > > > > at
> > org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
> > > > > > > > at
> org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> > > > > > > > at
> > > org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> > > > > > > > at
> > > > org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> > > > > > > > at
> > > org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> > > > > > > > at
> > > org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> > > > > > > > at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
> > > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
> > > > > > > > at
> > > > > > >
> > > > >
> > >
> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> > > > > > > >
> > > > > > > > at
> org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
> > > > > > > > at org.junit.Assert.assertThat(Assert.java:865)
> > > > > > > > at org.junit.Assert.assertThat(Assert.java:832)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.rules.ExpectedException.handleException(ExpectedException.java:198)
> > > > > > > > at
> > > > > > >
> > > >
> org.junit.rules.ExpectedException.access$500(ExpectedException.java:85)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:177)
> > > > > > > > at org.junit.rules.RunRules.evaluate(RunRules.java:20)
> > > > > > > > at
> > org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
> > > > > > > > at
> org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> > > > > > > > at
> > > org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> > > > > > > > at
> > > > org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> > > > > > > > at
> > > org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> > > > > > > > at
> > > org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> > > > > > > > at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
> > > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> > > > > > > > at
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
> > > > > > > > at
> > > > > > >
> > > > >
> > >
> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > On Fri, Oct 11, 2013 at 3:37 PM, Dan Haywood
> > > > > > > > <da...@haywood-associates.co.uk>wrote:
> > > > > > > >
> > > > > > > > > What are the test errors?  locate the files in
> > > > isis-core-metamodel/
> > > > > > > > > target/surefire-reports.
> > > > > > > > >
> > > > > > > > > And/or run the tests for that module in Eclipse JUnit...
> it's
> > > > > easier
> > > > > > to
> > > > > > > > see
> > > > > > > > > any test failures that way.
> > > > > > > > >
> > > > > > > > > Our CI build is green, so it's probably some sort of local
> > > > glitch.
> > > > > >  Or,
> > > > > > > > it
> > > > > > > > > might be a new i18n issue that hasn't yet come to light
> > > > elsewhere.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > On 11 October 2013 15:17, james agada <
> okwuiagada@gmail.com>
> > > > > wrote:
> > > > > > > > >
> > > > > > > > > > I cloned the repository today and tried to rebuild from
> > > > source. I
> > > > > > am
> > > > > > > > > > getting the error
> > > > > > > > > > >
> > > > > > > > > > > [ERROR] Failed to execute goal
> > > > > > > > > > >>
> org.apache.maven.plugins:maven-surefire-plugin:2.12:test
> > > > > > > > > (default-test)
> > > > > > > > > > on
> > > > > > > > > > >> project isis-core-metamodel: There are test failures.
> > > > > > > > > > >
> > > > > > > > > > > [ERROR]
> > > > > > > > > > >
> > > > > > > > > > > [ERROR] Please refer to
> > > > > > > > > > >>
> > > > /Users/jamesagada/isis/core/metamodel/target/surefire-reports
> > > > > > for
> > > > > > > > the
> > > > > > > > > > >> individual test results.
> > > > > > > > > > >
> > > > > > > > > > > [ERROR] -> [Help 1]
> > > > > > > > > > >
> > > > > > > > > > > org.apache.maven.lifecycle.LifecycleExecutionException:
> > > > Failed
> > > > > to
> > > > > > > > > execute
> > > > > > > > > > >> goal
> > > > org.apache.maven.plugins:maven-surefire-plugin:2.12:test
> > > > > > > > > > >> (default-test) on project isis-core-metamodel: There
> are
> > > > test
> > > > > > > > > failures.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >> Please refer to
> > > > > > > > > > >>
> > > > /Users/jamesagada/isis/core/metamodel/target/surefire-reports
> > > > > > for
> > > > > > > > the
> > > > > > > > > > >> individual test results.
> > > > > > > > > > >
> > > > > > > > > > > at
> > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
> > > > > > > > > > >
> > > > > > > > > > > at
> > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> > > > > > > > > > >
> > > > > > > > > > > at
> > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> > > > > > > > > > >
> > > > > > > > > > > at
> > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
> > > > > > > > > > >
> > > > > > > > > > > at
> > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> > > > > > > > > > >
> > > > > > > > > > > at
> > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> > > > > > > > > > >
> > > > > > > > > > > at
> > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> > > > > > > > > > >
> > > > > > > > > > > at
> > > > > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
> > > > > > > > > > >
> > > > > > > > > > > at
> > > > org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> > > > > > > > > > >
> > > > > > > > > > > at
> > org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
> > > > > > > > > > >
> > > > > > > > > > > at
> > org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
> > > > > > > > > > >
> > > > > > > > > > > at
> org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
> > > > > > > > > > >
> > > > > > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > > > Method)
> > > > > > > > > > >
> > > > > > > > > > > at
> > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > > > > > > >
> > > > > > > > > > > at
> > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > > > > > >
> > > > > > > > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > > > > > > > >
> > > > > > > > > > > at
> > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
> > > > > > > > > > >
> > > > > > > > > > > at
> > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
> > > > > > > > > > >
> > > > > > > > > > > at
> > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
> > > > > > > > > > >
> > > > > > > > > > > at
> > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> > org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> > > > > > > > > > >
> > > > > > > > > > > Caused by:
> org.apache.maven.plugin.MojoFailureException:
> > > > There
> > > > > > are
> > > > > > > > test
> > > > > > > > > > >> failures.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >> Please refer to
> > > > > > > > > > >>
> > > > /Users/jamesagada/isis/core/metamodel/target/surefire-reports
> > > > > > for
> > > > > > > > the
> > > > > > > > > > >> individual test results.
> > > > > > > > > > >
> > > > > > > > > > > at
> > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:83)
> > > > > > > > > > >
> > > > > > > > > > > at
> > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.plugin.surefire.SurefirePlugin.writeSummary(SurefirePlugin.java:673)
> > > > > > > > > > >
> > > > > > > > > > > at
> > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(SurefirePlugin.java:647)
> > > > > > > > > > >
> > > > > > > > > > > at
> > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:137)
> > > > > > > > > > >
> > > > > > > > > > > at
> > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:98)
> > > > > > > > > > >
> > > > > > > > > > > at
> > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> > > > > > > > > > >
> > > > > > > > > > > at
> > > > > > > > > > >>
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> > > > > > > > > > >
> > > > > > > > > > > ... 19 more
> > > > > > > > > > >
> > > > > > > > > > > [ERROR]
> > > > > > > > > > >
> > > > > > > > > > > [ERROR]
> > > > > > > > > > >
> > > > > > > > > > > [ERROR] For more information about the errors and
> > possible
> > > > > > > solutions,
> > > > > > > > > > >> please read the following articles:
> > > > > > > > > > >
> > > > > > > > > > > [ERROR] [Help 1]
> > > > > > > > > > >>
> > > > > > > >
> > > > >
> > http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> > > > > > > > > > >
> > > > > > > > > > > [ERROR]
> > > > > > > > > > >
> > > > > > > > > > > [ERROR] After correcting the problems, you can resume
> the
> > > > build
> > > > > > > with
> > > > > > > > > the
> > > > > > > > > > >> command
> > > > > > > > > > >
> > > > > > > > > > > [ERROR]   mvn <goals> -rf :isis-core-metamodel
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > I am not sure what is going on. Anyone knows?
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Re: Error building from source

Posted by james agada <ok...@gmail.com>.
Thanks.


On Mon, Oct 14, 2013 at 8:52 AM, Jeroen van der Wal <je...@stromboli.it>wrote:

> There was a typo in the command. It should be:  mvn clean install
> -DskipTests (note the capital T)
>
>
> On Mon, Oct 14, 2013 at 12:22 AM, james agada <ok...@gmail.com>
> wrote:
>
> > Thanks for the hint but still no luck.
> > ------------------------------------------------------
> >  T E S T S
> > -------------------------------------------------------
> > SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
> > SLF4J: Defaulting to no-operation (NOP) logger implementation
> > SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for
> further
> > details.
> > the Mockery is not thread-safe: use a Synchroniser to ensure thread
> safety
> > the Mockery is not thread-safe: use a Synchroniser to ensure thread
> safety
> > the Mockery is not thread-safe: use a Synchroniser to ensure thread
> safety
> > the Mockery is not thread-safe: use a Synchroniser to ensure thread
> safety
> > the Mockery is not thread-safe: use a Synchroniser to ensure thread
> safety
> > the Mockery is not thread-safe: use a Synchroniser to ensure thread
> safety
> > the Mockery is not thread-safe: use a Synchroniser to ensure thread
> safety
> > the Mockery is not thread-safe: use a Synchroniser to ensure thread
> safety
> > the Mockery is not thread-safe: use a Synchroniser to ensure thread
> safety
> > the Mockery is not thread-safe: use a Synchroniser to ensure thread
> safety
> > the Mockery is not thread-safe: use a Synchroniser to ensure thread
> safety
> > the Mockery is not thread-safe: use a Synchroniser to ensure thread
> safety
> > the Mockery is not thread-safe: use a Synchroniser to ensure thread
> safety
> > the Mockery is not thread-safe: use a Synchroniser to ensure thread
> safety
> > the Mockery is not thread-safe: use a Synchroniser to ensure thread
> safety
> > the Mockery is not thread-safe: use a Synchroniser to ensure thread
> safety
> > the Mockery is not thread-safe: use a Synchroniser to ensure thread
> safety
> > the Mockery is not thread-safe: use a Synchroniser to ensure thread
> safety
> > the Mockery is not thread-safe: use a Synchroniser to ensure thread
> safety
> > the Mockery is not thread-safe: use a Synchroniser to ensure thread
> safety
> > the Mockery is not thread-safe: use a Synchroniser to ensure thread
> safety
> > the Mockery is not thread-safe: use a Synchroniser to ensure thread
> safety
> >
> > Results :
> >
> >
> >
> >
> init_when_preDestroyMultiple(org.apache.isis.core.metamodel.specloader.ServiceInitializerTest):
> > (..)
> >
> >
> >
> init_when_postConstructMultiple(org.apache.isis.core.metamodel.specloader.ServiceInitializerTest):
> > (..)
> >
> > Tests run: 1031, Failures: 2, Errors: 0, Skipped: 7
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Reactor Summary:
> > [INFO]
> > [INFO] Apache Isis Core .................................. SUCCESS
> [5.771s]
> > [INFO] Isis Core Unit Test Support ....................... SUCCESS
> [7.929s]
> > [INFO] Isis Core AppLib .................................. SUCCESS
> > [11.223s]
> > [INFO] Isis Core Log4j Impls ............................. SUCCESS
> [2.891s]
> > [INFO] Isis Core MetaModel ............................... FAILURE
> > [21.899s]
> > [
> >
> >
> > On Sun, Oct 13, 2013 at 8:33 PM, Jeroen van der Wal <jeroen@stromboli.it
> > >wrote:
> >
> > > Hi James,
> > > If you don't want to change the Isis code to have Maven ignore the
> > failing
> > > test but still want to build Isis from source you could skip all tests
> > [1]
> > > until this issue is resolved.
> > >
> > > [1] mvn clean install -Dskiptests
> > >
> > > Jeroen
> > >
> > > On Sun, Oct 13, 2013 at 8:48 PM, Dan Haywood
> > > <da...@haywood-associates.co.uk>wrote:
> > >
> > > > Alongside the @Test of the failing tests. Make sure it is the
> > > > org.junit.Ignore, not the Isis one in the applib.
> > > >
> > > > I take it you do my site tests., then :-)?
> > > >
> > > > Sorry to be brief, sent from my phone
> > > > On 13 Oct 2013 19:07, "james agada" <ok...@gmail.com> wrote:
> > > >
> > > > > Where exactly am i to place the @Ignore?
> > > > >
> > > > >
> > > > > On Fri, Oct 11, 2013 at 4:07 PM, Dan Haywood
> > > > > <da...@haywood-associates.co.uk>wrote:
> > > > >
> > > > > > Nice!  I guess running a different JVM is altering the order of
> the
> > > > > methods
> > > > > > being found.
> > > > > >
> > > > > > Could you raise a ticket (attach the above stacktrace) and I'll
> do
> > a
> > > > > quick
> > > > > > fix.
> > > > > >
> > > > > > In the meantime, suggest you add an @Ignore to your local copy of
> > the
> > > > > > failing test(s), so you aren't blocked.
> > > > > >
> > > > > > Thx
> > > > > > Dan
> > > > > >
> > > > > >
> > > > > >
> > > > > > On 11 October 2013 16:02, james agada <ok...@gmail.com>
> > wrote:
> > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> -------------------------------------------------------------------------------
> > > > > > > Test set:
> > > > > > org.apache.isis.core.metamodel.specloader.ServiceInitializerTest
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> -------------------------------------------------------------------------------
> > > > > > > Tests run: 7, Failures: 2, Errors: 0, Skipped: 0, Time elapsed:
> > > 0.504
> > > > > sec
> > > > > > > <<< FAILURE!
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> init_when_preDestroyMultiple(org.apache.isis.core.metamodel.specloader.ServiceInitializerTest)
> > > > > > >  Time elapsed: 0.009 sec  <<< FAILURE!
> > > > > > > java.lang.AssertionError:
> > > > > > > Expected: exception with message a string containing "Found
> more
> > > than
> > > > > one
> > > > > > > @PreDestroy method; service is:
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest$DomainServiceWithMultiplePreDestroy,
> > > > > > > found x and y"
> > > > > > >      but: message was "Found more than one @PreDestroy method;
> > > > service
> > > > > > is:
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest$DomainServiceWithMultiplePreDestroy,
> > > > > > > found y and x"
> > > > > > > Stacktrace was: java.lang.RuntimeException: Found more than one
> > > > > > @PreDestroy
> > > > > > > method; service is:
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest$DomainServiceWithMultiplePreDestroy,
> > > > > > > found y and x
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializer.init(ServiceInitializer.java:98)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest.init_when_preDestroyMultiple(ServiceInitializerTest.java:165)
> > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
> > > > > > > at
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.isis.core.unittestsupport.jmocking.JUnitRuleMockery2$1.evaluate(JUnitRuleMockery2.java:149)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:168)
> > > > > > > at org.junit.rules.RunRules.evaluate(RunRules.java:20)
> > > > > > > at
> org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
> > > > > > > at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> > > > > > > at
> > org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> > > > > > > at
> > > org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> > > > > > > at
> > org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> > > > > > > at
> > org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> > > > > > > at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
> > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
> > > > > > > at
> > > > > >
> > > >
> > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> > > > > > >
> > > > > > > at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
> > > > > > > at org.junit.Assert.assertThat(Assert.java:865)
> > > > > > > at org.junit.Assert.assertThat(Assert.java:832)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.rules.ExpectedException.handleException(ExpectedException.java:198)
> > > > > > > at
> > > > > >
> > > org.junit.rules.ExpectedException.access$500(ExpectedException.java:85)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:177)
> > > > > > > at org.junit.rules.RunRules.evaluate(RunRules.java:20)
> > > > > > > at
> org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
> > > > > > > at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> > > > > > > at
> > org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> > > > > > > at
> > > org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> > > > > > > at
> > org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> > > > > > > at
> > org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> > > > > > > at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
> > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
> > > > > > > at
> > > > > >
> > > >
> > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> init_when_postConstructMultiple(org.apache.isis.core.metamodel.specloader.ServiceInitializerTest)
> > > > > > >  Time elapsed: 0.004 sec  <<< FAILURE!
> > > > > > > java.lang.AssertionError:
> > > > > > > Expected: exception with message a string containing "Found
> more
> > > than
> > > > > one
> > > > > > > @PostConstruct method; service is:
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest$DomainServiceWithMultiplePostConstruct,
> > > > > > > found x and y"
> > > > > > >      but: message was "Found more than one @PostConstruct
> method;
> > > > > service
> > > > > > > is:
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest$DomainServiceWithMultiplePostConstruct,
> > > > > > > found y and x"
> > > > > > > Stacktrace was: java.lang.RuntimeException: Found more than one
> > > > > > > @PostConstruct method; service is:
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest$DomainServiceWithMultiplePostConstruct,
> > > > > > > found y and x
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializer.init(ServiceInitializer.java:72)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest.init_when_postConstructMultiple(ServiceInitializerTest.java:145)
> > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
> > > > > > > at
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.isis.core.unittestsupport.jmocking.JUnitRuleMockery2$1.evaluate(JUnitRuleMockery2.java:149)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:168)
> > > > > > > at org.junit.rules.RunRules.evaluate(RunRules.java:20)
> > > > > > > at
> org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
> > > > > > > at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> > > > > > > at
> > org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> > > > > > > at
> > > org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> > > > > > > at
> > org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> > > > > > > at
> > org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> > > > > > > at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
> > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
> > > > > > > at
> > > > > >
> > > >
> > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> > > > > > >
> > > > > > > at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
> > > > > > > at org.junit.Assert.assertThat(Assert.java:865)
> > > > > > > at org.junit.Assert.assertThat(Assert.java:832)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.rules.ExpectedException.handleException(ExpectedException.java:198)
> > > > > > > at
> > > > > >
> > > org.junit.rules.ExpectedException.access$500(ExpectedException.java:85)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:177)
> > > > > > > at org.junit.rules.RunRules.evaluate(RunRules.java:20)
> > > > > > > at
> org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
> > > > > > > at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> > > > > > > at
> > org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> > > > > > > at
> > > org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> > > > > > > at
> > org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> > > > > > > at
> > org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> > > > > > > at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
> > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> > > > > > > at
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
> > > > > > > at
> > > > > >
> > > >
> > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > On Fri, Oct 11, 2013 at 3:37 PM, Dan Haywood
> > > > > > > <da...@haywood-associates.co.uk>wrote:
> > > > > > >
> > > > > > > > What are the test errors?  locate the files in
> > > isis-core-metamodel/
> > > > > > > > target/surefire-reports.
> > > > > > > >
> > > > > > > > And/or run the tests for that module in Eclipse JUnit... it's
> > > > easier
> > > > > to
> > > > > > > see
> > > > > > > > any test failures that way.
> > > > > > > >
> > > > > > > > Our CI build is green, so it's probably some sort of local
> > > glitch.
> > > > >  Or,
> > > > > > > it
> > > > > > > > might be a new i18n issue that hasn't yet come to light
> > > elsewhere.
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > On 11 October 2013 15:17, james agada <ok...@gmail.com>
> > > > wrote:
> > > > > > > >
> > > > > > > > > I cloned the repository today and tried to rebuild from
> > > source. I
> > > > > am
> > > > > > > > > getting the error
> > > > > > > > > >
> > > > > > > > > > [ERROR] Failed to execute goal
> > > > > > > > > >> org.apache.maven.plugins:maven-surefire-plugin:2.12:test
> > > > > > > > (default-test)
> > > > > > > > > on
> > > > > > > > > >> project isis-core-metamodel: There are test failures.
> > > > > > > > > >
> > > > > > > > > > [ERROR]
> > > > > > > > > >
> > > > > > > > > > [ERROR] Please refer to
> > > > > > > > > >>
> > > /Users/jamesagada/isis/core/metamodel/target/surefire-reports
> > > > > for
> > > > > > > the
> > > > > > > > > >> individual test results.
> > > > > > > > > >
> > > > > > > > > > [ERROR] -> [Help 1]
> > > > > > > > > >
> > > > > > > > > > org.apache.maven.lifecycle.LifecycleExecutionException:
> > > Failed
> > > > to
> > > > > > > > execute
> > > > > > > > > >> goal
> > > org.apache.maven.plugins:maven-surefire-plugin:2.12:test
> > > > > > > > > >> (default-test) on project isis-core-metamodel: There are
> > > test
> > > > > > > > failures.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >> Please refer to
> > > > > > > > > >>
> > > /Users/jamesagada/isis/core/metamodel/target/surefire-reports
> > > > > for
> > > > > > > the
> > > > > > > > > >> individual test results.
> > > > > > > > > >
> > > > > > > > > > at
> > > > > > > > > >>
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
> > > > > > > > > >
> > > > > > > > > > at
> > > > > > > > > >>
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> > > > > > > > > >
> > > > > > > > > > at
> > > > > > > > > >>
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> > > > > > > > > >
> > > > > > > > > > at
> > > > > > > > > >>
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
> > > > > > > > > >
> > > > > > > > > > at
> > > > > > > > > >>
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> > > > > > > > > >
> > > > > > > > > > at
> > > > > > > > > >>
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> > > > > > > > > >
> > > > > > > > > > at
> > > > > > > > > >>
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> > > > > > > > > >
> > > > > > > > > > at
> > > > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
> > > > > > > > > >
> > > > > > > > > > at
> > > org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> > > > > > > > > >
> > > > > > > > > > at
> org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
> > > > > > > > > >
> > > > > > > > > > at
> org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
> > > > > > > > > >
> > > > > > > > > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
> > > > > > > > > >
> > > > > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > > Method)
> > > > > > > > > >
> > > > > > > > > > at
> > > > > > > > > >>
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > > > > > >
> > > > > > > > > > at
> > > > > > > > > >>
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > > > > >
> > > > > > > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > > > > > > >
> > > > > > > > > > at
> > > > > > > > > >>
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
> > > > > > > > > >
> > > > > > > > > > at
> > > > > > > > > >>
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
> > > > > > > > > >
> > > > > > > > > > at
> > > > > > > > > >>
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
> > > > > > > > > >
> > > > > > > > > > at
> > > > > > > > > >>
> > > > > > > > >
> > > > > > >
> > > > >
> > >
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> > > > > > > > > >
> > > > > > > > > > Caused by: org.apache.maven.plugin.MojoFailureException:
> > > There
> > > > > are
> > > > > > > test
> > > > > > > > > >> failures.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >> Please refer to
> > > > > > > > > >>
> > > /Users/jamesagada/isis/core/metamodel/target/surefire-reports
> > > > > for
> > > > > > > the
> > > > > > > > > >> individual test results.
> > > > > > > > > >
> > > > > > > > > > at
> > > > > > > > > >>
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:83)
> > > > > > > > > >
> > > > > > > > > > at
> > > > > > > > > >>
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.plugin.surefire.SurefirePlugin.writeSummary(SurefirePlugin.java:673)
> > > > > > > > > >
> > > > > > > > > > at
> > > > > > > > > >>
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(SurefirePlugin.java:647)
> > > > > > > > > >
> > > > > > > > > > at
> > > > > > > > > >>
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:137)
> > > > > > > > > >
> > > > > > > > > > at
> > > > > > > > > >>
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:98)
> > > > > > > > > >
> > > > > > > > > > at
> > > > > > > > > >>
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> > > > > > > > > >
> > > > > > > > > > at
> > > > > > > > > >>
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> > > > > > > > > >
> > > > > > > > > > ... 19 more
> > > > > > > > > >
> > > > > > > > > > [ERROR]
> > > > > > > > > >
> > > > > > > > > > [ERROR]
> > > > > > > > > >
> > > > > > > > > > [ERROR] For more information about the errors and
> possible
> > > > > > solutions,
> > > > > > > > > >> please read the following articles:
> > > > > > > > > >
> > > > > > > > > > [ERROR] [Help 1]
> > > > > > > > > >>
> > > > > > >
> > > >
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> > > > > > > > > >
> > > > > > > > > > [ERROR]
> > > > > > > > > >
> > > > > > > > > > [ERROR] After correcting the problems, you can resume the
> > > build
> > > > > > with
> > > > > > > > the
> > > > > > > > > >> command
> > > > > > > > > >
> > > > > > > > > > [ERROR]   mvn <goals> -rf :isis-core-metamodel
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > I am not sure what is going on. Anyone knows?
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Re: Error building from source

Posted by Jeroen van der Wal <je...@stromboli.it>.
There was a typo in the command. It should be:  mvn clean install
-DskipTests (note the capital T)


On Mon, Oct 14, 2013 at 12:22 AM, james agada <ok...@gmail.com> wrote:

> Thanks for the hint but still no luck.
> ------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
> SLF4J: Defaulting to no-operation (NOP) logger implementation
> SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further
> details.
> the Mockery is not thread-safe: use a Synchroniser to ensure thread safety
> the Mockery is not thread-safe: use a Synchroniser to ensure thread safety
> the Mockery is not thread-safe: use a Synchroniser to ensure thread safety
> the Mockery is not thread-safe: use a Synchroniser to ensure thread safety
> the Mockery is not thread-safe: use a Synchroniser to ensure thread safety
> the Mockery is not thread-safe: use a Synchroniser to ensure thread safety
> the Mockery is not thread-safe: use a Synchroniser to ensure thread safety
> the Mockery is not thread-safe: use a Synchroniser to ensure thread safety
> the Mockery is not thread-safe: use a Synchroniser to ensure thread safety
> the Mockery is not thread-safe: use a Synchroniser to ensure thread safety
> the Mockery is not thread-safe: use a Synchroniser to ensure thread safety
> the Mockery is not thread-safe: use a Synchroniser to ensure thread safety
> the Mockery is not thread-safe: use a Synchroniser to ensure thread safety
> the Mockery is not thread-safe: use a Synchroniser to ensure thread safety
> the Mockery is not thread-safe: use a Synchroniser to ensure thread safety
> the Mockery is not thread-safe: use a Synchroniser to ensure thread safety
> the Mockery is not thread-safe: use a Synchroniser to ensure thread safety
> the Mockery is not thread-safe: use a Synchroniser to ensure thread safety
> the Mockery is not thread-safe: use a Synchroniser to ensure thread safety
> the Mockery is not thread-safe: use a Synchroniser to ensure thread safety
> the Mockery is not thread-safe: use a Synchroniser to ensure thread safety
> the Mockery is not thread-safe: use a Synchroniser to ensure thread safety
>
> Results :
>
>
>
> init_when_preDestroyMultiple(org.apache.isis.core.metamodel.specloader.ServiceInitializerTest):
> (..)
>
>
> init_when_postConstructMultiple(org.apache.isis.core.metamodel.specloader.ServiceInitializerTest):
> (..)
>
> Tests run: 1031, Failures: 2, Errors: 0, Skipped: 7
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Isis Core .................................. SUCCESS [5.771s]
> [INFO] Isis Core Unit Test Support ....................... SUCCESS [7.929s]
> [INFO] Isis Core AppLib .................................. SUCCESS
> [11.223s]
> [INFO] Isis Core Log4j Impls ............................. SUCCESS [2.891s]
> [INFO] Isis Core MetaModel ............................... FAILURE
> [21.899s]
> [
>
>
> On Sun, Oct 13, 2013 at 8:33 PM, Jeroen van der Wal <jeroen@stromboli.it
> >wrote:
>
> > Hi James,
> > If you don't want to change the Isis code to have Maven ignore the
> failing
> > test but still want to build Isis from source you could skip all tests
> [1]
> > until this issue is resolved.
> >
> > [1] mvn clean install -Dskiptests
> >
> > Jeroen
> >
> > On Sun, Oct 13, 2013 at 8:48 PM, Dan Haywood
> > <da...@haywood-associates.co.uk>wrote:
> >
> > > Alongside the @Test of the failing tests. Make sure it is the
> > > org.junit.Ignore, not the Isis one in the applib.
> > >
> > > I take it you do my site tests., then :-)?
> > >
> > > Sorry to be brief, sent from my phone
> > > On 13 Oct 2013 19:07, "james agada" <ok...@gmail.com> wrote:
> > >
> > > > Where exactly am i to place the @Ignore?
> > > >
> > > >
> > > > On Fri, Oct 11, 2013 at 4:07 PM, Dan Haywood
> > > > <da...@haywood-associates.co.uk>wrote:
> > > >
> > > > > Nice!  I guess running a different JVM is altering the order of the
> > > > methods
> > > > > being found.
> > > > >
> > > > > Could you raise a ticket (attach the above stacktrace) and I'll do
> a
> > > > quick
> > > > > fix.
> > > > >
> > > > > In the meantime, suggest you add an @Ignore to your local copy of
> the
> > > > > failing test(s), so you aren't blocked.
> > > > >
> > > > > Thx
> > > > > Dan
> > > > >
> > > > >
> > > > >
> > > > > On 11 October 2013 16:02, james agada <ok...@gmail.com>
> wrote:
> > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> -------------------------------------------------------------------------------
> > > > > > Test set:
> > > > > org.apache.isis.core.metamodel.specloader.ServiceInitializerTest
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> -------------------------------------------------------------------------------
> > > > > > Tests run: 7, Failures: 2, Errors: 0, Skipped: 0, Time elapsed:
> > 0.504
> > > > sec
> > > > > > <<< FAILURE!
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> init_when_preDestroyMultiple(org.apache.isis.core.metamodel.specloader.ServiceInitializerTest)
> > > > > >  Time elapsed: 0.009 sec  <<< FAILURE!
> > > > > > java.lang.AssertionError:
> > > > > > Expected: exception with message a string containing "Found more
> > than
> > > > one
> > > > > > @PreDestroy method; service is:
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest$DomainServiceWithMultiplePreDestroy,
> > > > > > found x and y"
> > > > > >      but: message was "Found more than one @PreDestroy method;
> > > service
> > > > > is:
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest$DomainServiceWithMultiplePreDestroy,
> > > > > > found y and x"
> > > > > > Stacktrace was: java.lang.RuntimeException: Found more than one
> > > > > @PreDestroy
> > > > > > method; service is:
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest$DomainServiceWithMultiplePreDestroy,
> > > > > > found y and x
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializer.init(ServiceInitializer.java:98)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest.init_when_preDestroyMultiple(ServiceInitializerTest.java:165)
> > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
> > > > > > at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.isis.core.unittestsupport.jmocking.JUnitRuleMockery2$1.evaluate(JUnitRuleMockery2.java:149)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:168)
> > > > > > at org.junit.rules.RunRules.evaluate(RunRules.java:20)
> > > > > > at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
> > > > > > at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> > > > > > at
> org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> > > > > > at
> > org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> > > > > > at
> org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> > > > > > at
> org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> > > > > > at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
> > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
> > > > > > at
> > > > >
> > >
> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> > > > > >
> > > > > > at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
> > > > > > at org.junit.Assert.assertThat(Assert.java:865)
> > > > > > at org.junit.Assert.assertThat(Assert.java:832)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.rules.ExpectedException.handleException(ExpectedException.java:198)
> > > > > > at
> > > > >
> > org.junit.rules.ExpectedException.access$500(ExpectedException.java:85)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:177)
> > > > > > at org.junit.rules.RunRules.evaluate(RunRules.java:20)
> > > > > > at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
> > > > > > at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> > > > > > at
> org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> > > > > > at
> > org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> > > > > > at
> org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> > > > > > at
> org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> > > > > > at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
> > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
> > > > > > at
> > > > >
> > >
> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> init_when_postConstructMultiple(org.apache.isis.core.metamodel.specloader.ServiceInitializerTest)
> > > > > >  Time elapsed: 0.004 sec  <<< FAILURE!
> > > > > > java.lang.AssertionError:
> > > > > > Expected: exception with message a string containing "Found more
> > than
> > > > one
> > > > > > @PostConstruct method; service is:
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest$DomainServiceWithMultiplePostConstruct,
> > > > > > found x and y"
> > > > > >      but: message was "Found more than one @PostConstruct method;
> > > > service
> > > > > > is:
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest$DomainServiceWithMultiplePostConstruct,
> > > > > > found y and x"
> > > > > > Stacktrace was: java.lang.RuntimeException: Found more than one
> > > > > > @PostConstruct method; service is:
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest$DomainServiceWithMultiplePostConstruct,
> > > > > > found y and x
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializer.init(ServiceInitializer.java:72)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest.init_when_postConstructMultiple(ServiceInitializerTest.java:145)
> > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
> > > > > > at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.isis.core.unittestsupport.jmocking.JUnitRuleMockery2$1.evaluate(JUnitRuleMockery2.java:149)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:168)
> > > > > > at org.junit.rules.RunRules.evaluate(RunRules.java:20)
> > > > > > at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
> > > > > > at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> > > > > > at
> org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> > > > > > at
> > org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> > > > > > at
> org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> > > > > > at
> org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> > > > > > at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
> > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
> > > > > > at
> > > > >
> > >
> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> > > > > >
> > > > > > at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
> > > > > > at org.junit.Assert.assertThat(Assert.java:865)
> > > > > > at org.junit.Assert.assertThat(Assert.java:832)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.rules.ExpectedException.handleException(ExpectedException.java:198)
> > > > > > at
> > > > >
> > org.junit.rules.ExpectedException.access$500(ExpectedException.java:85)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:177)
> > > > > > at org.junit.rules.RunRules.evaluate(RunRules.java:20)
> > > > > > at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
> > > > > > at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> > > > > > at
> org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> > > > > > at
> > org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> > > > > > at
> org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> > > > > > at
> org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> > > > > > at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
> > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
> > > > > > at
> > > > >
> > >
> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> > > > > >
> > > > > >
> > > > > >
> > > > > > On Fri, Oct 11, 2013 at 3:37 PM, Dan Haywood
> > > > > > <da...@haywood-associates.co.uk>wrote:
> > > > > >
> > > > > > > What are the test errors?  locate the files in
> > isis-core-metamodel/
> > > > > > > target/surefire-reports.
> > > > > > >
> > > > > > > And/or run the tests for that module in Eclipse JUnit... it's
> > > easier
> > > > to
> > > > > > see
> > > > > > > any test failures that way.
> > > > > > >
> > > > > > > Our CI build is green, so it's probably some sort of local
> > glitch.
> > > >  Or,
> > > > > > it
> > > > > > > might be a new i18n issue that hasn't yet come to light
> > elsewhere.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > On 11 October 2013 15:17, james agada <ok...@gmail.com>
> > > wrote:
> > > > > > >
> > > > > > > > I cloned the repository today and tried to rebuild from
> > source. I
> > > > am
> > > > > > > > getting the error
> > > > > > > > >
> > > > > > > > > [ERROR] Failed to execute goal
> > > > > > > > >> org.apache.maven.plugins:maven-surefire-plugin:2.12:test
> > > > > > > (default-test)
> > > > > > > > on
> > > > > > > > >> project isis-core-metamodel: There are test failures.
> > > > > > > > >
> > > > > > > > > [ERROR]
> > > > > > > > >
> > > > > > > > > [ERROR] Please refer to
> > > > > > > > >>
> > /Users/jamesagada/isis/core/metamodel/target/surefire-reports
> > > > for
> > > > > > the
> > > > > > > > >> individual test results.
> > > > > > > > >
> > > > > > > > > [ERROR] -> [Help 1]
> > > > > > > > >
> > > > > > > > > org.apache.maven.lifecycle.LifecycleExecutionException:
> > Failed
> > > to
> > > > > > > execute
> > > > > > > > >> goal
> > org.apache.maven.plugins:maven-surefire-plugin:2.12:test
> > > > > > > > >> (default-test) on project isis-core-metamodel: There are
> > test
> > > > > > > failures.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >> Please refer to
> > > > > > > > >>
> > /Users/jamesagada/isis/core/metamodel/target/surefire-reports
> > > > for
> > > > > > the
> > > > > > > > >> individual test results.
> > > > > > > > >
> > > > > > > > > at
> > > > > > > > >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
> > > > > > > > >
> > > > > > > > > at
> > > > > > > > >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> > > > > > > > >
> > > > > > > > > at
> > > > > > > > >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> > > > > > > > >
> > > > > > > > > at
> > > > > > > > >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
> > > > > > > > >
> > > > > > > > > at
> > > > > > > > >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> > > > > > > > >
> > > > > > > > > at
> > > > > > > > >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> > > > > > > > >
> > > > > > > > > at
> > > > > > > > >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> > > > > > > > >
> > > > > > > > > at
> > > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
> > > > > > > > >
> > > > > > > > > at
> > org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> > > > > > > > >
> > > > > > > > > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
> > > > > > > > >
> > > > > > > > > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
> > > > > > > > >
> > > > > > > > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
> > > > > > > > >
> > > > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > Method)
> > > > > > > > >
> > > > > > > > > at
> > > > > > > > >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > > > > >
> > > > > > > > > at
> > > > > > > > >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > > > >
> > > > > > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > > > > > >
> > > > > > > > > at
> > > > > > > > >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
> > > > > > > > >
> > > > > > > > > at
> > > > > > > > >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
> > > > > > > > >
> > > > > > > > > at
> > > > > > > > >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
> > > > > > > > >
> > > > > > > > > at
> > > > > > > > >>
> > > > > > > >
> > > > > >
> > > >
> > org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> > > > > > > > >
> > > > > > > > > Caused by: org.apache.maven.plugin.MojoFailureException:
> > There
> > > > are
> > > > > > test
> > > > > > > > >> failures.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >> Please refer to
> > > > > > > > >>
> > /Users/jamesagada/isis/core/metamodel/target/surefire-reports
> > > > for
> > > > > > the
> > > > > > > > >> individual test results.
> > > > > > > > >
> > > > > > > > > at
> > > > > > > > >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:83)
> > > > > > > > >
> > > > > > > > > at
> > > > > > > > >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.plugin.surefire.SurefirePlugin.writeSummary(SurefirePlugin.java:673)
> > > > > > > > >
> > > > > > > > > at
> > > > > > > > >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(SurefirePlugin.java:647)
> > > > > > > > >
> > > > > > > > > at
> > > > > > > > >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:137)
> > > > > > > > >
> > > > > > > > > at
> > > > > > > > >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:98)
> > > > > > > > >
> > > > > > > > > at
> > > > > > > > >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> > > > > > > > >
> > > > > > > > > at
> > > > > > > > >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> > > > > > > > >
> > > > > > > > > ... 19 more
> > > > > > > > >
> > > > > > > > > [ERROR]
> > > > > > > > >
> > > > > > > > > [ERROR]
> > > > > > > > >
> > > > > > > > > [ERROR] For more information about the errors and possible
> > > > > solutions,
> > > > > > > > >> please read the following articles:
> > > > > > > > >
> > > > > > > > > [ERROR] [Help 1]
> > > > > > > > >>
> > > > > >
> > > http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> > > > > > > > >
> > > > > > > > > [ERROR]
> > > > > > > > >
> > > > > > > > > [ERROR] After correcting the problems, you can resume the
> > build
> > > > > with
> > > > > > > the
> > > > > > > > >> command
> > > > > > > > >
> > > > > > > > > [ERROR]   mvn <goals> -rf :isis-core-metamodel
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > I am not sure what is going on. Anyone knows?
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Re: Error building from source

Posted by james agada <ok...@gmail.com>.
Thanks for the hint but still no luck.
------------------------------------------------------
 T E S T S
-------------------------------------------------------
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further
details.
the Mockery is not thread-safe: use a Synchroniser to ensure thread safety
the Mockery is not thread-safe: use a Synchroniser to ensure thread safety
the Mockery is not thread-safe: use a Synchroniser to ensure thread safety
the Mockery is not thread-safe: use a Synchroniser to ensure thread safety
the Mockery is not thread-safe: use a Synchroniser to ensure thread safety
the Mockery is not thread-safe: use a Synchroniser to ensure thread safety
the Mockery is not thread-safe: use a Synchroniser to ensure thread safety
the Mockery is not thread-safe: use a Synchroniser to ensure thread safety
the Mockery is not thread-safe: use a Synchroniser to ensure thread safety
the Mockery is not thread-safe: use a Synchroniser to ensure thread safety
the Mockery is not thread-safe: use a Synchroniser to ensure thread safety
the Mockery is not thread-safe: use a Synchroniser to ensure thread safety
the Mockery is not thread-safe: use a Synchroniser to ensure thread safety
the Mockery is not thread-safe: use a Synchroniser to ensure thread safety
the Mockery is not thread-safe: use a Synchroniser to ensure thread safety
the Mockery is not thread-safe: use a Synchroniser to ensure thread safety
the Mockery is not thread-safe: use a Synchroniser to ensure thread safety
the Mockery is not thread-safe: use a Synchroniser to ensure thread safety
the Mockery is not thread-safe: use a Synchroniser to ensure thread safety
the Mockery is not thread-safe: use a Synchroniser to ensure thread safety
the Mockery is not thread-safe: use a Synchroniser to ensure thread safety
the Mockery is not thread-safe: use a Synchroniser to ensure thread safety

Results :


init_when_preDestroyMultiple(org.apache.isis.core.metamodel.specloader.ServiceInitializerTest):
(..)

init_when_postConstructMultiple(org.apache.isis.core.metamodel.specloader.ServiceInitializerTest):
(..)

Tests run: 1031, Failures: 2, Errors: 0, Skipped: 7

[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Isis Core .................................. SUCCESS [5.771s]
[INFO] Isis Core Unit Test Support ....................... SUCCESS [7.929s]
[INFO] Isis Core AppLib .................................. SUCCESS [11.223s]
[INFO] Isis Core Log4j Impls ............................. SUCCESS [2.891s]
[INFO] Isis Core MetaModel ............................... FAILURE [21.899s]
[


On Sun, Oct 13, 2013 at 8:33 PM, Jeroen van der Wal <je...@stromboli.it>wrote:

> Hi James,
> If you don't want to change the Isis code to have Maven ignore the failing
> test but still want to build Isis from source you could skip all tests [1]
> until this issue is resolved.
>
> [1] mvn clean install -Dskiptests
>
> Jeroen
>
> On Sun, Oct 13, 2013 at 8:48 PM, Dan Haywood
> <da...@haywood-associates.co.uk>wrote:
>
> > Alongside the @Test of the failing tests. Make sure it is the
> > org.junit.Ignore, not the Isis one in the applib.
> >
> > I take it you do my site tests., then :-)?
> >
> > Sorry to be brief, sent from my phone
> > On 13 Oct 2013 19:07, "james agada" <ok...@gmail.com> wrote:
> >
> > > Where exactly am i to place the @Ignore?
> > >
> > >
> > > On Fri, Oct 11, 2013 at 4:07 PM, Dan Haywood
> > > <da...@haywood-associates.co.uk>wrote:
> > >
> > > > Nice!  I guess running a different JVM is altering the order of the
> > > methods
> > > > being found.
> > > >
> > > > Could you raise a ticket (attach the above stacktrace) and I'll do a
> > > quick
> > > > fix.
> > > >
> > > > In the meantime, suggest you add an @Ignore to your local copy of the
> > > > failing test(s), so you aren't blocked.
> > > >
> > > > Thx
> > > > Dan
> > > >
> > > >
> > > >
> > > > On 11 October 2013 16:02, james agada <ok...@gmail.com> wrote:
> > > >
> > > > >
> > > > >
> > > >
> > >
> >
> -------------------------------------------------------------------------------
> > > > > Test set:
> > > > org.apache.isis.core.metamodel.specloader.ServiceInitializerTest
> > > > >
> > > > >
> > > >
> > >
> >
> -------------------------------------------------------------------------------
> > > > > Tests run: 7, Failures: 2, Errors: 0, Skipped: 0, Time elapsed:
> 0.504
> > > sec
> > > > > <<< FAILURE!
> > > > >
> > > > >
> > > >
> > >
> >
> init_when_preDestroyMultiple(org.apache.isis.core.metamodel.specloader.ServiceInitializerTest)
> > > > >  Time elapsed: 0.009 sec  <<< FAILURE!
> > > > > java.lang.AssertionError:
> > > > > Expected: exception with message a string containing "Found more
> than
> > > one
> > > > > @PreDestroy method; service is:
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest$DomainServiceWithMultiplePreDestroy,
> > > > > found x and y"
> > > > >      but: message was "Found more than one @PreDestroy method;
> > service
> > > > is:
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest$DomainServiceWithMultiplePreDestroy,
> > > > > found y and x"
> > > > > Stacktrace was: java.lang.RuntimeException: Found more than one
> > > > @PreDestroy
> > > > > method; service is:
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest$DomainServiceWithMultiplePreDestroy,
> > > > > found y and x
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializer.init(ServiceInitializer.java:98)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest.init_when_preDestroyMultiple(ServiceInitializerTest.java:165)
> > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
> > > > > at
> > > > >
> > > >
> > >
> >
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.isis.core.unittestsupport.jmocking.JUnitRuleMockery2$1.evaluate(JUnitRuleMockery2.java:149)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:168)
> > > > > at org.junit.rules.RunRules.evaluate(RunRules.java:20)
> > > > > at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
> > > > > at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> > > > > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> > > > > at
> org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> > > > > at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> > > > > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> > > > > at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
> > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
> > > > > at
> > > >
> > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> > > > >
> > > > > at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
> > > > > at org.junit.Assert.assertThat(Assert.java:865)
> > > > > at org.junit.Assert.assertThat(Assert.java:832)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.junit.rules.ExpectedException.handleException(ExpectedException.java:198)
> > > > > at
> > > >
> org.junit.rules.ExpectedException.access$500(ExpectedException.java:85)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:177)
> > > > > at org.junit.rules.RunRules.evaluate(RunRules.java:20)
> > > > > at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
> > > > > at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> > > > > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> > > > > at
> org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> > > > > at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> > > > > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> > > > > at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
> > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
> > > > > at
> > > >
> > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> > > > >
> > > > >
> > > >
> > >
> >
> init_when_postConstructMultiple(org.apache.isis.core.metamodel.specloader.ServiceInitializerTest)
> > > > >  Time elapsed: 0.004 sec  <<< FAILURE!
> > > > > java.lang.AssertionError:
> > > > > Expected: exception with message a string containing "Found more
> than
> > > one
> > > > > @PostConstruct method; service is:
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest$DomainServiceWithMultiplePostConstruct,
> > > > > found x and y"
> > > > >      but: message was "Found more than one @PostConstruct method;
> > > service
> > > > > is:
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest$DomainServiceWithMultiplePostConstruct,
> > > > > found y and x"
> > > > > Stacktrace was: java.lang.RuntimeException: Found more than one
> > > > > @PostConstruct method; service is:
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest$DomainServiceWithMultiplePostConstruct,
> > > > > found y and x
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializer.init(ServiceInitializer.java:72)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest.init_when_postConstructMultiple(ServiceInitializerTest.java:145)
> > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
> > > > > at
> > > > >
> > > >
> > >
> >
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.isis.core.unittestsupport.jmocking.JUnitRuleMockery2$1.evaluate(JUnitRuleMockery2.java:149)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:168)
> > > > > at org.junit.rules.RunRules.evaluate(RunRules.java:20)
> > > > > at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
> > > > > at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> > > > > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> > > > > at
> org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> > > > > at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> > > > > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> > > > > at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
> > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
> > > > > at
> > > >
> > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> > > > >
> > > > > at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
> > > > > at org.junit.Assert.assertThat(Assert.java:865)
> > > > > at org.junit.Assert.assertThat(Assert.java:832)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.junit.rules.ExpectedException.handleException(ExpectedException.java:198)
> > > > > at
> > > >
> org.junit.rules.ExpectedException.access$500(ExpectedException.java:85)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:177)
> > > > > at org.junit.rules.RunRules.evaluate(RunRules.java:20)
> > > > > at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
> > > > > at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> > > > > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> > > > > at
> org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> > > > > at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> > > > > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> > > > > at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
> > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> > > > > at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
> > > > > at
> > > >
> > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> > > > >
> > > > >
> > > > >
> > > > > On Fri, Oct 11, 2013 at 3:37 PM, Dan Haywood
> > > > > <da...@haywood-associates.co.uk>wrote:
> > > > >
> > > > > > What are the test errors?  locate the files in
> isis-core-metamodel/
> > > > > > target/surefire-reports.
> > > > > >
> > > > > > And/or run the tests for that module in Eclipse JUnit... it's
> > easier
> > > to
> > > > > see
> > > > > > any test failures that way.
> > > > > >
> > > > > > Our CI build is green, so it's probably some sort of local
> glitch.
> > >  Or,
> > > > > it
> > > > > > might be a new i18n issue that hasn't yet come to light
> elsewhere.
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > On 11 October 2013 15:17, james agada <ok...@gmail.com>
> > wrote:
> > > > > >
> > > > > > > I cloned the repository today and tried to rebuild from
> source. I
> > > am
> > > > > > > getting the error
> > > > > > > >
> > > > > > > > [ERROR] Failed to execute goal
> > > > > > > >> org.apache.maven.plugins:maven-surefire-plugin:2.12:test
> > > > > > (default-test)
> > > > > > > on
> > > > > > > >> project isis-core-metamodel: There are test failures.
> > > > > > > >
> > > > > > > > [ERROR]
> > > > > > > >
> > > > > > > > [ERROR] Please refer to
> > > > > > > >>
> /Users/jamesagada/isis/core/metamodel/target/surefire-reports
> > > for
> > > > > the
> > > > > > > >> individual test results.
> > > > > > > >
> > > > > > > > [ERROR] -> [Help 1]
> > > > > > > >
> > > > > > > > org.apache.maven.lifecycle.LifecycleExecutionException:
> Failed
> > to
> > > > > > execute
> > > > > > > >> goal
> org.apache.maven.plugins:maven-surefire-plugin:2.12:test
> > > > > > > >> (default-test) on project isis-core-metamodel: There are
> test
> > > > > > failures.
> > > > > > > >
> > > > > > > >
> > > > > > > >> Please refer to
> > > > > > > >>
> /Users/jamesagada/isis/core/metamodel/target/surefire-reports
> > > for
> > > > > the
> > > > > > > >> individual test results.
> > > > > > > >
> > > > > > > > at
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
> > > > > > > >
> > > > > > > > at
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> > > > > > > >
> > > > > > > > at
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> > > > > > > >
> > > > > > > > at
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
> > > > > > > >
> > > > > > > > at
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> > > > > > > >
> > > > > > > > at
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> > > > > > > >
> > > > > > > > at
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> > > > > > > >
> > > > > > > > at
> > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
> > > > > > > >
> > > > > > > > at
> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> > > > > > > >
> > > > > > > > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
> > > > > > > >
> > > > > > > > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
> > > > > > > >
> > > > > > > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
> > > > > > > >
> > > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> > > > > > > >
> > > > > > > > at
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > > > >
> > > > > > > > at
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > > >
> > > > > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > > > > >
> > > > > > > > at
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
> > > > > > > >
> > > > > > > > at
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
> > > > > > > >
> > > > > > > > at
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
> > > > > > > >
> > > > > > > > at
> > > > > > > >>
> > > > > > >
> > > > >
> > >
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> > > > > > > >
> > > > > > > > Caused by: org.apache.maven.plugin.MojoFailureException:
> There
> > > are
> > > > > test
> > > > > > > >> failures.
> > > > > > > >
> > > > > > > >
> > > > > > > >> Please refer to
> > > > > > > >>
> /Users/jamesagada/isis/core/metamodel/target/surefire-reports
> > > for
> > > > > the
> > > > > > > >> individual test results.
> > > > > > > >
> > > > > > > > at
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:83)
> > > > > > > >
> > > > > > > > at
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.plugin.surefire.SurefirePlugin.writeSummary(SurefirePlugin.java:673)
> > > > > > > >
> > > > > > > > at
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(SurefirePlugin.java:647)
> > > > > > > >
> > > > > > > > at
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:137)
> > > > > > > >
> > > > > > > > at
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:98)
> > > > > > > >
> > > > > > > > at
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> > > > > > > >
> > > > > > > > at
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> > > > > > > >
> > > > > > > > ... 19 more
> > > > > > > >
> > > > > > > > [ERROR]
> > > > > > > >
> > > > > > > > [ERROR]
> > > > > > > >
> > > > > > > > [ERROR] For more information about the errors and possible
> > > > solutions,
> > > > > > > >> please read the following articles:
> > > > > > > >
> > > > > > > > [ERROR] [Help 1]
> > > > > > > >>
> > > > >
> > http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> > > > > > > >
> > > > > > > > [ERROR]
> > > > > > > >
> > > > > > > > [ERROR] After correcting the problems, you can resume the
> build
> > > > with
> > > > > > the
> > > > > > > >> command
> > > > > > > >
> > > > > > > > [ERROR]   mvn <goals> -rf :isis-core-metamodel
> > > > > > > >
> > > > > > > >
> > > > > > > > I am not sure what is going on. Anyone knows?
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Re: Error building from source

Posted by Jeroen van der Wal <je...@stromboli.it>.
Hi James,
If you don't want to change the Isis code to have Maven ignore the failing
test but still want to build Isis from source you could skip all tests [1]
until this issue is resolved.

[1] mvn clean install -Dskiptests

Jeroen

On Sun, Oct 13, 2013 at 8:48 PM, Dan Haywood
<da...@haywood-associates.co.uk>wrote:

> Alongside the @Test of the failing tests. Make sure it is the
> org.junit.Ignore, not the Isis one in the applib.
>
> I take it you do my site tests., then :-)?
>
> Sorry to be brief, sent from my phone
> On 13 Oct 2013 19:07, "james agada" <ok...@gmail.com> wrote:
>
> > Where exactly am i to place the @Ignore?
> >
> >
> > On Fri, Oct 11, 2013 at 4:07 PM, Dan Haywood
> > <da...@haywood-associates.co.uk>wrote:
> >
> > > Nice!  I guess running a different JVM is altering the order of the
> > methods
> > > being found.
> > >
> > > Could you raise a ticket (attach the above stacktrace) and I'll do a
> > quick
> > > fix.
> > >
> > > In the meantime, suggest you add an @Ignore to your local copy of the
> > > failing test(s), so you aren't blocked.
> > >
> > > Thx
> > > Dan
> > >
> > >
> > >
> > > On 11 October 2013 16:02, james agada <ok...@gmail.com> wrote:
> > >
> > > >
> > > >
> > >
> >
> -------------------------------------------------------------------------------
> > > > Test set:
> > > org.apache.isis.core.metamodel.specloader.ServiceInitializerTest
> > > >
> > > >
> > >
> >
> -------------------------------------------------------------------------------
> > > > Tests run: 7, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.504
> > sec
> > > > <<< FAILURE!
> > > >
> > > >
> > >
> >
> init_when_preDestroyMultiple(org.apache.isis.core.metamodel.specloader.ServiceInitializerTest)
> > > >  Time elapsed: 0.009 sec  <<< FAILURE!
> > > > java.lang.AssertionError:
> > > > Expected: exception with message a string containing "Found more than
> > one
> > > > @PreDestroy method; service is:
> > > >
> > > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest$DomainServiceWithMultiplePreDestroy,
> > > > found x and y"
> > > >      but: message was "Found more than one @PreDestroy method;
> service
> > > is:
> > > >
> > > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest$DomainServiceWithMultiplePreDestroy,
> > > > found y and x"
> > > > Stacktrace was: java.lang.RuntimeException: Found more than one
> > > @PreDestroy
> > > > method; service is:
> > > >
> > > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest$DomainServiceWithMultiplePreDestroy,
> > > > found y and x
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializer.init(ServiceInitializer.java:98)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest.init_when_preDestroyMultiple(ServiceInitializerTest.java:165)
> > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > at
> > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > at
> > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > at
> > > >
> > > >
> > >
> >
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
> > > > at
> > > >
> > > >
> > >
> >
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> > > > at
> > > >
> > > >
> > >
> >
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
> > > > at
> > > >
> > > >
> > >
> >
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> > > > at
> > > >
> > > >
> > >
> >
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
> > > > at
> > > >
> > >
> >
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.isis.core.unittestsupport.jmocking.JUnitRuleMockery2$1.evaluate(JUnitRuleMockery2.java:149)
> > > > at
> > > >
> > > >
> > >
> >
> org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:168)
> > > > at org.junit.rules.RunRules.evaluate(RunRules.java:20)
> > > > at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> > > > at
> > > >
> > > >
> > >
> >
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
> > > > at
> > > >
> > > >
> > >
> >
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
> > > > at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> > > > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> > > > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> > > > at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> > > > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> > > > at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
> > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > at
> > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > at
> > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
> > > > at
> > >
> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> > > >
> > > > at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
> > > > at org.junit.Assert.assertThat(Assert.java:865)
> > > > at org.junit.Assert.assertThat(Assert.java:832)
> > > > at
> > > >
> > > >
> > >
> >
> org.junit.rules.ExpectedException.handleException(ExpectedException.java:198)
> > > > at
> > > org.junit.rules.ExpectedException.access$500(ExpectedException.java:85)
> > > > at
> > > >
> > > >
> > >
> >
> org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:177)
> > > > at org.junit.rules.RunRules.evaluate(RunRules.java:20)
> > > > at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> > > > at
> > > >
> > > >
> > >
> >
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
> > > > at
> > > >
> > > >
> > >
> >
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
> > > > at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> > > > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> > > > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> > > > at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> > > > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> > > > at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
> > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > at
> > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > at
> > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
> > > > at
> > >
> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> > > >
> > > >
> > >
> >
> init_when_postConstructMultiple(org.apache.isis.core.metamodel.specloader.ServiceInitializerTest)
> > > >  Time elapsed: 0.004 sec  <<< FAILURE!
> > > > java.lang.AssertionError:
> > > > Expected: exception with message a string containing "Found more than
> > one
> > > > @PostConstruct method; service is:
> > > >
> > > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest$DomainServiceWithMultiplePostConstruct,
> > > > found x and y"
> > > >      but: message was "Found more than one @PostConstruct method;
> > service
> > > > is:
> > > >
> > > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest$DomainServiceWithMultiplePostConstruct,
> > > > found y and x"
> > > > Stacktrace was: java.lang.RuntimeException: Found more than one
> > > > @PostConstruct method; service is:
> > > >
> > > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest$DomainServiceWithMultiplePostConstruct,
> > > > found y and x
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializer.init(ServiceInitializer.java:72)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest.init_when_postConstructMultiple(ServiceInitializerTest.java:145)
> > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > at
> > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > at
> > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > at
> > > >
> > > >
> > >
> >
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
> > > > at
> > > >
> > > >
> > >
> >
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> > > > at
> > > >
> > > >
> > >
> >
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
> > > > at
> > > >
> > > >
> > >
> >
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> > > > at
> > > >
> > > >
> > >
> >
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
> > > > at
> > > >
> > >
> >
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.isis.core.unittestsupport.jmocking.JUnitRuleMockery2$1.evaluate(JUnitRuleMockery2.java:149)
> > > > at
> > > >
> > > >
> > >
> >
> org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:168)
> > > > at org.junit.rules.RunRules.evaluate(RunRules.java:20)
> > > > at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> > > > at
> > > >
> > > >
> > >
> >
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
> > > > at
> > > >
> > > >
> > >
> >
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
> > > > at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> > > > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> > > > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> > > > at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> > > > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> > > > at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
> > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > at
> > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > at
> > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
> > > > at
> > >
> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> > > >
> > > > at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
> > > > at org.junit.Assert.assertThat(Assert.java:865)
> > > > at org.junit.Assert.assertThat(Assert.java:832)
> > > > at
> > > >
> > > >
> > >
> >
> org.junit.rules.ExpectedException.handleException(ExpectedException.java:198)
> > > > at
> > > org.junit.rules.ExpectedException.access$500(ExpectedException.java:85)
> > > > at
> > > >
> > > >
> > >
> >
> org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:177)
> > > > at org.junit.rules.RunRules.evaluate(RunRules.java:20)
> > > > at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> > > > at
> > > >
> > > >
> > >
> >
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
> > > > at
> > > >
> > > >
> > >
> >
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
> > > > at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> > > > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> > > > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> > > > at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> > > > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> > > > at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
> > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > at
> > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > at
> > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
> > > > at
> > >
> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> > > >
> > > >
> > > >
> > > > On Fri, Oct 11, 2013 at 3:37 PM, Dan Haywood
> > > > <da...@haywood-associates.co.uk>wrote:
> > > >
> > > > > What are the test errors?  locate the files in isis-core-metamodel/
> > > > > target/surefire-reports.
> > > > >
> > > > > And/or run the tests for that module in Eclipse JUnit... it's
> easier
> > to
> > > > see
> > > > > any test failures that way.
> > > > >
> > > > > Our CI build is green, so it's probably some sort of local glitch.
> >  Or,
> > > > it
> > > > > might be a new i18n issue that hasn't yet come to light elsewhere.
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > On 11 October 2013 15:17, james agada <ok...@gmail.com>
> wrote:
> > > > >
> > > > > > I cloned the repository today and tried to rebuild from source. I
> > am
> > > > > > getting the error
> > > > > > >
> > > > > > > [ERROR] Failed to execute goal
> > > > > > >> org.apache.maven.plugins:maven-surefire-plugin:2.12:test
> > > > > (default-test)
> > > > > > on
> > > > > > >> project isis-core-metamodel: There are test failures.
> > > > > > >
> > > > > > > [ERROR]
> > > > > > >
> > > > > > > [ERROR] Please refer to
> > > > > > >> /Users/jamesagada/isis/core/metamodel/target/surefire-reports
> > for
> > > > the
> > > > > > >> individual test results.
> > > > > > >
> > > > > > > [ERROR] -> [Help 1]
> > > > > > >
> > > > > > > org.apache.maven.lifecycle.LifecycleExecutionException: Failed
> to
> > > > > execute
> > > > > > >> goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test
> > > > > > >> (default-test) on project isis-core-metamodel: There are test
> > > > > failures.
> > > > > > >
> > > > > > >
> > > > > > >> Please refer to
> > > > > > >> /Users/jamesagada/isis/core/metamodel/target/surefire-reports
> > for
> > > > the
> > > > > > >> individual test results.
> > > > > > >
> > > > > > > at
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
> > > > > > >
> > > > > > > at
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> > > > > > >
> > > > > > > at
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> > > > > > >
> > > > > > > at
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
> > > > > > >
> > > > > > > at
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> > > > > > >
> > > > > > > at
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> > > > > > >
> > > > > > > at
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> > > > > > >
> > > > > > > at
> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
> > > > > > >
> > > > > > > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> > > > > > >
> > > > > > > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
> > > > > > >
> > > > > > > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
> > > > > > >
> > > > > > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
> > > > > > >
> > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > > > >
> > > > > > > at
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > > >
> > > > > > > at
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > >
> > > > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > > > >
> > > > > > > at
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
> > > > > > >
> > > > > > > at
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
> > > > > > >
> > > > > > > at
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
> > > > > > >
> > > > > > > at
> > > > > > >>
> > > > > >
> > > >
> > org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> > > > > > >
> > > > > > > Caused by: org.apache.maven.plugin.MojoFailureException: There
> > are
> > > > test
> > > > > > >> failures.
> > > > > > >
> > > > > > >
> > > > > > >> Please refer to
> > > > > > >> /Users/jamesagada/isis/core/metamodel/target/surefire-reports
> > for
> > > > the
> > > > > > >> individual test results.
> > > > > > >
> > > > > > > at
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:83)
> > > > > > >
> > > > > > > at
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.plugin.surefire.SurefirePlugin.writeSummary(SurefirePlugin.java:673)
> > > > > > >
> > > > > > > at
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(SurefirePlugin.java:647)
> > > > > > >
> > > > > > > at
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:137)
> > > > > > >
> > > > > > > at
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:98)
> > > > > > >
> > > > > > > at
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> > > > > > >
> > > > > > > at
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> > > > > > >
> > > > > > > ... 19 more
> > > > > > >
> > > > > > > [ERROR]
> > > > > > >
> > > > > > > [ERROR]
> > > > > > >
> > > > > > > [ERROR] For more information about the errors and possible
> > > solutions,
> > > > > > >> please read the following articles:
> > > > > > >
> > > > > > > [ERROR] [Help 1]
> > > > > > >>
> > > >
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> > > > > > >
> > > > > > > [ERROR]
> > > > > > >
> > > > > > > [ERROR] After correcting the problems, you can resume the build
> > > with
> > > > > the
> > > > > > >> command
> > > > > > >
> > > > > > > [ERROR]   mvn <goals> -rf :isis-core-metamodel
> > > > > > >
> > > > > > >
> > > > > > > I am not sure what is going on. Anyone knows?
> > > > > >
> > > > >
> > > >
> > >
> >
>

Re: Error building from source

Posted by Dan Haywood <da...@haywood-associates.co.uk>.
Alongside the @Test of the failing tests. Make sure it is the
org.junit.Ignore, not the Isis one in the applib.

I take it you do my site tests., then :-)?

Sorry to be brief, sent from my phone
On 13 Oct 2013 19:07, "james agada" <ok...@gmail.com> wrote:

> Where exactly am i to place the @Ignore?
>
>
> On Fri, Oct 11, 2013 at 4:07 PM, Dan Haywood
> <da...@haywood-associates.co.uk>wrote:
>
> > Nice!  I guess running a different JVM is altering the order of the
> methods
> > being found.
> >
> > Could you raise a ticket (attach the above stacktrace) and I'll do a
> quick
> > fix.
> >
> > In the meantime, suggest you add an @Ignore to your local copy of the
> > failing test(s), so you aren't blocked.
> >
> > Thx
> > Dan
> >
> >
> >
> > On 11 October 2013 16:02, james agada <ok...@gmail.com> wrote:
> >
> > >
> > >
> >
> -------------------------------------------------------------------------------
> > > Test set:
> > org.apache.isis.core.metamodel.specloader.ServiceInitializerTest
> > >
> > >
> >
> -------------------------------------------------------------------------------
> > > Tests run: 7, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.504
> sec
> > > <<< FAILURE!
> > >
> > >
> >
> init_when_preDestroyMultiple(org.apache.isis.core.metamodel.specloader.ServiceInitializerTest)
> > >  Time elapsed: 0.009 sec  <<< FAILURE!
> > > java.lang.AssertionError:
> > > Expected: exception with message a string containing "Found more than
> one
> > > @PreDestroy method; service is:
> > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest$DomainServiceWithMultiplePreDestroy,
> > > found x and y"
> > >      but: message was "Found more than one @PreDestroy method; service
> > is:
> > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest$DomainServiceWithMultiplePreDestroy,
> > > found y and x"
> > > Stacktrace was: java.lang.RuntimeException: Found more than one
> > @PreDestroy
> > > method; service is:
> > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest$DomainServiceWithMultiplePreDestroy,
> > > found y and x
> > > at
> > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializer.init(ServiceInitializer.java:98)
> > > at
> > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest.init_when_preDestroyMultiple(ServiceInitializerTest.java:165)
> > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > at
> > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > at
> > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > at
> > >
> > >
> >
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
> > > at
> > >
> > >
> >
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> > > at
> > >
> > >
> >
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
> > > at
> > >
> > >
> >
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> > > at
> > >
> > >
> >
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
> > > at
> > >
> >
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
> > > at
> > >
> > >
> >
> org.apache.isis.core.unittestsupport.jmocking.JUnitRuleMockery2$1.evaluate(JUnitRuleMockery2.java:149)
> > > at
> > >
> > >
> >
> org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:168)
> > > at org.junit.rules.RunRules.evaluate(RunRules.java:20)
> > > at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> > > at
> > >
> > >
> >
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
> > > at
> > >
> > >
> >
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
> > > at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> > > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> > > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> > > at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> > > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> > > at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> > > at
> > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
> > > at
> > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
> > > at
> > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
> > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > at
> > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > at
> > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > at
> > >
> > >
> >
> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> > > at
> > >
> > >
> >
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> > > at
> > >
> > >
> >
> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> > > at
> > >
> > >
> >
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
> > > at
> > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> > >
> > > at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
> > > at org.junit.Assert.assertThat(Assert.java:865)
> > > at org.junit.Assert.assertThat(Assert.java:832)
> > > at
> > >
> > >
> >
> org.junit.rules.ExpectedException.handleException(ExpectedException.java:198)
> > > at
> > org.junit.rules.ExpectedException.access$500(ExpectedException.java:85)
> > > at
> > >
> > >
> >
> org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:177)
> > > at org.junit.rules.RunRules.evaluate(RunRules.java:20)
> > > at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> > > at
> > >
> > >
> >
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
> > > at
> > >
> > >
> >
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
> > > at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> > > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> > > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> > > at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> > > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> > > at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> > > at
> > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
> > > at
> > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
> > > at
> > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
> > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > at
> > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > at
> > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > at
> > >
> > >
> >
> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> > > at
> > >
> > >
> >
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> > > at
> > >
> > >
> >
> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> > > at
> > >
> > >
> >
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
> > > at
> > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> > >
> > >
> >
> init_when_postConstructMultiple(org.apache.isis.core.metamodel.specloader.ServiceInitializerTest)
> > >  Time elapsed: 0.004 sec  <<< FAILURE!
> > > java.lang.AssertionError:
> > > Expected: exception with message a string containing "Found more than
> one
> > > @PostConstruct method; service is:
> > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest$DomainServiceWithMultiplePostConstruct,
> > > found x and y"
> > >      but: message was "Found more than one @PostConstruct method;
> service
> > > is:
> > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest$DomainServiceWithMultiplePostConstruct,
> > > found y and x"
> > > Stacktrace was: java.lang.RuntimeException: Found more than one
> > > @PostConstruct method; service is:
> > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest$DomainServiceWithMultiplePostConstruct,
> > > found y and x
> > > at
> > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializer.init(ServiceInitializer.java:72)
> > > at
> > >
> > >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest.init_when_postConstructMultiple(ServiceInitializerTest.java:145)
> > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > at
> > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > at
> > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > at
> > >
> > >
> >
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
> > > at
> > >
> > >
> >
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> > > at
> > >
> > >
> >
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
> > > at
> > >
> > >
> >
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> > > at
> > >
> > >
> >
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
> > > at
> > >
> >
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
> > > at
> > >
> > >
> >
> org.apache.isis.core.unittestsupport.jmocking.JUnitRuleMockery2$1.evaluate(JUnitRuleMockery2.java:149)
> > > at
> > >
> > >
> >
> org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:168)
> > > at org.junit.rules.RunRules.evaluate(RunRules.java:20)
> > > at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> > > at
> > >
> > >
> >
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
> > > at
> > >
> > >
> >
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
> > > at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> > > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> > > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> > > at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> > > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> > > at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> > > at
> > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
> > > at
> > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
> > > at
> > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
> > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > at
> > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > at
> > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > at
> > >
> > >
> >
> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> > > at
> > >
> > >
> >
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> > > at
> > >
> > >
> >
> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> > > at
> > >
> > >
> >
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
> > > at
> > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> > >
> > > at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
> > > at org.junit.Assert.assertThat(Assert.java:865)
> > > at org.junit.Assert.assertThat(Assert.java:832)
> > > at
> > >
> > >
> >
> org.junit.rules.ExpectedException.handleException(ExpectedException.java:198)
> > > at
> > org.junit.rules.ExpectedException.access$500(ExpectedException.java:85)
> > > at
> > >
> > >
> >
> org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:177)
> > > at org.junit.rules.RunRules.evaluate(RunRules.java:20)
> > > at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> > > at
> > >
> > >
> >
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
> > > at
> > >
> > >
> >
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
> > > at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> > > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> > > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> > > at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> > > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> > > at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> > > at
> > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
> > > at
> > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
> > > at
> > >
> > >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
> > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > at
> > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > at
> > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > at
> > >
> > >
> >
> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> > > at
> > >
> > >
> >
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> > > at
> > >
> > >
> >
> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> > > at
> > >
> > >
> >
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
> > > at
> > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> > >
> > >
> > >
> > > On Fri, Oct 11, 2013 at 3:37 PM, Dan Haywood
> > > <da...@haywood-associates.co.uk>wrote:
> > >
> > > > What are the test errors?  locate the files in isis-core-metamodel/
> > > > target/surefire-reports.
> > > >
> > > > And/or run the tests for that module in Eclipse JUnit... it's easier
> to
> > > see
> > > > any test failures that way.
> > > >
> > > > Our CI build is green, so it's probably some sort of local glitch.
>  Or,
> > > it
> > > > might be a new i18n issue that hasn't yet come to light elsewhere.
> > > >
> > > >
> > > >
> > > >
> > > > On 11 October 2013 15:17, james agada <ok...@gmail.com> wrote:
> > > >
> > > > > I cloned the repository today and tried to rebuild from source. I
> am
> > > > > getting the error
> > > > > >
> > > > > > [ERROR] Failed to execute goal
> > > > > >> org.apache.maven.plugins:maven-surefire-plugin:2.12:test
> > > > (default-test)
> > > > > on
> > > > > >> project isis-core-metamodel: There are test failures.
> > > > > >
> > > > > > [ERROR]
> > > > > >
> > > > > > [ERROR] Please refer to
> > > > > >> /Users/jamesagada/isis/core/metamodel/target/surefire-reports
> for
> > > the
> > > > > >> individual test results.
> > > > > >
> > > > > > [ERROR] -> [Help 1]
> > > > > >
> > > > > > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
> > > > execute
> > > > > >> goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test
> > > > > >> (default-test) on project isis-core-metamodel: There are test
> > > > failures.
> > > > > >
> > > > > >
> > > > > >> Please refer to
> > > > > >> /Users/jamesagada/isis/core/metamodel/target/surefire-reports
> for
> > > the
> > > > > >> individual test results.
> > > > > >
> > > > > > at
> > > > > >>
> > > > >
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
> > > > > >
> > > > > > at
> > > > > >>
> > > > >
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> > > > > >
> > > > > > at
> > > > > >>
> > > > >
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> > > > > >
> > > > > > at
> > > > > >>
> > > > >
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
> > > > > >
> > > > > > at
> > > > > >>
> > > > >
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> > > > > >
> > > > > > at
> > > > > >>
> > > > >
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> > > > > >
> > > > > > at
> > > > > >>
> > > > >
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> > > > > >
> > > > > > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
> > > > > >
> > > > > > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> > > > > >
> > > > > > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
> > > > > >
> > > > > > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
> > > > > >
> > > > > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
> > > > > >
> > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > > >
> > > > > > at
> > > > > >>
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > >
> > > > > > at
> > > > > >>
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > >
> > > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > > >
> > > > > > at
> > > > > >>
> > > > >
> > > >
> > >
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
> > > > > >
> > > > > > at
> > > > > >>
> > > > >
> > > >
> > >
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
> > > > > >
> > > > > > at
> > > > > >>
> > > > >
> > > >
> > >
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
> > > > > >
> > > > > > at
> > > > > >>
> > > > >
> > >
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> > > > > >
> > > > > > Caused by: org.apache.maven.plugin.MojoFailureException: There
> are
> > > test
> > > > > >> failures.
> > > > > >
> > > > > >
> > > > > >> Please refer to
> > > > > >> /Users/jamesagada/isis/core/metamodel/target/surefire-reports
> for
> > > the
> > > > > >> individual test results.
> > > > > >
> > > > > > at
> > > > > >>
> > > > >
> > > >
> > >
> >
> org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:83)
> > > > > >
> > > > > > at
> > > > > >>
> > > > >
> > > >
> > >
> >
> org.apache.maven.plugin.surefire.SurefirePlugin.writeSummary(SurefirePlugin.java:673)
> > > > > >
> > > > > > at
> > > > > >>
> > > > >
> > > >
> > >
> >
> org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(SurefirePlugin.java:647)
> > > > > >
> > > > > > at
> > > > > >>
> > > > >
> > > >
> > >
> >
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:137)
> > > > > >
> > > > > > at
> > > > > >>
> > > > >
> > > >
> > >
> >
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:98)
> > > > > >
> > > > > > at
> > > > > >>
> > > > >
> > > >
> > >
> >
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> > > > > >
> > > > > > at
> > > > > >>
> > > > >
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> > > > > >
> > > > > > ... 19 more
> > > > > >
> > > > > > [ERROR]
> > > > > >
> > > > > > [ERROR]
> > > > > >
> > > > > > [ERROR] For more information about the errors and possible
> > solutions,
> > > > > >> please read the following articles:
> > > > > >
> > > > > > [ERROR] [Help 1]
> > > > > >>
> > > http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> > > > > >
> > > > > > [ERROR]
> > > > > >
> > > > > > [ERROR] After correcting the problems, you can resume the build
> > with
> > > > the
> > > > > >> command
> > > > > >
> > > > > > [ERROR]   mvn <goals> -rf :isis-core-metamodel
> > > > > >
> > > > > >
> > > > > > I am not sure what is going on. Anyone knows?
> > > > >
> > > >
> > >
> >
>

Re: Error building from source

Posted by james agada <ok...@gmail.com>.
Where exactly am i to place the @Ignore?


On Fri, Oct 11, 2013 at 4:07 PM, Dan Haywood
<da...@haywood-associates.co.uk>wrote:

> Nice!  I guess running a different JVM is altering the order of the methods
> being found.
>
> Could you raise a ticket (attach the above stacktrace) and I'll do a quick
> fix.
>
> In the meantime, suggest you add an @Ignore to your local copy of the
> failing test(s), so you aren't blocked.
>
> Thx
> Dan
>
>
>
> On 11 October 2013 16:02, james agada <ok...@gmail.com> wrote:
>
> >
> >
> -------------------------------------------------------------------------------
> > Test set:
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest
> >
> >
> -------------------------------------------------------------------------------
> > Tests run: 7, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.504 sec
> > <<< FAILURE!
> >
> >
> init_when_preDestroyMultiple(org.apache.isis.core.metamodel.specloader.ServiceInitializerTest)
> >  Time elapsed: 0.009 sec  <<< FAILURE!
> > java.lang.AssertionError:
> > Expected: exception with message a string containing "Found more than one
> > @PreDestroy method; service is:
> >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest$DomainServiceWithMultiplePreDestroy,
> > found x and y"
> >      but: message was "Found more than one @PreDestroy method; service
> is:
> >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest$DomainServiceWithMultiplePreDestroy,
> > found y and x"
> > Stacktrace was: java.lang.RuntimeException: Found more than one
> @PreDestroy
> > method; service is:
> >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest$DomainServiceWithMultiplePreDestroy,
> > found y and x
> > at
> >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializer.init(ServiceInitializer.java:98)
> > at
> >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest.init_when_preDestroyMultiple(ServiceInitializerTest.java:165)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > at
> >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > at java.lang.reflect.Method.invoke(Method.java:597)
> > at
> >
> >
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
> > at
> >
> >
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> > at
> >
> >
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
> > at
> >
> >
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> > at
> >
> >
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
> > at
> >
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
> > at
> >
> >
> org.apache.isis.core.unittestsupport.jmocking.JUnitRuleMockery2$1.evaluate(JUnitRuleMockery2.java:149)
> > at
> >
> >
> org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:168)
> > at org.junit.rules.RunRules.evaluate(RunRules.java:20)
> > at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> > at
> >
> >
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
> > at
> >
> >
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
> > at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> > at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> > at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> > at
> >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
> > at
> >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
> > at
> >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > at
> >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > at java.lang.reflect.Method.invoke(Method.java:597)
> > at
> >
> >
> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> > at
> >
> >
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> > at
> >
> >
> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> > at
> >
> >
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
> > at
> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> >
> > at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
> > at org.junit.Assert.assertThat(Assert.java:865)
> > at org.junit.Assert.assertThat(Assert.java:832)
> > at
> >
> >
> org.junit.rules.ExpectedException.handleException(ExpectedException.java:198)
> > at
> org.junit.rules.ExpectedException.access$500(ExpectedException.java:85)
> > at
> >
> >
> org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:177)
> > at org.junit.rules.RunRules.evaluate(RunRules.java:20)
> > at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> > at
> >
> >
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
> > at
> >
> >
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
> > at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> > at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> > at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> > at
> >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
> > at
> >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
> > at
> >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > at
> >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > at java.lang.reflect.Method.invoke(Method.java:597)
> > at
> >
> >
> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> > at
> >
> >
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> > at
> >
> >
> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> > at
> >
> >
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
> > at
> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> >
> >
> init_when_postConstructMultiple(org.apache.isis.core.metamodel.specloader.ServiceInitializerTest)
> >  Time elapsed: 0.004 sec  <<< FAILURE!
> > java.lang.AssertionError:
> > Expected: exception with message a string containing "Found more than one
> > @PostConstruct method; service is:
> >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest$DomainServiceWithMultiplePostConstruct,
> > found x and y"
> >      but: message was "Found more than one @PostConstruct method; service
> > is:
> >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest$DomainServiceWithMultiplePostConstruct,
> > found y and x"
> > Stacktrace was: java.lang.RuntimeException: Found more than one
> > @PostConstruct method; service is:
> >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest$DomainServiceWithMultiplePostConstruct,
> > found y and x
> > at
> >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializer.init(ServiceInitializer.java:72)
> > at
> >
> >
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest.init_when_postConstructMultiple(ServiceInitializerTest.java:145)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > at
> >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > at java.lang.reflect.Method.invoke(Method.java:597)
> > at
> >
> >
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
> > at
> >
> >
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> > at
> >
> >
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
> > at
> >
> >
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> > at
> >
> >
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
> > at
> >
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
> > at
> >
> >
> org.apache.isis.core.unittestsupport.jmocking.JUnitRuleMockery2$1.evaluate(JUnitRuleMockery2.java:149)
> > at
> >
> >
> org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:168)
> > at org.junit.rules.RunRules.evaluate(RunRules.java:20)
> > at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> > at
> >
> >
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
> > at
> >
> >
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
> > at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> > at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> > at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> > at
> >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
> > at
> >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
> > at
> >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > at
> >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > at java.lang.reflect.Method.invoke(Method.java:597)
> > at
> >
> >
> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> > at
> >
> >
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> > at
> >
> >
> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> > at
> >
> >
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
> > at
> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> >
> > at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
> > at org.junit.Assert.assertThat(Assert.java:865)
> > at org.junit.Assert.assertThat(Assert.java:832)
> > at
> >
> >
> org.junit.rules.ExpectedException.handleException(ExpectedException.java:198)
> > at
> org.junit.rules.ExpectedException.access$500(ExpectedException.java:85)
> > at
> >
> >
> org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:177)
> > at org.junit.rules.RunRules.evaluate(RunRules.java:20)
> > at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> > at
> >
> >
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
> > at
> >
> >
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
> > at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> > at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> > at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> > at
> >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
> > at
> >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
> > at
> >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > at
> >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > at java.lang.reflect.Method.invoke(Method.java:597)
> > at
> >
> >
> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> > at
> >
> >
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> > at
> >
> >
> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> > at
> >
> >
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
> > at
> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> >
> >
> >
> > On Fri, Oct 11, 2013 at 3:37 PM, Dan Haywood
> > <da...@haywood-associates.co.uk>wrote:
> >
> > > What are the test errors?  locate the files in isis-core-metamodel/
> > > target/surefire-reports.
> > >
> > > And/or run the tests for that module in Eclipse JUnit... it's easier to
> > see
> > > any test failures that way.
> > >
> > > Our CI build is green, so it's probably some sort of local glitch.  Or,
> > it
> > > might be a new i18n issue that hasn't yet come to light elsewhere.
> > >
> > >
> > >
> > >
> > > On 11 October 2013 15:17, james agada <ok...@gmail.com> wrote:
> > >
> > > > I cloned the repository today and tried to rebuild from source. I am
> > > > getting the error
> > > > >
> > > > > [ERROR] Failed to execute goal
> > > > >> org.apache.maven.plugins:maven-surefire-plugin:2.12:test
> > > (default-test)
> > > > on
> > > > >> project isis-core-metamodel: There are test failures.
> > > > >
> > > > > [ERROR]
> > > > >
> > > > > [ERROR] Please refer to
> > > > >> /Users/jamesagada/isis/core/metamodel/target/surefire-reports for
> > the
> > > > >> individual test results.
> > > > >
> > > > > [ERROR] -> [Help 1]
> > > > >
> > > > > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
> > > execute
> > > > >> goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test
> > > > >> (default-test) on project isis-core-metamodel: There are test
> > > failures.
> > > > >
> > > > >
> > > > >> Please refer to
> > > > >> /Users/jamesagada/isis/core/metamodel/target/surefire-reports for
> > the
> > > > >> individual test results.
> > > > >
> > > > > at
> > > > >>
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
> > > > >
> > > > > at
> > > > >>
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> > > > >
> > > > > at
> > > > >>
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> > > > >
> > > > > at
> > > > >>
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
> > > > >
> > > > > at
> > > > >>
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> > > > >
> > > > > at
> > > > >>
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> > > > >
> > > > > at
> > > > >>
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> > > > >
> > > > > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
> > > > >
> > > > > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> > > > >
> > > > > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
> > > > >
> > > > > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
> > > > >
> > > > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
> > > > >
> > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > >
> > > > > at
> > > > >>
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > >
> > > > > at
> > > > >>
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > >
> > > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > > >
> > > > > at
> > > > >>
> > > >
> > >
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
> > > > >
> > > > > at
> > > > >>
> > > >
> > >
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
> > > > >
> > > > > at
> > > > >>
> > > >
> > >
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
> > > > >
> > > > > at
> > > > >>
> > > >
> > org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> > > > >
> > > > > Caused by: org.apache.maven.plugin.MojoFailureException: There are
> > test
> > > > >> failures.
> > > > >
> > > > >
> > > > >> Please refer to
> > > > >> /Users/jamesagada/isis/core/metamodel/target/surefire-reports for
> > the
> > > > >> individual test results.
> > > > >
> > > > > at
> > > > >>
> > > >
> > >
> >
> org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:83)
> > > > >
> > > > > at
> > > > >>
> > > >
> > >
> >
> org.apache.maven.plugin.surefire.SurefirePlugin.writeSummary(SurefirePlugin.java:673)
> > > > >
> > > > > at
> > > > >>
> > > >
> > >
> >
> org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(SurefirePlugin.java:647)
> > > > >
> > > > > at
> > > > >>
> > > >
> > >
> >
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:137)
> > > > >
> > > > > at
> > > > >>
> > > >
> > >
> >
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:98)
> > > > >
> > > > > at
> > > > >>
> > > >
> > >
> >
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> > > > >
> > > > > at
> > > > >>
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> > > > >
> > > > > ... 19 more
> > > > >
> > > > > [ERROR]
> > > > >
> > > > > [ERROR]
> > > > >
> > > > > [ERROR] For more information about the errors and possible
> solutions,
> > > > >> please read the following articles:
> > > > >
> > > > > [ERROR] [Help 1]
> > > > >>
> > http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> > > > >
> > > > > [ERROR]
> > > > >
> > > > > [ERROR] After correcting the problems, you can resume the build
> with
> > > the
> > > > >> command
> > > > >
> > > > > [ERROR]   mvn <goals> -rf :isis-core-metamodel
> > > > >
> > > > >
> > > > > I am not sure what is going on. Anyone knows?
> > > >
> > >
> >
>

Re: Error building from source

Posted by Dan Haywood <da...@haywood-associates.co.uk>.
Nice!  I guess running a different JVM is altering the order of the methods
being found.

Could you raise a ticket (attach the above stacktrace) and I'll do a quick
fix.

In the meantime, suggest you add an @Ignore to your local copy of the
failing test(s), so you aren't blocked.

Thx
Dan



On 11 October 2013 16:02, james agada <ok...@gmail.com> wrote:

>
> -------------------------------------------------------------------------------
> Test set: org.apache.isis.core.metamodel.specloader.ServiceInitializerTest
>
> -------------------------------------------------------------------------------
> Tests run: 7, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.504 sec
> <<< FAILURE!
>
> init_when_preDestroyMultiple(org.apache.isis.core.metamodel.specloader.ServiceInitializerTest)
>  Time elapsed: 0.009 sec  <<< FAILURE!
> java.lang.AssertionError:
> Expected: exception with message a string containing "Found more than one
> @PreDestroy method; service is:
>
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest$DomainServiceWithMultiplePreDestroy,
> found x and y"
>      but: message was "Found more than one @PreDestroy method; service is:
>
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest$DomainServiceWithMultiplePreDestroy,
> found y and x"
> Stacktrace was: java.lang.RuntimeException: Found more than one @PreDestroy
> method; service is:
>
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest$DomainServiceWithMultiplePreDestroy,
> found y and x
> at
>
> org.apache.isis.core.metamodel.specloader.ServiceInitializer.init(ServiceInitializer.java:98)
> at
>
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest.init_when_preDestroyMultiple(ServiceInitializerTest.java:165)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
>
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
> at
>
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> at
>
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
> at
>
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> at
>
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
> at
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
> at
>
> org.apache.isis.core.unittestsupport.jmocking.JUnitRuleMockery2$1.evaluate(JUnitRuleMockery2.java:149)
> at
>
> org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:168)
> at org.junit.rules.RunRules.evaluate(RunRules.java:20)
> at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> at
>
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
> at
>
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> at
>
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
> at
>
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
> at
>
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
>
> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> at
>
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> at
>
> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> at
>
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
> at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
>
> at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
> at org.junit.Assert.assertThat(Assert.java:865)
> at org.junit.Assert.assertThat(Assert.java:832)
> at
>
> org.junit.rules.ExpectedException.handleException(ExpectedException.java:198)
> at org.junit.rules.ExpectedException.access$500(ExpectedException.java:85)
> at
>
> org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:177)
> at org.junit.rules.RunRules.evaluate(RunRules.java:20)
> at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> at
>
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
> at
>
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> at
>
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
> at
>
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
> at
>
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
>
> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> at
>
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> at
>
> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> at
>
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
> at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
>
> init_when_postConstructMultiple(org.apache.isis.core.metamodel.specloader.ServiceInitializerTest)
>  Time elapsed: 0.004 sec  <<< FAILURE!
> java.lang.AssertionError:
> Expected: exception with message a string containing "Found more than one
> @PostConstruct method; service is:
>
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest$DomainServiceWithMultiplePostConstruct,
> found x and y"
>      but: message was "Found more than one @PostConstruct method; service
> is:
>
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest$DomainServiceWithMultiplePostConstruct,
> found y and x"
> Stacktrace was: java.lang.RuntimeException: Found more than one
> @PostConstruct method; service is:
>
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest$DomainServiceWithMultiplePostConstruct,
> found y and x
> at
>
> org.apache.isis.core.metamodel.specloader.ServiceInitializer.init(ServiceInitializer.java:72)
> at
>
> org.apache.isis.core.metamodel.specloader.ServiceInitializerTest.init_when_postConstructMultiple(ServiceInitializerTest.java:145)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
>
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
> at
>
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> at
>
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
> at
>
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> at
>
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
> at
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
> at
>
> org.apache.isis.core.unittestsupport.jmocking.JUnitRuleMockery2$1.evaluate(JUnitRuleMockery2.java:149)
> at
>
> org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:168)
> at org.junit.rules.RunRules.evaluate(RunRules.java:20)
> at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> at
>
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
> at
>
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> at
>
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
> at
>
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
> at
>
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
>
> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> at
>
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> at
>
> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> at
>
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
> at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
>
> at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
> at org.junit.Assert.assertThat(Assert.java:865)
> at org.junit.Assert.assertThat(Assert.java:832)
> at
>
> org.junit.rules.ExpectedException.handleException(ExpectedException.java:198)
> at org.junit.rules.ExpectedException.access$500(ExpectedException.java:85)
> at
>
> org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:177)
> at org.junit.rules.RunRules.evaluate(RunRules.java:20)
> at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> at
>
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
> at
>
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> at
>
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
> at
>
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
> at
>
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
>
> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> at
>
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> at
>
> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> at
>
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
> at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
>
>
>
> On Fri, Oct 11, 2013 at 3:37 PM, Dan Haywood
> <da...@haywood-associates.co.uk>wrote:
>
> > What are the test errors?  locate the files in isis-core-metamodel/
> > target/surefire-reports.
> >
> > And/or run the tests for that module in Eclipse JUnit... it's easier to
> see
> > any test failures that way.
> >
> > Our CI build is green, so it's probably some sort of local glitch.  Or,
> it
> > might be a new i18n issue that hasn't yet come to light elsewhere.
> >
> >
> >
> >
> > On 11 October 2013 15:17, james agada <ok...@gmail.com> wrote:
> >
> > > I cloned the repository today and tried to rebuild from source. I am
> > > getting the error
> > > >
> > > > [ERROR] Failed to execute goal
> > > >> org.apache.maven.plugins:maven-surefire-plugin:2.12:test
> > (default-test)
> > > on
> > > >> project isis-core-metamodel: There are test failures.
> > > >
> > > > [ERROR]
> > > >
> > > > [ERROR] Please refer to
> > > >> /Users/jamesagada/isis/core/metamodel/target/surefire-reports for
> the
> > > >> individual test results.
> > > >
> > > > [ERROR] -> [Help 1]
> > > >
> > > > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
> > execute
> > > >> goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test
> > > >> (default-test) on project isis-core-metamodel: There are test
> > failures.
> > > >
> > > >
> > > >> Please refer to
> > > >> /Users/jamesagada/isis/core/metamodel/target/surefire-reports for
> the
> > > >> individual test results.
> > > >
> > > > at
> > > >>
> > >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
> > > >
> > > > at
> > > >>
> > >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> > > >
> > > > at
> > > >>
> > >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> > > >
> > > > at
> > > >>
> > >
> >
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
> > > >
> > > > at
> > > >>
> > >
> >
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> > > >
> > > > at
> > > >>
> > >
> >
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> > > >
> > > > at
> > > >>
> > >
> >
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> > > >
> > > > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
> > > >
> > > > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> > > >
> > > > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
> > > >
> > > > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
> > > >
> > > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
> > > >
> > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > >
> > > > at
> > > >>
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > >
> > > > at
> > > >>
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > >
> > > > at java.lang.reflect.Method.invoke(Method.java:597)
> > > >
> > > > at
> > > >>
> > >
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
> > > >
> > > > at
> > > >>
> > >
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
> > > >
> > > > at
> > > >>
> > >
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
> > > >
> > > > at
> > > >>
> > >
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> > > >
> > > > Caused by: org.apache.maven.plugin.MojoFailureException: There are
> test
> > > >> failures.
> > > >
> > > >
> > > >> Please refer to
> > > >> /Users/jamesagada/isis/core/metamodel/target/surefire-reports for
> the
> > > >> individual test results.
> > > >
> > > > at
> > > >>
> > >
> >
> org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:83)
> > > >
> > > > at
> > > >>
> > >
> >
> org.apache.maven.plugin.surefire.SurefirePlugin.writeSummary(SurefirePlugin.java:673)
> > > >
> > > > at
> > > >>
> > >
> >
> org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(SurefirePlugin.java:647)
> > > >
> > > > at
> > > >>
> > >
> >
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:137)
> > > >
> > > > at
> > > >>
> > >
> >
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:98)
> > > >
> > > > at
> > > >>
> > >
> >
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> > > >
> > > > at
> > > >>
> > >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> > > >
> > > > ... 19 more
> > > >
> > > > [ERROR]
> > > >
> > > > [ERROR]
> > > >
> > > > [ERROR] For more information about the errors and possible solutions,
> > > >> please read the following articles:
> > > >
> > > > [ERROR] [Help 1]
> > > >>
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> > > >
> > > > [ERROR]
> > > >
> > > > [ERROR] After correcting the problems, you can resume the build with
> > the
> > > >> command
> > > >
> > > > [ERROR]   mvn <goals> -rf :isis-core-metamodel
> > > >
> > > >
> > > > I am not sure what is going on. Anyone knows?
> > >
> >
>

Re: Error building from source

Posted by james agada <ok...@gmail.com>.
-------------------------------------------------------------------------------
Test set: org.apache.isis.core.metamodel.specloader.ServiceInitializerTest
-------------------------------------------------------------------------------
Tests run: 7, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.504 sec
<<< FAILURE!
init_when_preDestroyMultiple(org.apache.isis.core.metamodel.specloader.ServiceInitializerTest)
 Time elapsed: 0.009 sec  <<< FAILURE!
java.lang.AssertionError:
Expected: exception with message a string containing "Found more than one
@PreDestroy method; service is:
org.apache.isis.core.metamodel.specloader.ServiceInitializerTest$DomainServiceWithMultiplePreDestroy,
found x and y"
     but: message was "Found more than one @PreDestroy method; service is:
org.apache.isis.core.metamodel.specloader.ServiceInitializerTest$DomainServiceWithMultiplePreDestroy,
found y and x"
Stacktrace was: java.lang.RuntimeException: Found more than one @PreDestroy
method; service is:
org.apache.isis.core.metamodel.specloader.ServiceInitializerTest$DomainServiceWithMultiplePreDestroy,
found y and x
at
org.apache.isis.core.metamodel.specloader.ServiceInitializer.init(ServiceInitializer.java:98)
at
org.apache.isis.core.metamodel.specloader.ServiceInitializerTest.init_when_preDestroyMultiple(ServiceInitializerTest.java:165)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at
org.apache.isis.core.unittestsupport.jmocking.JUnitRuleMockery2$1.evaluate(JUnitRuleMockery2.java:149)
at
org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:168)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
at
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
at
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at
org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at
org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)

at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
at org.junit.Assert.assertThat(Assert.java:865)
at org.junit.Assert.assertThat(Assert.java:832)
at
org.junit.rules.ExpectedException.handleException(ExpectedException.java:198)
at org.junit.rules.ExpectedException.access$500(ExpectedException.java:85)
at
org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:177)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
at
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
at
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at
org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at
org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
init_when_postConstructMultiple(org.apache.isis.core.metamodel.specloader.ServiceInitializerTest)
 Time elapsed: 0.004 sec  <<< FAILURE!
java.lang.AssertionError:
Expected: exception with message a string containing "Found more than one
@PostConstruct method; service is:
org.apache.isis.core.metamodel.specloader.ServiceInitializerTest$DomainServiceWithMultiplePostConstruct,
found x and y"
     but: message was "Found more than one @PostConstruct method; service
is:
org.apache.isis.core.metamodel.specloader.ServiceInitializerTest$DomainServiceWithMultiplePostConstruct,
found y and x"
Stacktrace was: java.lang.RuntimeException: Found more than one
@PostConstruct method; service is:
org.apache.isis.core.metamodel.specloader.ServiceInitializerTest$DomainServiceWithMultiplePostConstruct,
found y and x
at
org.apache.isis.core.metamodel.specloader.ServiceInitializer.init(ServiceInitializer.java:72)
at
org.apache.isis.core.metamodel.specloader.ServiceInitializerTest.init_when_postConstructMultiple(ServiceInitializerTest.java:145)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at
org.apache.isis.core.unittestsupport.jmocking.JUnitRuleMockery2$1.evaluate(JUnitRuleMockery2.java:149)
at
org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:168)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
at
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
at
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at
org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at
org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)

at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
at org.junit.Assert.assertThat(Assert.java:865)
at org.junit.Assert.assertThat(Assert.java:832)
at
org.junit.rules.ExpectedException.handleException(ExpectedException.java:198)
at org.junit.rules.ExpectedException.access$500(ExpectedException.java:85)
at
org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:177)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
at
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
at
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at
org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at
org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)



On Fri, Oct 11, 2013 at 3:37 PM, Dan Haywood
<da...@haywood-associates.co.uk>wrote:

> What are the test errors?  locate the files in isis-core-metamodel/
> target/surefire-reports.
>
> And/or run the tests for that module in Eclipse JUnit... it's easier to see
> any test failures that way.
>
> Our CI build is green, so it's probably some sort of local glitch.  Or, it
> might be a new i18n issue that hasn't yet come to light elsewhere.
>
>
>
>
> On 11 October 2013 15:17, james agada <ok...@gmail.com> wrote:
>
> > I cloned the repository today and tried to rebuild from source. I am
> > getting the error
> > >
> > > [ERROR] Failed to execute goal
> > >> org.apache.maven.plugins:maven-surefire-plugin:2.12:test
> (default-test)
> > on
> > >> project isis-core-metamodel: There are test failures.
> > >
> > > [ERROR]
> > >
> > > [ERROR] Please refer to
> > >> /Users/jamesagada/isis/core/metamodel/target/surefire-reports for the
> > >> individual test results.
> > >
> > > [ERROR] -> [Help 1]
> > >
> > > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
> execute
> > >> goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test
> > >> (default-test) on project isis-core-metamodel: There are test
> failures.
> > >
> > >
> > >> Please refer to
> > >> /Users/jamesagada/isis/core/metamodel/target/surefire-reports for the
> > >> individual test results.
> > >
> > > at
> > >>
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
> > >
> > > at
> > >>
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> > >
> > > at
> > >>
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> > >
> > > at
> > >>
> >
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
> > >
> > > at
> > >>
> >
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> > >
> > > at
> > >>
> >
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> > >
> > > at
> > >>
> >
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> > >
> > > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
> > >
> > > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> > >
> > > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
> > >
> > > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
> > >
> > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
> > >
> > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > >
> > > at
> > >>
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > >
> > > at
> > >>
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > >
> > > at java.lang.reflect.Method.invoke(Method.java:597)
> > >
> > > at
> > >>
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
> > >
> > > at
> > >>
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
> > >
> > > at
> > >>
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
> > >
> > > at
> > >>
> > org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> > >
> > > Caused by: org.apache.maven.plugin.MojoFailureException: There are test
> > >> failures.
> > >
> > >
> > >> Please refer to
> > >> /Users/jamesagada/isis/core/metamodel/target/surefire-reports for the
> > >> individual test results.
> > >
> > > at
> > >>
> >
> org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:83)
> > >
> > > at
> > >>
> >
> org.apache.maven.plugin.surefire.SurefirePlugin.writeSummary(SurefirePlugin.java:673)
> > >
> > > at
> > >>
> >
> org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(SurefirePlugin.java:647)
> > >
> > > at
> > >>
> >
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:137)
> > >
> > > at
> > >>
> >
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:98)
> > >
> > > at
> > >>
> >
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> > >
> > > at
> > >>
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> > >
> > > ... 19 more
> > >
> > > [ERROR]
> > >
> > > [ERROR]
> > >
> > > [ERROR] For more information about the errors and possible solutions,
> > >> please read the following articles:
> > >
> > > [ERROR] [Help 1]
> > >> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> > >
> > > [ERROR]
> > >
> > > [ERROR] After correcting the problems, you can resume the build with
> the
> > >> command
> > >
> > > [ERROR]   mvn <goals> -rf :isis-core-metamodel
> > >
> > >
> > > I am not sure what is going on. Anyone knows?
> >
>

Re: Error building from source

Posted by Dan Haywood <da...@haywood-associates.co.uk>.
What are the test errors?  locate the files in isis-core-metamodel/
target/surefire-reports.

And/or run the tests for that module in Eclipse JUnit... it's easier to see
any test failures that way.

Our CI build is green, so it's probably some sort of local glitch.  Or, it
might be a new i18n issue that hasn't yet come to light elsewhere.




On 11 October 2013 15:17, james agada <ok...@gmail.com> wrote:

> I cloned the repository today and tried to rebuild from source. I am
> getting the error
> >
> > [ERROR] Failed to execute goal
> >> org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test)
> on
> >> project isis-core-metamodel: There are test failures.
> >
> > [ERROR]
> >
> > [ERROR] Please refer to
> >> /Users/jamesagada/isis/core/metamodel/target/surefire-reports for the
> >> individual test results.
> >
> > [ERROR] -> [Help 1]
> >
> > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> >> goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test
> >> (default-test) on project isis-core-metamodel: There are test failures.
> >
> >
> >> Please refer to
> >> /Users/jamesagada/isis/core/metamodel/target/surefire-reports for the
> >> individual test results.
> >
> > at
> >>
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
> >
> > at
> >>
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> >
> > at
> >>
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> >
> > at
> >>
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
> >
> > at
> >>
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> >
> > at
> >>
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> >
> > at
> >>
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> >
> > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
> >
> > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> >
> > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
> >
> > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
> >
> > at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
> >
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >
> > at
> >>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >
> > at
> >>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >
> > at java.lang.reflect.Method.invoke(Method.java:597)
> >
> > at
> >>
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
> >
> > at
> >>
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
> >
> > at
> >>
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
> >
> > at
> >>
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> >
> > Caused by: org.apache.maven.plugin.MojoFailureException: There are test
> >> failures.
> >
> >
> >> Please refer to
> >> /Users/jamesagada/isis/core/metamodel/target/surefire-reports for the
> >> individual test results.
> >
> > at
> >>
> org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:83)
> >
> > at
> >>
> org.apache.maven.plugin.surefire.SurefirePlugin.writeSummary(SurefirePlugin.java:673)
> >
> > at
> >>
> org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(SurefirePlugin.java:647)
> >
> > at
> >>
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:137)
> >
> > at
> >>
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:98)
> >
> > at
> >>
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> >
> > at
> >>
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> >
> > ... 19 more
> >
> > [ERROR]
> >
> > [ERROR]
> >
> > [ERROR] For more information about the errors and possible solutions,
> >> please read the following articles:
> >
> > [ERROR] [Help 1]
> >> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> >
> > [ERROR]
> >
> > [ERROR] After correcting the problems, you can resume the build with the
> >> command
> >
> > [ERROR]   mvn <goals> -rf :isis-core-metamodel
> >
> >
> > I am not sure what is going on. Anyone knows?
>