From owner-svn-src-all@freebsd.org Tue Jan 29 04:32:02 2019 Return-Path: Delivered-To: svn-src-all@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 D256114AB873; Tue, 29 Jan 2019 04:32:02 +0000 (UTC) (envelope-from freebsd@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4C27C6B5A5; Tue, 29 Jan 2019 04:32:01 +0000 (UTC) (envelope-from freebsd@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (localhost [127.0.0.1]) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3) with ESMTP id x0T4VrPc006703; Mon, 28 Jan 2019 20:31:53 -0800 (PST) (envelope-from freebsd@pdx.rh.CN85.dnsmgr.net) Received: (from freebsd@localhost) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3/Submit) id x0T4VrZm006702; Mon, 28 Jan 2019 20:31:53 -0800 (PST) (envelope-from freebsd) From: "Rodney W. Grimes" Message-Id: <201901290431.x0T4VrZm006702@pdx.rh.CN85.dnsmgr.net> Subject: Re: svn commit: r343543 - head/sbin/bectl/tests In-Reply-To: To: Kyle Evans Date: Mon, 28 Jan 2019 20:31:53 -0800 (PST) CC: src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org Reply-To: rgrimes@freebsd.org X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: 4C27C6B5A5 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.95 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.95)[-0.951,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jan 2019 04:32:03 -0000 > On Mon, Jan 28, 2019 at 10:09 PM Kyle Evans wrote: > > > > Author: kevans > > Date: Tue Jan 29 04:08:49 2019 > > New Revision: 343543 > > URL: https://svnweb.freebsd.org/changeset/base/343543 > > > > Log: > > bectl(8) test: Force destroy the zpool in cleanup > > > > This is a wild guess as to why bectl tests failed once upon a time in CI, > > given no apparent way to see a transcript of cleanup routines with Kyua. The > > bectl tests construct a new, clean zpool for every test. The failure > > indicated was because of a mount that was leftover from a previous test, but > > the previous test had succeeded so it's not clear how the mount remained > > leftover unless the `zpool get health ${pool}` had somehow failed. > > > > I left out: the tests are supposed to be constructed to clean up any > mounts that were left over in the course of the test, hence the > assumption that the failure lies in the cleanup. >From my experience as a hardware test engineer the test setup was required to make sure any of those assumptions are valid. Meaning that the test would have to validate that no left over cruft was going to interfere with the test about to be run. Ie, you should probably do a force destroy of the pool *before* the test too. -- Rod Grimes rgrimes@freebsd.org