From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04olkn2108.outbound.protection.outlook.com [40.92.73.108]) by sourceware.org (Postfix) with ESMTPS id 70BF7384AB79 for ; Fri, 19 Apr 2024 10:47:46 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 70BF7384AB79 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=hotmail.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=hotmail.de ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 70BF7384AB79 Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=40.92.73.108 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1713523668; cv=pass; b=S7JCXjUAIG/e452YQ5MYRwqZ+2FvE7gZfMzf89RnASuljlAmYFXZenRVo+MymzQMtfMGxK9hHHNqTIcXc70d5CBgxjSTUri9ms5SVlIBKjjA/V9wpkBL9axWSK6zQ7ttTX0iDVQtdQRzladiUV3FPciRNJUb/VWKuOZUyT/Ke6s= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1713523668; c=relaxed/simple; bh=SZnct4iYbi5Kz/FeMUbQhTfmyzqbxImCEJSIUTTEfmI=; h=DKIM-Signature:Message-ID:Date:To:From:Subject:MIME-Version; b=RA8aMFFSGCc+P+plyTOwaXQ8xW/ij3VqoYSSbH27q7b/F5DezW+16tojGKhXrC1rSgYieAmwXZJyQdcHPdDo+q06BYeSQ8fQMhUlWvgQ8nRw+1j0ivvI6qg8darA+/A+Zt8NRr9E07MWLBq7DaRtCIw3SmV8aFS7jg17tXCTNB0= ARC-Authentication-Results: i=2; server2.sourceware.org ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=COnhqfaYrR8e0sdeIofCrya4ws0BWuBowJ/xhcqjXbpTgosPBFkvmub8FeatWADFsNDjM04LPrlARCI6GsSCdpC2BHQRN8vbJP8ndPFbTz+gvRQJCH2WpwxMqsgmc7aGqHBYmfv8j5pmp5jXqozRfxm4EbBEJ1x7hZuaUCEYTFC4ZZe3+qH6JwWKCFY87YdHq7IiErLT1TfPaHVyM/mqTZrgHlAQ8ct91CJj+JpgeWL+veBHf+rMhCmTBNPFP6mLXgzhus2Y59ej30m7UikkzMoZV2nXWN4M9ZedAIqcQa3VtcL8sx0SWtJ0VOEScrlSLRtyh5XrJWDklVembVUwzQ== 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=HpBEn7ZULJn31owsGcbrZ2rc9+fO749os5X9SshdxXo=; b=XIkXa07ul2bxjw6IFvf1nUcEBs/90+PghYZ96Cq3IIXFxTDhgn7VxDAEXuZEA6KuX22CyXtvfLm/pzPAejk4V/IfNxF3UQZk6lNTNU0gQh/pCkaGkkN71GqBBfzL1sWC46zlGmPcllQiV/SsH2ECmyJkO84oSrn1zgHK9tT+mLZk0XzpKCkok7fDnjNCA7obGQXEWAL+vo8PtMsksKIOprAwgLSx2oLr/hAyBn9SkH+gW/jD6QsL2BQfWaqKNXAM66APrPYvnjyzWy0PGLTbuefP76MT+SrJikd/HRPudGzZTDbeonNlm+mINR6hLPqQQNvOKabgXtSjJmmVPRbhYw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=HOTMAIL.DE; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HpBEn7ZULJn31owsGcbrZ2rc9+fO749os5X9SshdxXo=; b=nnmH7DWYoiv4eQn2lliK/RNEjlaZK14bZLCPhKhTut7UeRmBZIhqGMtCj6wNPxjwDD8rpt3H6ugLeWFzlLJOdjqNmJV5HFuofO0ie6hl9yfhDUBK6trUH/F1lOz04G1ByWmFU6CmqZmZ/S12fKOZl1TZZOFfgVpx+fiNdqmQRt6pRUFN0V+OEJ1UgxCe69ofiBZDbP+EOxJQ9wCmfd+/ae4w8G4qN0Eer5GaWEur+OqQtbHvmjKDHhqFZvf9QYO+rINhiTO1CWW/OKYkh9kcO5GZA1iEOSO55pmIFzO3QUkpsiZQBs5l8Ceqilupb918pncrIDSIAhklI+kkQu7GoQ== Received: from AS8P193MB1285.EURP193.PROD.OUTLOOK.COM (2603:10a6:20b:333::21) by GV1P193MB2216.EURP193.PROD.OUTLOOK.COM (2603:10a6:150:21::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.43; Fri, 19 Apr 2024 10:47:43 +0000 Received: from AS8P193MB1285.EURP193.PROD.OUTLOOK.COM ([fe80::5403:f1ad:efaf:1f71]) by AS8P193MB1285.EURP193.PROD.OUTLOOK.COM ([fe80::5403:f1ad:efaf:1f71%4]) with mapi id 15.20.7472.042; Fri, 19 Apr 2024 10:47:43 +0000 Message-ID: Date: Fri, 19 Apr 2024 12:49:37 +0200 User-Agent: Mozilla Thunderbird Content-Language: en-US To: "gdb-patches@sourceware.org" From: Bernd Edlinger Subject: [PATCH] Fix random dejagnu test abort with simulator target Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-TMN: [mLUeWzxW/pnjWYFHTKrstSMUJkAbam7yHHZCWVw5Xee0lhQWw7LfamxAB52m0MU1] X-ClientProxiedBy: FR3P281CA0099.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a1::16) To AS8P193MB1285.EURP193.PROD.OUTLOOK.COM (2603:10a6:20b:333::21) X-Microsoft-Original-Message-ID: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8P193MB1285:EE_|GV1P193MB2216:EE_ X-MS-Office365-Filtering-Correlation-Id: d90b8ffc-dcb7-4b55-d9e7-08dc605e247b X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: EyC9dZ+21PaeqH71wjounOn8H6PtjT/gGor9cjk59ter2ISP/gSp7hdxhOFibI7SHcaTLPpTKjpD+ID6KWxuoyyJEYcQWYhXldA8cnDCfIjx1G/bG4unYBkT/WQ+xVVPKdq/QIoxq4Jw6lzgP6jRayfQ21fC6bHSt4mI+AjGSIweFnqyLRJyJ/VXOtx1nyMhWEFZcMA+aDkgZ3Uknz8ZMolaYBmvDWGa+idVBO06kh07ADKsLV+gkaVb5VOxf6tU0m7dU6HxLk6hfpHs4Sp++vXICt9SSEOMzIrrZpbls8Y2N5jB2JaSOtWw0zPxv22YyklagZyYjjOEJBzgLGF3w14Sb6O3gTWhgwa5Dp8Grb5J6fe30BUEPVTzaWv+Es4C3DAYEotPNiMq141b3tEo4M3baQmZ3A5Dz0etl32LBaeti+HX1Gu9Z8cKF44GMQQ2ON+IGQFtDkIPeXl3WBPqaEfDSXDSHMiwbhrRtWtuKAhovFBtaGUgkzqQbM9m9LOYmIUZFs1mY5NTfSTNE1b6YsbeN2HCcCOvByBU0Knpg7uN3s0nemIyMrNOPKF1Ij4dhstLugLdtk5nSUgt7sY8Co9AAeB02lGsZIxjdffTx/YyJtEv+sO8XaErkgpSx50KSzOApkR7PHYg+hP64rkiizqAf2/SGsHRI8FS4U3laQ4= X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?b0FSTWx6bkRoMEd5Z3N2NElaTEtnNG8wU0RyK3BqNnpKQ091b0pMaWpVUzQv?= =?utf-8?B?TFRZS2dkUzFlWklYeWs0ZUpvM0VsQnIwS044L2NZTU14dzlycG9KeGtDVjJu?= =?utf-8?B?Vi85QWx6RU5xVkViL0NsVFNlU0c3MFBzcEt0Skh0US9zQ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lnVzR2b0NESEpoQ2w4QmplL3hxNU5OZS9j?= =?utf-8?B?UTlrU3VmRllZT20zMW43NUtTZFBvcVA0bTlWVzg5aXZBOUtQM3pDWjdUbnB6?= =?utf-8?B?RFAwQTlNZXEyallxcHRSRUszZFpuazJHaWoyL2FwZ2hoQ3dEb2M0azZTVDNZ?= =?utf-8?B?M2VPUkk4YmJacEVWbnBxMm5HNzl3bm9adElNVVdrcldJVFhSNVBPVFdFdVdH?= =?utf-8?B?MGg3T3BzcG9SNzJKb0VvWG1wT0wzQXRoR3lxL2FPalF3bmY4TzJURGpTZE9y?= =?utf-8?B?WnFoRElBR252Uk91a1hGbXF2Y1hhRHRIT0xLVlp5RlV0QzNvdHhBdHhzb0RU?= =?utf-8?B?b0MwZWJML2FsTElmb2sxKys3azJTNnpTN2M1a25VWlYwZ2p4c1JsV2pGa1JB?= =?utf-8?B?d3lWaUs4YThsS2FjeTh6QjJCbTBBdUI0L3hEK0gvM24rNlQxb2gvMmhxdk1W?= =?utf-8?B?cWE5U1JWSmNLMHRBS3Z6Vk9uUHNHSTlBYzhjeENZNDFZTjZYdGhPdnBaSG1K?= =?utf-8?B?ZEEwT25UbmNDK0NlRFZkRzBuV3lWbGhzSTJBVDR2QTRYQXhNN29aZlMybTJk?= =?utf-8?B?eW9PNDJDeDNwT3ZGUkE4b0ptd2RhcFBoblQ1WFR1L0E1RWM5NjNEamJtRk5z?= =?utf-8?B?dndRa2tBbC9SNGF6RTZTcWZ5Zy9GaW9vQ1diWk1mRTAwUWpsQjNDTmRvdWNF?= =?utf-8?Q?Z1cD9lrcXNwQDJgYcV/CCRnrndy0BudpARYtAZb?= X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-80ceb.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: d90b8ffc-dcb7-4b55-d9e7-08dc605e247b X-MS-Exchange-CrossTenant-AuthSource: AS8P193MB1285.EURP193.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Apr 2024 10:47:43.8732 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1P193MB2216 X-Spam-Status: No, score=-13.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,GIT_PATCH_0,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: This is probably a dejagnu issue with the gdb testsuite when a simulator target is used. I observed random testrun aborts with dejagnu 1.6.2-1 from ubuntu 20.04 The problem starts when the test case gdb.base/sigwinch-notty.exp tries to execute "sleep", although that is impossible with a simulator. And for unknown reason the test case completes (with errors) before the "after 1000" block is run. Then in a totally different test this happens with 50% likelihood: ERROR: (DejaGnu) proc "bgerror {can't read "gdb_pid": no such variable}" does not exist. The error code is TCL LOOKUP COMMAND bgerror The info on the error is: invalid command name "bgerror" while executing "::tcl_unknown bgerror {can't read "gdb_pid": no such variable}" ("uplevel" body line 1) invoked from within "uplevel 1 ::tcl_unknown $args" === gdb Summary === # of expected passes 30815 # of unexpected failures 241 # of expected failures 3 # of known failures 23 # of unresolved testcases 241 # of untested testcases 96 # of unsupported tests 532 # of paths in test names 1 So the whole test run is aborted in the middle. This patch should fix the issue. --- gdb/testsuite/gdb.base/sigwinch-notty.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/testsuite/gdb.base/sigwinch-notty.exp b/gdb/testsuite/gdb.base/sigwinch-notty.exp index cef21c07c59..0f70f0978d2 100644 --- a/gdb/testsuite/gdb.base/sigwinch-notty.exp +++ b/gdb/testsuite/gdb.base/sigwinch-notty.exp @@ -21,7 +21,7 @@ require {!target_info exists gdb,nosignals} # The testfile relies on "run" from the command line, so only works # with "target native". -if { [target_info gdb_protocol] != "" } { +if { [target_info gdb_protocol] != "" || [target_info is_simulator] != ""} { return } -- 2.39.2