From nobody Tue Feb 11 17:03:35 2025 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 4YsnpJ0vQbz5nrp4; Tue, 11 Feb 2025 17:03:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YsnpH4K8nz3F3c; Tue, 11 Feb 2025 17:03:35 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739293415; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=2Aup3SZMlM06G7Mir10rIKDdftmiKHu2mHHlYjVIKjM=; b=mPSwNbjnsqNjNEV6xwCLiScX2pBvxEGlZ+mhMgBdpfOHEkDkaju6PSBt2KZwRkZOjQX4Ut cytNKdDTLCBVNrzGWshesfLOAw0A0OpoVsjw0Z4CACVFchVohLnwwBKFdq47h6WSmP4cmv 6Gx2eGZXT8gDA43W76n3WcHfK0ZIUzXgHNnF0yY19v4lalmm2FGMnW0/UfHOwiUVnkIccB nrF07oxnoecNdOyypyjz1dfG7JPbO+3i5c9MeY6Xrnz0HcWFDnbpkYe4iVxBCDpnnzgCTc r0w01kNW5ikG1LxoAITebg7+CaHorUTrtgvG1vTFT7XGMjs6v2ccgcrdzCLfgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739293415; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=2Aup3SZMlM06G7Mir10rIKDdftmiKHu2mHHlYjVIKjM=; b=H/tVABkcDEjOijL9qXpqkhxFQWQ0D1dZlmFwIarE1cNLcWKGpqaTcvfHEE2NRtvNncopDn MLdM0x2G5iyqkXbx1Tf33yknZ6HThoWpfIJwsjYonBwjHQgJbVTllcD9Yjt8rbZPVX8qWD D9Wd37z2uoGdpr++Se0VF8+FSTZs/4pXGDsk8JdIMz3MJjEPe7+MD8IAKYhPmKNK6NwphM TYuL7CkbDldV+7Jk6yaYdgzqR+6W1qfWwXkVboKiFxPpNb+arxF/MLzL0n9M3Mqfzv64vV 8hWy/qI/7lqJqqGMjXUjJi5uG4xUIvmnxhvrKMldrBt/rvoF0gSROiv41MdLDg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1739293415; a=rsa-sha256; cv=none; b=DmSoXZyIT1H5RIIUphbWCHYJfZJHcNnBllT/y7pPnWJ9Li+z+/ZwNvu+KDvJ1qU0sweFYv NBF0+42D9QYZflHUJ5RNyqHtJxM11jI+YaQDBNcH/2JI30pXPz5WWGccpbVZ1HMN0tU5E2 HZ4zxe3nX4M1l6wlto9BgU6vJbecMm+6p1zldhhVkfm1R03mrqzuL6x6K7FpfNpsWfy9oN Ui+gbriLoj9PLdpIsvuOpRWdlUG6TsNclx7kmicohOH0aQrEJA+MxfGGvRinrDJxtRX7sH loMIMIGd3ZGEPTjwja1cGFxaZhEwgiOywsbCMMinfu6IgXOC5Am0HyEgO1L13Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YsnpH3wZmz5mT; Tue, 11 Feb 2025 17:03:35 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 51BH3ZeY078078; Tue, 11 Feb 2025 17:03:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 51BH3Zsf078075; Tue, 11 Feb 2025 17:03:35 GMT (envelope-from git) Date: Tue, 11 Feb 2025 17:03:35 GMT Message-Id: <202502111703.51BH3Zsf078075@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Jose Luis Duran Subject: git: e295e0b8cfd3 - main - tests: Add scapy as a required program 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: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jlduran X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e295e0b8cfd34017dbaf5ccc908d3e9bbd505e62 Auto-Submitted: auto-generated The branch main has been updated by jlduran: URL: https://cgit.FreeBSD.org/src/commit/?id=e295e0b8cfd34017dbaf5ccc908d3e9bbd505e62 commit e295e0b8cfd34017dbaf5ccc908d3e9bbd505e62 Author: Jose Luis Duran AuthorDate: 2025-02-11 16:59:51 +0000 Commit: Jose Luis Duran CommitDate: 2025-02-11 16:59:51 +0000 tests: Add scapy as a required program The utils.subr file includes a couple of subroutines (ping_dummy_check_request and ping_server_check_reply) that require scapy. Add this requirement in the header of each test that makes use of them. Reported by: Jenkins Reviewed by: kp, ngie Approved by: emaste (mentor) Differential Revision: https://reviews.freebsd.org/D48917 --- tests/sys/netpfil/pf/fragmentation_pass.sh | 3 +++ tests/sys/netpfil/pf/max_states.sh | 1 + tests/sys/netpfil/pf/route_to.sh | 3 +++ tests/sys/netpfil/pf/src_track.sh | 2 ++ 4 files changed, 9 insertions(+) diff --git a/tests/sys/netpfil/pf/fragmentation_pass.sh b/tests/sys/netpfil/pf/fragmentation_pass.sh index 4e0665094ae6..e72b065b77bb 100644 --- a/tests/sys/netpfil/pf/fragmentation_pass.sh +++ b/tests/sys/netpfil/pf/fragmentation_pass.sh @@ -443,6 +443,7 @@ no_df_head() { atf_set descr 'Test removing of DF flag' atf_set require.user root + atf_set require.progs scapy } no_df_body() @@ -481,6 +482,7 @@ reassemble_slowpath_head() { atf_set descr 'Test reassembly on the slow path' atf_set require.user root + atf_set require.progs scapy } reassemble_slowpath_body() @@ -609,6 +611,7 @@ dummynet_fragmented_head() { atf_set descr 'Test dummynet on NATed fragmented traffic' atf_set require.user root + atf_set require.progs scapy } dummynet_fragmented_body() diff --git a/tests/sys/netpfil/pf/max_states.sh b/tests/sys/netpfil/pf/max_states.sh index 03142eeaffa6..3548d838e3a6 100755 --- a/tests/sys/netpfil/pf/max_states.sh +++ b/tests/sys/netpfil/pf/max_states.sh @@ -31,6 +31,7 @@ max_states_head() { atf_set descr 'Max states per rule' atf_set require.user root + atf_set require.progs scapy } max_states_body() diff --git a/tests/sys/netpfil/pf/route_to.sh b/tests/sys/netpfil/pf/route_to.sh index 305ca4c8eddd..06a320f5fac2 100644 --- a/tests/sys/netpfil/pf/route_to.sh +++ b/tests/sys/netpfil/pf/route_to.sh @@ -516,6 +516,7 @@ ifbound_reply_to_head() { atf_set descr 'Test that reply-to states bind to the expected interface' atf_set require.user root + atf_set require.progs scapy } ifbound_reply_to_body() @@ -571,6 +572,7 @@ ifbound_reply_to_v6_head() { atf_set descr 'Test that reply-to states bind to the expected interface for IPv6' atf_set require.user root + atf_set require.progs scapy } ifbound_reply_to_v6_body() @@ -630,6 +632,7 @@ ifbound_reply_to_rdr_dummynet_head() { atf_set descr 'Test that reply-to states bind to the expected non-default-route interface after rdr and dummynet' atf_set require.user root + atf_set require.progs scapy } ifbound_reply_to_rdr_dummynet_body() diff --git a/tests/sys/netpfil/pf/src_track.sh b/tests/sys/netpfil/pf/src_track.sh index 620f1353f9fe..e8873d1dc750 100755 --- a/tests/sys/netpfil/pf/src_track.sh +++ b/tests/sys/netpfil/pf/src_track.sh @@ -132,6 +132,7 @@ max_src_conn_rule_head() { atf_set descr 'Max connections per source per rule' atf_set require.user root + atf_set require.progs scapy } max_src_conn_rule_body() @@ -191,6 +192,7 @@ max_src_states_rule_head() { atf_set descr 'Max states per source per rule' atf_set require.user root + atf_set require.progs scapy } max_src_states_rule_body()