Received: by 10.223.185.116 with SMTP id b49csp7622572wrg; Thu, 1 Mar 2018 08:22:09 -0800 (PST) X-Google-Smtp-Source: AG47ELvHLNP3nYrI9LF4sZxMe93Fl4tobBrXvEgUJCJP39wKwwsmp9skI0x06OXK4S2vEtiohZnS X-Received: by 10.101.96.5 with SMTP id m5mr1993001pgu.374.1519921329738; Thu, 01 Mar 2018 08:22:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519921329; cv=none; d=google.com; s=arc-20160816; b=VVk2SCOsux8bNAha8WfYXOx0tYerlAEishVG0FpZvcRCDj0G+8uyetG+NzhRoHQYFr q6/Xz77Jmy081+Eh3F4Hs78mgWt9nyNL8+oQAJTYLdDsO4XPOrLW5jE/s2bwpDKhccfg U2PIOGvN4Rl6dKaeN2E7zSlxOd8GDZMMa1ENEnreaYVf1rEfRDjUBQfIIp3w3vffM8dF yDWmmTr3ivp7P/joaiTkWltKkTrsvNKli2sr/a22bHCgFWdZ3jUj/lvsx8YYQ/V1tx5k aVdDydxzriXuhAjYk5SV9pcYKDG9ig/j1vYa4cxMZrAXA30VVeQh90q+f/LcEnVnV2Cv D/XQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=vP9spGU8Mvjqyb6Drd1MWVj3Z1ZIWS51w3m7NnsLDO0=; b=AW/sp+HCYrKoy26akgjH1rw/Zstx5EFc3mHpHFMfZqtST/srmltQUCdfeTENoRFTml r5cOIsSwE5bhOlSquySTTneaZaH2Jy7QKDAl5N1JhO6bQ+rftnFfAXA1CMhNYk1sLlcu 60h1AOmGOyXejgk8DlGPgLMS4JiBaY7SJorLJc4NNYKt8UGdhva1Bj7QzoylTx5VbYHE F9v2ylKa5cxnii5f5da3FyfCSwyTkZA4VRC6xDOaG36XoK99695dNi2cSnLtWf1eopGQ yMN6M9qcukpcy75BEwUcWTHd6pF7ki8Tgna6k2SeSBcQSiMCtLGxDCo2vZ02NhC7kuF2 dDXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@paul-moore-com.20150623.gappssmtp.com header.s=20150623 header.b=JW75KN46; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q4-v6si3253583plb.29.2018.03.01.08.21.55; Thu, 01 Mar 2018 08:22:09 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@paul-moore-com.20150623.gappssmtp.com header.s=20150623 header.b=JW75KN46; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1032908AbeCAQU7 (ORCPT + 99 others); Thu, 1 Mar 2018 11:20:59 -0500 Received: from mail-lf0-f68.google.com ([209.85.215.68]:44367 "EHLO mail-lf0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1032730AbeCAQU5 (ORCPT ); Thu, 1 Mar 2018 11:20:57 -0500 Received: by mail-lf0-f68.google.com with SMTP id v9so9077662lfa.11 for ; Thu, 01 Mar 2018 08:20:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=vP9spGU8Mvjqyb6Drd1MWVj3Z1ZIWS51w3m7NnsLDO0=; b=JW75KN46b4xhtQWqlHsKlzp8IsMHefzAKoGOHhjrISOX9QlhhMvco6bp37aBA1WYI5 H5wVDUn29JX22ib0bVaMeDrU1g7FMIVuYo0XIEesx7hnICXcsCzhLMqBGqy5JQ8Oww5w tHRF8MqlFMWMQlvORuJ5zvdOjZupayoTgcF7AEAXGrzrfQrRjfkgPZhm2iSKJ132XNqp dDclw6WiCW4oGvwQO4hhwoPuOTdzgOr0M+9TAK2CtIElDtKo6/4MKZS/R7/LDHl2y5Pe 9M2Y2rwWWUBoIEDFHu/JlJWErA7ryf9pSx0IbkpcRBhDYV3jFwi0cvGevvvfD1//tioS SC5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=vP9spGU8Mvjqyb6Drd1MWVj3Z1ZIWS51w3m7NnsLDO0=; b=IbRAvCfY96u5Dx4K2yDZaa7p1dFHetrtneHUmBy0yOtPciRTobdTEvtrmSfXjlf2oV 9HKfbcXPZ/X1yevcD6od6j6U7fR5OyKYr0VGGnvhj/48ajVFmbYbM44LdJwMHKGLD60d 2zS+qcZcjk8W9Qw/kAVEoxVzZM7JTu7FHvHkMJQFgElzqRN/nO1MPXiZAeaus804Qu80 u7c+TJcizzF3KQfi0M41EzEX0yKNKZaKaj+kv5CfxpG9QBVi4EeEY6eZby4t729LAvNl UIPcqgfqye24HefcvV6/4Ekivp0VMO2aLa1rUVCJ3qfq5XlTt1weCbO5rtqUqllfilPy J4aA== X-Gm-Message-State: AElRT7G9c5pbRINn82uWojK73N+z1Q2J1Z+3RRkNcbxPzO9FxVsEKTnU OmJqvO2yrHkn8x08vDAmhmNS/dh+u5u71HofKUA+ X-Received: by 10.46.20.30 with SMTP id u30mr1815759ljd.12.1519921256304; Thu, 01 Mar 2018 08:20:56 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.216.167 with HTTP; Thu, 1 Mar 2018 08:20:55 -0800 (PST) X-Originating-IP: [108.20.156.165] In-Reply-To: <1519914989.3063.1.camel@btinternet.com> References: <20180301083316.GA6779@localhost.localdomain> <1519914989.3063.1.camel@btinternet.com> From: Paul Moore Date: Thu, 1 Mar 2018 11:20:55 -0500 Message-ID: Subject: Re: Regression found when running LTP connect01 on next-20180301 To: Richard Haines Cc: Anders Roxell , netdev@vger.kernel.org, selinux@tycho.nsa.gov, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 1, 2018 at 9:36 AM, Richard Haines wrote: > On Thu, 2018-03-01 at 08:42 -0500, Paul Moore wrote: >> On Thu, Mar 1, 2018 at 3:33 AM, Anders Roxell > rg> wrote: >> > Hi, >> > >> > I was running LTP's testcase connect01 [1] and found a regression >> > in linux-next >> > (next-20180301). Bisect gave me this patch as the problematic >> > patch (sha >> > d452930fd3b9 "selinux: Add SCTP support") on a x86 target. >> > >> > Output from the test(LTP release 20180118): >> > $ cd /opt/ltp/ >> > $ cat runtest/syscalls |grep connect01>runtest/connect-syscall >> > $ ./runltp -pq -f connect-syscall >> > " >> > Running tests....... >> > connect01 1 TPASS : bad file descriptor successful >> > connect01 2 TPASS : invalid socket buffer successful >> > connect01 3 TPASS : invalid salen successful >> > connect01 4 TPASS : invalid socket successful >> > connect01 5 TPASS : already connected successful >> > connect01 6 TPASS : connection refused successful >> > connect01 7 TFAIL : connect01.c:146: invalid address family ; >> > returned -1 (expected -1), errno 22 (expected 97) >> > INFO: ltp-pan reported some tests FAIL >> > LTP Version: 20180118 >> > " >> > >> > The output from the test expected 97 and we received 22, can you >> > please >> > elaborate on what have been changed? >> > >> > Cheers, >> > Anders >> > [1] https://github.com/linux-test-project/ltp/blob/20180118/testcas >> > es/kernel/syscalls/connect/connect01.c#L146 >> >> Hi Anders, >> >> Thanks for the report. Out of curiosity, we're you running the full >> LTP test suite and this was the only failure, or did you just run the >> connect01 test? Either answer is fine, I'm just trying to understand >> the scope of the regression. >> >> Richard, are you able to look into this? If not, let me know and >> I'll >> dig a bit deeper (I'll likely take a quick look today, but if the >> failure is subtle it might require some digging). > > I'll have a look today. Thanks. Let me know if you get stuck. -- paul moore www.paul-moore.com