From owner-freebsd-testing@freebsd.org Mon Aug 10 19:43:09 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 E7A233ADA06 for ; Mon, 10 Aug 2020 19:43:09 +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 4BQRG55tcjz4l3J for ; Mon, 10 Aug 2020 19:43:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id C9C933ADA05; Mon, 10 Aug 2020 19:43:09 +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 C88143AD4F2 for ; Mon, 10 Aug 2020 19:43:09 +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 4BQRG54vDzz4kgT for ; Mon, 10 Aug 2020 19:43:09 +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 8BAE7F39E for ; Mon, 10 Aug 2020 19:43:09 +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 07AJh9Pn025143 for ; Mon, 10 Aug 2020 19:43:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 07AJh9Gl025140 for testing@FreeBSD.org; Mon, 10 Aug 2020 19:43:09 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 248583] sys.fs.fusefs.forget.main fails after [r364063, r364067] Date: Mon, 10 Aug 2020 19:43:09 +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: Mon, 10 Aug 2020 19:43:10 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248583 Bug ID: 248583 Summary: sys.fs.fusefs.forget.main fails after [r364063, r364067] Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: tests Assignee: testing@FreeBSD.org Reporter: lwhsu@FreeBSD.org sys.fs.fusefs.forget.main fails after [r364063, r364067] https://ci.freebsd.org/job/FreeBSD-head-amd64-test/16106/testReport/junit/s= ys.fs.fusefs/forget/main/ https://ci.freebsd.org/job/FreeBSD-head-i386-test/10207/testReport/junit/sy= s.fs.fusefs/forget/main/ It looks the mocking FS needs updating? Stdout: [=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D] Running 2 tests from 1 test case. [----------] Global test environment set-up. [----------] 2 tests from Forget [ RUN ] Forget.ok [ OK ] Forget.ok (3 ms) [ RUN ] Forget.invalidate_names unknown file: Failure Unexpected mock function call - taking default action specified at: /usr/src/tests/sys/fs/fusefs/mockfs.cc:447: Function call: process(@0x801400180 135168-byte object <30-00 00-00 02-= 00 00-00 05-00 00-00 00-00 00-00 2A-00 00-00 00-00 00-00 00-00 00-00 00-00 00-= 00 57-52 00-00 00-00 00-00 01-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-= 00 00-00 00-00 00-00 ... 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-= 00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00>, @0x7fffdfdfcf= 60 {}) Google Mock tried the following 5 expectations, but none matched: /usr/src/tests/sys/fs/fusefs/utils.cc:179: tried expectation #0: EXPECT_CALL(*m_mock, process( ResultOf([=3D](auto in) { return (in.header.o= pcode =3D=3D FUSE_ACCESS); }, Eq(true)), _))... Expected arg #0: is mapped by the given callable to a value that is equal= to true Actual: 135168-byte object <30-00 00-00 02-00 00-00 05-00 00-00 00-00 00-00 2A-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 57-52 00-00 00-= 00 00-00 01-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-= 00 ... 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-= 00 00-00 00-00 00-00 00-00 00-00 00-00 00-00>, which is mapped by the given callable to false (of type bool) Expected: to be called any number of times Actual: called once - satisfied and active /usr/src/tests/sys/fs/fusefs/utils.cc:193: tried expectation #1: EXPECT_CALL(*m_mock, process( ResultOf([=3D](auto in) { return (in.header.o= pcode =3D=3D FUSE_BMAP); }, Eq(true)), _))... Expected arg #0: is mapped by the given callable to a value that is equal= to true Actual: 135168-byte object <30-00 00-00 02-00 00-00 05-00 00-00 00-00 00-00 2A-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 57-52 00-00 00-= 00 00-00 01-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-= 00 ... 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-= 00 00-00 00-00 00-00 00-00 00-00 00-00 00-00>, which is mapped by the given callable to false (of type bool) Expected: to be called any number of times Actual: never called - satisfied and active /usr/src/tests/sys/fs/fusefs/forget.cc:118: tried expectation #2: EXPECT_CALL(*m_mock, process( ResultOf([=3D](auto in) { return (in.header.o= pcode =3D=3D FUSE_LOOKUP && in.header.nodeid =3D=3D (1) && strcmp(in.body.lookup,= (DNAME)) =3D=3D 0); }, Eq(true)), _))... Expected arg #0: is mapped by the given callable to a value that is equal= to true Actual: 135168-byte object <30-00 00-00 02-00 00-00 05-00 00-00 00-00 00-00 2A-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 57-52 00-00 00-= 00 00-00 01-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-= 00 ... 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-= 00 00-00 00-00 00-00 00-00 00-00 00-00 00-00>, which is mapped by the given callable to false (of type bool) Expected: to be called any number of times Actual: called once - satisfied and active /usr/src/tests/sys/fs/fusefs/forget.cc:134: tried expectation #3: EXPECT_CALL(*m_mock, process( ResultOf([=3D](auto in) { return (in.header.o= pcode =3D=3D FUSE_LOOKUP && in.header.nodeid =3D=3D (dir_ino) && strcmp(in.body.l= ookup, (FNAME)) =3D=3D 0); }, Eq(true)), _))... Expected arg #0: is mapped by the given callable to a value that is equal= to true Actual: 135168-byte object <30-00 00-00 02-00 00-00 05-00 00-00 00-00 00-00 2A-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 57-52 00-00 00-= 00 00-00 01-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-= 00 ... 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-= 00 00-00 00-00 00-00 00-00 00-00 00-00 00-00>, which is mapped by the given callable to false (of type bool) Expected: to be called twice Actual: called once - unsatisfied and active /usr/src/tests/sys/fs/fusefs/utils.cc:252: tried expectation #4: EXPECT_CALL(*m_mock, process( ResultOf([=3D](auto in) { return (in.header.o= pcode =3D=3D FUSE_FORGET && in.header.nodeid =3D=3D ino && in.body.forget.nlookup= =3D=3D nlookup); }, Eq(true)), _))... Expected arg #0: is mapped by the given callable to a value that is equal= to true Actual: 135168-byte object <30-00 00-00 02-00 00-00 05-00 00-00 00-00 00-00 2A-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 57-52 00-00 00-= 00 00-00 01-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-= 00 ... 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-= 00 00-00 00-00 00-00 00-00 00-00 00-00 00-00>, which is mapped by the given callable to false (of type bool) Expected: to be called once Actual: never called - unsatisfied and active /usr/src/tests/sys/fs/fusefs/mockfs.cc:914: Failure Value of: r > 0 || errno =3D=3D EAGAIN Actual: false Expected: true Invalid argument /usr/src/tests/sys/fs/fusefs/utils.cc:252: Failure Actual function call count doesn't match EXPECT_CALL(*m_mock, process( ResultOf([=3D](auto in) { return (in.header.opcode =3D=3D FUSE_FORGET && in.header.nodeid =3D=3D ino && in.body.forget.nlookup =3D=3D nlookup); }, E= q(true)), _))... Expected: to be called once Actual: never called - unsatisfied and active [ FAILED ] Forget.invalidate_names (4 ms) [----------] 2 tests from Forget (7 ms total) [----------] Global test environment tear-down [=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D] 2 tests from 1 test case ran. (7 ms total) [ PASSED ] 1 test. [ FAILED ] 1 test, listed below: [ FAILED ] Forget.invalidate_names 1 FAILED TEST --=20 You are receiving this mail because: You are the assignee for the bug.=