From commits-return-6487-archive-asf-public=cust-asf.ponee.io@openwhisk.apache.org Tue Jan 8 12:48:03 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 7D68C180652 for ; Tue, 8 Jan 2019 12:48:02 +0100 (CET) Received: (qmail 72386 invoked by uid 500); 8 Jan 2019 11:48:01 -0000 Mailing-List: contact commits-help@openwhisk.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openwhisk.apache.org Delivered-To: mailing list commits@openwhisk.apache.org Received: (qmail 72377 invoked by uid 99); 8 Jan 2019 11:48:01 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jan 2019 11:48:01 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 1C04D85BCC; Tue, 8 Jan 2019 11:48:01 +0000 (UTC) Date: Tue, 08 Jan 2019 11:48:00 +0000 To: "commits@openwhisk.apache.org" Subject: [incubator-openwhisk] branch master updated: Route Gatling failure logs to file (#4151) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <154694808047.19717.3034447026683569978@gitbox.apache.org> From: rabbah@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: incubator-openwhisk X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 57c5e9eae02f554adbca78b1fa2346fe1bd11b0c X-Git-Newrev: e32a4038825da2ea42e6f0c1596ab68b52867dfa X-Git-Rev: e32a4038825da2ea42e6f0c1596ab68b52867dfa X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated This is an automated email from the ASF dual-hosted git repository. rabbah pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk.git The following commit(s) were added to refs/heads/master by this push: new e32a403 Route Gatling failure logs to file (#4151) e32a403 is described below commit e32a4038825da2ea42e6f0c1596ab68b52867dfa Author: Chetan Mehrotra AuthorDate: Tue Jan 8 17:17:54 2019 +0530 Route Gatling failure logs to file (#4151) --- ansible/logs.yml | 5 +++++ .../gatling_tests/src/gatling/resources/conf/logback.xml | 14 +++++++++++++- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/ansible/logs.yml b/ansible/logs.yml index 5370238..d41077e 100644 --- a/ansible/logs.yml +++ b/ansible/logs.yml @@ -34,6 +34,11 @@ - test-results ignore_errors: true when: "'tests' not in exclude_logs_from" + - name: create "perf reports" folder + file: path="{{ openwhisk_home }}/logs/perf-reports" state=directory + - name: collect perf logs + local_action: shell cp "{{ openwhisk_home }}/tests/performance/gatling_tests/build/gatling.log" "{{ openwhisk_home }}/logs/perf-reports/" + ignore_errors: true - hosts: all:!ansible serial: 1 diff --git a/tests/performance/gatling_tests/src/gatling/resources/conf/logback.xml b/tests/performance/gatling_tests/src/gatling/resources/conf/logback.xml index b139242..5729db9 100644 --- a/tests/performance/gatling_tests/src/gatling/resources/conf/logback.xml +++ b/tests/performance/gatling_tests/src/gatling/resources/conf/logback.xml @@ -6,9 +6,21 @@ %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n + + false + build/gatling.log + false + + %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n + + - + + + + +