From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 85DF83858D28 for ; Thu, 25 Jan 2024 09:35:53 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 85DF83858D28 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 85DF83858D28 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706175355; cv=none; b=IAL1HNOtk6JR3XTw7sW0GBtp/3EK0vU63O47BWt815/D7dpUX/LEPL8qoStBekHMf44oLhTf0OnhiPsQBDchUcoSwmHAi29D/g4iwcrkCndNlwyVdy8xUiW8RUxdMEM2GoQrOdvh46JRBDsU7suyQQKDo9lq5OR6lo7Y2Aq5RWA= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706175355; c=relaxed/simple; bh=fM2iUbZzqdkbw6iLkkYWLrUzUwyKVpfWX+XJKwXWWB8=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=qXHywW+66BqK/pqzNQLsRRMhxgnGbVA+hcGfitCc8xj+i184WAAZSTgACdDWrGLHugnqhNgrGacCKfBQw9B3Kg90sUqWxpjVYAUTYowgCLF0r4vNvVYRhtjy2X5E7AjwfKIZ+e2tQHYZDqO6GG5VpXyn4vtFmbxa400p61FkTqU= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1706175353; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=v6YV3rVBBrTi6g+UAtYaa5G1vc5ErjyU2FrJJQxJtzY=; b=CRFGjVjQGg/Au2lGwDh9TeqgkKCHdrgiAFYpN+FV4SXS55ZZCO8x7HC7Apx2hqxY1+mN87 5YDdKwVYYifnV3hv1OM5dOKa3YqBp6ij9PnJTwDIqBhPZawcQRVbAiM/OsIIEN6Y1MUI9A a/JSMwrHyMOvt7UCuqopPvIBeAsIgC4= Received: from mail-yw1-f200.google.com (mail-yw1-f200.google.com [209.85.128.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-472-RufB54sUON6JRA4GiQcqXw-1; Thu, 25 Jan 2024 04:35:50 -0500 X-MC-Unique: RufB54sUON6JRA4GiQcqXw-1 Received: by mail-yw1-f200.google.com with SMTP id 00721157ae682-5fc6463b0edso107351687b3.0 for ; Thu, 25 Jan 2024 01:35:50 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706175350; x=1706780150; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=v6YV3rVBBrTi6g+UAtYaa5G1vc5ErjyU2FrJJQxJtzY=; b=J1nzJByi/d0oLInjjWVw4cwtXZwgecmfUyTKLt//tZcajt+qWNi3R9Hp9TdvK6MX3O DZjKxm/wljXqtnFvh3P9zAl8R+VWbFex4mk/zPR0KDSSxhi8mIYyizzVVAw/MlWTc8qg IOzbd54B+S85r+QBayNL+KsZIvAU28MhibXQH7CrWrppst3x3rY4vH0OUAGrLUbhyQlv yHXpcaoZSNstSze3oa3LqVAkayZIxyymUubTRvqgVv/7710MNJXmk9jmHBzFJ/l+wxjx mx4IWUxi3rh9T7kWO5pE8ojFMiphEq8ebIdDbkRhWqqbCljhhi7U7Y4OEDC5XUwKchU/ 36Fg== X-Gm-Message-State: AOJu0Ywi97rWoz8nfRU4LBU3UhOsCAxARUUfgvLHV25HE6wOdAb213P+ vYeZ8rleiBZ3SK6j5PgxjuKTeGCN2AG4XjEG6fImE6QIpLt+uUt4azYumb4xfKC98FZWMhAkd67 7ZAhIC0OSRAGHvwm1Ywl+ds7gkMJ2AqRlFPFQLe8WW++qfjsZGeyQIu5pfy4= X-Received: by 2002:a81:4f44:0:b0:5ff:f210:ae71 with SMTP id d65-20020a814f44000000b005fff210ae71mr426875ywb.55.1706175350266; Thu, 25 Jan 2024 01:35:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IEDzSz7MIZI0iu6db+7VafY6XruUJ+YY2jMZwIgmW0vNfNKUmqp/eLfU3M60zM8Z/xRp0QIRQ== X-Received: by 2002:a81:4f44:0:b0:5ff:f210:ae71 with SMTP id d65-20020a814f44000000b005fff210ae71mr426865ywb.55.1706175349924; Thu, 25 Jan 2024 01:35:49 -0800 (PST) Received: from [192.168.0.129] (ip-94-112-227-180.bb.vodafone.cz. [94.112.227.180]) by smtp.gmail.com with ESMTPSA id k18-20020ac81412000000b004280cad48basm5231000qtj.77.2024.01.25.01.35.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 25 Jan 2024 01:35:49 -0800 (PST) Message-ID: <3ddf392e-02ba-49af-b69d-a3373627033e@redhat.com> Date: Thu, 25 Jan 2024 10:35:47 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [Linaro-TCWG-CI] gdb-14-branchpoint-1354-g8669a8b6740: FAIL: 2 regressions on arm To: Maxim Kuvyrkov Cc: gdb-testers@sourceware.org, Linaro Toolchain Working Group , Thiago Jung Bauermann References: <1835774318.11177.1706141292374@jenkins.jenkins> From: Guinevere Larsen In-Reply-To: X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_BARRACUDACENTRAL,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 25/01/2024 10:10, Maxim Kuvyrkov wrote: >> On Jan 25, 2024, at 04:08, ci_notify@linaro.org wrote: >> >> Dear contributor, our automatic CI has detected problems related to your patch(es). Please find some details below. If you have any questions, please follow up on linaro-toolchain@lists.linaro.org mailing list, Libera's #linaro-tcwg channel, or ping your favourite Linaro toolchain developer on the usual project channel. >> >> We appreciate that it might be difficult to find the necessary logs or reproduce the issue locally. If you can't get what you need from our CI within minutes, let us know and we will be happy to help. >> >> We track this report status in https://linaro.atlassian.net/browse/GNU-1120 , please let us know if you are looking at the problem and/or when you have a fix. >> >> In gdb_check master-arm after: >> >> | commit gdb-14-branchpoint-1354-g8669a8b6740 >> | Author: Guinevere Larsen >> | Date: Thu Aug 24 11:00:35 2023 +0200 >> | >> | gdb/testsuite: add test for backtracing for threaded inferiors from a corefile >> | >> | This patch is based on an out-of-tree patch that fedora has been >> | carrying for a while. It tests if GDB is able to properly unwind a >> | threaded program in the following situations: >> | * regular threads >> | * in a signal handler >> | ... 14 lines of the commit log omitted. >> >> FAIL: 2 regressions >> >> regressions.sum: >> === gdb tests === >> >> Running gdb:gdb.threads/threadcrash.exp ... >> FAIL: gdb.threads/threadcrash.exp: test_gcore: $thread_count == 7 >> FAIL: gdb.threads/threadcrash.exp: test_gcore: $thread_count == [llength $test_list] > Hi Guinevere, > > The failures seem to be due to "LWP" output (instead of "Thread") in test_gcore. > > I.e., test_corefile succeeds with > > === > (gdb) PASS: gdb.threads/threadcrash.exp: test_corefile: loading_corefile > info threads > Id Target Id Frame > * 1 Thread 0xf7dbe7e0 (LWP 476389) 0x00830cea in crash_function () at /home/tcwg-buildslave/workspace/tcwg_gnu_4/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/threadcrash.c:381 > 2 Thread 0xf7c6f3a0 (LWP 476390) do_spin_task (location=NORMAL) at /home/tcwg-buildslave/workspace/tcwg_gnu_4/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/threadcrash.c:139 > 3 Thread 0xf746e3a0 (LWP 476391) do_spin_task (location=SIGNAL_HANDLER) at /home/tcwg-buildslave/workspace/tcwg_gnu_4/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/threadcrash.c:139 > 4 Thread 0xf6c6d3a0 (LWP 476392) do_spin_task (location=SIGNAL_ALT_STACK) at /home/tcwg-buildslave/workspace/tcwg_gnu_4/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/threadcrash.c:139 > 5 Thread 0xf52fe3a0 (LWP 476395) __libc_do_syscall () at ../sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:46 > 6 Thread 0xf646c3a0 (LWP 476393) __libc_do_syscall () at ../sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:46 > 7 Thread 0xf5aff3a0 (LWP 476394) __libc_do_syscall () at ../sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:46 > (gdb) PASS: gdb.threads/threadcrash.exp: test_corefile: $thread_count == 7 > === > > and then test_gcore fails with > > === > (gdb) PASS: gdb.threads/threadcrash.exp: test_gcore: loading_corefile > info threads > Id Target Id Frame > * 1 LWP 476440 0x00400cea in crash_function () at /home/tcwg-buildslave/workspace/tcwg_gnu_4/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/threadcrash.c:381 > 2 LWP 476442 do_spin_task (location=NORMAL) at /home/tcwg-buildslave/workspace/tcwg_gnu_4/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/threadcrash.c:139 > 3 LWP 476443 do_spin_task (location=SIGNAL_HANDLER) at /home/tcwg-buildslave/workspace/tcwg_gnu_4/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/threadcrash.c:139 > 4 LWP 476444 do_spin_task (location=SIGNAL_ALT_STACK) at /home/tcwg-buildslave/workspace/tcwg_gnu_4/abe/snapshots/gdb.git~master/gdb/testsuite/gdb.threads/threadcrash.c:139 > 5 LWP 476445 0xf7eadb04 in ?? () > 6 LWP 476446 0xf7eadb04 in ?? () > 7 LWP 476447 0xf7eadb04 in ?? () > (gdb) FAIL: gdb.threads/threadcrash.exp: test_gcore: $thread_count == 7 > === > > Could you please look into fixing the testcase? [I assume "LWP" output is expected, but I'm not an expert in GDB.] > > Thanks! Sure, I'll look at this as soon as I can! -- Cheers, Guinevere Larsen She/Her/Hers > > -- > Maxim Kuvyrkov > https://www.linaro.org > > >> === Results Summary === >> >> You can find the failure logs in *.log.1.xz files in >> - https://ci.linaro.org/job/tcwg_gdb_check--master-arm-build/726/artifact/artifacts/00-sumfiles/ . >> The full lists of regressions and progressions are in >> - https://ci.linaro.org/job/tcwg_gdb_check--master-arm-build/726/artifact/artifacts/notify/ . >> The list of [ignored] baseline and flaky failures are in >> - https://ci.linaro.org/job/tcwg_gdb_check--master-arm-build/726/artifact/artifacts/sumfiles/xfails.xfail . >> >> The configuration of this build is: >> CI config tcwg_gdb_check master-arm >> >> -----------------8<--------------------------8<--------------------------8<-------------------------- >> The information below can be used to reproduce a debug environment: >> >> Current build : https://ci.linaro.org/job/tcwg_gdb_check--master-arm-build/726/artifact/artifacts >> Reference build : https://ci.linaro.org/job/tcwg_gdb_check--master-arm-build/724/artifact/artifacts >> >> Reproduce last good and first bad builds: https://git-us.linaro.org/toolchain/ci/interesting-commits.git/plain/gdb/sha1/8669a8b67408c11d6bf77a09c6aa733f7150abed/tcwg_gdb_check/master-arm/reproduction_instructions.txt >> >> Full commit : https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=8669a8b67408c11d6bf77a09c6aa733f7150abed >> >> List of configurations that regressed due to this commit : >> * tcwg_gdb_check >> ** master-arm >> *** FAIL: 2 regressions >> *** https://git-us.linaro.org/toolchain/ci/interesting-commits.git/plain/gdb/sha1/8669a8b67408c11d6bf77a09c6aa733f7150abed/tcwg_gdb_check/master-arm/details.txt >> *** https://ci.linaro.org/job/tcwg_gdb_check--master-arm-build/726/artifact/artifacts >