From patchwork Sat Jun 25 00:08:15 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Bird, Timothy" X-Patchwork-Id: 9198263 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 0033F6075F for ; Sat, 25 Jun 2016 00:08:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CBC27284E7 for ; Sat, 25 Jun 2016 00:08:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AC731284E9; Sat, 25 Jun 2016 00:08:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from mail.linuxfoundation.org (mail.linuxfoundation.org [140.211.169.12]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 20DEC284E7 for ; Sat, 25 Jun 2016 00:08:22 +0000 (UTC) Received: from mail.linux-foundation.org (localhost [127.0.0.1]) by mail.linuxfoundation.org (Postfix) with ESMTP id 650259D; Sat, 25 Jun 2016 00:08:22 +0000 (UTC) X-Original-To: ltsi-dev@lists.linuxfoundation.org Delivered-To: ltsi-dev@mail.linuxfoundation.org Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 325559D for ; Sat, 25 Jun 2016 00:08:21 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from na01-by2-obe.outbound.protection.outlook.com (mail-eopbgr690084.outbound.protection.outlook.com [40.107.69.84]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 987B7206 for ; Sat, 25 Jun 2016 00:08:20 +0000 (UTC) Received: from DM2PR0801CA0031.namprd08.prod.outlook.com (10.162.18.41) by DM2PR08MB1353.namprd08.prod.outlook.com (10.161.143.16) with Microsoft SMTP Server (TLS) id 15.1.523.4; Sat, 25 Jun 2016 00:08:19 +0000 Received: from BY2FFO11FD038.protection.gbl (2a01:111:f400:7c0c::188) by DM2PR0801CA0031.outlook.office365.com (2a01:111:e400:3c28::41) with Microsoft SMTP Server (TLS) id 15.1.528.8 via Frontend Transport; Sat, 25 Jun 2016 00:08:19 +0000 Authentication-Results: spf=pass (sender IP is 160.33.194.229) smtp.mailfrom=am.sony.com; lists.linuxfoundation.org; dkim=none (message not signed) header.d=none; lists.linuxfoundation.org; dmarc=bestguesspass action=none header.from=am.sony.com; Received-SPF: Pass (protection.outlook.com: domain of am.sony.com designates 160.33.194.229 as permitted sender) receiver=protection.outlook.com; client-ip=160.33.194.229; helo=usculsndmail02v.am.sony.com; Received: from usculsndmail02v.am.sony.com (160.33.194.229) by BY2FFO11FD038.mail.protection.outlook.com (10.1.14.223) with Microsoft SMTP Server (TLS) id 15.1.523.9 via Frontend Transport; Sat, 25 Jun 2016 00:08:18 +0000 Received: from usculsndmail12v.am.sony.com (usculsndmail12v.am.sony.com [146.215.230.103]) by usculsndmail02v.am.sony.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u5P08HDZ001098; Sat, 25 Jun 2016 00:08:17 GMT From: "Bird, Timothy" To: "ltsi-dev@lists.linuxfoundation.org" Thread-Topic: [PATCH] Add phase messages to fuego scripts Thread-Index: AdHOdU5LpE3loKhcQhuNoxNMkbc3oA== Date: Sat, 25 Jun 2016 00:08:15 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [146.215.228.6] MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:160.33.194.229; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(438002)(189002)(199003)(305945005)(7736002)(104016004)(7846002)(6806005)(92566002)(8746002)(106466001)(8936002)(54356999)(50986999)(551544002)(46406003)(50466002)(11100500001)(97756001)(33656002)(87936001)(356003)(189998001)(2351001)(586003)(2906002)(47776003)(66066001)(229853001)(246002)(55846006)(2920100001)(4326007)(6116002)(110136002)(2501003)(19580395003)(102836003)(3846002)(8676002)(23726003)(5001870100001); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR08MB1353; H:usculsndmail02v.am.sony.com; FPR:; SPF:Pass; PTR:mail02.sonyusa.com,mail.sonyusa.com; MX:1; A:0; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD038; 1:wUC7JRIfHR4iQ003lKXlmj9rTlhjZu/Z0KxSmD+bPvly/xTix7DXsOYwZu5QJOnWXDCC1epkqNUi46CeDau4ssV+jXewNGLQsmhS0xAdVC+ssQghlsW8EwZrdBaL/KWrUu/DPN41ZaCWN5FJTcpif9z01NREY67rIy3L2AP9E7R+xEGy1gq/uCk7zT8zeL0pcepXje8x94yaF5abaP3DNxqaJRvlp9khCWv/b3G3oHK3rqXVZAJZVivm2WZR2+4B24Nbs299FvkCowaFMqfbOe0U5nmIn1vWA6Q9zpjrQJTtTlKz6DWLBuJFxWkwspzTFytblgTR4Ufqz0Nb4bq6A9tbSDmBPk73KD+HgMpLHnnPtHRAyih0pWFtV/9BklUVvMObcSNyMpzjzI6M3vwcHMQmlCpyg7uRL8/Lx8roNIYlNYBpvVf23ZzyMWQmrorp+7sj1KCz2UTMP49KOQeFX7kiA9wPCBvfdZcIePKdrLDCUlXHyZH9gKjO4HNicI0gC0iHYw9CQoLRd/WdY8p5Ew== X-MS-Office365-Filtering-Correlation-Id: 47aee223-0d84-44a4-9a81-08d39c8ccff6 X-Microsoft-Exchange-Diagnostics: 1; DM2PR08MB1353; 2:zyuAZRrQdvbX0GkrU54ZMmjNuvt9BV2tOxfM6h0X0wJJmQqBKc7q/LOqilswMcJIl3uLvuGLL3RDzrcUKHRHgHCWB7g1lU5S2jsQb+zlHsRkzUFV8yitkDf2Niie5FWhmzQADDqShJ/kGmS9kM0bu8mr6jtpycENdEUTTSx5psbW4kOBUYmKXH0zKKz7Kj6j; 3:aQH0S03knApQ3mBebWFri8SW1reNJYCC70bah902yzeKzHFDY1dYqYN/zI9Fsj8mwWyXBG962bCHdEd3xhMmbT9wkGwcfjepmrnmBO/ZoApq+RnpRyT4HSQaqd9ZCeN/HS8CKgpnsrCOdX+7Fgkrmv7oo4ai6wdEZe+oBNQfdX2gdYegsG1cen9yWI+sk09Ohed+hMRbDa1aIUKhJBzi+2YrwsYrXFXeKfmW53OtIPovyEBowtdT1iLbYEDDIuNTp0dv86Rz1lGpAjesYh88eA== X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(8251501002); SRVR:DM2PR08MB1353; X-Microsoft-Exchange-Diagnostics: 1; DM2PR08MB1353; 25:MEbSwox+SZImb8nH0UJznD52znaYEidf+tfER0yF3Zrjd+WOelERdWWfS0lhMR+IOXq+JrbpWXJCA6PrWZPj6RY5DjaIRLnrKL+6q2r2U1qyql1VRghQzIqKpRI3tmqDyNu5ctvRw1q9AeU9tHT8xLJggOJetWpw9dVIyvGmfpKoZAPw0JPgV1GLGMrRFpYQQ80RrD5z49egOdBQlb5a1gN9Hwdn3KcUrY9MGN333udHoYAOVsj1/3cMVSsvQ5an/sM0LHgooHvHHYsEZLoiTg8cHhF8aT95Ea8UqSEhWQJCdRfpA4C1BWltrLQSIG6UxSe1Jp6C7MZu02oRRQGAWXGhhXa+jM4P3IFsGtc+gEdLzib6ix2GaoDoS7s17HwvNu+q7Y7JuzpYXz/JonZxsb025q37nQU8KraXebG8lZbdclr6OF/lJPHZ9x2AmpX/8Rf2UnQQAtZfjoqTWKZbqqlcfShDnaozmGrMXNK9aSN8QFf5qXJepGfTf5aCcPiIvcQVF/zC6h+AuQtk4DnfFwfybGOSDynbtD2BEStrZkotCtoeqqh1j/krHwzI2T2KybeygLUPpR8POOncJmTYTiANfZDGqCg4MZKHLJI8Zm+pxBrUaDqgJD0nmqNxfYmvzflC2ulGC2KHzdnTodcGmp0WV/vpoYEFDy3ow31OvZs8RwiCD3BGnFT1rPL00JRMv6k/3K1FuxxZ8GNHMkbMbUinCJNX0Km6vNPfriAPMtSiw4YeBKka3O/EWMkAQm6LAR9JrIeDEjaek3HHp3ekAA== X-Microsoft-Exchange-Diagnostics: 1; DM2PR08MB1353; 20:yVWk4vytD9qQPu+pAGM5KoFpOg+NtuPJJq9y9dqkSYkss3Qj0RWjyFGhPSTF3haqUfhzJmMAkcHkWaBvV9xj2+jRer3iiWclGkJjGuZQwpSmegu9p4/5vCmtHLyEr+wt4tcPedxMANln6Q7FkvH5CbZVdANJBO7F3Vq9F1VVR1uJ/sL7fabmGk3wie0Dreqy69AvNOLrzkXe6pK81cJhoYHR2TatTKIcByGNnVEHTvLN9S/ftAfN91d2DPTF0S/XQfFMK36ayGRqzgAKCxyszT0pe9PalGHtoWHcRhVQPps+2tFg6GkAPFfprz55ptLBltxf3jZEbsDsFetIFrPk+sklZpKxOmEnN/PlH+31ebiaA7dzX4rIQnesnkItBCAvW0c2BCwgM64v7lV3fd4q3F5kwh+IbGqF5jQaxnI7pGsTfRkht1LAVYKFe9ReF+Gm8D+CixArmjG4vggw7/0UrRuPOC4ROfaSTMm8V0+LG+8N9GsVmOV+UYIc9eKiUxP3 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(13018025)(8121501046)(13016025)(13023025)(5005006)(13024025)(10201501046)(3002001)(6055026); SRVR:DM2PR08MB1353; BCL:0; PCL:0; RULEID:; SRVR:DM2PR08MB1353; X-Microsoft-Exchange-Diagnostics: 1; DM2PR08MB1353; 4:1H4oX6c7e98TqLMdpGnCdsC165TfIj5yensJT7c7dnJq075h/xY00jvRFdiv5vUkM+j/EDTdrKAYVwd1Uguyr2jSOJELEobnxV4ei+BzgMxteed/uqi0bPPZn0Rjf5b2gxKN+wYGsUzPR2o91AS3HardUK4wrglgXEcD8mUWPBm8iGqmncsIPbpXwDQ6PDPnX7fGEKrv2MGeTYK8oukI0peUiF1HVP9C+gA2KG6u1vE/cJjKbd18Qi/PoquaXeNxUv4lOJBk6j3kC9Nm+q5hCAftynCFKfmcjo5SrJ5WoZlF1U3iyT0YnsDFENcg3ut7DonM3GzdlcId71D2s1lL47hgDYYDTVLZW96NmgEIHhLiv+rWec8HC+DVU+Brv4+lQ00GE5lrcoQHVNlCHcu0PFfHJcBGReGRd2Uc2IwDdGXNyCzaBAR279qW+vKvzBxEFhTFpdi42UaKPZornCD2cg== X-Forefront-PRVS: 09840A4839 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM2PR08MB1353; 23:SWaI90/tAslzzKqClZyHVfp5R56A/eGM+SIYow9yb?= =?us-ascii?Q?f7bdUiZlp+lYdkuUajhOrpRsIPbUqoadq54Qn6oHNhzJvGmg0p8hClTuKn7l?= =?us-ascii?Q?NkiEk8L1kHEmFlwXSrGEve58aD7kz/EzmAlnBmPMSs7Hs4oomtWfJNGuJ/Sv?= =?us-ascii?Q?vKRQfI8X7FnjdvnAwVt0tWOGLZE3wo0ufFMOvr5JEsqDOlFTDCzeS8ZHPYsc?= =?us-ascii?Q?ZuGosPXeTlhUzl/yKpfNmMCJYgvkr7PFQVGzg0Xbj9SrX3yk/s6YP8wP0UkD?= =?us-ascii?Q?zQNH19URdNZzbRm4sMT+FYgH3J+4+J7q8gN8Y6tsiQgx1HNz7iWufXPayPSn?= =?us-ascii?Q?A87I013ZxGMa24Q5wWIcHL9jJk/3n5IvwartWM9RM4xCsUIOrLQVQHA6+VC1?= =?us-ascii?Q?BHDVGgH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JffX/ESbver3R7LoK8QM4MOjyIV3iMaiJ66fMIeGS5hBYD2aNVBjMw1NOz5VjLrx4heaFvSzVR+592w2Jb0ponDN5ccZUQSZv1kBZhNOmJal+wr84/V0GFCkJKLWYyRRC5j83qfd0M6usd596xFCoOPujeoYM+ggNwqkEDvtl7A18oLSO+BVkb9hZxA=; 5:66rtm9/RxnPBeyhm4LBzr/X0qecgb57EKGcu74CRO/rH/wdd6OhSa1JCVLpAJ2Qxu4HtgnCIq/TLNfNozdzPdSXtsXmO6yvoCIjLRqFKo/2vUc+Oh1GkvhmuxpyzPOK209PsJ+gX8Crgm1gjVZi3Ww==; 24:dM08pXgSfw5MoPm5OmWPSyLi8vx9dgRD0kJGcXhR6dkG+xiHik5fj7/vhsI15ulVGpBa8iIW8DpL1mOFamm0D+tMHJ8FdhA504BLoydYxEw=; 7:R+Z7jOUWhtUoF/dzUwT7k2/x+ZrNz0ooH5RxxqHeev/IU0l+W2R+Kdhx+BBhNN5dvbkJPOuTx07dG//AzsUt/xDQOVioPRDu+bAFZBYrsWqkmqixyuBaLHq6SsPBWMWMksNsxbyWemwglD7dxim0zid12pxmI0fHeevZmiAXTsqqLmhi/K+JIOX1RxZBp1eEthsnji7JyBd2dA2DgJ8bRSELpxJoTOVBv8x59lzVdpOSh3wBQGxFir6J1lEd0YaNgWH0a4fo8ruq0dYsE57+sA== SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: am.sony.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jun 2016 00:08:18.4339 (UTC) X-MS-Exchange-CrossTenant-Id: 86f99b1e-a08b-4313-8c0c-2258d53da610 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=86f99b1e-a08b-4313-8c0c-2258d53da610; Ip=[160.33.194.229]; Helo=[usculsndmail02v.am.sony.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR08MB1353 Cc: "artemi.ivanov@cogentembedded.com" , "dmitry.cherkasov@cogentembedded.com" Subject: [LTSI-dev] [PATCH] Add phase messages to fuego scripts X-BeenThere: ltsi-dev@lists.linuxfoundation.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: "A list to discuss patches, development, and other things related to the LTSI project" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: ltsi-dev-bounces@lists.linuxfoundation.org Errors-To: ltsi-dev-bounces@lists.linuxfoundation.org X-Virus-Scanned: ClamAV using ClamSMTP Add some extra echo statements in various fuego scripts. These show up in the console log, and are very handy for debugging. They are useful to find the commands for a particular phase more easily in the log. --- engine/scripts/benchmark.sh | 5 +++++ engine/scripts/functional.sh | 6 ++++++ engine/scripts/functions.sh | 2 ++ 3 files changed, 13 insertions(+) diff --git a/engine/scripts/benchmark.sh b/engine/scripts/benchmark.sh index 3ffd51b..cbdd10e 100644 --- a/engine/scripts/benchmark.sh +++ b/engine/scripts/benchmark.sh @@ -28,16 +28,21 @@ source $FUEGO_SCRIPTS_PATH/functions.sh source $FUEGO_SCRIPTS_PATH/reports.sh +echo "##### doing fuego phase: pre_test ########" pre_test $TESTDIR +echo "##### doing fuego phase: build ########" if $Rebuild; then build fi +echo "##### doing fuego phase: deploy ########" deploy +echo "##### doing fuego phase: run ########" test_run +echo "##### doing fuego phases: get_testlog AND processing ########" set_testres_file bench_processing diff --git a/engine/scripts/functional.sh b/engine/scripts/functional.sh index 8f91c74..b93bafc 100644 --- a/engine/scripts/functional.sh +++ b/engine/scripts/functional.sh @@ -27,16 +27,22 @@ set_overlay_vars source $FUEGO_SCRIPTS_PATH/reports.sh source $FUEGO_SCRIPTS_PATH/functions.sh +echo "##### doing fuego phase: pre_test ########" pre_test $TESTDIR +echo "##### doing fuego phase: build ########" if $Rebuild; then build fi +echo "##### doing fuego phase: deploy ########" deploy +echo "##### doing fuego phase: run ########" test_run +echo "##### doing fuego phase: get_testlog ########" get_testlog $TESTDIR +echo "##### doing fuego phase: processing ########" test_processing diff --git a/engine/scripts/functions.sh b/engine/scripts/functions.sh index 2d23bc0..abb8d78 100755 --- a/engine/scripts/functions.sh +++ b/engine/scripts/functions.sh @@ -351,6 +351,8 @@ function fail_check_cases () { } function post_test { + echo "##### doing fuego phase: post_test ########" + # source generated prolog.sh file since post_test is called separately source $FUEGO_ENGINE_PATH/work/${NODE_NAME}_prolog.sh export SSHPASS=$PASSWORD