From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by sourceware.org (Postfix) with ESMTPS id 02C883857836; Fri, 10 Jun 2022 20:11:43 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 02C883857836 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=us.ibm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=us.ibm.com Received: from pps.filterd (m0098414.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 25AJroZO018171; Fri, 10 Jun 2022 20:11:25 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : from : to : cc : date : in-reply-to : references : content-type : content-transfer-encoding : mime-version : subject; s=pp1; bh=BvkRZWCDyLCx87AW2mRMaNaUfYmZgsy9dmbnlsMQn3A=; b=gxkAFqo4Zjj058nIqhKna+zbe/8Kz+kRROiIn4OclCVgJ9WKH6Z4+HS4XOf3iBBzr/Wx 6W5wzENnA7MYhtEaGavz7+p/Kx9fa1F6bQMsV0YBzVmXC6Dc0sajjZgwpQcUOUE9zb6C C+DXD2D+WIJ5SFGYIghjUc9iG49UDXGrTplUfz8azh9l0Doi9KqcZqgKfY5i2oH7l9AC SZ0YiCxE9M9FsiPqvu+IjjRp1Zb2SvrI3jG1/Gm4g1vL8q4fHbdoJOeEzr26aCGJVMkP 3cUrlwh43oyWlKvbDzwyJW8jVcu5rqEP4XeQxYy/Px/TV04R3/LehQJ9ji7NmebJpKc8 sg== Received: from ppma01wdc.us.ibm.com (fd.55.37a9.ip4.static.sl-reverse.com [169.55.85.253]) by mx0b-001b2d01.pphosted.com (PPS) with ESMTPS id 3gmch2gabb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 10 Jun 2022 20:11:25 +0000 Received: from pps.filterd (ppma01wdc.us.ibm.com [127.0.0.1]) by ppma01wdc.us.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 25AK4tUq024477; Fri, 10 Jun 2022 20:11:24 GMT Received: from b03cxnp08028.gho.boulder.ibm.com (b03cxnp08028.gho.boulder.ibm.com [9.17.130.20]) by ppma01wdc.us.ibm.com with ESMTP id 3gmcfqg3pe-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 10 Jun 2022 20:11:24 +0000 Received: from b03ledav001.gho.boulder.ibm.com (b03ledav001.gho.boulder.ibm.com [9.17.130.232]) by b03cxnp08028.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 25AKBOTw32964972 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 10 Jun 2022 20:11:24 GMT Received: from b03ledav001.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 2D2A66E04E; Fri, 10 Jun 2022 20:11:24 +0000 (GMT) Received: from b03ledav001.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C6DBD6E052; Fri, 10 Jun 2022 20:11:23 +0000 (GMT) Received: from li-e362e14c-2378-11b2-a85c-87d605f3c641.ibm.com (unknown [9.211.124.91]) by b03ledav001.gho.boulder.ibm.com (Postfix) with ESMTP; Fri, 10 Jun 2022 20:11:23 +0000 (GMT) Message-ID: From: Carl Love To: Mark Wielaard Cc: Luis Machado , Will Schmidt , gdb@sourceware.org, buildbot@sourceware.org Date: Fri, 10 Jun 2022 13:11:23 -0700 In-Reply-To: References: <20220608185138.675964-1-mark@klomp.org> <2281be8e-8920-7ba5-9e96-ffd713462b9c@arm.com> <8bfa7ec63758afc45bde1f10b0e4ab91e21e9d06.camel@klomp.org> <85fa6e2d-caf5-8afe-a7ec-40cc62ff347a@arm.com> <4649417b632758c6822214b19f04ce70146c43cb.camel@us.ibm.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 (3.28.5-18.el8) X-TM-AS-GCONF: 00 X-Proofpoint-GUID: mSfjvaPTNGppDdZHGbueRmyxVDEDu2GB X-Proofpoint-ORIG-GUID: mSfjvaPTNGppDdZHGbueRmyxVDEDu2GB Content-Transfer-Encoding: 7bit X-Proofpoint-UnRewURL: 1 URL was un-rewritten MIME-Version: 1.0 Subject: RE: [builder] gdb_check_step: remove gdb.gdb/selftest.exp X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.874,Hydra:6.0.517,FMLib:17.11.64.514 definitions=2022-06-10_08,2022-06-09_02,2022-02-23_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 priorityscore=1501 suspectscore=0 impostorscore=0 adultscore=0 phishscore=0 mlxlogscore=271 spamscore=0 clxscore=1015 mlxscore=0 lowpriorityscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2204290000 definitions=main-2206100078 X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_EF, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, 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: buildbot@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "The https://builder.sourceware.org/ buildbot" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jun 2022 20:11:45 -0000 Mark: On Fri, 2022-06-10 at 21:11 +0200, Mark Wielaard wrote: > Hi Carl, > > On Fri, Jun 10, 2022 at 08:54:00AM -0700, Carl Love wrote: > > On Fri, 2022-06-10 at 11:58 +0100, Luis Machado wrote: > > > On 6/10/22 11:50, Mark Wielaard wrote: > > > > On Fri, 2022-06-10 at 01:21 +0200, Mark Wielaard wrote: > > > > > On Fri, Jun 10, 2022 at 01:09:19AM +0200, Mark Wielaard > > > > > wrote: > > > > > > On Thu, Jun 09, 2022 at 10:37:58AM +0100, Luis Machado > > > > > > wrote: > > > > > > > I always use gdb.base/break.exp as a good smoke test. If > > > > > > > that > > > > > > > one > > > > > > > fails, then things > > > > > > > are really broken. > > > > > > > > > > > > > > I think gdb.base/break*.exp should make a good smoke test > > > > > > > list. > > > > > > > We just need to exclude > > > > > > > gdb.base/break-interp.exp, which is problematic on some > > > > > > > targets. > > > > Trying to to understand how you are running the test. I think you > > are > > running these as remote tests, i.e. machine A requests that a > > remote > > machine B run the test via gdbserver, correct? > > Yes, but machine A and B are the same one in this case. The tests > are > run three times. Once with just gdb, and then with a target-board set > to either native-gdbserver or native-extended-gdbserver. > > The buildbot log stdio should show you the exact settings. > > https://builder.sourceware.org/buildbot/#/builders/76/builds/446/steps/12/logs/stdio > > make -j4 check-gdb 'TESTS= gdb.base/break-always.exp gdb.base/break- > caller-line.exp gdb.base/break-entry.exp gdb.base/break.exp > gdb.base/break-fun-addr.exp gdb.base/break-idempotent.exp > gdb.base/break-include.exp gdb.base/break-inline.exp gdb.base/break- > main-file-remove-fail.exp gdb.base/break-on-linker-gcd-function.exp > gdb.base/breakpoint-in-ro-region.exp gdb.base/breakpoint-shadow.exp > gdb.base/break-probes.exp gdb.gdb/unittest.exp > gdb.server/unittest.exp ' 'RUNTESTFLAGS="--target_board=native- > gdbserver"' > > So it is the RUNTESTFLAGS="--target_board=native-gdbserver" that > tells > the test to run against the native-gdbserver. OK, thanks that will be helpful for testing. So, I have been trying to isolate where the messages ERROR: no fileid for ltcd97-lp2 ERROR: Couldn't send delete breakpoints to GDB. ERROR: can't read "gdb_spawn_id": no such variable Looks like a couple of the error messages are coming from proc default_gdb_exit. The routine is called as part of the check in the original test program. The break-idempotent.exp calls skip_hw_watchpoint_tests which calls has_hw_wp_support which calls gdb_exit which calls proc default_gdb_exit. In default_gdb_exit we have: if ![is_remote host] { remote_close host <- generates ERROR: no fileid for ltcd97-lp2 } unset gdb_spawn_id <- generates ERROR: can't read "gdb_spawn_id": no such variable unset ::gdb_tty_name unset inferior_spawn_id So, now to figure out why those statements are failing....??? Carl