So, I’ve tested with Java8 and I can reproduce the issue so we do have an issue building with Java8 that we need to fix (I’ve updated the issue).
In the meantime I recommend that you build with Java7. Thanks -Vincent On 20 Mar 2015 at 11:59:36, [email protected] ([email protected](mailto:[email protected])) wrote: > Hi again > > > On 20 Mar 2015 at 09:00:10, [email protected] > ([email protected](mailto:[email protected])) wrote: > > > Hi Amrita, > > > > Unfortunately we don’t allow attachments on this list. Please attach your > > reports to the issue you created instead. > > oops… I was wrong. We do allow small attachments. We just forbid mails that > go beyond 100K. > > So the file clearly shows that you are on RedHat (using Java 8 from Oracle) > and thus not on windows. No doubt about that :) > > I’m going to try to reproduce on java8. > > Thanks > -Vincent > > > > You didn’t answer about the windows question. > > > > Thanks > > -Vincent > > > > > > On 19 Mar 2015 at 21:09:24, Ghosh, Amrita > > ([email protected](mailto:[email protected])) wrote: > > > > > > > > Hi Vincent, > > > > > > > > > > > > > > > > > > Thanks for your response. Looks like using pastebin is prohibited in > > > Amazon, we have a similar internal tool which is not accessible from > > > outside. So I am attaching the report file > > > TEST-org.xwiki.crypto.password.internal.DefaultPrivateKeyPasswordBasedEncryptorTest.xml > > > which contains the errors. > > > > > > > > > > > > > > > > > > Thanks for your help! > > > > > > > > > > > > > > > > > > Thanks, > > > > > > > > > Amrita > > > > > > > > > > > > > > > > > > > > > From: Vincent Massol [mailto:[email protected]] On Behalf Of > > > [email protected] > > > Sent: Thursday, March 19, 2015 1:57 AM > > > To: XWiki Developers > > > Cc: Ghosh, Amrita > > > Subject: Re: [xwiki-devs] Building xwiki projects fails due to test > > > failures > > > > > > > > > > > > > > > > > > > > > > > > Hi Amrita, > > > > > > > > > > > > > > > > > > > > > > > > The errors you get really look like you’re building on Windows. Are you > > > sure you’re on linux? > > > > > > > > > > > > > > > > > > > > > > > > FYI the XWiki build is executed tens of times per day on our CI at > > > http://ci.xwiki.org > > > > > > > > > > > > > > > > > > > > > > > > Right now you can see that the commons and rendering modules are building > > > just fine so it seems the problem is with your environment. > > > > > > > > > > > > > > > > > > > > > > > > If you’re on windows it’ll fail as we have some known issues. We > > > recommend building on mac or linux machines ATM. > > > > > > > > > > > > > > > > > > > > > > > > Could you also check the content of the report files in > > > /PATH/xwiki-commons/xwiki-commons-core/xwiki-commons-crypto/xwiki-commons-crypto-password/target/surefire-reports > > > and paste them to us using pastebin or similar? > > > > > > > > > > > > > > > > > > > > > > > > Thanks > > > > > > > > > > > > -Vincent > > > > > > > > > > > > > > > On 18 Mar 2015 at 19:41:48, Ghosh, Amrita > > > ([email protected](mailto:[email protected]))(mailto:[email protected](mailto:[email protected]))) > > > wrote: > > > > > > > mvn clean install of xwiki-commons, it failing with the following > > > > message: > > > > > > > > [ERROR] Failed to execute goal > > > > org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) > > > > on project xwiki-commons-crypto-password: There are test failures. > > > > [ERROR] -> [Help 1] > > > > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to > > > > execute goal org.apache.maven.plugins:maven-surefire-plugin:2.16:test > > > > (default-test) on project xwiki-commons-crypto-password: There are test > > > > failures. > > > > > > > > Please refer to > > > > /PATH/xwiki-commons/xwiki-commons-core/xwiki-commons-crypto/xwiki-commons-crypto-password/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:320) > > > > 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:62) > > > > at > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > > > > at java.lang.reflect.Method.invoke(Method.java:483) > > > > 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 > > > > /PATH/xwiki-commons/xwiki-commons-core/xwiki-commons-crypto/xwiki-commons-crypto-password/target/surefire-reports > > > > for the individual test results. > > > > at > > > > org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:82) > > > > at > > > > org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(SurefirePlugin.java:190) > > > > at > > > > org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:852) > > > > at > > > > org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:720) > > > > at > > > > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) > > > > at > > > > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) > > > > ... 19 more > > > > > > > > Similarly, building of xwiki-rendering is failing with message: > > > > "org.apache.maven.lifecycle.LifecycleExecutionException: Failed to > > > > execute goal org.apache.maven.plugins:maven-surefire-plugin:2.16:test > > > > (default-test) on project xwiki-rendering-api: There are test > > > > failures." and building of xwiki-platform is failing with error > > > > message: "org.apache.maven.lifecycle.LifecycleExecutionException: > > > > Failed to execute goal > > > > org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) > > > > on project xwiki-platform-filter-stream-xar: There are test failures.". > > > > > > > > I could successfully build xwiki-enterprise. > > > > I am using Apache Maven 3.0.5 and Java version: 1.8.0_3. 1. I am > > > > building on linux. > > > > > > > > Using Java version 1.7 (instead of java 1.8), for xwiki-commons, 19 > > > > more reactors got built successfully and failed at reactor Extension - > > > > Repository - Maven with message: > > > > "org.apache.maven.lifecycle.LifecycleExecutionException: Failed to > > > > execute goal org.apache.maven.plugins:maven-surefire-plugin:2.16:test > > > > (default-test) on project xwiki-commons-extension-repository-maven: > > > > There are test failures." > > > > > > > > Same for xwiki-rendering. Previously with java 8 it was failing at > > > > rendering api reactor. With java 7 it could successfully build 17 more > > > > reactors and failed at reactor Syntax - DocBook with message: > > > > "org.apache.maven.lifecycle.LifecycleExecutionException: Failed to > > > > execute goal org.apache.maven.plugins:maven-surefire-plugin:2.16:test > > > > (default-test) on project xwiki-rendering-syntax-docbook: There are > > > > test failures.". > > > > > > > > For xwiki-platform it is still failing with the same error at same > > > > reactor. > > > > > > > > I found a related JIRA: http://jira.xwiki.org/browse/XWIKI-10718 > > > > > > > > > > > > > > > > > > > _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

