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 E3F24A0C47; Tue, 12 Oct 2021 13:52:52 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C570C41165; Tue, 12 Oct 2021 13:52:52 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 9C0A041143; Tue, 12 Oct 2021 13:52:50 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10134"; a="290611267" X-IronPort-AV: E=Sophos;i="5.85,367,1624345200"; d="scan'208";a="290611267" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Oct 2021 04:52:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,367,1624345200"; d="scan'208";a="490934122" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by orsmga008.jf.intel.com with ESMTP; 12 Oct 2021 04:52:49 -0700 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Tue, 12 Oct 2021 04:52:48 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Tue, 12 Oct 2021 04:52:48 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.168) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Tue, 12 Oct 2021 04:52:48 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=X+uUhO/SSNXgCzgtEMQKeIVynyepuitrlPqve5yVOxnqzTuXWpuhRrqmEQePHaKl9WAopwvWG6VYX5fSZonI2EQsiQ1E2QX3ObRo6ED7vTxrnpe/AUJ/keCNT3kL1Fi/ficOHeoddalbg9H+PiEpSEx2ucQSwrS4yEReXBLd2W1YJ1HyCtOiKro7AzIca/Z8IeLifsQapHnCB3FJznrGd0KBQ8tTcwDduCtqc3UMrnyo1qCT39cRTJj6NqIjFGOKic/mjQBw5zUfcVnJb4l/WjTT1JsMS8X0aVfB7QPQZ/Qu0x7gEHDjzUQS/JrNkmQcasapRqmZCRfjeYmeg9gJLw== 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=hehfVJe7SdZ041nOTGdpH+xFEMXsl3ATFUxILRz32jQ=; b=biHInpPB7WmoY6cYlDrHJGVmic+wIpDljbQ/f2GC+aETp4eehVEcBhgJ6xRY9onfaRNevpoZ5JEEIQxVctZQ7o9CFL8IAuND1Z9txmTbjky2liBbtiIP5RWarwc6aNNDQrt5qq3FzZJrQiJayRgrCsuY9PdFr0qo3vgG4vRjW6UWuvvxhflFSuHrF3hJakqh0AohJrPborD0Djg82r2NIhq6EJWJutS10ouN3MthXD3mrCzKWW1nMFLvr5IV6Qgcbyw8R2r3OMqxCA63IBxt32DiUi24S9VwCQGh8r+QePO534i9ZzLWV0OtAMDVvQcvp/5Zs48s+IeV1rZaEVE6Wg== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=hehfVJe7SdZ041nOTGdpH+xFEMXsl3ATFUxILRz32jQ=; b=qOpJN5C5JrATaEWrP0p2ouCGT6PTOzHwiNFKbKQBktollJ2EpJeYRoxMqSGMUimiwvLANzSx2MMHdaUpA1N8FpzBUgjBWVMx5EkpyODCa1Bbw41BPtAA1NbmlZa/75h5k1HAVUS2MCediyGAb+6Knkzrn9Y3Ne3ca0FlO1ARLsY= Received: from BN0PR11MB5712.namprd11.prod.outlook.com (2603:10b6:408:160::17) by BN6PR11MB1460.namprd11.prod.outlook.com (2603:10b6:405:b::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.18; Tue, 12 Oct 2021 11:52:47 +0000 Received: from BN0PR11MB5712.namprd11.prod.outlook.com ([fe80::701d:ccab:5607:daab]) by BN0PR11MB5712.namprd11.prod.outlook.com ([fe80::701d:ccab:5607:daab%4]) with mapi id 15.20.4587.026; Tue, 12 Oct 2021 11:52:47 +0000 From: "Van Haaren, Harry" To: David Marchand , "dev@dpdk.org" CC: "aconole@redhat.com" , "stable@dpdk.org" , "Laatz, Kevin" Thread-Topic: [PATCH] test/service: fix race in attr check Thread-Index: AQHXvq/0uHMDIoPL00yguI6gbmPMvqvPQavA Date: Tue, 12 Oct 2021 11:52:47 +0000 Message-ID: References: <20211011145430.6587-1-david.marchand@redhat.com> In-Reply-To: <20211011145430.6587-1-david.marchand@redhat.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.6.200.16 authentication-results: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 12a2f975-ac73-4e76-8286-08d98d76cf81 x-ms-traffictypediagnostic: BN6PR11MB1460: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:229; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 7g5VtVUF9UqGvslXcQ3n1c0fjPi4a3I8f0K1+9KpKsvvw+jINLtGcGwxcuHZPkEuUvsfJENeCR5Nkew9eozgs6toGXklvx53/AzJBaHV7efmTGV5ogmfRGvkoxZRWVkIr6Jfv8to5BucW4M2c8KagdlObaiYsbjD5favDtLfgKoFAfQRjhsIf0VRwb7pAf3LSrhxmYwmStfijbo/0+RKejLj5/Kv0Hl40YRin5UgRuYAe0UGapEIz2MJdxhfu4qS35w3GtIxqjd5SacahJw7heCu7nZDoxea60a8GedTXFsU+6KHpKHa+wKKhLt8KT5kqS0+k5LHnydJR1ssTSGACAQs6DKB0MskpFYfk3b9x9xQJJH3KNbRBBJJEtN5X2DHEF580Isr46bsT82cgwXtfb/vJxncvGUbP9OtQDBWv/r7wNWyS4lYBXdLj/pmZMfFOyYQ6kvQ32QuFoTsbvshm3K2fiq1/o9bOg3DOXLuySObJFiptZ/sXbWGnqYDG5aLEGQ8OeFRAoZsSnJFBNAEtoOWq82TmFgA29y8cTCNS61KfS0tkIyncgnuXwl1H0iJMJvjdHgnBgURVVoUYXmaRNVqjW8XDDVbGzrjA7/vu6bpKDy1tJMnVAxCLYk8C+j/L5Uwr3Ne0tqZ2XYnhI//MB9OZoDQJVb3nrSaE/8PAVy08xgGiWZk5qrUL6UuCrVheSLcUffiPcJTZvjZJRWB8w== 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:(4636009)(366004)(54906003)(55016002)(38100700002)(122000001)(66476007)(66446008)(66556008)(71200400001)(6506007)(8676002)(66946007)(508600001)(316002)(9686003)(76116006)(53546011)(110136005)(33656002)(83380400001)(64756008)(4326008)(7696005)(38070700005)(4744005)(26005)(5660300002)(107886003)(2906002)(52536014)(8936002)(186003)(86362001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?EA9kRUb3y8wedYcc90HKgqe6KhdJWpBKgOIhVZgKS7y/cBHfsvZ31XL9NstS?= =?us-ascii?Q?AkiBFz+hL6+xqOD/5Y/FG8CVaeNaKaJJsK5Jxln/YOZO1s+O6lhhbhH8aq5D?= =?us-ascii?Q?0QU3w002Dvnn+mzZzTDF0mnXihLmdLMuj755O+1MNpnbGfsO7w4H2ddskBmZ?= =?us-ascii?Q?P1vhWXVcvl7Ru+5ci2cyPciVfDl1wks+d+HAeIBuUJm7Co/bZec2Cylsis2e?= =?us-ascii?Q?l9ubC1/c/Ud9J7oELDhKeWnP3vF61pwuALspoBvcBP620auFdmwMPZGvT7sU?= =?us-ascii?Q?0Po1OlKLJOv97mN61X7Ki/QVji5iYBY+p5+qU9wFMF+U7fJeHQUz4fhMpwhm?= =?us-ascii?Q?O4KLGJiqaAyLNZqmvOqg6MT2B09Mk57lTkvSqrDQj/BtOyRPxoWZ3IDm/hJM?= =?us-ascii?Q?9VuoU52C256+SxR5PdQ93Gesy0DH6JyFjKUOSsOuvCZWd+n7NsSbnT+cdISB?= =?us-ascii?Q?0qffPeth2TuZxcwfp++7Ii84o8d65spt6RA8YW/HwBuqzOWtjWY/tNbrvVeh?= =?us-ascii?Q?b9jCR7c88SqqXud/ssHleOi/AMrxS1P3mtQvefSbkjFk70G0TJd6kXcUAGMI?= =?us-ascii?Q?XzZKhsU+fhEtfB+PeWut2XxwAvmDgbMDoDWl/TJI6QzXv+4Pw1xJtoRrheA8?= =?us-ascii?Q?lpqwEWSAHbqrbFEYcQN7gycCfxWUIZX8k80ar0AHPlJvhSqNPSP3ZDmSb1La?= =?us-ascii?Q?sluy8EvMyzGJ37Q/4bav4/oHV2LcTFc8O5KhgZvRrbkq3+SeIMjStg7hKQNT?= =?us-ascii?Q?/gl+WwtX7SHYFCli0BCQ+5z/n0Ke8SvJl/Sjrbqe1MZAPCbrkd4DwYfI+DpB?= =?us-ascii?Q?TU5oMVNSg9wreH5Jk1VQGSaslMrfNZ61iHiixEqVM7s/hKJ9mdYauRaDn/4G?= =?us-ascii?Q?niRyjiPh8N/BntfQ/w8rbcsDKH9qV5Zt9s8FRX28DMZaOTTUz4UEBL0jbkCR?= =?us-ascii?Q?BcvdCiOtuG9pNc8w4jKijAkQnMa4zj+lR8WL4TBunqIR2YprX/GnWDLHucjP?= =?us-ascii?Q?RpRRYRz3YwWrWgjJ2mwqDAgVXCkST9rMaJ2kKO1dJyos61Y/r9hfGi0NoLS6?= =?us-ascii?Q?i0uSVAuZs1Fv5mUJY706fwj9A8BcY1LEH6t4Xcj+XfRA1ZdO+QqWxfI9736z?= =?us-ascii?Q?8X1aZd6hSQzbjClbzZKpoucRzhZavZWqWWtYE4nZfBxKUoYAPiTjqOnqaV7r?= =?us-ascii?Q?wBmQ8lwoVstEobbpKhJgZbsEVzEunoSCCAJHdEBAYg8qln60mm9z5aHLIafE?= =?us-ascii?Q?MPGhiL4J/gZQA04aEPxik11tthsC6n55CGdorBIR3Q6xQtwY9uKIYLKFUTfk?= =?us-ascii?Q?JOU=3D?= Content-Type: text/plain; charset="us-ascii" 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: 12a2f975-ac73-4e76-8286-08d98d76cf81 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Oct 2021 11:52:47.5549 (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: LzoinmqFCChLN8VkUGaCU3SCpnZR21c3MAzrROHMgcaKNbunwqvo7pbbQN6ECqGKKiDcggVCjUBjBnbamsVwWroL2t5XQue4o4NVOqynOe4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB1460 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH] test/service: fix race in attr check X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: David Marchand > Sent: Monday, October 11, 2021 3:55 PM > To: dev@dpdk.org > Cc: aconole@redhat.com; stable@dpdk.org; Van Haaren, Harry > ; Laatz, Kevin > Subject: [PATCH] test/service: fix race in attr check >=20 > The CI reported rare (and cryptic) failures like: > Fixes: 4d55194d76a4 ("service: add attribute get function") > Fixes: 52bb6be259ff ("test/service: fix race condition on stopping lcore"= ) > Cc: stable@dpdk.org >=20 > Signed-off-by: David Marchand Good detail in commit message, & good catch thanks; Acked-by: Harry van Haaren