From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5443BC678D4 for ; Fri, 3 Mar 2023 11:44:47 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pY3pY-0007qs-FS; Fri, 03 Mar 2023 06:44:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pY3pX-0007qO-Gu for qemu-devel@nongnu.org; Fri, 03 Mar 2023 06:44:07 -0500 Received: from mail-pf1-x432.google.com ([2607:f8b0:4864:20::432]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pY3pW-00027k-1S for qemu-devel@nongnu.org; Fri, 03 Mar 2023 06:44:07 -0500 Received: by mail-pf1-x432.google.com with SMTP id fd25so1372402pfb.1 for ; Fri, 03 Mar 2023 03:44:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1677843844; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=AeoXiJWxj2QShZEQU4jANa5M0burtCEiuZuI+VRxHE0=; b=lPJmxSwzuuLmyG0pUA+82GlGfsOxmiUWe7XyeJ8E6BpYzSXeSsnHrUzrcdl7ouCJkW pHntFS5FPXZE6PI4gxh6wIlSwKKaj4H89SS7YjdRS+wL4mVKrX0GfKIwVBMhc3/K4xnj Tss/2b2mVPG3xRO+mluKjA/FtW7DfeW3vz/HZMCcVZZ0QWKexv4+6+/V9xcayORomjyF g1OS5Vo0Pzy9Xlw1zzNsHWjZG/U/9dMjRTWKd1FDmQy6TvBPpD68zDTdc0/MI7M2sxDH Eh1FH53lXSL4bFj3GTrLWHIMfkkIsjoVOSZI8+d1rA7qtWK16zEBLef6vb2RC2ZFBgn0 UH1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677843844; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=AeoXiJWxj2QShZEQU4jANa5M0burtCEiuZuI+VRxHE0=; b=EWtqZabCKc83/ZxmZHHACtxemyr3f21KEUNbwRJK1AGkMA+6krh4p1YL1MN7ySF66h i22hSw7FWk4nfpLrZiyNjjpjKdQvnPMdBZLwAcplRMeFF317D3syTPOy3zKqn1Tz+LDW pfbmcgA6qvyZb3CJuyEmwoDbBhOefLcj7moeFIzhFcMJR3+8oupNZC9YZC69Z384TP7w 1kc7wogwg+4cx5gvn2oT/DvIYFRativE0AF0vj3PaGX0s6wwzDUPcWhqhRjioauievTY JD/DSKiFW40pS2tPZf05fakZo8s28y/L5rdZ9N34akhleK3S2mp+MEnbXWhaYd1r94ZJ TQVA== X-Gm-Message-State: AO0yUKWi+8llhP+mJYw+8IwSrfdDcAp6pgew6EfQxBDYQX/46SGU8MIK h7o5Mc8IyuQsWKUfvZBjZeUM+ouk8azENULRUR2S3Q== X-Google-Smtp-Source: AK7set93A+kndqhNzu2WIu/AEgwQIsP+7VewjMYNTO2J+X2+JKm+334345jMDrwn11Qb0l4g7ine2w3kbQnnwYCki6I= X-Received: by 2002:a63:a80c:0:b0:503:a7:d244 with SMTP id o12-20020a63a80c000000b0050300a7d244mr389524pgf.9.1677843844152; Fri, 03 Mar 2023 03:44:04 -0800 (PST) MIME-Version: 1.0 References: <20230302172211.4146376-1-peter.maydell@linaro.org> <87edq6i4jf.fsf@secure.mitica> <188bd1ff-4ea2-6d92-2b6e-6f19af3df232@redhat.com> In-Reply-To: <188bd1ff-4ea2-6d92-2b6e-6f19af3df232@redhat.com> From: Peter Maydell Date: Fri, 3 Mar 2023 11:43:52 +0000 Message-ID: Subject: Re: [PATCH] tests/qtest/migration-test: Disable migration/multifd/tcp/plain/cancel To: Thomas Huth Cc: quintela@redhat.com, =?UTF-8?Q?Daniel_P=2E_Berrang=C3=A9?= , qemu-devel@nongnu.org, =?UTF-8?B?QWxleCBCZW5uw6ll?= , "Dr. David Alan Gilbert" Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::432; envelope-from=peter.maydell@linaro.org; helo=mail-pf1-x432.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org On Fri, 3 Mar 2023 at 11:29, Thomas Huth wrote: > > On 03/03/2023 12.18, Peter Maydell wrote: > > On Fri, 3 Mar 2023 at 09:10, Juan Quintela wrote: > >> What is really weird with this failure is that: > >> - it only happens on non-x86 > > > > No, I have seen it on x86 macos, and x86 OpenBSD > > > >> - on code that is not arch dependent > >> - on cancel, what we really do there is close fd's for the multifd > >> channel threads to get out of the recv, i.e. again, nothing that > >> should be arch dependent. > > > > I'm pretty sure that it tends to happen when the machine that's > > running the test is heavily loaded. You probably have a race condition. > > I think I can second that. IIRC I've seen it a couple of times on my x86 > laptop when running "make check -j$(nproc) SPEED=slow" here. Also, to repeat an offer I've made before, on my x86 macos laptop 'make check -j4' fails on this test about one time in two. If you write a patch to add whatever logging information you would find useful for debugging, I'm happy to do test runs with that patch and send you the logs. -- PMM