From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 42F94C2B9F4 for ; Mon, 28 Jun 2021 05:15:20 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7107A61954 for ; Mon, 28 Jun 2021 05:15:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7107A61954 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=ispras.ru Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:36418 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lxjc6-0003Yc-HI for qemu-devel@archiver.kernel.org; Mon, 28 Jun 2021 01:15:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60492) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lxjbL-0002KP-T9 for qemu-devel@nongnu.org; Mon, 28 Jun 2021 01:14:31 -0400 Received: from mail.ispras.ru ([83.149.199.84]:51776) by eggs.gnu.org with esmtps (TLS1.2:DHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lxjbJ-0004h4-Es for qemu-devel@nongnu.org; Mon, 28 Jun 2021 01:14:31 -0400 Received: from [10.12.39.188] (unknown [85.142.117.224]) by mail.ispras.ru (Postfix) with ESMTPSA id 049E440A2BB1; Mon, 28 Jun 2021 05:14:19 +0000 (UTC) Subject: Re: tests: ReverseDebugging_AArch64.test_aarch64_virt -> InvalidPacketError To: =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= , =?UTF-8?Q?Alex_Benn=c3=a9e?= References: <6f85be92-627c-c3ac-2d49-fd18a00dd1f9@amsat.org> From: Pavel Dovgalyuk Message-ID: <66d56c24-eacf-0d23-2def-0259b2c1b922@ispras.ru> Date: Mon, 28 Jun 2021 08:14:17 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <6f85be92-627c-c3ac-2d49-fd18a00dd1f9@amsat.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=83.149.199.84; envelope-from=pavel.dovgalyuk@ispras.ru; helo=mail.ispras.ru X-Spam_score_int: -36 X-Spam_score: -3.7 X-Spam_bar: --- X-Spam_report: (-3.7 / 5.0 requ) BAYES_00=-1.9, NICE_REPLY_A=-1.765, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, WEIRD_PORT=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-devel Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On 25.06.2021 20:01, Philippe Mathieu-Daudé wrote: > Hi Pavel, > > FYI as of commit 050cee12315 ("Merge remote-tracking branch > 'remotes/stsquad/tags/pull-testing-updates-250621-1' into staging") Doesn't it mean, that the real culprit is hidden and we should bisect? > the ReverseDebugging_AArch64 test is failing: Shouldn't the merge be postponed in such cases? > > (28/37) > tests/acceptance/reverse_debugging.py:ReverseDebugging_AArch64.test_aarch64_virt: > ERROR (0.96 s) > > INFO | recorded log with 1690570+ steps > INFO | replaying the execution... > INFO | connecting to gdbstub > INFO | stepping forward > INFO | saving position 40000000 > ERROR| > ERROR| Reproduced traceback from: > lib/python3.8/site-packages/avocado/core/test.py:770 > ERROR| Traceback (most recent call last): > ERROR| File "acceptance/reverse_debugging.py", line 206, in > test_aarch64_virt > ERROR| self.reverse_debugging( > ERROR| File "acceptance/reverse_debugging.py", line 140, in > reverse_debugging > ERROR| pc = self.get_pc(g) > ERROR| File "acceptance/reverse_debugging.py", line 77, in get_pc > ERROR| return self.get_reg(g, self.REG_PC) > ERROR| File "acceptance/reverse_debugging.py", line 72, in get_reg > ERROR| return self.get_reg_le(g, reg) > ERROR| File "acceptance/reverse_debugging.py", line 58, in get_reg_le > ERROR| res = g.cmd(b'p%x' % reg) > ERROR| File "lib/python3.8/site-packages/avocado/utils/gdb.py", line > 783, in cmd > ERROR| response_payload = self.decode(result) > ERROR| File "lib/python3.8/site-packages/avocado/utils/gdb.py", line > 738, in decode > ERROR| raise InvalidPacketError > ERROR| avocado.utils.gdb.InvalidPacketError > ERROR| > DEBUG| Local variables: > DEBUG| -> self : > 28-tests/acceptance/reverse_debugging.py:ReverseDebugging_AArch64.test_aarch64_virt > DEBUG| -> kernel_url : > https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/29/Everything/aarch64/os/images/pxeboot/vmlinuz > DEBUG| -> kernel_hash : > 8c73e469fc6ea06a58dc83a628fc695b693b8493 > DEBUG| -> kernel_path : > avocado-cache/by_location/a00ac4ae676ef0322126abd2f7d38f50cc9cbc95/vmlinuz > DEBUG| >>> {'execute': 'quit'} > ERROR| > ERROR| Reproduced traceback from: > lib/python3.8/site-packages/avocado/core/test.py:796 > ERROR| Traceback (most recent call last): > ERROR| File "python/qemu/machine/machine.py", line 489, in _do_shutdown > ERROR| self._soft_shutdown(timeout, has_quit) > ERROR| File "python/qemu/machine/machine.py", line 469, in _soft_shutdown > ERROR| self._qmp.cmd('quit') > ERROR| File "python/qemu/qmp/__init__.py", line 325, in cmd > ERROR| return self.cmd_obj(qmp_cmd) > ERROR| File "python/qemu/qmp/__init__.py", line 303, in cmd_obj > ERROR| self.__sock.sendall(json.dumps(qmp_cmd).encode('utf-8')) > ERROR| BrokenPipeError: [Errno 32] Broken pipe > ERROR| > ERROR| The above exception was the direct cause of the following exception: > ERROR| > ERROR| Traceback (most recent call last): > ERROR| File "acceptance/avocado_qemu/__init__.py", line 244, in tearDown > ERROR| vm.shutdown() > ERROR| File "python/qemu/machine/machine.py", line 519, in shutdown > ERROR| self._do_shutdown(timeout, has_quit) > ERROR| File "python/qemu/machine/machine.py", line 492, in _do_shutdown > ERROR| raise AbnormalShutdown("Could not perform graceful shutdown") \ > ERROR| qemu.machine.machine.AbnormalShutdown: Could not perform graceful > shutdown > ERROR| Traceback (most recent call last): > ERROR| ERROR > 28-tests/acceptance/reverse_debugging.py:ReverseDebugging_AArch64.test_aarch64_virt > -> InvalidPacketError: >