From nobody Fri Jan 13 17:49:34 2023 X-Original-To: freebsd-fs@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 4NtppM3lpjz2sWMG for ; Fri, 13 Jan 2023 17:49:47 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NtppM01wtz3LYN for ; Fri, 13 Jan 2023 17:49:46 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ed1-x535.google.com with SMTP id c17so32134185edj.13 for ; Fri, 13 Jan 2023 09:49:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20210112.gappssmtp.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=PatXRZm5G8QzAKdR4E9aikU0RWL/77GZhs4x8d7A+FI=; b=xcpe0ZFwb+O8BB/SQNfGr6bEQC7JAQRj5iu8KyDMF9xrvrRa6HJaDbJsR5AEXFesJx 6HEKqfrpzkx5CPo+GXvYn2PYNxl4PkK9SqK3PzTDK/AEXZ14J6bnFFlJhQoFkgWmiy49 nNT6rCO5zZlYtnt9Jhs7h08n98wLtLjStc8TOxhypOTcEj6gd03rM0hrTqssFQ2YG2kN xNLIexhWczUBlMlGilNqp5WlBi5saaVyViANAi9IEOJHXHKeKErHYtVkPocMPe5EPfRx Tqqc5RLOwTKWva6fmFi/RYL8fpLND3jdjGfYwf10Z+CDzKKT1uPdY98dtxXQDe/XK8Te ep3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=PatXRZm5G8QzAKdR4E9aikU0RWL/77GZhs4x8d7A+FI=; b=a5dvYw31Fa44lwesWB6dntBYk+CvyLVj7zQ5kvfbhTq4HUBcNyokQDAtfpY02mBJvv XPS2BgvPF8N6QPCg3nZiwpkU2MEZv5K0JllIEnxfA5iTXSYYLU7VTt+UBaZovAtcx+Hy DdTGLQA8kPdwjiEd+xLdlfeAQhSA/v/nRVY7SIgsfPjml4xYrenCHRQocslCeDsQ1Hlz R36GxMRkEVq8KmU1vPPMLeKA6fAkQLZr18Kt3RAZc67PfTQ+/Pkdo5wLV2qFwYE6F1Ux ajYwGS1B+RGbNeouiF/87GqNzrfZ0aBQnFkt8F2FSZgWb31Z9tADRXlQ6Zw+PEmVkzMl 4OmQ== X-Gm-Message-State: AFqh2krLMDBkzBCWuakEucMuJztsfLBvuODjCOOhF6Bn1aoYOAtkiblc ePaRjnladFk2wfUOn+VBcEnOi6O2UY+dYRXhZaub27ujuad24g== X-Google-Smtp-Source: AMrXdXvNgruJAokQInZPeaysJoPKCRTAtg5udhsEILai1JKioQF0H/f7p9bgbA/mG7Rb3upxxfkMo2LE3kK26quI4Wo= X-Received: by 2002:a05:6402:612:b0:496:ff40:5bd7 with SMTP id n18-20020a056402061200b00496ff405bd7mr3714037edv.173.1673632185635; Fri, 13 Jan 2023 09:49:45 -0800 (PST) List-Id: Filesystems List-Archive: https://lists.freebsd.org/archives/freebsd-fs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fs@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Warner Losh Date: Fri, 13 Jan 2023 10:49:34 -0700 Message-ID: Subject: Re: fsx revisted To: Alan Somers Cc: freebsd-fs Content-Type: multipart/alternative; boundary="000000000000e8ed9805f228dba2" X-Rspamd-Queue-Id: 4NtppM01wtz3LYN X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --000000000000e8ed9805f228dba2 Content-Type: text/plain; charset="UTF-8" On Fri, Jan 13, 2023 at 10:35 AM Alan Somers wrote: > fsx (tools/regression/fsx) is very useful at finding file system bugs. > I've used it to find several myself. But it's always had one nagging > problem: because it's neither installed in the base system, nor > available from ports, it's difficult to use in CI pipelines. I had > some free time around New Year's, so I fixed that problem. I could've > just made a port for it, but instead I rewrote the whole thing. The > rewrite is 100% compatible with the original (except for the -s > option, which I consider to be a bug), to the extent that identical > seed values will produce identical command sequences. In the future, > though, I plan to add new features that will break that compatibility. > For example, fspacectl operations. > > Check it out if you've ever used the original. I'd appreciate any > feedback, feature requests, etc. > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268938 I like this idea. I've not looked at the code yet, but love more tests. How hard would it be to integrate into ATF so we can run it as part of make test? ATF has the ability to skip tests when required packages aren't installed (which it does for python tests)... Warner --000000000000e8ed9805f228dba2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Fri, Jan 13, 2023 at 10:35 AM Alan= Somers <asomers@freebsd.org&= gt; wrote:
fsx (= tools/regression/fsx) is very useful at finding file system bugs.
I've used it to find several myself.=C2=A0 But it's always had one = nagging
problem: because it's neither installed in the base system, nor
available from ports, it's difficult to use in CI pipelines.=C2=A0 I ha= d
some free time around New Year's, so I fixed that problem.=C2=A0 I coul= d've
just made a port for it, but instead I rewrote the whole thing.=C2=A0 The rewrite is 100% compatible with the original (except for the -s
option, which I consider to be a bug), to the extent that identical
seed values will produce identical command sequences.=C2=A0 In the future,<= br> though, I plan to add new features that will break that compatibility.
For example, fspacectl operations.

Check it out if you've ever used the original.=C2=A0 I'd appreciate= any
feedback, feature requests, etc.

https://bugs.freebsd.org/bugzilla/show_bu= g.cgi?id=3D268938

I like this idea. I&#= 39;ve not looked at the code yet, but love more tests.

=
How hard would it be to integrate into ATF so we can run it as part of= make test? ATF has the ability to skip tests when required packages aren&#= 39;t installed (which it does for python tests)...

Warner=C2=A0
--000000000000e8ed9805f228dba2--