You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by Nick Dimiduk <nd...@gmail.com> on 2015/04/26 21:47:16 UTC

Test profiles not limiting test selection?

Running {{mvn test -PrunSmallTests}} is running Medium and Large unit tests
as well. Anyone else seeing this behavior? Maybe this is just something
weird about my checkout?

-n

Re: Test profiles not limiting test selection?

Posted by Nick Dimiduk <nd...@gmail.com>.
Sure thing.

[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] HBase
[INFO] HBase - Checkstyle
[INFO] HBase - Annotations
[INFO] HBase - Protocol
[INFO] HBase - Common
[INFO] HBase - Procedure
[INFO] HBase - Client
[INFO] HBase - Hadoop Compatibility
[INFO] HBase - Hadoop Two Compatibility
[INFO] HBase - Prefix Tree
[INFO] HBase - Server
[INFO] HBase - Testing Util
[INFO] HBase - Thrift
[INFO] HBase - Rest
[INFO] HBase - Shell
[INFO] HBase - Integration Tests
[INFO] HBase - Examples
[INFO] HBase - Assembly
[WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is
missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for
org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin
org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could
not be resolved: Failure to find
org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 in
http://repository.apache.org/snapshots/ was cached in the local repository,
resolution will not be reattempted until the update interval of
apache.snapshots has elapsed or updates are forced
[INFO]

[INFO]
------------------------------------------------------------------------
[INFO] Building HBase 1.1.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is
missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for
org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin
org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could
not be resolved: Failure to find
org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 in
http://repository.apache.org/snapshots/ was cached in the local repository,
resolution will not be reattempted until the update interval of
apache.snapshots has elapsed or updates are forced
[INFO]
[INFO] --- maven-help-plugin:2.1.1:active-profiles (default-cli) @ hbase ---
[INFO]
Active Profiles for Project 'org.apache.hbase:hbase:pom:1.1.0-SNAPSHOT':

The following profiles are active:

 - os.mac (source: pom)
 - hadoop-2.0 (source: pom)
 - runSmallTests (source: pom)



Active Profiles for Project
'org.apache.hbase:hbase-checkstyle:jar:1.1.0-SNAPSHOT':

There are no active profiles.



Active Profiles for Project
'org.apache.hbase:hbase-annotations:jar:1.1.0-SNAPSHOT':

There are no active profiles.



Active Profiles for Project
'org.apache.hbase:hbase-protocol:jar:1.1.0-SNAPSHOT':

There are no active profiles.



Active Profiles for Project
'org.apache.hbase:hbase-common:jar:1.1.0-SNAPSHOT':

The following profiles are active:

 - hadoop-2.0 (source: pom)



Active Profiles for Project
'org.apache.hbase:hbase-procedure:jar:1.1.0-SNAPSHOT':

The following profiles are active:

 - hadoop-2.0 (source: pom)



Active Profiles for Project
'org.apache.hbase:hbase-client:jar:1.1.0-SNAPSHOT':

The following profiles are active:

 - hadoop-2.0 (source: pom)



Active Profiles for Project
'org.apache.hbase:hbase-hadoop-compat:jar:1.1.0-SNAPSHOT':

There are no active profiles.



Active Profiles for Project
'org.apache.hbase:hbase-hadoop2-compat:jar:1.1.0-SNAPSHOT':

There are no active profiles.



Active Profiles for Project
'org.apache.hbase:hbase-prefix-tree:jar:1.1.0-SNAPSHOT':

The following profiles are active:

 - hadoop-2.0 (source: pom)



Active Profiles for Project
'org.apache.hbase:hbase-server:jar:1.1.0-SNAPSHOT':

The following profiles are active:

 - hadoop-2.0 (source: pom)



Active Profiles for Project
'org.apache.hbase:hbase-testing-util:jar:1.1.0-SNAPSHOT':

The following profiles are active:

 - hadoop-2.0 (source: pom)



Active Profiles for Project
'org.apache.hbase:hbase-thrift:jar:1.1.0-SNAPSHOT':

The following profiles are active:

 - hadoop-2.0 (source: pom)



Active Profiles for Project
'org.apache.hbase:hbase-rest:jar:1.1.0-SNAPSHOT':

The following profiles are active:

 - hadoop-2.0 (source: pom)



Active Profiles for Project
'org.apache.hbase:hbase-shell:jar:1.1.0-SNAPSHOT':

The following profiles are active:

 - hadoop-2.0 (source: pom)



Active Profiles for Project 'org.apache.hbase:hbase-it:jar:1.1.0-SNAPSHOT':

The following profiles are active:

 - hadoop-2.0 (source: pom)



Active Profiles for Project
'org.apache.hbase:hbase-examples:jar:1.1.0-SNAPSHOT':

The following profiles are active:

 - hadoop-2.0 (source: pom)



Active Profiles for Project
'org.apache.hbase:hbase-assembly:pom:1.1.0-SNAPSHOT':

There are no active profiles.



[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] HBase .............................................. SUCCESS [
 0.121 s]
[INFO] HBase - Checkstyle ................................. SKIPPED
[INFO] HBase - Annotations ................................ SKIPPED
[INFO] HBase - Protocol ................................... SKIPPED
[INFO] HBase - Common ..................................... SKIPPED
[INFO] HBase - Procedure .................................. SKIPPED
[INFO] HBase - Client ..................................... SKIPPED
[INFO] HBase - Hadoop Compatibility ....................... SKIPPED
[INFO] HBase - Hadoop Two Compatibility ................... SKIPPED
[INFO] HBase - Prefix Tree ................................ SKIPPED
[INFO] HBase - Server ..................................... SKIPPED
[INFO] HBase - Testing Util ............................... SKIPPED
[INFO] HBase - Thrift ..................................... SKIPPED
[INFO] HBase - Rest ....................................... SKIPPED
[INFO] HBase - Shell ...................................... SKIPPED
[INFO] HBase - Integration Tests .......................... SKIPPED
[INFO] HBase - Examples ................................... SKIPPED
[INFO] HBase - Assembly ................................... SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1.994 s
[INFO] Finished at: 2015-04-26T13:24:41-07:00
[INFO] Final Memory: 30M/310M
[INFO]
------------------------------------------------------------------------


On Sun, Apr 26, 2015 at 1:12 PM, Sean Busbey <bu...@cloudera.com> wrote:

> Can you run
>
> mvn -PrunSmallTests help:active-profiles
>
> --
> Sean
> On Apr 26, 2015 2:48 PM, "Nick Dimiduk" <nd...@gmail.com> wrote:
>
> > Running {{mvn test -PrunSmallTests}} is running Medium and Large unit
> tests
> > as well. Anyone else seeing this behavior? Maybe this is just something
> > weird about my checkout?
> >
> > -n
> >
>

Re: Test profiles not limiting test selection?

Posted by Sean Busbey <bu...@cloudera.com>.
Can you run

mvn -PrunSmallTests help:active-profiles

-- 
Sean
On Apr 26, 2015 2:48 PM, "Nick Dimiduk" <nd...@gmail.com> wrote:

> Running {{mvn test -PrunSmallTests}} is running Medium and Large unit tests
> as well. Anyone else seeing this behavior? Maybe this is just something
> weird about my checkout?
>
> -n
>

Re: Test profiles not limiting test selection?

Posted by Nick Dimiduk <nd...@gmail.com>.
Thanks a lot Dima!

On Tue, Apr 28, 2015 at 12:31 PM, Dima Spivak <ds...@cloudera.com> wrote:

> I noticed this a while back. I think Alex Newman reassigned the
> corresponding JIRA to me a while back; I'll move this back up near the top
> of the todo list. :)
>
> -Dima
>
> On Sunday, April 26, 2015, Ted Yu <yu...@gmail.com> wrote:
>
> > I ran the same command.
> > Small tests from various modules were run.
> > And then I saw this:
> >
> > Running org.apache.hadoop.hbase.thrift.TestThriftServer
> > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 76.163
> sec
> > - in org.apache.hadoop.hbase.thrift.TestThriftServer
> >
> > The above test is a large test.
> >
> > FYI
> >
> > On Sun, Apr 26, 2015 at 12:47 PM, Nick Dimiduk <ndimiduk@gmail.com
> > <javascript:;>> wrote:
> >
> > > Running {{mvn test -PrunSmallTests}} is running Medium and Large unit
> > tests
> > > as well. Anyone else seeing this behavior? Maybe this is just something
> > > weird about my checkout?
> > >
> > > -n
> > >
> >
>

Re: Test profiles not limiting test selection?

Posted by Dima Spivak <ds...@cloudera.com>.
I noticed this a while back. I think Alex Newman reassigned the
corresponding JIRA to me a while back; I'll move this back up near the top
of the todo list. :)

-Dima

On Sunday, April 26, 2015, Ted Yu <yu...@gmail.com> wrote:

> I ran the same command.
> Small tests from various modules were run.
> And then I saw this:
>
> Running org.apache.hadoop.hbase.thrift.TestThriftServer
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 76.163 sec
> - in org.apache.hadoop.hbase.thrift.TestThriftServer
>
> The above test is a large test.
>
> FYI
>
> On Sun, Apr 26, 2015 at 12:47 PM, Nick Dimiduk <ndimiduk@gmail.com
> <javascript:;>> wrote:
>
> > Running {{mvn test -PrunSmallTests}} is running Medium and Large unit
> tests
> > as well. Anyone else seeing this behavior? Maybe this is just something
> > weird about my checkout?
> >
> > -n
> >
>

Re: Test profiles not limiting test selection?

Posted by Ted Yu <yu...@gmail.com>.
I ran the same command.
Small tests from various modules were run.
And then I saw this:

Running org.apache.hadoop.hbase.thrift.TestThriftServer
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 76.163 sec
- in org.apache.hadoop.hbase.thrift.TestThriftServer

The above test is a large test.

FYI

On Sun, Apr 26, 2015 at 12:47 PM, Nick Dimiduk <nd...@gmail.com> wrote:

> Running {{mvn test -PrunSmallTests}} is running Medium and Large unit tests
> as well. Anyone else seeing this behavior? Maybe this is just something
> weird about my checkout?
>
> -n
>