Hi All,
I was trying to run the test TestSimpleFunctions to have little understanding 
on drill funcs, but the test is failing with the below trace.
Any pointers on what i am missing?

Thanks,
Yash



/sandbox/prototype$ mvn test -Dtest=TestSimpleFunctions


[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] prototype-parent
[INFO] common
[INFO] contrib-parent
[INFO] pom
[INFO] exec
[INFO] Netty/Drill/Buffer
[INFO] java-exec
[INFO] Logical Plan Execution Reference Implementation
[INFO] planner
[INFO] sqlparser
[INFO] Packaging
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building prototype-parent 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.2:enforce (no_commons_logging) @ 
prototype-parent ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.1:process (default) @ 
prototype-parent ---
[INFO] Setting property: classpath.resource.loader.class => 
'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building common 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.2:enforce (no_commons_logging) @ common ---
[INFO]
[INFO] --- protobuf-maven-plugin:0.6.3:run (default) @ common ---
[INFO] Protobuf dependency version 2.5.0
[INFO] 'protoc' executable version 2.5.0
[INFO] Input directories:
[INFO]     
/home/yash/work/svn/drill/incubator-drill/sandbox/prototype/common/src/main/protobuf
 (using default)
[INFO] Output directory: 
/home/yash/work/svn/drill/incubator-drill/sandbox/prototype/common/target/generated-sources
[INFO] Cleaning 
/home/yash/work/svn/drill/incubator-drill/sandbox/prototype/common/target/generated-sources
[INFO] Directory 
/home/yash/work/svn/drill/incubator-drill/sandbox/prototype/common/src/main/protobuf
[INFO]     Processing Types.proto
[INFO] Adding generated classes to classpath
[INFO]
[INFO] --- antlr3-maven-plugin:3.4:antlr (default) @ common ---
[INFO] ANTLR: Processing source directory 
/home/yash/work/svn/drill/incubator-drill/sandbox/prototype/common/src/main/antlr3
ANTLR Parser Generator  Version 3.4
org/apache/drill/common/expression/parser/ExprLexer.g
org/apache/drill/common/expression/parser/ExprParser.g
[INFO]
[INFO] --- maven-remote-resources-plugin:1.1:process (default) @ common ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ common ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ common ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 112 source files to 
/home/yash/work/svn/drill/incubator-drill/sandbox/prototype/common/target/classes
[WARNING] 
/home/yash/work/svn/drill/incubator-drill/sandbox/prototype/common/src/main/java/org/apache/drill/common/expression/ArgumentValidators.java:
 
/home/yash/work/svn/drill/incubator-drill/sandbox/prototype/common/src/main/java/org/apache/drill/common/expression/ArgumentValidators.java
 uses or overrides a deprecated API.
[WARNING] 
/home/yash/work/svn/drill/incubator-drill/sandbox/prototype/common/src/main/java/org/apache/drill/common/expression/ArgumentValidators.java:
 Recompile with -Xlint:deprecation for details.
[WARNING] 
/home/yash/work/svn/drill/incubator-drill/sandbox/prototype/common/src/main/java/org/apache/drill/common/util/Hook.java:
 
/home/yash/work/svn/drill/incubator-drill/sandbox/prototype/common/src/main/java/org/apache/drill/common/util/Hook.java
 uses unchecked or unsafe operations.
[WARNING] 
/home/yash/work/svn/drill/incubator-drill/sandbox/prototype/common/src/main/java/org/apache/drill/common/util/Hook.java:
 Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ 
common ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 8 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.0:testCompile (default-testCompile) @ common 
---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 4 source files to 
/home/yash/work/svn/drill/incubator-drill/sandbox/prototype/common/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.15:test (default-test) @ common ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] prototype-parent .................................. SUCCESS [3.015s]
[INFO] common ............................................ FAILURE [8.077s]
[INFO] contrib-parent .................................... SKIPPED
[INFO] pom ............................................... SKIPPED
[INFO] exec .............................................. SKIPPED
[INFO] Netty/Drill/Buffer ................................ SKIPPED
[INFO] java-exec ......................................... SKIPPED
[INFO] Logical Plan Execution Reference Implementation ... SKIPPED
[INFO] planner ........................................... SKIPPED
[INFO] sqlparser ......................................... SKIPPED
[INFO] Packaging ......................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12.040s
[INFO] Finished at: Wed Sep 04 19:30:41 IST 2013
[INFO] Final Memory: 22M/180M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.15:test (default-test) on 
project common: No tests were executed!  (Set -DfailIfNoTests=false to ignore 
this error.) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[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 :common


________________________________






NOTE: This message may contain information that is confidential, proprietary, 
privileged or otherwise protected by law. The message is intended solely for 
the named addressee. If received in error, please destroy and notify the 
sender. Any use of this email is prohibited when received in error. Impetus 
does not represent, warrant and/or guarantee, that the integrity of this 
communication has been maintained nor that the communication is free of errors, 
virus, interception or interference.

Reply via email to