From nobody Tue Jan 18 09:39:14 2022 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 5B7F11950E2A; Tue, 18 Jan 2022 09:39:18 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JdNyZ2Dqdz4lyL; Tue, 18 Jan 2022 09:39:18 +0000 (UTC) (envelope-from kp@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642498758; 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=ULWS8E7FP1rP1UNR9gJn+9Cnjq9a/TcBX1wqCryygPQ=; b=tHlnuaBAbq0twlyn9XDAPWMUKHwh7gZy+Rm4hQp3kwxlnmc5uVBthu8X01Bx2ewIcdvCJQ /BnqQkB4J11NZE93TdFQ0kHyDDz2x8ZyQlCSUzqZXQRQ7Rj+UZMzdnLC3kedwfWt0Xp2AG 311UTEOZsrnPHDhEFnl6aXfyGj45SnSd30wwL4tdO5CYOHbJVuZfJa8aOW6gdKwMmp48zP aJ7KBXlf0ahPG6AKhSlW5SXwd6DhhSZucxk6CyxePy370lM3Bua1tSI4bCIPto2CBvwGPs lyQ2bKhuxcr1/nklI+bmPukbF63Tgv0V+HIMXGalCuLw5hEtVu6GpKYBcWB45Q== Received: from venus.codepro.be (venus.codepro.be [5.9.86.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.codepro.be", Issuer "R3" (verified OK)) (Authenticated sender: kp) by smtp.freebsd.org (Postfix) with ESMTPSA id 13A5525D96; Tue, 18 Jan 2022 09:39:18 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: by venus.codepro.be (Postfix, authenticated sender kp) id E642845794; Tue, 18 Jan 2022 10:39:15 +0100 (CET) From: Kristof Provost To: Gleb Smirnoff Cc: dev-commits-src-main@freebsd.org, current@freebsd.org, bz@freebsd.org, zec@freebsd.org Subject: Re: netinet & netpfil tests failing Date: Tue, 18 Jan 2022 10:39:14 +0100 X-Mailer: MailMate (1.14r5852) Message-ID: In-Reply-To: References: List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642498758; 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=ULWS8E7FP1rP1UNR9gJn+9Cnjq9a/TcBX1wqCryygPQ=; b=hogPVR4DyHzVsk1A28+3s1nF93vaOZxdaDEpqJ32sijwITd61J4y8vwWlVyrKW8ywhhGab T3C5LrH8QotDs4T0V2wurR3Ru1iR5xbiHMQi7t4KRUnHHwKyZ7EJELoJX2V1+VODxmkwau CU0h0A85H4QJBgnJTQWY/vw4Xcs/89KR4+EtbnkpitTvYdeiIJYh4uoR6eNtw8VwOPT+Da O7rjQLBpS/HLaoVkHwJPcb1NjroMLlQhYNK69Gv+2KIu2R8aotkhxxPt1LxPgxASo5AFYB MgfGRYISJF4LRSRC6xnIrThCSt7dWvLfePhy4YZyL0w7ipgxDyU3kxGPBk0kFw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642498758; a=rsa-sha256; cv=none; b=WUMPjFG1mhpYcAPoQza9Yu42Fekt3qgQI6ff19xq+sTfb081TIwBwODUA9dmtJZ0WTDkrt 28mlhami2ppbqF/yZy5wTd1ARGb71ASj07EsGL9UBIFOyAcTquw57Z8rZYqYw+7B8RvRnq x5JYYeDpAdoMvB/mfRYdM683BzJX4VyBiumsWYM07m7tNtscBKBJ85wc198K4aV/N75gBg qiupZPsPOT64dj3hJPdEW2ZFVDqhqs2ykIHJiRKN91S05XR0bMtzGLZZqcVP2AoE9e3hCL wyvFfh2eTRBSB1XTF+KxcY+ExT6xJP9nGPFb+rvTSi/H/2RjGNqxZU04oKCOLw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N On 18 Jan 2022, at 3:07, Gleb Smirnoff wrote: > * Another factor - scapy. The python scapy library would emit warning = to stderr > if it sees interface without any IP address. This happens right at '= import scapy'. > The test suite considers a test failed if it has something on stderr,= even if > it returned success. > > So, result is that some test (absolutely unrelated to pcbs) leaves a ja= il with > interfaces, then jail is released, interfaced pop up at vnet0, and then= some > other test (absolutely unrelated to pcbs) using scapy writes a warning = to stderr > and triggers failure. > Several of the pf scapy scripts deal with that issue by setting the scapy= log level: https://cgit.freebsd.org/src/tree/tests/sys/netpfil/pf/CVE-2019-5597.py#n= 30 So that part at least we could probably mitigate easily. (I=E2=80=99m not overly fond of that decision in scapy, but didn=E2=80=99= t want to resort to patching scapy to cope with our fairly specific requi= rements.) Kristof