From owner-freebsd-testing@freebsd.org Thu Mar 28 18:25:36 2019 Return-Path: Delivered-To: freebsd-testing@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A6F3015650BB for ; Thu, 28 Mar 2019 18:25:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 62CE7858F8 for ; Thu, 28 Mar 2019 18:25:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 219D815650AF; Thu, 28 Mar 2019 18:25:36 +0000 (UTC) Delivered-To: testing@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EE79715650A9 for ; Thu, 28 Mar 2019 18:25:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ABE54858F1 for ; Thu, 28 Mar 2019 18:25:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id D5178509A for ; Thu, 28 Mar 2019 18:25:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x2SIPY3F073206 for ; Thu, 28 Mar 2019 18:25:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x2SIPY0A073205 for testing@freebsd.org; Thu, 28 Mar 2019 18:25:34 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: testing@freebsd.org Subject: [Bug 236857] Fix sysctl check for some sys/audit/process-control tests Date: Thu, 28 Mar 2019 18:25:34 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: tests X-Bugzilla-Version: 12.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: olivier@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: testing@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Mar 2019 18:25:36 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236857 Bug ID: 236857 Summary: Fix sysctl check for some sys/audit/process-control tests Product: Base System Version: 12.0-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: tests Assignee: testing@freebsd.org Reporter: olivier@freebsd.org Created attachment 203217 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D203217&action= =3Dedit patch to skip tests if kernel build without CAPABILITIES There are two tests that check if kern.features.security_capability_mode is correctly set (=3D1) , but if a kernel without CAPABILITIES these tests fai= led because non existing sysctl. Before patch: NANOBSD# kyua test sys/audit/process-control:cap_enter_success sys/audit/process-control:cap_enter_success -> failed: /var/jenkins/workspace/ocafirmware_build-master/FreeBSD/tests/sys/audit/pro= cess-con trol.c:1518: 0 !=3D sysctlbyname(capname, &capinfo, &len, NULL, 0) [0.003s] Results file id is usr_tests.20190328-140620-191316 Results saved to /root/.kyua/store/results.usr_tests.20190328-140620-191316= .db 0/1 passed (1 failed) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D After patch: NANOBSD# kyua test sys/audit/process-control:cap_enter_success sys/audit/process-control:cap_enter_success -> skipped: sysctl kern.features.security_capability_mode doesn't exist [0.003s] Results file id is usr_tests.20190328-181625-015778 Results saved to /root/.kyua/store/results.usr_tests.20190328-181625-015778= .db 1/1 passed (0 failed) NANOBSDx# kyua test sys/audit/process-control:cap_getmode_success sys/audit/process-control:cap_getmode_success -> skipped: sysctl kern.features.security_capability_mode doesn't exist [0.003s] Results file id is usr_tests.20190328-181746-138037 Results saved to /root/.kyua/store/results.usr_tests.20190328-181746-138037= .db 1/1 passed (0 failed) --=20 You are receiving this mail because: You are the assignee for the bug.=