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 66BB8A00C4 for ; Thu, 6 Oct 2022 10:39:50 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5E66542BBF; Thu, 6 Oct 2022 10:39:50 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 482D542BB9 for ; Thu, 6 Oct 2022 10:39:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1665045587; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=wCB06WiBivFRiObM0golCe1sh2Rq4hLEypwaQuSaeKg=; b=cytU+TlqWoyb7RMSYIFBq4/YhRJXGu+WnBnbnRgAKS/+tYdTuYhJhmHGs7IIgcCwb6s0Hn po5+9md4RVlpYPm3jBcr6Rp5tp/03BDuRonw/ebVKWDMzrQpRkdKybVgFgo5TCG/vaW1HB PGeDp1y/8b3ERCpFjCIurN2jKzHuyqU= Received: from mail-pf1-f197.google.com (mail-pf1-f197.google.com [209.85.210.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-92-tG3YK7U6PN-JNi7p0POOOg-1; Thu, 06 Oct 2022 04:39:46 -0400 X-MC-Unique: tG3YK7U6PN-JNi7p0POOOg-1 Received: by mail-pf1-f197.google.com with SMTP id t7-20020a62ea07000000b005619a832f68so826898pfh.11 for ; Thu, 06 Oct 2022 01:39:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=wCB06WiBivFRiObM0golCe1sh2Rq4hLEypwaQuSaeKg=; b=PIARnbtLNjMpb5vmKyzIcPwjn6G5ktSweHqHKocFutzRRV3jqxP+pauH/1Vt4XT+7X ilmCYf3LqcY9EZGDOZpffqqqQlitgLsnoBmMuykd0E80jftprfesQF+XWYgv+Xu4xMod 0yv/nt/KYTP5JWEnpUmfm2+SguyCZL5xoRgX0OSGAQtF9IX4p7UyV8FD3M4CKZtQjlsn PJUbpaO8dF/xoAeJMrTa7pScSN4uDY0w4UPsTQVcvRTbVV2rxfMYPUeLhTp27IoPpNlW f/JlazPSIR3adkSmkRtV13F4RLZQ+SblzSbI70Dg8+oHTwbBctZBLdLkMEEP9GvG1ruJ 5zjA== X-Gm-Message-State: ACrzQf1cYyr1gGr3M/cusrLkbHKhzZ4UtHb9W0m5fSg+pbBXGA+39b3g A0Ws215nqTb9FKty19tTwcEjWFrLWi8+4eZ2MPxLhbVAcS9LnIIYQSklwhHjTQNS6JCcWJrYzJJ PsF/Wf5erALdxoqnTwA== X-Received: by 2002:a17:902:7786:b0:178:48c0:a083 with SMTP id o6-20020a170902778600b0017848c0a083mr3450113pll.125.1665045585538; Thu, 06 Oct 2022 01:39:45 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4LdZkHiOiEhM+mY1+fxo/1QOU0JjC5aX+biTe1mIf/3XpmEcsO2c7n+Ddk2nq1C1vXVsp9P9U0VjdR30bpJVI= X-Received: by 2002:a17:902:7786:b0:178:48c0:a083 with SMTP id o6-20020a170902778600b0017848c0a083mr3450097pll.125.1665045585261; Thu, 06 Oct 2022 01:39:45 -0700 (PDT) MIME-Version: 1.0 References: <20221006081729.578475-1-harry.van.haaren@intel.com> <20221006082813.579255-1-harry.van.haaren@intel.com> In-Reply-To: <20221006082813.579255-1-harry.van.haaren@intel.com> From: David Marchand Date: Thu, 6 Oct 2022 10:39:33 +0200 Message-ID: Subject: Re: [PATCH v2] test/service: fix spurious failures by extending timeout To: Harry van Haaren Cc: dev@dpdk.org, dpdklab@iol.unh.edu, ci@dpdk.org, Honnappa.Nagarahalli@arm.com, mb@smartsharesystems.com, mattias.ronnblom@ericsson.com, thomas@monjalon.net X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" 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 On Thu, Oct 6, 2022 at 10:28 AM Harry van Haaren wrote: > > This commit extends the timeout for service_may_be_active() > from 100ms to 1000ms. Local testing on a idle and loaded system > (compiling DPDK with all cores) always completes after 1 ms. > > The wait time for a service-lcore to finish is also extended > from 100ms to 1000ms. > > The same timeout waiting code was duplicated in two tests, and > is now refactored to a standalone function avoiding duplication. > > Reported-by: David Marchand > Suggested-by: Mattias Ronnblom > Signed-off-by: Harry van Haaren Just to be sure, do we want such a timeout in the test logic itself? Is it that you want to make sure that the synchronisation happens in a "reasonable" (subject to discussion ;-)) amount of time? Otherwise, the unit tests run in the CI are themselves subject to a 10s x mutiplier timeout (-t meson test option). And then I would rely on this overall timeout. -- David Marchand