drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abdel Hakim Deneche <adene...@maprtech.com>
Subject Re: maven error when running unit tests on master
Date Mon, 16 Nov 2015 23:29:22 GMT
On Mon, Nov 16, 2015 at 3:04 PM, Jacques Nadeau <jacques@dremio.com> wrote:

> To clarify, you see this problem when running mvn tests across the tree or
> constrained to a particular module/test.
>

In my case I was running mvn test at the root.


>
> Also, Hakim, your output seems incomplete (there are a bunch of missing
> modules). Did you abbreviate?
>

yes


> Can you also try mvn surefire:test to see if that works work the specific
> test scenario? That is what I typically use if I'm just running a test.
>
> --
> Jacques Nadeau
> CTO and Co-Founder, Dremio
>
> On Mon, Nov 16, 2015 at 2:14 PM, Jinfeng Ni <jinfengni99@gmail.com> wrote:
>
> > Second on this.  I'm seeing the same unpack error if run "mvn test"
> > after a "mvn clean install -DskipTests"
> >
> > This means we could not run an individual unit test from mvn command
> line.
> >
> > Even worse, for some new unit testcase (TestJdbcPluginWithDerbyIT and
> > TestJdbcPluginWithMySQLIT), the only way to run is through mvn command
> > line, since it requires mvn to start the DB instance.
> >
> >
> >
> > On Fri, Nov 13, 2015 at 1:13 PM, Abdel Hakim Deneche
> > <adeneche@maprtech.com> wrote:
> > > If I run
> > >
> > > mvn clean install -DskipTests
> > >> mvn test
> > >
> > >
> > > I get the following error when I run the tests:
> > >
> > > [INFO]
> > >>
> ------------------------------------------------------------------------
> > >> [INFO] Reactor Summary:
> > >> [INFO]
> > >> [INFO] Apache Drill Root POM .............................. SUCCESS [
> > >> 4.593 s]
> > >> [INFO] ...
> > >> [INFO] exec/Java Execution Engine ......................... FAILURE [
> > >> 2.531 s]
> > >> [INFO] exec/JDBC Driver using dependencies ................ SKIPPED
> > >> [INFO] ...
> > >> [INFO] contrib/sqlline .................................... SKIPPED
> > >> [INFO]
> > >>
> ------------------------------------------------------------------------
> > >> [INFO] BUILD FAILURE
> > >> [INFO]
> > >>
> ------------------------------------------------------------------------
> > >> [INFO] Total time: 36.305 s
> > >> [INFO] Finished at: 2015-11-13T21:05:08+00:00
> > >> [INFO] Final Memory: 118M/1445M
> > >> [INFO]
> > >>
> ------------------------------------------------------------------------
> > >> [ERROR] Failed to execute goal
> > >> org.apache.maven.plugins:maven-dependency-plugin:2.8:unpack
> > >> (unpack-vector-types) on project drill-java-exec: Artifact has not
> been
> > >> packaged yet. When used on reactor artifact, unpack should be executed
> > >> after packaging: see MDEP-98. -> [Help 1]
> > >
> > >
> > > I've seen this on both Mac with maven 3.3.3 and CentOS with maven 3.3.1
> > >
> > > --
> > >
> > > Abdelhakim Deneche
> > >
> > > Software Engineer
> > >
> > >   <http://www.mapr.com/>
> > >
> > >
> > > Now Available - Free Hadoop On-Demand Training
> > > <
> >
> http://www.mapr.com/training?utm_source=Email&utm_medium=Signature&utm_campaign=Free%20available
> > >
> >
>



-- 

Abdelhakim Deneche

Software Engineer

  <http://www.mapr.com/>


Now Available - Free Hadoop On-Demand Training
<http://www.mapr.com/training?utm_source=Email&utm_medium=Signature&utm_campaign=Free%20available>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message