From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: passt.top; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=ejk2W7Ks; dkim-atps=neutral Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by passt.top (Postfix) with ESMTP id 58B525A004E for ; Wed, 06 Nov 2024 00:10:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1730848238; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KiScDHQ5+wDD2O6kpEC0x4fcYwYgxv78CjJL45EyoEY=; b=ejk2W7Ks0PgLPtUPC+gW466MrU+LWDE8/pytiB2kRQox/vwI4Wb5ORLF4rrnh0XJcjz2tE zslFX6jpLNYQGrI9h0UPOvOOBX1zyFsRpXIqaDdaqBAjvXSdG7K4w8y+vQAVIQPLlmHQ3b m7MvRMq/8NIuCX0piqtl56QbbGeNrkE= Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-513-xbU1vSi8NLWmNwTxkOgxsA-1; Tue, 05 Nov 2024 18:10:36 -0500 X-MC-Unique: xbU1vSi8NLWmNwTxkOgxsA-1 Received: by mail-wm1-f69.google.com with SMTP id 5b1f17b1804b1-4315dd8fe7fso51146315e9.3 for ; Tue, 05 Nov 2024 15:10:36 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730848235; x=1731453035; h=content-transfer-encoding:mime-version:organization:references :in-reply-to:message-id:subject:cc:to:from:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=KiScDHQ5+wDD2O6kpEC0x4fcYwYgxv78CjJL45EyoEY=; b=f/qJV25lnIkZ7vu+jSdKWgGcmmPsq/gwHzMCtEdwZUmaVyu8NM153ghxLdrIH7RQ+X GUQ4ecUyWJ3TUDGWiHSj22WrZcuedjFielScWGOixr70pwxBjzkgwD8GCmfNEDNIAOWv PJn1GmYi5ELSJtcIVOkkAQ6BleZE42f1pgMDD5C6qH4KAx2XQUJ8Ju0rcx5J4a3JUAta 9p1rdtiOBKpv9A5E/P1aBhNNUE6fefjwuIgrHIfiUiJ8AW4/UaRoWOodHl5re0tLgF6H jQuU6vDZ/1KK0EETarFvfYZLBbpW0Vmoa19zH7EgI/Pss4VSI7fYw0JCWnGIy5gE5AMe wziA== X-Gm-Message-State: AOJu0Yy1UfhbW6dkr64uWXX+JH0DPcjZQDdGGDnZyw1bRdzKmf9kF4Q0 j1p7PdBo8nDJPOErwNxDzErK+3w61dxWlserEMRdUyYTOMP0U6FVkvSUxyQBd4PSMT2klyQD8GI InRz/Act4ASS5KoE8UVLA3wvL1kys9yA3DoWZFIbdcdKRw2jW3QZvNAwJmA== X-Received: by 2002:a05:600c:35cc:b0:42c:bae0:f05f with SMTP id 5b1f17b1804b1-4328324b30dmr190497105e9.13.1730848234994; Tue, 05 Nov 2024 15:10:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IFhpdu1jv95+Pm/g9wkZRZ4KEjF/PqsjPzSbKZGW/Fi6dJbiCv2ojdfik4OFeeoUJJt+l4pHg== X-Received: by 2002:a05:600c:35cc:b0:42c:bae0:f05f with SMTP id 5b1f17b1804b1-4328324b30dmr190496975e9.13.1730848234473; Tue, 05 Nov 2024 15:10:34 -0800 (PST) Received: from maya.myfinge.rs (ifcgrfdd.trafficplex.cloud. [2a10:fc81:a806:d6a9::1]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-432aa737721sm1406965e9.36.2024.11.05.15.10.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Nov 2024 15:10:32 -0800 (PST) Date: Wed, 6 Nov 2024 00:10:30 +0100 From: Stefano Brivio To: David Gibson Subject: Re: [PATCH] test: Adjust misplaced sleeps in two_guests code Message-ID: <20241106001030.45563cef@elisabeth> In-Reply-To: <20241105014404.669480-1-david@gibson.dropbear.id.au> References: <20241105014404.669480-1-david@gibson.dropbear.id.au> Organization: Red Hat X-Mailer: Claws Mail 4.2.0 (GTK 3.24.41; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-ID-Hash: 7XTW7CGNOTFG4BGJVCKY5XDXO65SIN36 X-Message-ID-Hash: 7XTW7CGNOTFG4BGJVCKY5XDXO65SIN36 X-MailFrom: sbrivio@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: passt-dev@passt.top X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Tue, 5 Nov 2024 12:44:04 +1100 David Gibson wrote: > Most of our transfer tests using socat use 'sleep' waaiting for the server > side to be ready before starting the client. However in two_guests/basic > the sleep is in the wrong place: rather than being between starting the > server and starting the client, it's after waiting for the server to > complete. This causes occasional hangs when the client runs before the > server is ready - in that case the receiving guest sends an RST, which we > don't (currently) propagate back to the sender. > > Signed-off-by: David Gibson Oops. For some reason it never hang for me (there). Applied. -- Stefano