From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8C48D41D8D for ; Mon, 27 Feb 2023 09:41:29 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6A3AA40A84; Mon, 27 Feb 2023 09:41:29 +0100 (CET) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id F0CAD40A7D; Mon, 27 Feb 2023 09:41:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1677487287; x=1709023287; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=t4+qL0HO7wOwf81g4LJC1vgUwWwqNOcWUztMfDTGgzs=; b=M4PTyYS/7MFz4thUCGfefAZ+Oo+AjIqXAT+XYYfKRsPnd5ABnyr63IRK IkJJXbuIXa7QgVn/cFVKtEi6dU808luKT7L62mtiHFmwL7k8pQFglwXV4 Yf69U2P/uj7+RzaEbX9AIha2D8FsuVy9xTiSo3um/CdtmGg6Q+za4U7sf UAFFIUROlO4C3zTcUYbBtkc9rRGfV2BiWTtucq8QMk+d0dVd2zI5yhpC+ bGFEH3a8JV7R3zVVE9DGvVjQ5GtC6G+ewwqq+9uwpwDEOqyn7pQOuisMB panIxjJZu855f2kiRL55xwcrl+ukhLmRmbD9M9/vkOTFH/8KW2SxVvKu0 g==; X-IronPort-AV: E=McAfee;i="6500,9779,10633"; a="332534498" X-IronPort-AV: E=Sophos;i="5.97,331,1669104000"; d="scan'208";a="332534498" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Feb 2023 00:41:25 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10633"; a="762594481" X-IronPort-AV: E=Sophos;i="5.97,331,1669104000"; d="scan'208";a="762594481" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by FMSMGA003.fm.intel.com with ESMTP; 27 Feb 2023 00:41:23 -0800 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Mon, 27 Feb 2023 00:41:22 -0800 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Mon, 27 Feb 2023 00:41:22 -0800 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16 via Frontend Transport; Mon, 27 Feb 2023 00:41:22 -0800 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.174) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.16; Mon, 27 Feb 2023 00:41:21 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DbXBDJGyLLQKcuwwuVpRtOV8Phekq/OI29RHvoeIn/wcR6mbGPhyM6JXMaqx2Nw5uz8H8Lkp22B9mikcfo4BQOtVec0ltqeOct89Vl1W5A/JikJCEEo6m8uBplT7WM+WPfeIYQ1o/6FsTLZB/vEsxlJK/KJBQaQsUApJ+EJX6t111g0KsNK8ISzPlM3/pIDxT2uFwhCCzIIkbRAj6UnevDYQ7MiSS2JKqUTcIeqxVT6TBWq/qDXxSC1Y5TFULd6XBBClrR2KpWDPhNS6yt/v5VP8ln0lUiXchNRJ4wtKiEXSR93uqbPxm8uzJs2CqC0TarMX8G71O/nKcq64rgprew== 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=e4SZGgs5h3A/64jZubAbgwj5bn67ERBeVvUH7t5aB6Y=; b=F67jhClOOTWbhDpnuj8IYW3kT1Y1FRlBuSZ7pELcPUIm4ks0/qUdgFW9THjWA3qSrHOgnXXlTm+rwwxmlMKeQ43ZJMsO4TwDNoCLnnGE5v5kK7guBGvKmxDQf2JHKHL1TmBJjVKj6Ol9NMN0gkRYnDOZDdC09bjJLnZXkWMgTw+3iCmHW2OS1GJitY4VWE/0lixMMbbv+ARxOR3Z/fhNH3O5ExVGf+1uhhtcayFKAQA7XPVLTV0y8teGdtpHYbI3bksyq6CUeVbniqTtSdDw5tDF7dsVHHdcIEfrr5KkaBJjtb5bg2yCC1st+NEcEpzMoq9Gu4azqO0ROyjyLLIqZw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from BN0PR11MB5712.namprd11.prod.outlook.com (2603:10b6:408:160::17) by IA0PR11MB7331.namprd11.prod.outlook.com (2603:10b6:208:435::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.25; Mon, 27 Feb 2023 08:41:19 +0000 Received: from BN0PR11MB5712.namprd11.prod.outlook.com ([fe80::f912:bad2:e618:84c1]) by BN0PR11MB5712.namprd11.prod.outlook.com ([fe80::f912:bad2:e618:84c1%8]) with mapi id 15.20.6134.029; Mon, 27 Feb 2023 08:41:19 +0000 From: "Van Haaren, Harry" To: Thomas Monjalon , "dev@dpdk.org" CC: David Marchand , "dev@dpdk.org" , "dpdklab@iol.unh.edu" , "ci@dpdk.org" , "Honnappa.Nagarahalli@arm.com" , mattias.ronnblom , =?iso-8859-1?Q?Morten_Br=F8rup?= , Tyler Retzlaff , Aaron Conole , "Richardson, Bruce" Subject: RE: [PATCH v3] test/service: fix spurious failures by extending timeout Thread-Topic: [PATCH v3] test/service: fix spurious failures by extending timeout Thread-Index: AQHY2YKRDtiKaquGO0iRXNp3CgKP364BW6cAgABmbQCAr1xjAIAIX4GggASLY0CAAAeOAIAfwdiAgAWIDgA= Date: Mon, 27 Feb 2023 08:41:18 +0000 Message-ID: References: <20221006081729.578475-1-harry.van.haaren@intel.com> <4132916.ZDofJx8uAJ@thomas> In-Reply-To: <4132916.ZDofJx8uAJ@thomas> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BN0PR11MB5712:EE_|IA0PR11MB7331:EE_ x-ms-office365-filtering-correlation-id: 08328986-96e4-4c66-be0a-08db189e6585 x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: rVSitYRzZAqDA2CGtnjlnXlVk6dM1H5+uOg5rVi/8mgDAfV9x/9rUoXHZWSRrt9vhorZD1pf17fSw9+nMLHGOW/1lBKfM9S8LniudVtjP88YmcXszJW6rAFc5PDRkmCFKBMJYNB5i2BsDXzglwz+mmv4++EwTLTlkOiX/MS+RQgzlt3VU/61U3fY2nc//GNbJZ6xUsyWfD7izot2omelmS6B6bj++vSB1BP6rTetw7OcJJKXSfGPS57bWDAg2xf2wGPeNiNELUl0Gm3fkKCMHG8nfWQQ0DbOUvNYqIcGFWKs+C8aldXubUcWtid+8uoLw1BmS5HU1ps3kdosZsX8FfR6oU9i0XJC1XV6TzwHbEj178XHFf9vj30RSpHahRnOx2l96mLNsy9Jwjwvf5Yg0L2TxNV3K7Sl5FeLO9BriSQrDQkcHiWuAAkUu+d1QAQ0O+PnReS1j61EtvzEWQ7ZyFcxtqbqADzsukDjekx+1x+Q6ddBwkrRDXPqHHg5Y7vtsjeSv1P3LZdlQxIR+n3W5YQ8/0I1h3K1ur9fNbQxeV2YA5jm9s+J/MIGm6dGH93eV8AVOLKOHgh6q5Z6PW47lkPMEjJXtMyJqLs35NJYZzLN4+Ubynrn4xGArsTUdb7u9sKCohUdn0gl0yUg7Ws+8gdJjM4DiSokPqgJMu78AqIayTseCqFjfJIcSCLi1FYIkGhfG69ku+79l0wEgw9Qug== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN0PR11MB5712.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(39860400002)(396003)(346002)(366004)(136003)(376002)(451199018)(55016003)(38070700005)(33656002)(86362001)(478600001)(41300700001)(66476007)(66446008)(64756008)(66556008)(52536014)(8936002)(4326008)(71200400001)(76116006)(8676002)(110136005)(66946007)(7696005)(6506007)(316002)(54906003)(5660300002)(186003)(7416002)(2906002)(9686003)(83380400001)(122000001)(107886003)(26005)(53546011)(82960400001)(38100700002)(66574015); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?x4meKjlgtFgXN7wmIhZtiLajneDcqCy8/KWok3AIEvJcHxUizoTdrdwCYZ?= =?iso-8859-1?Q?atVb2umbVR46DwNg60d8usDiJ86wCLCR+4ctu4IxSP7DIoQXCIx/DGWGRp?= =?iso-8859-1?Q?CVvN6ryJylF1dvvHuEDB9XWqgvdWIZSlCiVFCouy1AuPYTbvVYS9Hnj5Hj?= =?iso-8859-1?Q?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4eASlltKvcDXQ3B63FvM?= =?iso-8859-1?Q?ANv7lXgYGpqlbgjw/B/nYtH3WKLA4ONtw0XdCfAa1UqoBTWid9/G+Vex9Z?= =?iso-8859-1?Q?7FXabSvvIvyk8CO1D0M9l77x9S4SATZFEpzLVQnhoZ2vPPZzoVVa3S4Zfd?= =?iso-8859-1?Q?8B7050qcSajiSz9Fq4ZqNIw2ODj3q7hbFyZwlKjvPYIE+fG98H1jvNmGGo?= =?iso-8859-1?Q?LAdjxOXSLsjJE2qbJBZHxJFoxgTCGIy912uPU7LIyV8ZCL5l1EzERZL+mP?= =?iso-8859-1?Q?Dqnv4VaKuRaqqjHF056KnpawIDaz1sM+6QHvB9bxJfjeYNVIYk5quiZaJq?= =?iso-8859-1?Q?Yai502at5pglsvmS1RgWoIWDWSrnHm1D1bTS//MqfrM1C7wdiyjaRmLIrM?= =?iso-8859-1?Q?kq6K23rB9tOEjJBMjtQuoNG2ZM71DveUoV/HQZ9Sf/CtoOA3f7Bisk8vrO?= =?iso-8859-1?Q?18ihX+j1dsNWWeaTP0eJV1bSr44/oCV20OH6unh6TC0x5wta9ylYX6xqyI?= =?iso-8859-1?Q?FDRl+M5ST3nO9yMZNBxwCTA65YQBir8br/KFiVxYdgMb5qM1COcgMLjjeM?= =?iso-8859-1?Q?BRDxwkPT6VjZXLXPf/wPesE1KoRJF3mvi6hPrKhkQ23bfkCABAq1qX8w?= =?iso-8859-1?Q?=3D=3D?= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BN0PR11MB5712.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 08328986-96e4-4c66-be0a-08db189e6585 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Feb 2023 08:41:19.0064 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: ocbtEdYxdixYftXkj47TRyOyNUIMle80mBnijI7dzjBYwsleFibGR/HmUWmmHH+LrUxb2TQSv85+QSZBKz3lbozpUWC+4HMuC61O5tjtRkY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA0PR11MB7331 X-OriginatorOrg: intel.com X-BeenThere: ci@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK CI discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ci-bounces@dpdk.org > -----Original Message----- > From: Thomas Monjalon > Sent: Thursday, February 23, 2023 8:11 PM > To: Van Haaren, Harry ; dev@dpdk.org > Cc: David Marchand ; dev@dpdk.org; > dpdklab@iol.unh.edu; ci@dpdk.org; Honnappa.Nagarahalli@arm.com; > mattias.ronnblom ; Morten Br=F8rup > ; Tyler Retzlaff = ; > Aaron Conole ; Richardson, Bruce > > Subject: Re: [PATCH v3] test/service: fix spurious failures by extending = timeout >=20 > 03/02/2023 16:12, Bruce Richardson: > > On Fri, Feb 03, 2023 at 03:03:38PM +0000, Van Haaren, Harry wrote: > > > From: Van Haaren, Harry > > > > > > > > > > > > > > The timeout approach just does not have its place in a functional= test. > > > > > Either this test is rewritten, or it must go to the performance t= ests > > > > > list so that we stop getting false positives. > > > > > Can you work on this? > > > > > > > > I'll investigate various approaches on Thursday and reply here with= suggested > > > > next steps. > > > > > > I've identified 3 checks that fail in CI (from the above log outputs)= , all 3 cases > > > Have different dlays: 100 ms delay, 200 ms delay and 1000ms. > > > In the CI, the service-core just hasn't been scheduled (yet) and caus= es the > "failure". > > > > For me, the question is - why hasn't the service-core been scheduled? C= an > > we use sched-yield or some other mechanism to force a wakeup of it? >=20 > Harry, you didn't reply to this question please. Same answer as similar topic in the other thread: > > I'm not aware of a way to make *a specific other pthread* wakeup. We c= ould sacrifice > > the current lcore that's waiting for the service-lcore, with a sched_yi= eld() as you suggest. > > It would potentially "churn" the scheduler enough to give the service c= ore some CPU? > > It's a guess/gamble in the end, kind of like the timeouts we have today= .. Patch sent as requested in other email.