Repository: asterixdb Updated Branches: refs/heads/master 3b60f6168 -> e00e1ffb6
[ASTERIXDB-2172] collect GC logs to assist in diagnosis Change-Id: I6841da6ffb756843ba4265c64aa42faff3acfc09 Reviewed-on: https://asterix-gerrit.ics.uci.edu/2297 Reviewed-by: Till Westmann <[email protected]> Tested-by: Michael Blow <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/asterixdb/repo Commit: http://git-wip-us.apache.org/repos/asf/asterixdb/commit/e00e1ffb Tree: http://git-wip-us.apache.org/repos/asf/asterixdb/tree/e00e1ffb Diff: http://git-wip-us.apache.org/repos/asf/asterixdb/diff/e00e1ffb Branch: refs/heads/master Commit: e00e1ffb6989b620d59792e535d2ae5a2b02196b Parents: 3b60f61 Author: Michael Blow <[email protected]> Authored: Mon Jan 22 17:05:48 2018 -0500 Committer: Michael Blow <[email protected]> Committed: Tue Jan 23 09:32:51 2018 -0800 ---------------------------------------------------------------------- asterixdb/asterix-app/pom.xml | 31 +++++++++++++++++++- .../test/resources/NCServiceExecutionIT/cc.conf | 2 ++ 2 files changed, 32 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/asterixdb/blob/e00e1ffb/asterixdb/asterix-app/pom.xml ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/pom.xml b/asterixdb/asterix-app/pom.xml index e0a52ea..629bca6 100644 --- a/asterixdb/asterix-app/pom.xml +++ b/asterixdb/asterix-app/pom.xml @@ -284,8 +284,37 @@ <profile> <id>asterix-gerrit-asterix-app</id> <properties> - <test.excludes>**/SqlppExecutionWithCancellationTest.java,**/DmlTest.java,**/RepeatedTest.java</test.excludes> + <test.excludes>**/SqlppExecutionWithCancellationTest.java,**/DmlTest.java,**/RepeatedTest.java,**/SqlppExecutionTest.java</test.excludes> </properties> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <executions> + <execution> + <id>SqlppExecutionTest</id> + <configuration> + <includes combine.self="override"> + <include>**/SqlppExecutionTest.java</include> + </includes> + <excludes combine.self="override"/> + <argLine> + -enableassertions -Xmx${test.heap.size}m + -Dfile.encoding=UTF-8 + -Xdebug + -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=${debug.suspend.flag} + -Xloggc:"${project.build.directory}/surefire-reports/SqlppExecutionTest-%p-gc.log" -XX:+PrintGC -XX:+PrintGCDateStamps -XX:GCLogFileSize=10M + </argLine> + </configuration> + <goals> + <goal>test</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> </profile> <profile> <id>asterix-gerrit-asterix-app-sql-execution</id> http://git-wip-us.apache.org/repos/asf/asterixdb/blob/e00e1ffb/asterixdb/asterix-server/src/test/resources/NCServiceExecutionIT/cc.conf ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-server/src/test/resources/NCServiceExecutionIT/cc.conf b/asterixdb/asterix-server/src/test/resources/NCServiceExecutionIT/cc.conf index fd7e268..81cee7d 100644 --- a/asterixdb/asterix-server/src/test/resources/NCServiceExecutionIT/cc.conf +++ b/asterixdb/asterix-server/src/test/resources/NCServiceExecutionIT/cc.conf @@ -20,6 +20,7 @@ txn.log.dir=../asterix-server/target/tmp/asterix_nc1/txnlog core.dump.dir=../asterix-server/target/tmp/asterix_nc1/coredump iodevices=../asterix-server/target/tmp/asterix_nc1/iodevice1,../asterix-server/target/tmp/asterix_nc1/iodevice2 nc.api.port=19004 +jvm.args=-Xloggc:/tmp/asterix-server-failsafe/asterix_nc1-%p-gc.log -XX:+PrintGC -XX:+PrintGCDateStamps -XX:GCLogFileSize=10M #jvm.args=-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5006 [nc/asterix_nc2] @@ -28,6 +29,7 @@ txn.log.dir=../asterix-server/target/tmp/asterix_nc2/txnlog core.dump.dir=../asterix-server/target/tmp/asterix_nc2/coredump iodevices=../asterix-server/target/tmp/asterix_nc2/iodevice1,../asterix-server/target/tmp/asterix_nc2/iodevice2 nc.api.port=19005 +jvm.args=-Xloggc:/tmp/asterix-server-failsafe/asterix_nc2-%p-gc.log -XX:+PrintGC -XX:+PrintGCDateStamps -XX:GCLogFileSize=10M #jvm.args=-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5007 [nc]
