Return-Path: X-Original-To: apmail-asterixdb-commits-archive@minotaur.apache.org Delivered-To: apmail-asterixdb-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7D713191C3 for ; Wed, 16 Mar 2016 14:49:09 +0000 (UTC) Received: (qmail 14200 invoked by uid 500); 16 Mar 2016 14:49:09 -0000 Delivered-To: apmail-asterixdb-commits-archive@asterixdb.apache.org Received: (qmail 14165 invoked by uid 500); 16 Mar 2016 14:49:09 -0000 Mailing-List: contact commits-help@asterixdb.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@asterixdb.incubator.apache.org Delivered-To: mailing list commits@asterixdb.incubator.apache.org Received: (qmail 14156 invoked by uid 99); 16 Mar 2016 14:49:09 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Mar 2016 14:49:09 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 9A5CA1A036B for ; Wed, 16 Mar 2016 14:49:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -3.549 X-Spam-Level: X-Spam-Status: No, score=-3.549 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.329] autolearn=disabled Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id w8lwcLAQKBvQ for ; Wed, 16 Mar 2016 14:49:06 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with SMTP id 5E93B5F1EC for ; Wed, 16 Mar 2016 14:49:06 +0000 (UTC) Received: (qmail 14146 invoked by uid 99); 16 Mar 2016 14:49:05 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Mar 2016 14:49:05 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id A9AA5DFBD5; Wed, 16 Mar 2016 14:49:05 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: amoudi@apache.org To: commits@asterixdb.incubator.apache.org Message-Id: <0a38dab903394b54b3cc168b8a3f4bc2@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: incubator-asterixdb git commit: ASTERIXDB-1344: Capture Code Coverage Metrics Date: Wed, 16 Mar 2016 14:49:05 +0000 (UTC) Repository: incubator-asterixdb Updated Branches: refs/heads/master 8aa0b519e -> fc6448227 ASTERIXDB-1344: Capture Code Coverage Metrics Optionally capture code coverage data with Jacoco when 'coverage' property is set or 'coverage' profile is enabled. Reports are generated at: coverage/target/coverage-report/html/index.html Change-Id: Ic428230934a46c64baa60933b75c214f5b138387 Reviewed-on: https://asterix-gerrit.ics.uci.edu/721 Tested-by: Jenkins Reviewed-by: abdullah alamoudi Project: http://git-wip-us.apache.org/repos/asf/incubator-asterixdb/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-asterixdb/commit/fc644822 Tree: http://git-wip-us.apache.org/repos/asf/incubator-asterixdb/tree/fc644822 Diff: http://git-wip-us.apache.org/repos/asf/incubator-asterixdb/diff/fc644822 Branch: refs/heads/master Commit: fc64482270825dad052e80eab49d91a1d664c685 Parents: 8aa0b51 Author: Michael Blow Authored: Wed Mar 16 10:21:24 2016 -0400 Committer: abdullah alamoudi Committed: Wed Mar 16 07:43:48 2016 -0700 ---------------------------------------------------------------------- asterix-coverage/pom.xml | 134 +++++++++++++++++++++++++++++++++++++++++ asterix-installer/pom.xml | 1 + pom.xml | 55 ++++++++++++++++- 3 files changed, 187 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-asterixdb/blob/fc644822/asterix-coverage/pom.xml ---------------------------------------------------------------------- diff --git a/asterix-coverage/pom.xml b/asterix-coverage/pom.xml new file mode 100644 index 0000000..3f77ed8 --- /dev/null +++ b/asterix-coverage/pom.xml @@ -0,0 +1,134 @@ + + + + 4.0.0 + asterix-coverage + pom + asterix-coverage + + + org.apache.asterix + asterix + 0.8.8-SNAPSHOT + + + + + + org.apache.maven.plugins + maven-antrun-plugin + 1.8 + + + test + + run + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + org.jacoco + org.jacoco.ant + ${jacoco.version} + + + + + + http://git-wip-us.apache.org/repos/asf/incubator-asterixdb/blob/fc644822/asterix-installer/pom.xml ---------------------------------------------------------------------- diff --git a/asterix-installer/pom.xml b/asterix-installer/pom.xml index b257e71..893a983 100644 --- a/asterix-installer/pom.xml +++ b/asterix-installer/pom.xml @@ -30,6 +30,7 @@ **/AsterixClusterLifeCycleIT.java **/ClusterExecutionIT.java **/ReplicationIT.java + http://git-wip-us.apache.org/repos/asf/incubator-asterixdb/blob/fc644822/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 581b8b7..2bf4e4f 100644 --- a/pom.xml +++ b/pom.xml @@ -53,7 +53,8 @@ **/DmlTest.java **/*TestSuite.java,**/*Test.java,${execution.tests} ${optimizer.tests},${metadata.tests},${invalid.tests},${repeated.tests} - + + 0.2.17-SNAPSHOT 0.2.17-SNAPSHOT 2.2.0 @@ -61,6 +62,7 @@ 2.4 2.5 20090211 + 0.7.6.201602180812 @@ -76,12 +78,15 @@ 1 false - -enableassertions -Xmx${test.heap.size}m + + -enableassertions -Xmx${test.heap.size}m -Dfile.encoding=UTF-8 -Djava.util.logging.config.file=${user.home}/logging.properties -DrunSlowAQLTests=${runSlowAQLTests} -Xdebug - -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n + -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n + ${coverageArgLine} + ${global.test.includes},${test.includes} @@ -345,6 +350,49 @@ 1.8 + + + coverage + + + coverage + + + + + + org.jacoco + jacoco-maven-plugin + ${jacoco.version} + + + default-prepare-agent + + prepare-agent + + + coverageArgLine + + + + + + + + + + + + no-coverage + + + !coverage + + + + + + @@ -371,6 +419,7 @@ asterix-yarn asterix-replication asterix-experiments + asterix-coverage