From patchwork Sun Jan 9 18:42:32 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H.J. Lu" X-Patchwork-Id: 49772 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 4EC993858417 for ; Sun, 9 Jan 2022 18:42:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4EC993858417 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1641753778; bh=bkYTiKD9g9wjKVXrJWSgOMX91ULFSm1etHRddviTFks=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=SfCydPeVfFSNcoyEpwLbzjNEIBTnl8JtQH+lhFRphozqrFW9Lk+sHPWqvYT3J2lNN 72gFT8ACRygmsKIyfSNJNmVZYfRw/G/Gf0DfLAVa2cOoekvPYE4mORS31gmTD0NO5v skC7sNrqYS4nFxiFoK+Fk6xImdabHiBO710OIZCQ= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-pg1-x535.google.com (mail-pg1-x535.google.com [IPv6:2607:f8b0:4864:20::535]) by sourceware.org (Postfix) with ESMTPS id 7A5163858D3C for ; Sun, 9 Jan 2022 18:42:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 7A5163858D3C Received: by mail-pg1-x535.google.com with SMTP id t135so1680239pgb.4 for ; Sun, 09 Jan 2022 10:42:36 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=bkYTiKD9g9wjKVXrJWSgOMX91ULFSm1etHRddviTFks=; b=s1abokg9Zi0mIt3T9rbK/m+cklCWxJSGzsgl5DIVKxd8wxxL/SpRKyR/Eeq6NAx2Va 1rOWs7uTTTjGj6HNje/TDdry+InYfhegBDW9te+x4+i2sFQ8//XnCiUDQRE6qCWex5UY S9z2EYhAAr+2M5hhMBU6lxXsM1fYACl4i57IUmyowTGMXacCHHY2wzwCupumR5An22OX LFYxOd56pi2ZtnIxDUZI/W851pqLC/xqtcmuwbsSRClVTWuSr0B3lOkJ5j5OG0wtHYfx Ii8+Ma6IPA597q1no2Nyyz2T47mf8p9dZRbLsUYQwpOYayA/TxEKbKpPRkWXVyDsGh9h QhZg== X-Gm-Message-State: AOAM5338PcHBIQla3kCmtiIJVtGOSSYM83vWytI1NJvojMs2oVpfeB/D 2uYjg/K77okX7fNcADjppNmCsKfbaJ0= X-Google-Smtp-Source: ABdhPJxxS9eFDi9+KZgZ4MfHhVT74C+dn5sMR8ITjZaFUnmONIv2SfGEX1Df7K9ju3F+t20n7z8jsg== X-Received: by 2002:a05:6a00:2ac:b0:4bd:e223:3d1 with SMTP id q12-20020a056a0002ac00b004bde22303d1mr4521077pfs.86.1641753755519; Sun, 09 Jan 2022 10:42:35 -0800 (PST) Received: from gnu-tgl-3.localdomain ([172.58.35.133]) by smtp.gmail.com with ESMTPSA id 6sm3435402pgc.90.2022.01.09.10.42.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 Jan 2022 10:42:35 -0800 (PST) Received: from gnu-tgl-2.localdomain (gnu-tgl-2 [192.168.1.42]) by gnu-tgl-3.localdomain (Postfix) with ESMTPS id A9F57C03AD for ; Sun, 9 Jan 2022 10:42:33 -0800 (PST) Received: from gnu-tgl-2.. (localhost [IPv6:::1]) by gnu-tgl-2.localdomain (Postfix) with ESMTP id 4D9273003BE for ; Sun, 9 Jan 2022 10:42:32 -0800 (PST) To: libc-alpha@sourceware.org Subject: [PATCH] Disable debuginfod in printer tests [BZ #28757] Date: Sun, 9 Jan 2022 10:42:32 -0800 Message-Id: <20220109184232.1620451-1-hjl.tools@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-3028.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: "H.J. Lu via Libc-alpha" From: "H.J. Lu" Reply-To: "H.J. Lu" Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org Sender: "Libc-alpha" With gdb-11.1-6.fc35.x86_64, I got FAIL: nptl/test-cond-printers FAIL: nptl/test-condattr-printers FAIL: nptl/test-mutex-printers FAIL: nptl/test-mutexattr-printers FAIL: nptl/test-rwlock-printers FAIL: nptl/test-rwlockattr-printers $ cat nptl/test-condattr-printers.out Error: Response does not match the expected pattern. Command: start Expected pattern: main Response: Temporary breakpoint 1 at 0x11d5: file test-condattr-printers.c, line 43. Starting program: /export/build/gnu/tools-build/glibc-cet-gitlab/build-x86_64-linux/nptl/test-condattr-printers This GDB supports auto-downloading debuginfo from the following URLs: https://debuginfod.fedoraproject.org/ Enable debuginfod for this session? (y or [n]) Disable debuginfod to avoid GDB messages. This fixes BZ #28757. Reviewed-by: Florian Weimer --- scripts/test_printers_common.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/scripts/test_printers_common.py b/scripts/test_printers_common.py index 6406e3bac7..38121697bc 100644 --- a/scripts/test_printers_common.py +++ b/scripts/test_printers_common.py @@ -161,6 +161,17 @@ def init_test(test_bin, printer_files, printer_names): printer files. """ + # Disable debuginfod to avoid GDB messages like: + # + # This GDB supports auto-downloading debuginfo from the following URLs: + # https://debuginfod.fedoraproject.org/ + # Enable debuginfod for this session? (y or [n]) + # + try: + test('set debuginfod enabled off') + except Exception: + pass + # Load all the pretty printer files. We're assuming these are safe. for printer_file in printer_files: test('source {0}'.format(printer_file))