Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B9010C433F5 for ; Fri, 15 Oct 2021 13:16:34 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7817F6115C for ; Fri, 15 Oct 2021 13:16:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 7817F6115C Authentication-Results: mail.kernel.org; dmarc=pass (p=none dis=none) header.from=xenproject.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.xenproject.org Received: from list by lists.xenproject.org with outflank-mailman.210593.367518 (Exim 4.92) (envelope-from ) id 1mbN4P-0003gk-KZ; Fri, 15 Oct 2021 13:16:21 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 210593.367518; Fri, 15 Oct 2021 13:16:21 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mbN4P-0003gd-GY; Fri, 15 Oct 2021 13:16:21 +0000 Received: by outflank-mailman (input) for mailman id 210593; Fri, 15 Oct 2021 13:16:20 +0000 Received: from mail.xenproject.org ([104.130.215.37]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mbN4O-0003gX-H4 for xen-devel@lists.xenproject.org; Fri, 15 Oct 2021 13:16:20 +0000 Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mbN4O-0004na-En for xen-devel@lists.xenproject.org; Fri, 15 Oct 2021 13:16:20 +0000 Received: from iwj (helo=mariner.uk.xensource.com) by xenbits.xenproject.org with local-bsmtp (Exim 4.92) (envelope-from ) id 1mbN4O-000479-Dd for xen-devel@lists.xenproject.org; Fri, 15 Oct 2021 13:16:20 +0000 Received: from iwj by mariner.uk.xensource.com with local (Exim 4.89) (envelope-from ) id 1mbN4K-0005nu-O8; Fri, 15 Oct 2021 14:16:16 +0100 X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xenproject.org; s=20200302mail; h=References:In-Reply-To:Subject:Cc:To:Date :Message-ID:Content-Transfer-Encoding:Content-Type:MIME-Version:From; bh=kLm5d6faupQ9lA3jQZ9hZ/2hKEnrXUOkZ6Kr/FAIHL0=; b=x+plB/zVekqW9qrM9XMHit4k+k XHGCtBzyWNspjjwrYPsq3YUyexfxcTteVqISeh5Jg9n3z116+lZrpyOz/NIcRfc7D9rylUQtWmiWf i29DTCx7BHJ14Eu4Dj2vUpAv+whE2YhBAS7giC/X67v6YHN7YbkLzXMswjDU2fH0MaXU=; From: Ian Jackson MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <24937.32544.417730.402070@mariner.uk.xensource.com> Date: Fri, 15 Oct 2021 14:16:16 +0100 To: Kevin Stefanov Cc: Xen-devel , Ian Jackson , Wei Liu , Juergen Gross , Julien Grall , Andrew Cooper Subject: Re: [PATCH v2] tools/tests: Make E2BIG non-fatal to xenstore unit test In-Reply-To: <20211015121409.24434-1-kevin.stefanov@citrix.com> References: <20211015121409.24434-1-kevin.stefanov@citrix.com> X-Mailer: VM 8.2.0b under 24.5.1 (i686-pc-linux-gnu) Kevin Stefanov writes ("[PATCH v2] tools/tests: Make E2BIG non-fatal to xenstore unit test"): > Xenstore's unit test fails on read and write of big numbers if > quota-maxsize is set to a lower number than those test cases use. > > Output a special warning instead of a failure message in such cases > and make the error non-fatal to the unit test. I realise that I am late to this, but I'm not sure I agree with the basic principle of this change. In general tolerating particular errors in a test, and simply abandoning the test if they occcur, is normally not the best approach. Questions that come to my mind (and which aren't answered in the commit message and probably should be) include: Why does test-xenstore using these large numbers for its tests ? Why would you run the tests with a quota too low for the tests ? Might this test change not in principle miss genuine bugs ? Ian.