From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80042.outbound.protection.outlook.com [40.107.8.42]) by sourceware.org (Postfix) with ESMTPS id F3FCF3858C2C for ; Thu, 26 May 2022 07:26:18 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org F3FCF3858C2C ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=lUyJbA9vSQn1+Fiw6P0er4OALXhzp1xatpz4bM2Jb+HAEa1gpOYD1ls4vZhHKatNIuS9ZPNVaPri6SBoxLN93fSQi3FBt3be3HQBcpMMxbA+07tgDxA2+301BMcdLYjRA6/IqrYYyJxnNxGC2ms1tbFflCjec8afSvUJIUQjoyVHE68/uFWNdQWmFsGcKlNsXb+HmYC/TocgJo6jXjMh/lZc6ie+BuFN9cm/DMgMlCTqzm1H+hyB3BhxZeCEsDsQHVnsq/EJmZETN6B2Ln6bucW3/RBKUc5ouWQAYKgHWQl0BqKUNXE2q4UH5jTyHGXIubCuMTOw6hzMqO2l1szkMg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=dOvf8Tx+7Wc5DbaPiMZ72yeqboQ4/5BOV9KlXyVUG2A=; b=ivA8V1+IC9tVx5YCAPtLsgj7VTl1I3EkKkOsTHkcrLM9KV6ZJee7bIrm+gDO3XGDCZfQCfTwSegYXzkiQEFfuIVuoh2sOQBuUXdAVTKC3pBW1kAwZX27ZcWhL1bbRgWIEEGoW9JohE+BmKPFnz+/iqpURO2Uw2tyNyHogp5kdP2Ov9Sp/UG8NBepdyfIpsbZlB9vvMUJOnfSZE/5mrjg7tfD4f0tayuEIucO6Z5W9CABZfW1PoZQFle7f/7OdIA878Fg2QM0nqS6+P4jXNyUiIMt2qhMzYOId5FsvCzilTfe1mhCjPz1Fl1LnhMrbq1vfzBWfUcPvHwQXU17l7J0AA== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=sourceware.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dkim=[1,1,header.d=arm.com] dmarc=[1,1,header.from=arm.com]) Received: from DU2PR04CA0016.eurprd04.prod.outlook.com (2603:10a6:10:3b::21) by DB8PR08MB3980.eurprd08.prod.outlook.com (2603:10a6:10:b1::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5293.13; Thu, 26 May 2022 07:26:15 +0000 Received: from DBAEUR03FT034.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:3b:cafe::b0) by DU2PR04CA0016.outlook.office365.com (2603:10a6:10:3b::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5293.13 via Frontend Transport; Thu, 26 May 2022 07:26:15 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DBAEUR03FT034.mail.protection.outlook.com (100.127.142.97) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5293.13 via Frontend Transport; Thu, 26 May 2022 07:26:15 +0000 Received: ("Tessian outbound 32b886dfa5b9:v119"); Thu, 26 May 2022 07:26:14 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 87a0ed5f1d75a028 X-CR-MTA-TID: 64aa7808 Received: from 14da6e6c05aa.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 25411B29-A2F1-4B6F-8526-70B144378A40.1; Thu, 26 May 2022 07:26:08 +0000 Received: from EUR04-DB3-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 14da6e6c05aa.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 26 May 2022 07:26:08 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZhcHGY+wKrQmG2VfyxZP+18Vt5mzW9EWNkVDEq5EMCoLjTFXvlB6fVB84zmsJ5QqqCZMEpNh5rXTgdNgli/F4+ZGm7aJtThCdMEaGOg5lhUGZaQm8LgJzXGfUDfzd+4r8FI3WzZJ0f4rWGon42uYcBj3AN10gShOtMAROuhBbbj4QN7314TB3KT3Iz/DMZIfFd+bOJ0+WmnC9fs/rWKlfzaPdROHdJzTztfTIhtrziZxUr4ybO1B+RNwngGok1vcYS2UyVUYWwunoxEuSUxWxtfRIXoCLXqWGE4tbXljk1KXZvmMUcFO3PAyw7nOXS764jpvrcUOfbjEJunSIQWfYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=dOvf8Tx+7Wc5DbaPiMZ72yeqboQ4/5BOV9KlXyVUG2A=; b=jCFagAYzW6tpQdVu/1pMd3kUDHEnIrzboJqFvPGSotKAy6g4r/PID9DNFr6cJU/8azQf6XJ2Uec4zYjDyZhRC7PUsTL6sxng0jrtf2oHcpChiGYMlTWv/frFYLTctz5Ktznkt9wpXmceQQxaXzLYS5SY/kbOr9pfCV1CyCIKY+RqdAGvyxFGnlqz4owCuuhvZbdtjswQ+uDD3o3zaw354wYr74/NQ5DMlTSuJwtX2U0TCVeBY1dEhDnhl0krdntVTzXfN8yAnvfNZKRJWXN/+kuPy4ojqpEwxhHqRzJ6odKS2KFxVzqQNiXBhMnPcKf84unn8aJB5/68tUcrg6+ovw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; Received: from VI1PR08MB3919.eurprd08.prod.outlook.com (2603:10a6:803:c4::31) by AM6PR08MB3447.eurprd08.prod.outlook.com (2603:10a6:20b:44::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5273.21; Thu, 26 May 2022 07:26:06 +0000 Received: from VI1PR08MB3919.eurprd08.prod.outlook.com ([fe80::7080:6233:cf8f:a8a6]) by VI1PR08MB3919.eurprd08.prod.outlook.com ([fe80::7080:6233:cf8f:a8a6%7]) with mapi id 15.20.5273.023; Thu, 26 May 2022 07:26:06 +0000 Message-ID: Date: Thu, 26 May 2022 08:26:04 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCH] gprofng: test suite problems Content-Language: en-US To: Vladimir Mezentsev , binutils@sourceware.org References: <20220427093619.1188402-1-vladimir.mezentsev@oracle.com> <94084da9-e5b7-45aa-97bd-683f5b32ef86@arm.com> <4bf8c627-9268-ca2a-290f-0b7066c3179d@oracle.com> From: Luis Machado In-Reply-To: <4bf8c627-9268-ca2a-290f-0b7066c3179d@oracle.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: LO4P265CA0059.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:2af::15) To VI1PR08MB3919.eurprd08.prod.outlook.com (2603:10a6:803:c4::31) MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: faf01882-9e7f-4c6c-6e75-08da3ee90483 X-MS-TrafficTypeDiagnostic: AM6PR08MB3447:EE_|DBAEUR03FT034:EE_|DB8PR08MB3980:EE_ X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: wsv0jiG/3g1BN3YXQF2kumINfFtoQEKBMc5/Ig0seINIKI0P1eg1ik9+L8OB0NfC+/iQwx/khXPegKBvzcOks1W4IfDSjEleuXvrAYnXg3uGIUZyji64y51TjGEh60bL2t+wLwCilNLlB9MtirUs2HhgoBESm6+Qus6cs3pZDVzKcBW5CT+47wt/XUDImBwfasGBMGTGMDVGfUyZrIzQV7BHG3R8lopxPgKXbL1n91GhOc4vhGjmVzigy8UMNwfRceT5qaXGYWpgdH4POrjGJuJkArylcpoLcEq1ZyI5q1U4KcIN1fE9+IJyXNNQ+u90ArZ6GjrC175tJuWnl1swM2mVS1y9DHxc3yx5FvCCrAJsIz1ZQXF+hXykEM3SOBYn6cYyD5SBzpCbVevP7enGhQqM1lhyjf5XWGY64NIgaMRaDbpuF7iT5NEc6JfZ7j6gPAmwLlZfj+NHpl8FN9jeJiqKKeD1bBEHebf0QgMOm6XRq0gVDnSUwzGj+MlI1BL+1FBx41M64e32EUJ4A6gRd7Ks2BKwIG7gyET+BTU9SjF5BFKWWJbyaB9HaY/KNi58k8sZB3efcZSqQTnx3af0EuExhA8PLVRDLb8oDf9RyF0dC5xW5ekMMNmUH7AFwYiHZuST8xvoTGDn+pFuGUU9TA9Y8nHKRo2VESIoMwU8XZ757czJbwPxtXy2FRRab2nrja2XL249PSZQGGsa4ZwsHi8jmeDplUlCrv0Y08pKbQA= X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR08MB3919.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(316002)(508600001)(53546011)(5660300002)(86362001)(36756003)(31686004)(31696002)(83380400001)(66556008)(66946007)(66476007)(8936002)(44832011)(26005)(2616005)(186003)(6486002)(6512007)(6506007)(38100700002)(8676002)(2906002)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB3447 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DBAEUR03FT034.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: a482ceab-43d1-4f5c-135d-08da3ee8fef8 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 11QvbVxfJX7jOzMKAaA2YuIPe20IFEY3LTbecBdWvc0GNPCgfikbwbR62dVCY7c6y5xbi8sbNePwrxGwrChciWfzSYVWY1iqNOC8O1XTNI3nyiqm3Se55/A/JeoqQm+1PLR7/NqIBFtwI7HLZAUQqw/kLFpgLxIu98+N3f6kebS/3ekK5iNLBzFYH66sTXOekn74fDqEuQmg3V14NQuxaFlWnwJiM52qULfmeJsdX5tCXUAq91VCgMJ2VGkVTjKncEdNeR7aVW9iXPHI3Es/tyKVc8/Ffxg9ovgcU5RSXa+AkQHtO7PEYL0GfWmBMz7cF0cSfU7xrUAlXdQ1YnV1hElHHGu00n45nsuF2KweB6C048v8x3sG7uHhPmiOOKRjI3o9p+IkYxoHLIEatbIIP7XQCMkpc0mB0NGEtyvfjvr+YO2O6vkYm6srNQ4bcpvaXPcsdt8LUBP4MAWMJTZUuxS938WdOX+IVVCZO/cpKz1MvMqRi3fYYwSISKO8jY+raxFTXsfCGJlYenMPLzIQ/lZb3nMjZu11M6+4WcV6tRMH0EKlaVsvEdUnGuKB8GdEGdQTHm33bxoBe6EfhPK3NhxyWCuEaxttU/O5FVRc4rU+CrdRnFUqVKa8qqKLudIR1oIitRsKf+Ijp4RwIXQrLjRLwUh6QAwDgrNYGeWaLx4x2be/vbe9DHGdlhL04OaVKPH5/hYUBvFMg53vqhW4gA== X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(13230001)(4636009)(40470700004)(46966006)(36840700001)(186003)(316002)(31686004)(508600001)(336012)(70206006)(26005)(70586007)(5660300002)(53546011)(8936002)(6512007)(6506007)(44832011)(83380400001)(8676002)(82310400005)(356005)(81166007)(36756003)(47076005)(40460700003)(2616005)(31696002)(36860700001)(86362001)(6486002)(2906002)(43740500002); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 May 2022 07:26:15.0370 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: faf01882-9e7f-4c6c-6e75-08da3ee90483 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: DBAEUR03FT034.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR08MB3980 X-Spam-Status: No, score=-12.7 required=5.0 tests=BAYES_00, BODY_8BITS, DKIM_SIGNED, DKIM_VALID, GIT_PATCH_0, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 May 2022 07:26:20 -0000 On 5/25/22 18:19, Vladimir Mezentsev wrote: > > > On 5/25/22 02:08, Luis Machado wrote: >> Hi, >> >> Just wondering, how long is the gprofng testsuite run suppose to take? > >  There are ~15 gprofng tests. Each test runs ~ 1 minute (does not depend on the machine). > > > >> >> It seems to take a long time to execute (aarch64-linux Ubuntu 22.04), to the >> point where it makes validation of other components a bit annoying. I clocked it at 7m 53s, on a reasonably >> powerful machine. >> >> Ideally one would "make check" everything, but with this particular suite taking >> so long, it is tempting to skip it. >> >> Does it parallelize based on -j input? > > If you run only gprofng tests :  `(cd BLD_DIR/gprofng; make check -j ... ) `,  it doesn't parallelize. > If you run all binutils tests: `(cd BLD_DIR/; make check -j ... ) `, each testsuite runs in parallel. I see. Trying a "make check-gprofng -j$(nproc)" with 64 cores still gives me the same 7 minutes or so for the testsuite run. A single-process "make check-gprofng" gives me around 8 minutes. It doesn't look that much different. >> >> On 4/27/22 10:36, Vladimir Mezentsev via Binutils wrote: >>> From: Vladimir Mezentsev >>> >>> gprofng/ChangeLog >>> 2022-04-27  Vladimir Mezentsev >>> >>>     PR gprofng/29065 >>>     * testsuite/lib/Makefile.skel: set LD_LIBRARY_PATH >>> --- >>>   gprofng/testsuite/lib/Makefile.skel | 4 ++-- >>>   1 file changed, 2 insertions(+), 2 deletions(-) >>> >>> diff --git a/gprofng/testsuite/lib/Makefile.skel b/gprofng/testsuite/lib/Makefile.skel >>> index 7134c2715b5..7810ba7ed7a 100644 >>> --- a/gprofng/testsuite/lib/Makefile.skel >>> +++ b/gprofng/testsuite/lib/Makefile.skel >>> @@ -39,8 +39,8 @@ DISPLAY        = $(GPROFNG) display text >>>   EXPERIMENT  = test.er >>>   DISPLAY_LOG = display.log >>>   - >>> -export LD_LIBRARY_PATH := $(shell dirname $$(find ../root -name libgprofng.so.0 | head -1)) >>> +gprofng_dir := $(shell dirname $$(find ../root -name libgprofng.so.0 | head -1)) >>> +export LD_LIBRARY_PATH := $(gprofng_dir):$(gprofng_dir)/.. >>>     .PHONY: all collect compare clobber clean >> >