Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2226956/?format=api
{ "id": 2226956, "url": "http://patchwork.ozlabs.org/api/patches/2226956/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260422230001.3168-1-farosas@suse.de/", "project": { "id": 14, "url": "http://patchwork.ozlabs.org/api/projects/14/?format=api", "name": "QEMU Development", "link_name": "qemu-devel", "list_id": "qemu-devel.nongnu.org", "list_email": "qemu-devel@nongnu.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20260422230001.3168-1-farosas@suse.de>", "list_archive_url": null, "date": "2026-04-22T23:00:01", "name": "[v1] tests/functional: Make socat wait longer in migration exec test", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "7a372ed390814d9d2f67f6325baaea855ced45fa", "submitter": { "id": 85343, "url": "http://patchwork.ozlabs.org/api/people/85343/?format=api", "name": "Fabiano Rosas", "email": "farosas@suse.de" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260422230001.3168-1-farosas@suse.de/mbox/", "series": [ { "id": 501125, "url": "http://patchwork.ozlabs.org/api/series/501125/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=501125", "date": "2026-04-22T23:00:01", "name": "[v1] tests/functional: Make socat wait longer in migration exec test", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/501125/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2226956/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2226956/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@legolas.ozlabs.org", "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=suse.de header.i=@suse.de header.a=rsa-sha256\n header.s=susede2_rsa header.b=tcaWw+MU;\n\tdkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256\n header.s=susede2_ed25519 header.b=owvkYzTH;\n\tdkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de\n header.a=rsa-sha256 header.s=susede2_rsa header.b=tcaWw+MU;\n\tdkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256\n header.s=susede2_ed25519 header.b=owvkYzTH;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org\n (client-ip=209.51.188.17; helo=lists1p.gnu.org;\n envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n receiver=patchwork.ozlabs.org)", "smtp-out2.suse.de;\n dkim=pass header.d=suse.de header.s=susede2_rsa header.b=tcaWw+MU;\n dkim=pass header.d=suse.de header.s=susede2_ed25519 header.b=owvkYzTH" ], "Received": [ "from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17])\n\t(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g1F7t3s59z1yD5\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 23 Apr 2026 09:00:56 +1000 (AEST)", "from localhost ([::1] helo=lists1p.gnu.org)\n\tby lists1p.gnu.org with esmtp (Exim 4.90_1)\n\t(envelope-from <qemu-devel-bounces@nongnu.org>)\n\tid 1wFgYJ-0002ZG-2w; Wed, 22 Apr 2026 19:00:15 -0400", "from eggs.gnu.org ([2001:470:142:3::10])\n by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <farosas@suse.de>) id 1wFgYH-0002Z7-JI\n for qemu-devel@nongnu.org; Wed, 22 Apr 2026 19:00:13 -0400", "from smtp-out2.suse.de ([2a07:de40:b251:101:10:150:64:2])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)\n (Exim 4.90_1) (envelope-from <farosas@suse.de>) id 1wFgYF-0007AK-HV\n for qemu-devel@nongnu.org; Wed, 22 Apr 2026 19:00:13 -0400", "from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org\n [IPv6:2a07:de40:b281:104:10:150:64:97])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest\n SHA256)\n (No client certificate requested)\n by smtp-out2.suse.de (Postfix) with ESMTPS id D352C5BD03;\n Wed, 22 Apr 2026 23:00:08 +0000 (UTC)", "from imap1.dmz-prg2.suse.org (localhost [127.0.0.1])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest\n SHA256)\n (No client certificate requested)\n by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id E11C5593AF;\n Wed, 22 Apr 2026 23:00:07 +0000 (UTC)", "from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167])\n by imap1.dmz-prg2.suse.org with ESMTPSA id gIHjK/dS6WmXUQAAD6G6ig\n (envelope-from <farosas@suse.de>); Wed, 22 Apr 2026 23:00:07 +0000" ], "DKIM-Signature": [ "v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de;\n s=susede2_rsa;\n t=1776898808;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:\n mime-version:mime-version:\n content-transfer-encoding:content-transfer-encoding;\n bh=JzmxQQC5GVa6X+kkOjQwY5WdWP21XiDXgTtvxUVgEso=;\n b=tcaWw+MUyN7lHQ9LPn05KdPfIoPc4hq7PNxJz0JhFejc+isWsVlDz98UR0JvbiolgJbhG5\n oMGsbRlbj54pXaaBJ4vxQuqCZNOrNIaXSgT2v9YR/r6hq7uz0Z7t/qymiZJh+pr6CsDkcG\n eqIenp6oIj/eJj4wdwkvWLVsAQaI6TM=", "v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de;\n s=susede2_ed25519; t=1776898808;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:\n mime-version:mime-version:\n content-transfer-encoding:content-transfer-encoding;\n bh=JzmxQQC5GVa6X+kkOjQwY5WdWP21XiDXgTtvxUVgEso=;\n b=owvkYzTHjrB2hHdtt7zaSRd1Kbo8+2tRSvmBxcB0S0aIpAhSovlLkWIbAY17OZzVshKp69\n n9X8SDF8jyY0lZAw==", "v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de;\n s=susede2_rsa;\n t=1776898808;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:\n mime-version:mime-version:\n content-transfer-encoding:content-transfer-encoding;\n bh=JzmxQQC5GVa6X+kkOjQwY5WdWP21XiDXgTtvxUVgEso=;\n b=tcaWw+MUyN7lHQ9LPn05KdPfIoPc4hq7PNxJz0JhFejc+isWsVlDz98UR0JvbiolgJbhG5\n oMGsbRlbj54pXaaBJ4vxQuqCZNOrNIaXSgT2v9YR/r6hq7uz0Z7t/qymiZJh+pr6CsDkcG\n eqIenp6oIj/eJj4wdwkvWLVsAQaI6TM=", "v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de;\n s=susede2_ed25519; t=1776898808;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:\n mime-version:mime-version:\n content-transfer-encoding:content-transfer-encoding;\n bh=JzmxQQC5GVa6X+kkOjQwY5WdWP21XiDXgTtvxUVgEso=;\n b=owvkYzTHjrB2hHdtt7zaSRd1Kbo8+2tRSvmBxcB0S0aIpAhSovlLkWIbAY17OZzVshKp69\n n9X8SDF8jyY0lZAw==" ], "From": "Fabiano Rosas <farosas@suse.de>", "To": "qemu-devel@nongnu.org", "Cc": "Peter Xu <peterx@redhat.com>,\n\tThomas Huth <thuth@redhat.com>", "Subject": "[PATCH v1] tests/functional: Make socat wait longer in migration exec\n test", "Date": "Wed, 22 Apr 2026 20:00:01 -0300", "Message-ID": "<20260422230001.3168-1-farosas@suse.de>", "X-Mailer": "git-send-email 2.51.0", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-Rspamd-Action": "no action", "X-Rspamd-Server": "rspamd2.dmz-prg2.suse.org", "X-Spamd-Result": "default: False [-3.01 / 50.00]; BAYES_HAM(-3.00)[99.99%];\n MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000];\n R_MISSING_CHARSET(0.50)[];\n R_DKIM_ALLOW(-0.20)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519];\n NEURAL_HAM_SHORT(-0.20)[-1.000]; MIME_GOOD(-0.10)[text/plain];\n MX_GOOD(-0.01)[]; TO_MATCH_ENVRCPT_ALL(0.00)[];\n MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; TO_DN_SOME(0.00)[];\n DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519];\n RBL_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[2a07:de40:b281:104:10:150:64:97:from];\n FUZZY_RATELIMITED(0.00)[rspamd.com]; RCVD_TLS_ALL(0.00)[];\n DKIM_TRACE(0.00)[suse.de:+]; RCVD_COUNT_TWO(0.00)[2];\n FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[];\n SPAMHAUS_XBL(0.00)[2a07:de40:b281:104:10:150:64:97:from];\n DNSWL_BLOCKED(0.00)[2a07:de40:b281:104:10:150:64:97:from];\n RCVD_VIA_SMTP_AUTH(0.00)[];\n RECEIVED_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[2a07:de40:b281:106:10:150:64:167:received];\n RCPT_COUNT_THREE(0.00)[3];\n DBL_BLOCKED_OPENRESOLVER(0.00)[suse.de:dkim,suse.de:mid,suse.de:email]", "X-Rspamd-Queue-Id": "D352C5BD03", "X-Spam-Score": "-3.01", "Received-SPF": "pass client-ip=2a07:de40:b251:101:10:150:64:2;\n envelope-from=farosas@suse.de; helo=smtp-out2.suse.de", "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,\n DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001,\n 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": "qemu development <qemu-devel.nongnu.org>", "List-Unsubscribe": "<https://lists.nongnu.org/mailman/options/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>", "List-Archive": "<https://lists.nongnu.org/archive/html/qemu-devel>", "List-Post": "<mailto:qemu-devel@nongnu.org>", "List-Help": "<mailto:qemu-devel-request@nongnu.org?subject=help>", "List-Subscribe": "<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=subscribe>", "Errors-To": "qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org", "Sender": "qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org" }, "content": "The migration_with_exec test is failing sporadically for all\narchitectures due to a race when the destination socat process takes\ntoo long to start listening while the source process is already\nissuing connect().\n\nThe race is inherent because the exec: migration spawns the\nto-be-exec'ed command asynchronously and returns from the\nmigrate-incoming command. The localhost-only testcase is not\nrepresentative of the majority of migrations. In a real scenario\nbetween two different hosts that race wouldn't happen.\n\nFix the testcase by configuring the source socat command to wait\nindefinitely while trying to connect.\n\nSigned-off-by: Fabiano Rosas <farosas@suse.de>\n---\n tests/functional/migration.py | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/tests/functional/migration.py b/tests/functional/migration.py\nindex 144f091ba8..3b7674af3b 100644\n--- a/tests/functional/migration.py\n+++ b/tests/functional/migration.py\n@@ -85,5 +85,5 @@ def migration_with_exec(self):\n with Ports() as ports:\n free_port = self._get_free_port(ports)\n dst_uri = 'exec:socat TCP-LISTEN:%u -' % free_port\n- src_uri = 'exec:socat - TCP:localhost:%u' % free_port\n+ src_uri = 'exec:socat - TCP:localhost:%u,forever' % free_port\n self.migrate(dst_uri, src_uri)\n", "prefixes": [ "v1" ] }