You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@vxquery.apache.org by Eldon Carman <ec...@ucr.edu> on 2012/05/15 06:03:37 UTC

Error running mvn to set up VXQuery

I ran into this error when running "mvn package -X". Not sure if I am
missing a library or what cased the failure.

Preston

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Forking command line: /bin/sh -c cd
/Users/username/Documents/smartsvn/vxquery/vxquery-core &&
/Library/Java/JavaVirtualMachines/1.7.0u.jdk/Contents/Home/jre/bin/java
-jar /Users/username/Documents/smartsvn/vxquery/vxquery-core/target/surefire/surefirebooter7396032320332705925.jar
/Users/username/Documents/smartsvn/vxquery/vxquery-core/target/surefire/surefire919692848660227761tmp
/Users/username/Documents/smartsvn/vxquery/vxquery-core/target/surefire/surefire7897929130528256582tmp
Running org.apache.vxquery.datamodel.dtm.test.DTMTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.112 sec
Running org.apache.vxquery.xmlquery.query.SimpleXQueryTest
Tests run: 16, Failures: 0, Errors: 16, Skipped: 0, Time elapsed:
0.536 sec <<< FAILURE!

Results :

Tests in error:
  simple002(org.apache.vxquery.xmlquery.query.SimpleXQueryTest)
  simple003(org.apache.vxquery.xmlquery.query.SimpleXQueryTest)
  simple004(org.apache.vxquery.xmlquery.query.SimpleXQueryTest)
  simple005(org.apache.vxquery.xmlquery.query.SimpleXQueryTest)
  simple006(org.apache.vxquery.xmlquery.query.SimpleXQueryTest)
  simple007(org.apache.vxquery.xmlquery.query.SimpleXQueryTest)
  simple008(org.apache.vxquery.xmlquery.query.SimpleXQueryTest)
  simple009(org.apache.vxquery.xmlquery.query.SimpleXQueryTest)
  simple010(org.apache.vxquery.xmlquery.query.SimpleXQueryTest)
  simple011(org.apache.vxquery.xmlquery.query.SimpleXQueryTest)
  simple012(org.apache.vxquery.xmlquery.query.SimpleXQueryTest)
  simple013(org.apache.vxquery.xmlquery.query.SimpleXQueryTest)
  simple014(org.apache.vxquery.xmlquery.query.SimpleXQueryTest)
  simple015(org.apache.vxquery.xmlquery.query.SimpleXQueryTest)
  simple016(org.apache.vxquery.xmlquery.query.SimpleXQueryTest)
  simple001(org.apache.vxquery.xmlquery.query.SimpleXQueryTest)

Tests run: 17, Failures: 0, Errors: 16, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] VXQuery Core ...................................... FAILURE [10.433s]
[INFO] VXQuery XTest ..................................... SKIPPED
[INFO] VXQuery ........................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10.725s
[INFO] Finished at: Mon May 14 20:56:02 PDT 2012
[INFO] Final Memory: 28M/243M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.9:test (default-test)
on project vxquery-core: There are test failures.
[ERROR]
[ERROR] Please refer to
/Users/username/Documents/smartsvn/vxquery/vxquery-core/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.9:test
(default-test) on project vxquery-core: There are test failures.

Please refer to
/Users/username/Documents/smartsvn/vxquery/vxquery-core/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:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	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/username/Documents/smartsvn/vxquery/vxquery-core/target/surefire-reports
for the individual test results.
	at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:87)
	at org.apache.maven.plugin.surefire.SurefirePlugin.writeSummary(SurefirePlugin.java:631)
	at org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(SurefirePlugin.java:605)
	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:136)
	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:97)
	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

Re: Error running mvn to set up VXQuery

Posted by Till Westmann <ti...@westmann.org>.
Preston,

this is as good as it gets for now. As "mvn package" runs the tests and as those do not work on the algebricks branch so far, this failure is expected. However, the the query compiler and vxq script should have been built and you should be able compile to queries and look at the plans.

Cheers,
Till

On May 14, 2012, at 9:03 PM, Eldon Carman wrote:

> I ran into this error when running "mvn package -X". Not sure if I am
> missing a library or what cased the failure.
> 
> Preston
> 
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Forking command line: /bin/sh -c cd
> /Users/username/Documents/smartsvn/vxquery/vxquery-core &&
> /Library/Java/JavaVirtualMachines/1.7.0u.jdk/Contents/Home/jre/bin/java
> -jar /Users/username/Documents/smartsvn/vxquery/vxquery-core/target/surefire/surefirebooter7396032320332705925.jar
> /Users/username/Documents/smartsvn/vxquery/vxquery-core/target/surefire/surefire919692848660227761tmp
> /Users/username/Documents/smartsvn/vxquery/vxquery-core/target/surefire/surefire7897929130528256582tmp
> Running org.apache.vxquery.datamodel.dtm.test.DTMTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.112 sec
> Running org.apache.vxquery.xmlquery.query.SimpleXQueryTest
> Tests run: 16, Failures: 0, Errors: 16, Skipped: 0, Time elapsed:
> 0.536 sec <<< FAILURE!
> 
> Results :
> 
> Tests in error:
>  simple002(org.apache.vxquery.xmlquery.query.SimpleXQueryTest)
>  simple003(org.apache.vxquery.xmlquery.query.SimpleXQueryTest)
>  simple004(org.apache.vxquery.xmlquery.query.SimpleXQueryTest)
>  simple005(org.apache.vxquery.xmlquery.query.SimpleXQueryTest)
>  simple006(org.apache.vxquery.xmlquery.query.SimpleXQueryTest)
>  simple007(org.apache.vxquery.xmlquery.query.SimpleXQueryTest)
>  simple008(org.apache.vxquery.xmlquery.query.SimpleXQueryTest)
>  simple009(org.apache.vxquery.xmlquery.query.SimpleXQueryTest)
>  simple010(org.apache.vxquery.xmlquery.query.SimpleXQueryTest)
>  simple011(org.apache.vxquery.xmlquery.query.SimpleXQueryTest)
>  simple012(org.apache.vxquery.xmlquery.query.SimpleXQueryTest)
>  simple013(org.apache.vxquery.xmlquery.query.SimpleXQueryTest)
>  simple014(org.apache.vxquery.xmlquery.query.SimpleXQueryTest)
>  simple015(org.apache.vxquery.xmlquery.query.SimpleXQueryTest)
>  simple016(org.apache.vxquery.xmlquery.query.SimpleXQueryTest)
>  simple001(org.apache.vxquery.xmlquery.query.SimpleXQueryTest)
> 
> Tests run: 17, Failures: 0, Errors: 16, Skipped: 0
> 
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] VXQuery Core ...................................... FAILURE [10.433s]
> [INFO] VXQuery XTest ..................................... SKIPPED
> [INFO] VXQuery ........................................... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 10.725s
> [INFO] Finished at: Mon May 14 20:56:02 PDT 2012
> [INFO] Final Memory: 28M/243M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:2.9:test (default-test)
> on project vxquery-core: There are test failures.
> [ERROR]
> [ERROR] Please refer to
> /Users/username/Documents/smartsvn/vxquery/vxquery-core/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.9:test
> (default-test) on project vxquery-core: There are test failures.
> 
> Please refer to
> /Users/username/Documents/smartsvn/vxquery/vxquery-core/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:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:601)
> 	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/username/Documents/smartsvn/vxquery/vxquery-core/target/surefire-reports
> for the individual test results.
> 	at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:87)
> 	at org.apache.maven.plugin.surefire.SurefirePlugin.writeSummary(SurefirePlugin.java:631)
> 	at org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(SurefirePlugin.java:605)
> 	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:136)
> 	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:97)
> 	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
> <org.apache.vxquery.xmlquery.query.SimpleXQueryTest.txt>