From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 92C4B385B527; Thu, 26 Oct 2023 08:33:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 92C4B385B527 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1698309231; bh=Y5jq5aMLlxF2qK0Kt/FeC27lwcEL6jAw9OCeGfxtuO0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=iIYdEHXxRf8cYxEwhXuuWhVLCBzDwWdFpzsIHhaIko0ZQS2scb1W8dGi9PfWkHoEG ioGoTYwUM5/rvx/Yp3N38DA1XDfN/pyf9PQ85u7yWjHT7p17P4P3NPbAG+G7p9HRKd bVgfK3QOE2q62zzAuqaAXILEdPAluiJN322michQ= From: "cvs-commit at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug testsuite/30528] [gdb/testsuite] FAIL: gdb.dwarf2/per-bfd-sharing.exp: couldn't remove files in temporary cache dir Date: Thu, 26 Oct 2023 08:33:49 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: testsuite X-Bugzilla-Version: 13.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30528 --- Comment #3 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Tom de Vries : https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D743d3f0945c6= 25ce5647130b506eeb6940dfc12e commit 743d3f0945c625ce5647130b506eeb6940dfc12e Author: Tom de Vries Date: Thu Oct 26 10:34:24 2023 +0200 [gdb/testsuite] Add wait-for-index-cache in gdb.dwarf2/per-bfd-sharing.= exp If we make writing an index-cache entry very slow by doing this in index_cache::store: ... try { + sleep (15); index_cache_debug ("writing index cache for objfile %s", bfd_get_filename (per_bfd->obfd)); ... we run into: ... FAIL: gdb.dwarf2/per-bfd-sharing.exp: \ couldn't remove files in temporary cache dir ... The FAIL happens because there is no index-cache entry in the cache dir. The problem is that gdb is killed (by gdb_exit) before the index-cache entry is written. Fix this by using "maint wait-for-index-cache". Tested on x86_64-linux. PR testsuite/30528 Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30528 --=20 You are receiving this mail because: You are on the CC list for the bug.=