From owner-freebsd-testing@freebsd.org Mon Oct 12 22:23:38 2020 Return-Path: Delivered-To: freebsd-testing@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B4A77429DB1; Mon, 12 Oct 2020 22:23:38 +0000 (UTC) (envelope-from lwhsu@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (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 "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C9CrB4Cy9z3VXb; Mon, 12 Oct 2020 22:23:38 +0000 (UTC) (envelope-from lwhsu@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1602541418; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type; bh=ZNsyj0tFP9GddJCFGdcMnM/vCgccPlPSS9KOo3jddrk=; b=yu9EjEF756y2fL73XkIHK5cxLM+palJpjigR/ehxoAPdExRL2GZCdjSaqS1K4dlae4eCxU 7S0arjU+slnQX91KZ62WAJMla9JLvLtzurwfF3V6tWJpAC0t2txWMgRWwizRJV2HaUbj8/ +G4lwS6iCukC1PjeVUk6R0sZ1WfCgZaLftVALL9KJKEw3QTX4zKbfV2FrgUX3L1aXrRmLp G0jomyYmSZ91yIoCcVycNbWqH2wjQ7MZQOWLKZk4/A9dYAM8XcZ+hE5hZdS+djJY+Zt5Ct T6PK4XW8uMIiH9p1VA0a3GiYM0g/+zzFP8nFFGxWM5cqFQU62N4EdbdXiVaCKg== Received: by freefall.freebsd.org (Postfix, from userid 1129) id 78F3BA636; Mon, 12 Oct 2020 22:23:38 +0000 (UTC) Date: Mon, 12 Oct 2020 22:23:38 +0000 From: Li-Wen Hsu To: freebsd-testing@freebsd.org Cc: freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: FreeBSD CI Weekly Report 2020-10-11 Message-ID: <20201012222338.GA87671@freefall.freebsd.org> Reply-To: freebsd-testing@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1602541418; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type; bh=ZNsyj0tFP9GddJCFGdcMnM/vCgccPlPSS9KOo3jddrk=; b=BYtBPNQw5UIU+fZGEljjzFpyoOCtsiLYWiCeKnbVcW7mqHCwxnOweSkiBMDd3oDfc3+Igk izTOiOrzOYewIfjEOct1DeL3qN6WgKhwrDdiJ7/Vu1I2WA6INioTrN20QNdmxMDqRK1oCB S0gDfFuf1hOq+Ut4JtcjCnKu5+snZUK0nNEK06KFFhvamOg3k3qUQFieaVbj/2BCDYCq1D 6TbMM/dkE1bn4ahewGH5O+rVgxj/E/mXgpX8xNxdmZrP0NRbm8XStJFHy/T4y3+QraGgFV 5N5AXMw7fVM/izCBllf+yJB/ZwHjUV8QH4rqjEpKvXXOvvDmjBEHysFmBKs0cg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1602541418; a=rsa-sha256; cv=none; b=uR2OSRtochWPM3Fylj8J45tCSzVjVZsMjBzhwqZTzSIjxgWP4tBU58RrU3fozZj+yAeRLK 5fMiyd73u5X1swehBAfgpC1PYUKgRrnyV9zBpr+CxwTw9XpHV7DB1mgJRW3ij3R47a/5Bf ye0y1dvHR8uRwRT71Ez/6KXINfPO35OAiywvy6NwuHJjkrWI6dxUaiKClPlZeC+d4EypMV 2VmMW6TivbaXh0yQmr1P/vebgytexqI03h/sFiA/COmX7MWb3uXfRlqNAMVMvpqyi5v92O S6jXtV0qo5dtUcciM68jiCVQZNnSjF/mSco3gAfCoyZGQ+BQQagXCnOfEmMqNA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Oct 2020 22:23:38 -0000 FreeBSD CI Weekly Report 2020-10-11 =================================== Here is a summary of the FreeBSD Continuous Integration results for the period from 2020-10-05 to 2020-10-11. During this period, we have: * 1809 builds (94.6% (+0.7) passed, 5.4% (-0.7) failed) of buildworld and buildkernel (GENERIC and LINT) were executed on aarch64, amd64, armv6, armv7, i386, mips, mips64, powerpc, powerpc64, powerpcspe, riscv64, sparc64 architectures for head, stable/12, stable/11 branches. * 213 test runs (70.5% (+51.9) passed, 28.6% (-52.8) unstable, 0.9% (+0.9) exception) were executed on amd64, i386, riscv64 architectures for head, stable/12, stable/11 branches. * 34 doc and www builds (100% passed) Test case status (on 2020-10-11 23:59): | Branch/Architecture | Total | Pass | Fail | Skipped | | ------------------- | ---------- | ---------- | ------ | -------- | | head/amd64 | 7995 (+96) | 7891 (+93) | 0 (-2) | 104 (+5) | | head/i386 | 7993 (+96) | 7869 (+93) | 0 (-2) | 124 (+5) | | 12-STABLE/amd64 | 7630 (0) | 7570 (0) | 0 (0) | 60 (0) | | 12-STABLE/i386 | 7628 (0) | 7563 (0) | 0 (0) | 65 (0) | | 11-STABLE/amd64 | 6912 (0) | 6858 (0) | 0 (0) | 54 (0) | | 11-STABLE/i386 | 6910 (0) | 6857 (+3) | 0 (0) | 53 (-3) | (The statistics from experimental jobs are omitted) If any of the issues found by CI are in your area of interest or expertise please investigate the PRs listed below. The latest web version of this report is available at https://hackmd.io/@FreeBSD-CI/report-20201011 and archive is available at https://hackmd.io/@FreeBSD-CI/ , any help is welcomed. ## News * Capsicum tests have been turned fine grained results. Now each test case reports individually: https://ci.freebsd.org/job/FreeBSD-head-amd64-test/lastCompletedBuild/testReport/junit/sys.capsicum/functional/ The test are executed with root by default now and some previously skipped test cases are being executed now. ## Failing test cases ### HEAD * sys.capsicum.functional.Capability__NoBypassDAC https://bugs.freebsd.org/250178 * sys.capsicum.functional.Pdfork__OtherUserForked https://bugs.freebsd.org/250179 ## Failing jobs * https://ci.freebsd.org/job/FreeBSD-head-amd64-gcc6_build/ There are still mutiple errors when building with gcc6, error log available at https://ci.freebsd.org/job/FreeBSD-head-amd64-gcc6_build/lastCompletedBuild/console See also: https://lists.freebsd.org/pipermail/svn-src-all/2020-September/202307.html ## Regressions * lib.libexecinfo.backtrace_test.backtrace_fmt_basic starts failing on amd64 after r360915 https://bugs.freebsd.org/246537 * lib.msun.ctrig_test.test_inf_inputs starts failing after llvm10 import https://bugs.freebsd.org/244732 Needs to check if llvm11 import fixes this. * Lock-order reversals triggered by tests under sys.net.if_lagg_test.* on i386 https://bugs.freebsd.org/244163 Discovered by newly endabled sys.net.* tests. ([r357857](https://svnweb.freebsd.org/changeset/base/357857)) * sys.net.if_lagg_test.lacp_linkstate_destroy_stress panics i386 kernel https://bugs.freebsd.org/244168 Discovered by newly endabled sys.net.* tests. ([r357857](https://svnweb.freebsd.org/changeset/base/357857)) Fix committed as https://svnweb.freebsd.org/changeset/base/364220 , needs more verification. * lib.libbe.be_create.* and sbin.bectl.bectl_test.* https://bugs.freebsd.org/249055 & https://bugs.freebsd.org/249229 OpenZFS' zfs.ko can't be loaded in non-64bit platforms ## Failing and Flaky tests (from experimental jobs) * https://ci.freebsd.org/job/FreeBSD-head-amd64-dtrace_test/ * cddl.usr.sbin.dtrace.common.misc.t_dtrace_contrib.tst_dynopt_d * https://bugs.freebsd.org/237641 * common.ip.t_dtrace_contrib.tst_ipv4localsctp_ksh * common.ip.t_dtrace_contrib.tst_localsctpstate_ksh * https://ci.freebsd.org/job/FreeBSD-head-amd64-test_zfs/ * Total 681 tests, 524 success, 47 failures, 110 skipped, see https://ci.freebsd.org/job/FreeBSD-head-amd64-test_zfs/lastCompletedBuild/testReport/ for more details * https://ci.freebsd.org/job/FreeBSD-head-amd64-test_ltp/ * Total 3749 tests, 2289 success, 647 failures, 813 skipped ## Disabled Tests * sys.fs.tmpfs.mount_test.large https://bugs.freebsd.org/212862 * sys.fs.tmpfs.link_test.kqueue https://bugs.freebsd.org/213662 * sys.kqueue.libkqueue.kqueue_test.main https://bugs.freebsd.org/233586 * sys.kern.ptrace_test.ptrace__PT_KILL_competing_stop https://bugs.freebsd.org/220841 * lib.libc.regex.exhaust_test.regcomp_too_big (i386 only) https://bugs.freebsd.org/237450 * sys.netinet.socket_afinet.socket_afinet_bind_zero https://bugs.freebsd.org/238781 * sys.netpfil.pf.names.names * sys.netpfil.pf.synproxy.synproxy https://bugs.freebsd.org/238870 Workaround committed and need to verify. * sys.kern.ptrace_test.ptrace__follow_fork_child_detached_unrelated_debugger https://bugs.freebsd.org/239292 * sys.kern.ptrace_test.ptrace__follow_fork_both_attached_unrelated_debugger https://bugs.freebsd.org/239397 * sys.kern.ptrace_test.ptrace__parent_sees_exit_after_child_debugger https://bugs.freebsd.org/239399 * sys.kern.ptrace_test.ptrace__follow_fork_parent_detached_unrelated_debugger https://bugs.freebsd.org/239425 * sys.sys.qmath_test.qdivq_s64q https://bugs.freebsd.org/240219 * sys.kern.ptrace_test.ptrace__getppid https://bugs.freebsd.org/240510 * lib.libc.sys.stat_test.stat_socket https://bugs.freebsd.org/240621 * lib.libarchive.functional_test.test_write_filter_zstd https://bugs.freebsd.org/240683 * lib.libcasper.services.cap_dns.dns_test.main lib.libcasper.services.cap_net.net_test.* https://bugs.freebsd.org/241435 * local.kyua.* (31 cases) & local.lutok.* (3 cases) on 11-i386 https://ci.freebsd.org/job/FreeBSD-stable-11-i386-test/2278/testReport/ * sys.kern.ptrace_test.ptrace__procdesc_reparent_wait_child https://bugs.freebsd.org/243605 * sys.kern.ptrace_test.ptrace__parent_wait_after_attach https://bugs.freebsd.org/244055 * sys.kern.ptrace_test.ptrace__parent_exits_before_child https://bugs.freebsd.org/244056 * sys.net.if_lagg_test.witness (i386) https://bugs.freebsd.org/244163 * PipePdfork.WildcardWait in sys.capsicum.capsicum-test.main https://bugs.freebsd.org/244165 * sys.net.if_lagg_test.lacp_linkstate_destroy_stress (i386) https://bugs.freebsd.org/244168 * sys.netinet6.frag6.frag6_07.frag6_07 https://bugs.freebsd.org/244170 * sys.netinet.fibs_test.udp_dontroute6 https://bugs.freebsd.org/244172 * sys.netpfil.pf.nat.exhaust https://bugs.freebsd.org/244703 Workaround committed and need to verify. * sys.geom.class.gate.ggate_test.ggated (i386) https://bugs.freebsd.org/244737 * sys.kern.sysv_test.msg https://bugs.freebsd.org/233649 * sys.capsicum.functional.ForkedOpenatTest_WithFlagInCapabilityMode___ * sys.capsicum.functional.OpenatTest__WithFlag https://bugs.freebsd.org/249960 * sys.capsicum.functional.Capability__NoBypassDAC https://bugs.freebsd.org/250178 * sys.capsicum.functional.Pdfork__OtherUserForked https://bugs.freebsd.org/250179 ## Issues ### Cause build fails * https://bugs.freebsd.org/233769 Possible build race: ld: error: unable to find library -lgcc_s ### Cause kernel panics * https://bugs.freebsd.org/238870 sys.netpfil.pf.names.names and sys.netpfil.pf.synproxy.synproxy cause panic ### Open * https://bugs.freebsd.org/237641 Flakey test case: common.misc.t_dtrace_contrib.tst_dynopt_d * https://bugs.freebsd.org/237656 "Freed UMA keg (rtentry) was not empty (18 items). Lost 1 pages of memory." seen when running sys/netipsec tests * https://bugs.freebsd.org/238781 sys.netinet.socket_afinet.socket_afinet_bind_zero does not work when mac_portacl(4) loaded * https://bugs.freebsd.org/239292 Flakey test case: sys.kern.ptrace_test.ptrace__follow_fork_child_detached_unrelated_debugger * https://bugs.freebsd.org/239397 Flakey test case: sys.kern.ptrace_test.ptrace__follow_fork_both_attached_unrelated_debugger * https://bugs.freebsd.org/239399 Flakey test case: sys.kern.ptrace_test.ptrace__parent_sees_exit_after_child_debugger * https://bugs.freebsd.org/239425 Flakey test case: sys.kern.ptrace_test.ptrace__follow_fork_parent_detached_unrelated_debugger * https://bugs.freebsd.org/241662 Flakey test case: lib.libarchive.functional_test.test_fuzz_iso9660 * https://bugs.freebsd.org/246443 sys.net.if_clone_test.epair_stress sometimes exceeds timeout limit but not caught by kyua * https://bugs.freebsd.org/247510 sys.net.if_lagg_test.status_stress panics kernel on i386 ### Others * [Tickets related to testing@](https://preview.tinyurl.com/y9maauwg) From owner-freebsd-testing@freebsd.org Tue Oct 13 15:01:53 2020 Return-Path: Delivered-To: freebsd-testing@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 887C94447A0 for ; Tue, 13 Oct 2020 15:01:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4C9f0136Tzz3Zv8 for ; Tue, 13 Oct 2020 15:01:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 6ABA044453A; Tue, 13 Oct 2020 15:01:53 +0000 (UTC) Delivered-To: testing@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6A82B44480E for ; Tue, 13 Oct 2020 15:01:53 +0000 (UTC) (envelope-from bugzilla-noreply@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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C9f012Dd6z3b0r for ; Tue, 13 Oct 2020 15:01:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 3082B1F48C for ; Tue, 13 Oct 2020 15:01:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 09DF1rkW070966 for ; Tue, 13 Oct 2020 15:01:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 09DF1rMe070965 for testing@FreeBSD.org; Tue, 13 Oct 2020 15:01:53 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 250179] Failing test case: sys.capsicum.functional.Pdfork__OtherUserForked Date: Tue, 13 Oct 2020 15:01:53 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: tests X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: emaste@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: Message-ID: In-Reply-To: References: 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.33 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Oct 2020 15:01:53 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250179 --- Comment #2 from Ed Maste --- Failing case: 533 // Now that the second process has been pdfork()ed, change euid. 534 setuid(other_uid); 535 if (verbose) fprintf(stderr, "uid=3D%d euid=3D%d\n", getuid(), geteuid()); 536 537 // Fail to kill child with normal PID operation. 538 EXPECT_EQ(-1, kill(pid, SIGKILL)); 539 EXPECT_EQ(EPERM, errno); 540 EXPECT_PID_ALIVE(pid); 541 542 // Succeed with pdkill though. 543 EXPECT_OK(pdkill(pd, SIGKILL)); 544 EXPECT_PID_ZOMBIE(pid); --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-testing@freebsd.org Tue Oct 13 23:12:07 2020 Return-Path: Delivered-To: freebsd-testing@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 36D7B44DCC3 for ; Tue, 13 Oct 2020 23:12:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4C9rsg0kpHz4QKY for ; Tue, 13 Oct 2020 23:12:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 18ED744DCC2; Tue, 13 Oct 2020 23:12:07 +0000 (UTC) Delivered-To: testing@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 17A8744DFB3 for ; Tue, 13 Oct 2020 23:12:07 +0000 (UTC) (envelope-from bugzilla-noreply@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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C9rsf6wMqz4QKX for ; Tue, 13 Oct 2020 23:12:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 D0E562518B for ; Tue, 13 Oct 2020 23:12:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 09DNC6OL052963 for ; Tue, 13 Oct 2020 23:12:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 09DNC6ok052962 for testing@FreeBSD.org; Tue, 13 Oct 2020 23:12:06 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 250178] Failing test case: sys.capsicum.functional.Capability__NoBypassDAC Date: Tue, 13 Oct 2020 23:12:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: tests X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: testing@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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.33 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Oct 2020 23:12:07 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250178 --- Comment #3 from Ed Maste --- 1281 TEST(Capability, NoBypassDAC) { 1282 REQUIRE_ROOT(); 1283 int fd =3D open(TmpFile("cap_root_owned"), O_RDONLY|O_CREAT, 0644= ); 1284 EXPECT_OK(fd); 1285 cap_rights_t rights; 1286 cap_rights_init(&rights, CAP_READ, CAP_WRITE, CAP_FCHMOD, CAP_FST= AT); 1287 EXPECT_OK(cap_rights_limit(fd, &rights)); 1288 1289 pid_t child =3D fork(); 1290 if (child =3D=3D 0) { 1291 // Child: change uid to a lesser being 1292 setuid(other_uid); 1293 // Attempt to fchmod the file, and fail. 1294 // Having CAP_FCHMOD doesn't bypass the need to comply with DAC policy. 1295 int rc =3D fchmod(fd, 0666); 1296 EXPECT_EQ(-1, rc); 1297 EXPECT_EQ(EPERM, errno); 1298 exit(HasFailure()); 1299 } 1300 int status; 1301 EXPECT_EQ(child, waitpid(child, &status, 0)); 1302 EXPECT_TRUE(WIFEXITED(status)) << "0x" << std::hex << status; 1303 EXPECT_EQ(0, WEXITSTATUS(status)); 1304 struct stat info; 1305 EXPECT_OK(fstat(fd, &info)); 1306 EXPECT_EQ((mode_t)(S_IFREG|0644), info.st_mode); 1307 close(fd); 1308 unlink(TmpFile("cap_root_owned")); 1309 } --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-testing@freebsd.org Sat Oct 17 20:49:59 2020 Return-Path: Delivered-To: freebsd-testing@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C7166442231 for ; Sat, 17 Oct 2020 20:49:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CDFWq4xB8z4cY6 for ; Sat, 17 Oct 2020 20:49:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id A7A9D441D7E; Sat, 17 Oct 2020 20:49:59 +0000 (UTC) Delivered-To: testing@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A7721442059 for ; Sat, 17 Oct 2020 20:49:59 +0000 (UTC) (envelope-from bugzilla-noreply@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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CDFWq40lsz4cdf for ; Sat, 17 Oct 2020 20:49:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 6887B275AD for ; Sat, 17 Oct 2020 20:49:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 09HKnxWl090704 for ; Sat, 17 Oct 2020 20:49:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 09HKnxeV090703 for testing@FreeBSD.org; Sat, 17 Oct 2020 20:49:59 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 250423] sys.netipsec.tunnel.aesni_aes_gcm_128.v4 panics kernel after r366713 Date: Sat, 17 Oct 2020 20:49:59 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lwhsu@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 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.33 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Oct 2020 20:49:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250423 Bug ID: 250423 Summary: sys.netipsec.tunnel.aesni_aes_gcm_128.v4 panics kernel after r366713 Product: Base System Version: CURRENT Hardware: i386 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: tests Assignee: testing@FreeBSD.org Reporter: lwhsu@FreeBSD.org Revision r366711 and r366712 are also in this build but r366713 looks mostly related: https://ci.freebsd.org/job/FreeBSD-head-i386-test/10945/consoleFull sys/netipsec/tunnel/aesni_aes_gcm_128:v4 -> aesni0: panic: System call sendto returning with kernel FPU ctx leaked cpuid =3D 0 time =3D 1602724639 KDB: stack backtrace: db_trace_self_wrapper(2,1487d700,1487d700,0,251b5388,...) at db_trace_self_wrapper+0x28/frame 0x251b535c vpanic(148c809,251b5394,251b5394,251b545c,13bc996,...) at vpanic+0x11a/frame 0x251b5374 panic(148c809,1432c1b,251b545c,1487d700,1487d990,...) at panic+0x14/frame 0x251b5388 syscall(251b5468,3b,3b,3b,68,...) at syscall+0x756/frame 0x251b545c Xint0x80_syscall() at 0xffc033f9/frame 0x251b545c --- syscall (133, FreeBSD ELF32, sys_sendto), eip =3D 0xffc01a98, esp =3D 0xffc07fe8, ebp =3D 0xffbf682c --- KDB: enter: panic [ thread pid 74925 tid 100114 ] Stopped at kdb_enter+0x35: movl $0,kdb_why db:0:kdb.enter.panic> show pcpu cpuid =3D 0 dynamic pcpu =3D 0x84e5c0 curthread =3D 0x1487d700: pid 74925 tid 100114 critnest 1 "setkey" curpcb =3D 0x251b54c0 fpcurthread =3D none idlethread =3D 0xb7e4e00: tid 100003 "idle: cpu0" APIC ID =3D 0 currentldt =3D 0x50 trampstk =3D 0xffc07ff0 kesp0 =3D 0x251b54b0 common_tssp =3D 0xffc01130 tlb gen =3D 1115928 curvnet =3D 0 spin locks held: db:0:kdb.enter.panic> --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-testing@freebsd.org Sat Oct 17 20:50:53 2020 Return-Path: Delivered-To: freebsd-testing@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4D5C9442136 for ; Sat, 17 Oct 2020 20:50:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CDFXs1QW4z4clc for ; Sat, 17 Oct 2020 20:50:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 30A49442298; Sat, 17 Oct 2020 20:50:53 +0000 (UTC) Delivered-To: testing@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 30619441FD9 for ; Sat, 17 Oct 2020 20:50:53 +0000 (UTC) (envelope-from bugzilla-noreply@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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CDFXs0ZzRz4cYP for ; Sat, 17 Oct 2020 20:50:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 EBE5A275B2 for ; Sat, 17 Oct 2020 20:50:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 09HKoqCw091490 for ; Sat, 17 Oct 2020 20:50:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 09HKoqF2091489 for testing@FreeBSD.org; Sat, 17 Oct 2020 20:50:52 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 250423] sys.netipsec.tunnel.aesni_aes_gcm_128.v4 panics i386 kernel after r366713 Date: Sat, 17 Oct 2020 20:50:52 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: tests X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lwhsu@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: testing@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc cc bug_status Message-ID: In-Reply-To: References: 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.33 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Oct 2020 20:50:53 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250423 Li-Wen Hsu changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|sys.netipsec.tunnel.aesni_a |sys.netipsec.tunnel.aesni_a |es_gcm_128.v4 panics kernel |es_gcm_128.v4 panics i386 |after r366713 |kernel after r366713 CC| |jhb@FreeBSD.org, | |kib@FreeBSD.org Status|New |Open --=20 You are receiving this mail because: You are the assignee for the bug.=