Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp3501566rwb; Mon, 7 Aug 2023 14:52:47 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGZOjDhMeaP3SXWqzbF4hltau9Y3wSPzAjmA7DjR0/6vO50aXhNQ7gPl+adoy8QWyXHRMUX X-Received: by 2002:a17:903:32c5:b0:1bb:a13a:c229 with SMTP id i5-20020a17090332c500b001bba13ac229mr10001529plr.38.1691445166911; Mon, 07 Aug 2023 14:52:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691445166; cv=none; d=google.com; s=arc-20160816; b=cDZPkL0GWKYGvSvwU22HSdbYGBiZ+9A1tmVTzHQkE1TCxwDlg/RP3d0bm+wSCsEkSq PzKjuDFD6JDsjZrY6NWW02S/VWRvkVN4fYocPTTPJ5tqsbh8A+Fe62E65s1nz8MBC4Y3 snMdvl3WGu66wj68w6PKj5XhkxbCApKVfE0WPsEjgSUNKLeE0c95dg60BzTUVD3mHWw3 zBJA6KhXR58ylSSfzpcd51Z8UMBHn5KJ4CxEQ3rG8Ig0shk63lJnUnBC0cgIiUFm7YMY LHjKhfULyG6AGZPt3buRkvuAFm88xy7K7WKR4Hzh/cW2/0OtLLpufLhmg0yVpmRDOzyr /fzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=i3BspMO1SbyaVrPL43K1PgldA9iQctRpaOUukh+SQm0=; fh=8F599UBYg5S1unjXjTiHGpP38MHhAl/c/WvvjmFr51s=; b=LAu9y/mtFafw9GCbmHClDlofE27i/Djn0M3isw8XmqOfM7StedCganYnSPzR8Fx3I+ S7391bLTfHnRFqLns3WtznUq4YYFs74uNeEv9UlWJbBm7Jdz/ld/yuP+po/B+PI44Csd u5TrAr5AZQEyd3x07mWhTdJpl2b3r7PNCZaUzdZrNQCTG+k1MhxCLlhoBRi4YFTJNcHx e6ki6VUQo4BCwAnuOfLvwvppp7NxE2HTJ2ZJfkvJN4a/wDhog9AkcrIHiANUOV38rFrg ADVEwu4vL1jg1/M8laUAt0Bbdl7HpTjNGTQdKKvV5HrtNfmdilqWerfDya6fvqdDEvbT Y96w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=m7hnTHmY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l4-20020a170903244400b001bb02e4b739si6304601pls.475.2023.08.07.14.52.35; Mon, 07 Aug 2023 14:52:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=m7hnTHmY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229812AbjHGUrH (ORCPT + 99 others); Mon, 7 Aug 2023 16:47:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41112 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229493AbjHGUrG (ORCPT ); Mon, 7 Aug 2023 16:47:06 -0400 Received: from smtp-fw-9105.amazon.com (smtp-fw-9105.amazon.com [207.171.188.204]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD351189; Mon, 7 Aug 2023 13:47:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1691441226; x=1722977226; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=i3BspMO1SbyaVrPL43K1PgldA9iQctRpaOUukh+SQm0=; b=m7hnTHmYsgih5/c6G+Gd0jAODsQfKnWA/wKrhNUsDMzP8GR1sfWuuPiC u+Ac9FA1SKGJKbG1mnHJtvQ4DhropoQHJbf4AgwAvsdAqYkpiJVUy1Mdm E1NFRuUcSe2Fsfxuux6nOS3I5xeRlKAp5xqJX8NrgfvdV0dnV2BxWDYHs w=; X-IronPort-AV: E=Sophos;i="6.01,263,1684800000"; d="scan'208";a="665009981" Received: from pdx4-co-svc-p1-lb2-vlan3.amazon.com (HELO email-inbound-relay-pdx-2a-m6i4x-1197e3af.us-west-2.amazon.com) ([10.25.36.214]) by smtp-border-fw-9105.sea19.amazon.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Aug 2023 20:47:00 +0000 Received: from EX19MTAUWC002.ant.amazon.com (pdx1-ws-svc-p6-lb9-vlan3.pdx.amazon.com [10.236.137.198]) by email-inbound-relay-pdx-2a-m6i4x-1197e3af.us-west-2.amazon.com (Postfix) with ESMTPS id 7766510064B; Mon, 7 Aug 2023 20:46:59 +0000 (UTC) Received: from EX19D004ANA001.ant.amazon.com (10.37.240.138) by EX19MTAUWC002.ant.amazon.com (10.250.64.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.30; Mon, 7 Aug 2023 20:46:59 +0000 Received: from 88665a182662.ant.amazon.com.com (10.187.170.12) by EX19D004ANA001.ant.amazon.com (10.37.240.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA) id 15.2.1118.30; Mon, 7 Aug 2023 20:46:56 +0000 From: Kuniyuki Iwashima To: CC: , , , , , , , , , , Subject: Re: selftests: net/af_unix test_unix_oob [FAILED] Date: Mon, 7 Aug 2023 13:46:47 -0700 Message-ID: <20230807204648.50070-1-kuniyu@amazon.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.187.170.12] X-ClientProxiedBy: EX19D045UWC004.ant.amazon.com (10.13.139.203) To EX19D004ANA001.ant.amazon.com (10.37.240.138) X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,T_SPF_PERMERROR autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Mirsad Todorovac Date: Mon, 7 Aug 2023 21:44:41 +0200 > Hi all, > > In the kernel 6.5-rc5 build on Ubuntu 22.04 LTS (jammy jellyfish) on a Ryzen 7950 assembled box, > vanilla torvalds tree kernel, the test test_unix_oob unexpectedly fails: > > # selftests: net/af_unix: test_unix_oob > # Test 2 failed, sigurg 23 len 63 OOB % > > It is this code: > > /* Test 2: > * Verify that the first OOB is over written by > * the 2nd one and the first OOB is returned as > * part of the read, and sigurg is received. > */ > wait_for_data(pfd, POLLIN | POLLPRI); > len = 0; > while (len < 70) > len = recv(pfd, buf, 1024, MSG_PEEK); > len = read_data(pfd, buf, 1024); > read_oob(pfd, &oob); > if (!signal_recvd || len != 127 || oob != '#') { > fprintf(stderr, "Test 2 failed, sigurg %d len %d OOB %c\n", > signal_recvd, len, oob); > die(1); > } > > In 6.5-rc4, this test was OK, so it might mean we have a regression? Thanks for reporting. I confirmed the test doesn't fail on net-next at least, but it's based on v6.5-rc4. ---8<--- [root@localhost ~]# ./test_unix_oob [root@localhost ~]# echo $? 0 [root@localhost ~]# uname -r 6.5.0-rc4-01192-g66244337512f ---8<--- I'll check 6.5-rc5 later. > > marvin@defiant:~/linux/kernel/linux_torvalds$ grep test_unix_oob ../kselftest-6.5-rc4-1.log > /net/af_unix/test_unix_oob > # selftests: net/af_unix: test_unix_oob > ok 2 selftests: net/af_unix: test_unix_oob > marvin@defiant:~/linux/kernel/linux_torvalds$ > > Hope this helps. > > NOTE: the kernel is vanilla torvalds tree, only "dirty" because the selftests were modified. > > Kind regards, > Mirsad Todorovac