[{"id":3684589,"web_url":"http://patchwork.ozlabs.org/comment/3684589/","msgid":"<69f32cb3.050a0220.147ea.d7bf@mx.google.com>","list_archive_url":null,"date":"2026-04-30T10:19:30","subject":"Re: [LTP] [PATCH] lib: tst_test: tst_reinit() abort when already\n initialized","submitter":{"id":82886,"url":"http://patchwork.ozlabs.org/api/people/82886/","name":"Andrea Cervesato","email":"andrea.cervesato@suse.com"},"content":"Reviewed-by: Andrea Cervesato <andrea.cervesato@suse.com>\n\n--\nAndrea Cervesato\nSUSE QE Automation Engineer Linux\nandrea.cervesato@suse.com","headers":{"Return-Path":"<ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it>","X-Original-To":["incoming@patchwork.ozlabs.org","ltp@lists.linux.it"],"Delivered-To":["patchwork-incoming@legolas.ozlabs.org","ltp@picard.linux.it"],"Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=lists.linux.it header.i=@lists.linux.it\n header.a=rsa-sha256 header.s=picard header.b=AHsJSk9m;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=suse.com header.i=@suse.com header.a=rsa-sha256\n header.s=google header.b=IVrj9m2t;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.linux.it\n (client-ip=213.254.12.146; helo=picard.linux.it;\n envelope-from=ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it;\n receiver=patchwork.ozlabs.org)"],"Received":["from picard.linux.it (picard.linux.it [213.254.12.146])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g5qsk6mjPz1yHZ\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2026 20:19:38 +1000 (AEST)","from picard.linux.it (localhost [IPv6:::1])\n\tby picard.linux.it (Postfix) with ESMTP id A48903E65B4\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2026 12:19:36 +0200 (CEST)","from in-3.smtp.seeweb.it (in-3.smtp.seeweb.it [217.194.8.3])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature ECDSA (secp384r1))\n (No client certificate requested)\n by picard.linux.it (Postfix) with ESMTPS id 0843C3E180A\n for <ltp@lists.linux.it>; Thu, 30 Apr 2026 12:19:32 +0200 (CEST)","from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com\n [IPv6:2a00:1450:4864:20::32d])\n (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by in-3.smtp.seeweb.it (Postfix) with ESMTPS id 4A1821A0088C\n for <ltp@lists.linux.it>; Thu, 30 Apr 2026 12:19:32 +0200 (CEST)","by mail-wm1-x32d.google.com with SMTP id\n 5b1f17b1804b1-488e1a8ac40so7267845e9.2\n for <ltp@lists.linux.it>; Thu, 30 Apr 2026 03:19:32 -0700 (PDT)","from p200300ef2f4fc9007395fc0cb1d2b23f.dip0.t-ipconnect.de\n (p200300ef2f4fc9009ff26ae1d4042002.dip0.t-ipconnect.de.\n [2003:ef:2f4f:c900:9ff2:6ae1:d404:2002])\n by smtp.gmail.com with ESMTPSA id\n 5b1f17b1804b1-48a82307f7csm57041195e9.12.2026.04.30.03.19.31\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 30 Apr 2026 03:19:31 -0700 (PDT)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=lists.linux.it;\n i=@lists.linux.it; q=dns/txt; s=picard; t=1777544376; h=message-id :\n to : in-reply-to : date : subject : list-id : list-unsubscribe :\n list-archive : list-post : list-help : list-subscribe : from :\n reply-to : cc : mime-version : content-type :\n content-transfer-encoding : sender : from;\n bh=RWBj789HCSiUrKB8R4V2KKfYWo3b/dWdN6e1tu5kcT0=;\n b=AHsJSk9m75UhXOwo0k+anx0KQkeRw4KOr/ZPqw5nQVTKsiaXsegHxOC1a+PvRewzw42B8\n HskvMPWbiTs7pt0ZLsPY98rQ3zirdeQ2F21dtT1SyoL/eARqOSIF2FPS67Q+qbVB1jkCP1W\n HrAYNjRFyrZLI92L8Wg/RgKrV89pxnk=","v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=suse.com; s=google; t=1777544372; x=1778149172; darn=lists.linux.it;\n h=date:content-transfer-encoding:subject:in-reply-to:cc:to:from\n :message-id:from:to:cc:subject:date:message-id:reply-to;\n bh=nIYZV4wIwN0c0BMAf0MMCsM9Xjm5KWqPcbqWD98uGZ0=;\n b=IVrj9m2taxhFZNfpFRENATg0zsEBLrDq3UrRQaWAq33Do18UJNME3GNYu15uq92o7+\n nT/kHldQaiD66ffoGd/oiEBsYjeQyxy+ivLrMDwfxqN3DAWSwkzD3CEOzfB1vDJaEjtk\n Fj7p6kaeL2MOpk4PbfSbgwq5/47boMKoWM4NVt9ge3R5s0naywSJkUv92fJkY3PA6LI9\n wfwIU7d55MvjDaHlz8l2ojAF6coReQ/mD96pTTbf5YB0nB9IpdWSO6gK1AzH8df0AmIB\n UQQaTZzgjcfBV1+eMtTLtJQyfX8IJzPtpc93Y2KvygDih7LyWHqtIIO2iH4oVPi+Xga+\n LMsA=="],"X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1777544372; x=1778149172;\n h=date:content-transfer-encoding:subject:in-reply-to:cc:to:from\n :message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date\n :message-id:reply-to;\n bh=nIYZV4wIwN0c0BMAf0MMCsM9Xjm5KWqPcbqWD98uGZ0=;\n b=T7jVWKSIKlg+lQx6rXjjXj0WgpNK/60064uXAT+6gH2NgkVDLVx2jxH6DJXQZwDcRX\n cufo7YVAINUNNP+rURPN+NELcQ5NHM/dAQWJAslPdPZqnM+w4e5HKi7zIxlpOgA/1Cn1\n xchRIZtOqxMyLRXyTeV0UM+/TytBAlOGAeux6jjDF89H2goBz1/roTL5q0dt3FGhgyoL\n 6QTOrCpAN/6aFVxIrrIbFtXs7vD7c4QSyrbAgJHQi2vCUidbwv/PGf7v2biyEOUyDgFY\n 2CrRclOPTJ0Ie6sWeb9ksU1btruJ0P1+v4XL0p51o4kKXZq+8YEDeV/qRzTV4WUkKdBL\n SdpA==","X-Gm-Message-State":"AOJu0YwPyvIkXmSrcZs9vTMk0WyD65+8ISfTcn0ilANhxx+EJ06kADGE\n pcLxKKLheNZiLjkk0EHGmLkBhSYPpKuxnqlJ6D+TVKWq7OgoiiMWj5mqP7UIrRL/8R9UwJ6DiAC\n Ck/REKk/SjQ==","X-Gm-Gg":"AeBDieu5pCRO70+lE1hB8POcASSt2AqPTpy4XQVMt1GOrUA82jPzxmTb/arXCcU2f4d\n oZYf4ylxIuuhz1Iq64BSKX6EXfnojXzPpaYTmJsKSvkiLKD6QBdXA5ItjKVC95QOFsFnGH6BMEK\n J0vcaBcfkomciZu3uwx6IvSzd8wMJHo6cvRbvDsP1bfyoFr8tmlj9n76xnBFGKrpzUUlzd4XTk4\n x0qYGr5fZFLI52nZxnwowzCTSnCe1zpRrhDR6D2GP4/e1YQCrrg4W6T0A/BiPy4EU/V+J/KE+kk\n zrhDhsuBvCHxVQD8PYyxy1h8C5OuSs7qHuYNUtW7UZtGKowCh06a9CPFsjMhweZzZ/1rjGOsAeB\n 0nyy8CUj11WMM04HNgATiOtQ1Tmf62TOUjNvUe400Jr7Y6zw8fybO68w8soinhHkR/p49W1n+YH\n 79Nrz8MMmEvpxjqonPenXDmSq8bDbrXHmusyvSUiLRlCVUI7QkPB6DvArhAzNiPJJiEOIg+s51L\n TMpVXAjNE7yFVaxHagAnofbjmaXrtCqHbUdQhmyHqvpfyT+x56royC3T9svY8ph4r8vU9V0WycU\n 8SI/LKfILBZrUfIFtnJ0u4g=","X-Received":"by 2002:a05:600c:a315:b0:488:9e54:94c0 with SMTP id\n 5b1f17b1804b1-48a83d6ec9emr31010035e9.8.1777544371566;\n Thu, 30 Apr 2026 03:19:31 -0700 (PDT)","Message-ID":"<69f32cb3.050a0220.147ea.d7bf@mx.google.com>","To":"\"Cyril Hrubis\" <chrubis@suse.cz>","In-Reply-To":"<20260430091956.10915-1-chrubis@suse.cz>","Date":"Thu, 30 Apr 2026 10:19:30 +0000","X-Spam-Status":"No, score=0.1 required=7.0 tests=DKIM_SIGNED,DKIM_VALID,\n DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS shortcircuit=no\n autolearn=disabled version=4.0.1","X-Spam-Checker-Version":"SpamAssassin 4.0.1 (2024-03-25) on in-3.smtp.seeweb.it","X-Virus-Scanned":"clamav-milter 1.0.9 at in-3.smtp.seeweb.it","X-Virus-Status":"Clean","Subject":"Re: [LTP] [PATCH] lib: tst_test: tst_reinit() abort when already\n initialized","X-BeenThere":"ltp@lists.linux.it","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"Linux Test Project <ltp.lists.linux.it>","List-Unsubscribe":"<https://lists.linux.it/options/ltp>,\n <mailto:ltp-request@lists.linux.it?subject=unsubscribe>","List-Archive":"<http://lists.linux.it/pipermail/ltp/>","List-Post":"<mailto:ltp@lists.linux.it>","List-Help":"<mailto:ltp-request@lists.linux.it?subject=help>","List-Subscribe":"<https://lists.linux.it/listinfo/ltp>,\n <mailto:ltp-request@lists.linux.it?subject=subscribe>","From":"Andrea Cervesato via ltp <ltp@lists.linux.it>","Reply-To":"Andrea Cervesato <andrea.cervesato@suse.com>","Cc":"ltp@lists.linux.it","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it","Sender":"\"ltp\" <ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it>"}},{"id":3684593,"web_url":"http://patchwork.ozlabs.org/comment/3684593/","msgid":"<afMwMO1yTBGDLQJc@linux.dev>","list_archive_url":null,"date":"2026-04-30T10:34:24","subject":"Re: [LTP] [PATCH] lib: tst_test: tst_reinit() abort when already\n initialized","submitter":{"id":93238,"url":"http://patchwork.ozlabs.org/api/people/93238/","name":"Li Wang","email":"li.wang@linux.dev"},"content":"On Thu, Apr 30, 2026 at 11:19:56AM +0200, Cyril Hrubis wrote:\n> Calling tst_reinit() when library is already initialized or calling it\n> for a second time is always mistake. With that we silenty drop the old\n> IPC region, that may have contained test results and there are likely\n> other problems possibly caused by initializing the test library twice.\n> \n> To fix that this patch adds tst_brk() that abort the test if we call\n> tst_reinit() with already initialized test library.\n> \n> Signed-off-by: Cyril Hrubis <chrubis@suse.cz>\n\nReviewed-by: Li Wang <li.wang@linux.dev>\n\nThe patch itself looks good, I'm just wondering how you found\nthis issue, was it called twice somewhere/in a test?","headers":{"Return-Path":"<ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it>","X-Original-To":["incoming@patchwork.ozlabs.org","ltp@lists.linux.it"],"Delivered-To":["patchwork-incoming@legolas.ozlabs.org","ltp@picard.linux.it"],"Authentication-Results":["legolas.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n unprotected) header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256\n header.s=key1 header.b=Z7HSrNLI;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.linux.it\n (client-ip=2001:1418:10:5::2; helo=picard.linux.it;\n envelope-from=ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it;\n receiver=patchwork.ozlabs.org)"],"Received":["from picard.linux.it (picard.linux.it [IPv6:2001:1418:10:5::2])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g5rC33YQkz1yHZ\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2026 20:34:39 +1000 (AEST)","from picard.linux.it (localhost [IPv6:::1])\n\tby picard.linux.it (Postfix) with ESMTP id 6B36B3E6855\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2026 12:34:37 +0200 (CEST)","from in-4.smtp.seeweb.it (in-4.smtp.seeweb.it\n [IPv6:2001:4b78:1:20::4])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature ECDSA (secp384r1))\n (No client certificate requested)\n by picard.linux.it (Postfix) with ESMTPS id 4BDCF3E57BC\n for <ltp@lists.linux.it>; Thu, 30 Apr 2026 12:34:33 +0200 (CEST)","from out-184.mta0.migadu.com (out-184.mta0.migadu.com\n [IPv6:2001:41d0:1004:224b::b8])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by in-4.smtp.seeweb.it (Postfix) with ESMTPS id D893B1000DA7\n for <ltp@lists.linux.it>; Thu, 30 Apr 2026 12:34:32 +0200 (CEST)"],"Date":"Thu, 30 Apr 2026 18:34:24 +0800","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1;\n t=1777545271;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n in-reply-to:in-reply-to:references:references;\n bh=DU85KNfEtt0JJJlGcDoATA2N34B38MERnqNbtDo112U=;\n b=Z7HSrNLIr2b8CSDHHbQFYAeXyPe7Doh9bSbQsQuim2V7GATEHy78++5vGvyeECN6yGca7i\n gIIk3gbXqPexFYDNmisF9xgrZCKBh3Dsx12M1yjkGoMPnQsskmdfi34coAhxGuA1zN2Jgs\n JNB3OJKAKS93pCv/FFuYNgJa3sHacl4=","X-Report-Abuse":"Please report any abuse attempt to abuse@migadu.com and\n include these headers.","From":"Li Wang <li.wang@linux.dev>","To":"Cyril Hrubis <chrubis@suse.cz>","Message-ID":"<afMwMO1yTBGDLQJc@linux.dev>","Mail-Followup-To":"Cyril Hrubis <chrubis@suse.cz>, ltp@lists.linux.it","References":"<20260430091956.10915-1-chrubis@suse.cz>","MIME-Version":"1.0","Content-Disposition":"inline","In-Reply-To":"<20260430091956.10915-1-chrubis@suse.cz>","X-Migadu-Flow":"FLOW_OUT","X-Spam-Status":"No, score=0.1 required=7.0 tests=DKIM_SIGNED,DKIM_VALID,\n DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS shortcircuit=no\n autolearn=disabled version=4.0.1","X-Spam-Checker-Version":"SpamAssassin 4.0.1 (2024-03-25) on in-4.smtp.seeweb.it","X-Virus-Scanned":"clamav-milter 1.0.9 at in-4.smtp.seeweb.it","X-Virus-Status":"Clean","Subject":"Re: [LTP] [PATCH] lib: tst_test: tst_reinit() abort when already\n initialized","X-BeenThere":"ltp@lists.linux.it","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"Linux Test Project <ltp.lists.linux.it>","List-Unsubscribe":"<https://lists.linux.it/options/ltp>,\n <mailto:ltp-request@lists.linux.it?subject=unsubscribe>","List-Archive":"<http://lists.linux.it/pipermail/ltp/>","List-Post":"<mailto:ltp@lists.linux.it>","List-Help":"<mailto:ltp-request@lists.linux.it?subject=help>","List-Subscribe":"<https://lists.linux.it/listinfo/ltp>,\n <mailto:ltp-request@lists.linux.it?subject=subscribe>","Cc":"ltp@lists.linux.it","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it","Sender":"\"ltp\" <ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it>"}},{"id":3684630,"web_url":"http://patchwork.ozlabs.org/comment/3684630/","msgid":"<20260430113813.4009-1-linuxtestproject.agent@gmail.com>","list_archive_url":null,"date":"2026-04-30T11:38:13","subject":"Re: [LTP] lib: tst_test: tst_reinit() abort when already initialized","submitter":{"id":93132,"url":"http://patchwork.ozlabs.org/api/people/93132/","name":null,"email":"linuxtestproject.agent@gmail.com"},"content":"Hi Cyril,\n\nOn 2026-04-30, Cyril Hrubis wrote:\n> lib: tst_test: tst_reinit() abort when already initialized\n\n> +       if (ipc)\n> +               tst_brk(TBROK, \"Test library already initialized!\");\n\nLooks good.\n\nReviewed-by: LTP AI Reviewer <ltp-ai@noreply.github.com>\n\n---\nNote:\n\nOur agent completed the review of the patch. The full review can be\nfound at: https://github.com/linux-test-project/ltp-agent/actions/runs/25163012944\n\nThe agent can sometimes produce false positives although often its\nfindings are genuine. If you find issues with the review, please\ncomment this email or ignore the suggestions.\n\nRegards,\nLTP AI Reviewer","headers":{"Return-Path":"<ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it>","X-Original-To":["incoming@patchwork.ozlabs.org","ltp@lists.linux.it"],"Delivered-To":["patchwork-incoming@legolas.ozlabs.org","ltp@picard.linux.it"],"Authentication-Results":["legolas.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=OVNu8yjV;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.linux.it\n (client-ip=213.254.12.146; helo=picard.linux.it;\n envelope-from=ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it;\n receiver=patchwork.ozlabs.org)"],"Received":["from picard.linux.it (picard.linux.it [213.254.12.146])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g5scc2Cjpz1yGq\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2026 21:38:24 +1000 (AEST)","from picard.linux.it (localhost [IPv6:::1])\n\tby picard.linux.it (Postfix) with ESMTP id 1A61A3E53E2\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2026 13:38:21 +0200 (CEST)","from in-7.smtp.seeweb.it (in-7.smtp.seeweb.it\n [IPv6:2001:4b78:1:20::7])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature ECDSA (secp384r1))\n (No client certificate requested)\n by picard.linux.it (Postfix) with ESMTPS id 72EF33E2622\n for <ltp@lists.linux.it>; Thu, 30 Apr 2026 13:38:17 +0200 (CEST)","from mail-dl1-x1241.google.com (mail-dl1-x1241.google.com\n [IPv6:2607:f8b0:4864:20::1241])\n (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by in-7.smtp.seeweb.it (Postfix) with ESMTPS id 0B9DF200C76\n for <ltp@lists.linux.it>; Thu, 30 Apr 2026 13:38:17 +0200 (CEST)","by mail-dl1-x1241.google.com with SMTP id\n a92af1059eb24-12c8ccc7755so1167418c88.0\n for <ltp@lists.linux.it>; Thu, 30 Apr 2026 04:38:16 -0700 (PDT)","from\n runnervmeorf1.e1l4ph4qrhju1ov0vk0vbxsjaa.dx.internal.cloudapp.net\n ([172.184.174.114]) by smtp.gmail.com with ESMTPSA id\n a92af1059eb24-12de31ab65fsm7133453c88.0.2026.04.30.04.38.14\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 30 Apr 2026 04:38:14 -0700 (PDT)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20251104; t=1777549095; x=1778153895; darn=lists.linux.it;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=5pwItLVQPAmsZljdEqdVwWIQBWGS95A2F6UqGl6G5Cc=;\n b=OVNu8yjV1oq5xk61WN39hvLlkavKPCfmoxExLpm37TNAJ2JNs/rCB332nkqCS8yrWj\n mUJALlMF+aknJd8Vuoy71NCHyHH07GYGP17p1zpo/yFJAKyWAYVqO5dBMfSy6ugJJ6i2\n zBRPQTvx/KMbZHhGm1aXbYcb0YTzghvdDBNgO9R3jY4+YN5bYVKAtmLi1Gr7UsU74kfG\n WTloP9FCroLXqVH4BPyUSH5aMXPWMq7vaZYPpXpLgLwaW6zvQLxK48kK+vFWD1JdywkB\n nihX4gRdyF/9mPdYmKyEdbXZxNOA0VD7rUf/I2pJNVKP3mgbUXmuE0CKrd+TLsIlZEhr\n wPRw==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1777549095; x=1778153895;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n :to:cc:subject:date:message-id:reply-to;\n bh=5pwItLVQPAmsZljdEqdVwWIQBWGS95A2F6UqGl6G5Cc=;\n b=SDZEn6np6wlt3K4srA6xzHfUG0dCzTnzL5Lv+FR+28ErISdCz8pSaTWXcIyDQNqbk+\n kVhke92sZxVRJt35GQrXMGeUH24Dh+IHZrGf/jlFk602NdsX7U4dUwj7kMbLM4e7B4Ik\n BRaWgZ7mHhisEjMSlQbGA43hG+zLinkGUeAemlIA2KuGk8xyK2iJn8Spxtdg3LCNViD6\n DxRnlOz2039I4v3YOpzCwR8VKpv7CFshYBSElZ0SMhZXvK6JPvf7YPmW6BQ1pemjISo5\n C7apaZwrpZFRSMQKtYSQRkaJDECoERTMCZtba4G6q0bFgfNSQ1/+J9kxdmFpZKoBOED2\n zNDQ==","X-Gm-Message-State":"AOJu0YxG6GpZJcWNeh26Sqvn+NAzNNUThz321SBJjU9io9NJgXH+CYkx\n fHIKp5bEjnaQZuYywM22JQz57duL3/ULuYJ7S2ZKvIE0sZzSR6G8V9iK","X-Gm-Gg":"AeBDieu1x7c6G1DMJK00+T02ZcBD8slSCscKV0KfYe7eRHdccQM9pZj2mRubRIqQ5HC\n RuLfyCFlAbGU7TWBR+l4idfQmdwP+rWKxpyOmKVXu/kD28YXRRjyBU2qbi0U5V+9BE+7AP6BUWE\n ldEsGhaueOzu0H0fMy2NoEgb8RQSpo11xc/rQWQ7W/3zsjm8+Wxjdv4sq/EI5XzRoVvWl7Fesqb\n uLoSornQvwv9sMAM0lFlHMG26Pfr+7a1OlEgqD+9twQkI/AYzMDiG7kE29Def4k+OLhqiNWRkcs\n Y+5fPn+1mMmTlFWeV8/yofDEIbny5MZ9JN/URy5lAMDjkq2sZpMdP9Us0JaxvSn5NGEFNW2QVAx\n nsjgg8pq+WTuwNBBP7iC18XB+CX7KksD5qNpECT/SDSp2oc/BXQeMBeiQQ8Vxnm6UTFYsyHwnWI\n MG2RoMDfh8zBlbWsA1VLFqCs92scToD+tPosmfptx/TDMf2HQ0MHw1BW6lRU+L5lvbWuxnV+hZR\n 3Gj/QW7Oy/G1yQwbu+e6y6CI81Ds68ElEOJ1lRFo3A+farKvEvm","X-Received":"by 2002:a05:7022:6289:b0:128:d3de:c9e4 with SMTP id\n a92af1059eb24-12dead1ade0mr830645c88.30.1777549095170;\n Thu, 30 Apr 2026 04:38:15 -0700 (PDT)","From":"linuxtestproject.agent@gmail.com","To":"Cyril Hrubis <chrubis@suse.cz>","Date":"Thu, 30 Apr 2026 11:38:13 +0000","Message-ID":"<20260430113813.4009-1-linuxtestproject.agent@gmail.com>","X-Mailer":"git-send-email 2.54.0","In-Reply-To":"<20260430091956.10915-1-chrubis@suse.cz>","References":"<20260430091956.10915-1-chrubis@suse.cz>","MIME-Version":"1.0","X-Spam-Status":"No, score=0.1 required=7.0 tests=DKIM_SIGNED,DKIM_VALID,\n DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,SPF_HELO_NONE,SPF_PASS\n shortcircuit=no autolearn=disabled version=4.0.1","X-Spam-Checker-Version":"SpamAssassin 4.0.1 (2024-03-25) on in-7.smtp.seeweb.it","X-Virus-Scanned":"clamav-milter 1.0.9 at in-7.smtp.seeweb.it","X-Virus-Status":"Clean","Subject":"Re: [LTP] lib: tst_test: tst_reinit() abort when already initialized","X-BeenThere":"ltp@lists.linux.it","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"Linux Test Project <ltp.lists.linux.it>","List-Unsubscribe":"<https://lists.linux.it/options/ltp>,\n <mailto:ltp-request@lists.linux.it?subject=unsubscribe>","List-Archive":"<http://lists.linux.it/pipermail/ltp/>","List-Post":"<mailto:ltp@lists.linux.it>","List-Help":"<mailto:ltp-request@lists.linux.it?subject=help>","List-Subscribe":"<https://lists.linux.it/listinfo/ltp>,\n <mailto:ltp-request@lists.linux.it?subject=subscribe>","Cc":"ltp@lists.linux.it, LTP AI Reviewer <ltp-ai@noreply.github.com>","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it","Sender":"\"ltp\" <ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it>"}},{"id":3684682,"web_url":"http://patchwork.ozlabs.org/comment/3684682/","msgid":"<afNQuLNeBcYC_zAG@yuki.lan>","list_archive_url":null,"date":"2026-04-30T12:53:12","subject":"Re: [LTP] [PATCH] lib: tst_test: tst_reinit() abort when already\n initialized","submitter":{"id":8530,"url":"http://patchwork.ozlabs.org/api/people/8530/","name":"Cyril Hrubis","email":"chrubis@suse.cz"},"content":"Hi!\n> > Calling tst_reinit() when library is already initialized or calling it\n> > for a second time is always mistake. With that we silenty drop the old\n> > IPC region, that may have contained test results and there are likely\n> > other problems possibly caused by initializing the test library twice.\n> > \n> > To fix that this patch adds tst_brk() that abort the test if we call\n> > tst_reinit() with already initialized test library.\n> > \n> > Signed-off-by: Cyril Hrubis <chrubis@suse.cz>\n> \n> Reviewed-by: Li Wang <li.wang@linux.dev>\n> \n> The patch itself looks good, I'm just wondering how you found\n> this issue, was it called twice somewhere/in a test?\n\nhttps://lists.linux.it/pipermail/ltp/2026-April/048084.html","headers":{"Return-Path":"<ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it>","X-Original-To":["incoming@patchwork.ozlabs.org","ltp@lists.linux.it"],"Delivered-To":["patchwork-incoming@legolas.ozlabs.org","ltp@picard.linux.it"],"Authentication-Results":["legolas.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n unprotected) header.d=suse.cz header.i=@suse.cz header.a=rsa-sha256\n header.s=susede2_rsa header.b=b3FzQ+zi;\n\tdkim=fail reason=\"signature verification failed\" header.d=suse.cz\n header.i=@suse.cz header.a=ed25519-sha256 header.s=susede2_ed25519\n header.b=TGLJAUdN;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key)\n header.d=suse.cz header.i=@suse.cz header.a=rsa-sha256 header.s=susede2_rsa\n header.b=kynVmJFw;\n\tdkim=neutral header.d=suse.cz header.i=@suse.cz header.a=ed25519-sha256\n header.s=susede2_ed25519 header.b=G3mjQk5W;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.linux.it\n (client-ip=2001:1418:10:5::2; helo=picard.linux.it;\n envelope-from=ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it;\n receiver=patchwork.ozlabs.org)","smtp-out1.suse.de;\n dkim=pass header.d=suse.cz header.s=susede2_rsa header.b=kynVmJFw;\n dkim=pass header.d=suse.cz header.s=susede2_ed25519 header.b=G3mjQk5W"],"Received":["from picard.linux.it (picard.linux.it [IPv6:2001:1418:10:5::2])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g5vHC37rJz1xqf\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2026 22:53:27 +1000 (AEST)","from picard.linux.it (localhost [IPv6:::1])\n\tby picard.linux.it (Postfix) with ESMTP id 6948D3E5955\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2026 14:53:25 +0200 (CEST)","from in-5.smtp.seeweb.it (in-5.smtp.seeweb.it\n [IPv6:2001:4b78:1:20::5])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature ECDSA (secp384r1))\n (No client certificate requested)\n by picard.linux.it (Postfix) with ESMTPS id AAEED3E2ACC\n for <ltp@lists.linux.it>; Thu, 30 Apr 2026 14:53:21 +0200 (CEST)","from smtp-out1.suse.de (smtp-out1.suse.de\n [IPv6:2a07:de40:b251:101:10:150:64:1])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by in-5.smtp.seeweb.it (Postfix) with ESMTPS id 68CDE600D7F\n for <ltp@lists.linux.it>; Thu, 30 Apr 2026 14:53:18 +0200 (CEST)","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-out1.suse.de (Postfix) with ESMTPS id B35C06A821\n for <ltp@lists.linux.it>; Thu, 30 Apr 2026 12:53:15 +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 A44CF593B0\n for <ltp@lists.linux.it>; Thu, 30 Apr 2026 12:53:15 +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 VYlIJ7tQ82laEwAAD6G6ig\n (envelope-from <chrubis@suse.cz>)\n for <ltp@lists.linux.it>; Thu, 30 Apr 2026 12:53:15 +0000"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz;\n s=susede2_rsa;\n t=1777553596; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:\n mime-version:mime-version:content-type:content-type:\n in-reply-to:in-reply-to:references:references;\n bh=ytIKWoheFm64FvcPvlDPU8rjSs2r2jz2qU8QvduB5Lo=;\n b=b3FzQ+zicebH7XhOfXltUUdSi5idqxqoNL8Gwe0JVknH/7sRduiJdCq5LOOcJJ9nyW0gtR\n 33Y28d4aT6eMYHDTmn23uAVWy324IrmvpNgk8EYW0RLXZAFyTQ5dvNsNdVVX4HYFaMGgzO\n 3GIqzYYjKYLUeVt/sFWc2cpad+c7bH8=","v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz;\n s=susede2_ed25519; t=1777553596;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:\n mime-version:mime-version:content-type:content-type:\n in-reply-to:in-reply-to:references:references;\n bh=ytIKWoheFm64FvcPvlDPU8rjSs2r2jz2qU8QvduB5Lo=;\n b=TGLJAUdN72Ba37SiQWUmB4pwbF/cjexpu6xnwCvhUCsVs5KejAvVsovWXKlPOv7/4xZjwh\n O5PFlF0fknn3vrBQ==","v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz;\n s=susede2_rsa;\n t=1777553595; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:\n mime-version:mime-version:content-type:content-type:\n in-reply-to:in-reply-to:references:references;\n bh=ytIKWoheFm64FvcPvlDPU8rjSs2r2jz2qU8QvduB5Lo=;\n b=kynVmJFwGVZ8cY6U/DXIlaLQFBm4hpIII+UArr/w1Tj5KQ53RcLArBrlAF5gvAJLoxAYO+\n e+fYgnk1BrpCmzY3qMmV1OwEAtFEj4cMdTKfrmJZg3wmT7TIou84QuWZa4M4hg+wKRN5ko\n +EYUcaj7Nhgf5JAjlXgZ49vqiVG0qK8=","v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz;\n s=susede2_ed25519; t=1777553595;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:\n mime-version:mime-version:content-type:content-type:\n in-reply-to:in-reply-to:references:references;\n bh=ytIKWoheFm64FvcPvlDPU8rjSs2r2jz2qU8QvduB5Lo=;\n b=G3mjQk5WJS+gSipyV53Vr6fyoTquPdzPWR/vNZNY8TohIn1ftKo+4s1KCOgS0x1larJybg\n v6vDYK8j2tg2KbDw=="],"Date":"Thu, 30 Apr 2026 14:53:12 +0200","From":"Cyril Hrubis <chrubis@suse.cz>","To":"ltp@lists.linux.it","Message-ID":"<afNQuLNeBcYC_zAG@yuki.lan>","References":"<20260430091956.10915-1-chrubis@suse.cz>\n <afMwMO1yTBGDLQJc@linux.dev>","MIME-Version":"1.0","Content-Disposition":"inline","In-Reply-To":"<afMwMO1yTBGDLQJc@linux.dev>","X-Spamd-Result":"default: False [-4.51 / 50.00]; BAYES_HAM(-3.00)[100.00%];\n NEURAL_HAM_LONG(-1.00)[-1.000];\n R_DKIM_ALLOW(-0.20)[suse.cz:s=susede2_rsa,suse.cz: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 FROM_HAS_DN(0.00)[];\n DKIM_SIGNED(0.00)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519];\n RCPT_COUNT_ONE(0.00)[1]; FUZZY_RATELIMITED(0.00)[rspamd.com];\n MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; RCVD_TLS_ALL(0.00)[];\n DKIM_TRACE(0.00)[suse.cz:+]; MISSING_XM_UA(0.00)[];\n TO_DN_NONE(0.00)[]; RCVD_COUNT_TWO(0.00)[2];\n FROM_EQ_ENVFROM(0.00)[];\n SPAMHAUS_XBL(0.00)[2a07:de40:b281:104:10:150:64:97:from];\n DNSWL_BLOCKED(0.00)[2a07:de40:b281:106:10:150:64:167:received];\n DWL_DNSWL_BLOCKED(0.00)[suse.cz:dkim];\n PREVIOUSLY_DELIVERED(0.00)[ltp@lists.linux.it];\n RCVD_VIA_SMTP_AUTH(0.00)[];\n DBL_BLOCKED_OPENRESOLVER(0.00)[suse.cz:dkim, suse.cz:email,\n imap1.dmz-prg2.suse.org:helo, imap1.dmz-prg2.suse.org:rdns, yuki.lan:mid,\n linux.dev:email, linux.it:url]","X-Rspamd-Action":"no action","X-Spam-Score":"-4.51","X-Spam-Level":"","X-Rspamd-Server":"rspamd1.dmz-prg2.suse.org","X-Rspamd-Queue-Id":"B35C06A821","X-Spam-Status":"No, score=0.1 required=7.0 tests=DKIM_SIGNED,DKIM_VALID,\n DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS shortcircuit=no\n autolearn=disabled version=4.0.1","X-Spam-Checker-Version":"SpamAssassin 4.0.1 (2024-03-25) on in-5.smtp.seeweb.it","X-Virus-Scanned":"clamav-milter 1.0.9 at in-5.smtp.seeweb.it","X-Virus-Status":"Clean","Subject":"Re: [LTP] [PATCH] lib: tst_test: tst_reinit() abort when already\n initialized","X-BeenThere":"ltp@lists.linux.it","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"Linux Test Project <ltp.lists.linux.it>","List-Unsubscribe":"<https://lists.linux.it/options/ltp>,\n <mailto:ltp-request@lists.linux.it?subject=unsubscribe>","List-Archive":"<http://lists.linux.it/pipermail/ltp/>","List-Post":"<mailto:ltp@lists.linux.it>","List-Help":"<mailto:ltp-request@lists.linux.it?subject=help>","List-Subscribe":"<https://lists.linux.it/listinfo/ltp>,\n <mailto:ltp-request@lists.linux.it?subject=subscribe>","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it","Sender":"\"ltp\" <ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it>"}}]