From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gnu.wildebeest.org (gnu.wildebeest.org [45.83.234.184]) by sourceware.org (Postfix) with ESMTPS id 98E89385355B for ; Fri, 3 Jun 2022 16:22:24 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 98E89385355B Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=klomp.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=klomp.org Received: from tarox.wildebeest.org (83-87-18-245.cable.dynamic.v4.ziggo.nl [83.87.18.245]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by gnu.wildebeest.org (Postfix) with ESMTPSA id B39FC301FE82; Fri, 3 Jun 2022 18:22:21 +0200 (CEST) Received: by tarox.wildebeest.org (Postfix, from userid 1000) id C1E654001027; Fri, 3 Jun 2022 18:22:20 +0200 (CEST) Message-ID: <106eca2a41d639a34ff215e4b9d6650cba03806c.camel@klomp.org> Subject: Re: [Bug debuginfod/28577] Make run-...-fd-prefetch-caches.sh test something From: Mark Wielaard To: Noah Sanci Cc: elfutils-devel@sourceware.org Date: Fri, 03 Jun 2022 18:22:20 +0200 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Evolution 3.28.5 (3.28.5-10.el7) Mime-Version: 1.0 X-Spam-Status: No, score=-11.2 required=5.0 tests=BAYES_00, GIT_PATCH_0, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: elfutils-devel@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Elfutils-devel mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jun 2022 16:22:26 -0000 Hi, On Fri, 2022-06-03 at 17:02 +0200, Mark Wielaard wrote: > On Fri, 2022-06-03 at 10:51 -0400, Noah Sanci wrote: > > Nothing immediately jumps out, would you mind sending the entire > > log? >=20 > Attached. And Noah figured it out. The machine where it failed has /tmp 92% full and the default mintmp is 25%. Which triggers an fdcache emergency flush. So with this it PASSes everywhere: diff --git a/tests/run-debuginfod-fd-prefetch-caches.sh b/tests/run-debugin= fod-fd-prefetch-caches.sh index 8778d3a2..a538cd48 100755 --- a/tests/run-debuginfod-fd-prefetch-caches.sh +++ b/tests/run-debuginfod-fd-prefetch-caches.sh @@ -50,10 +50,12 @@ export DEBUGINFOD_CACHE_PATH=3D${PWD}/.client_cache rm -rf $DEBUGINFOD_CACHE_PATH rm -rf $DB # Testing prefetch fd maximum (Set mb maximums to be beyond consideration) +# Set --fdcache-mintmp=3D0 so we don't accidentially trigger an fdcache +# emergency flush for filling tmpdir env LD_LIBRARY_PATH=3D$ldpath DEBUGINFOD_URLS=3D ${abs_builddir}/../debugi= nfod/debuginfod $VERBOSE -p $PORT1 -d $DB \ --fdcache-fds=3D$FDCACHE_FDS --fdcache-prefetch-fds=3D$PREFETCH_FDS -= vvvvv -g 0 -t 0 \ -Z .tar.bz2=3Dbzcat Z --fdcache-mbs=3D100 --fdcache-prefetch-mbs=3D1= 00 \ - --fdcache-prefetch=3D$PREFETCH > vlog$PORT1 2>&1 & + --fdcache-mintmp=3D0 --fdcache-prefetch=3D$PREFETCH > vlog$PORT1 2>&1 = & PID1=3D$! tempfiles vlog$PORT1 errfiles vlog$PORT1 Pushed with that change. Thanks, Mark