All of lore.kernel.org
 help / color / mirror / Atom feed
* tests: ReverseDebugging_AArch64.test_aarch64_virt -> InvalidPacketError
@ 2021-06-25 17:01 Philippe Mathieu-Daudé
  2021-06-28  5:14 ` Pavel Dovgalyuk
  0 siblings, 1 reply; 4+ messages in thread
From: Philippe Mathieu-Daudé @ 2021-06-25 17:01 UTC (permalink / raw)
  To: Pavel Dovgalyuk, Alex Bennée; +Cc: qemu-devel

Hi Pavel,

FYI as of commit 050cee12315 ("Merge remote-tracking branch
'remotes/stsquad/tags/pull-testing-updates-250621-1' into staging")
the ReverseDebugging_AArch64 test is failing:

 (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 <class 'reverse_debugging.ReverseDebugging_AArch64'>:
28-tests/acceptance/reverse_debugging.py:ReverseDebugging_AArch64.test_aarch64_virt
DEBUG|  -> kernel_url <class 'str'>:
https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/29/Everything/aarch64/os/images/pxeboot/vmlinuz
DEBUG|  -> kernel_hash <class 'str'>:
8c73e469fc6ea06a58dc83a628fc695b693b8493
DEBUG|  -> kernel_path <class 'str'>:
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:


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: tests: ReverseDebugging_AArch64.test_aarch64_virt -> InvalidPacketError
  2021-06-25 17:01 tests: ReverseDebugging_AArch64.test_aarch64_virt -> InvalidPacketError Philippe Mathieu-Daudé
@ 2021-06-28  5:14 ` Pavel Dovgalyuk
  2021-06-28 11:20   ` Philippe Mathieu-Daudé
  0 siblings, 1 reply; 4+ messages in thread
From: Pavel Dovgalyuk @ 2021-06-28  5:14 UTC (permalink / raw)
  To: Philippe Mathieu-Daudé, Alex Bennée; +Cc: 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 <class 'reverse_debugging.ReverseDebugging_AArch64'>:
> 28-tests/acceptance/reverse_debugging.py:ReverseDebugging_AArch64.test_aarch64_virt
> DEBUG|  -> kernel_url <class 'str'>:
> https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/29/Everything/aarch64/os/images/pxeboot/vmlinuz
> DEBUG|  -> kernel_hash <class 'str'>:
> 8c73e469fc6ea06a58dc83a628fc695b693b8493
> DEBUG|  -> kernel_path <class 'str'>:
> 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:
> 



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: tests: ReverseDebugging_AArch64.test_aarch64_virt -> InvalidPacketError
  2021-06-28  5:14 ` Pavel Dovgalyuk
@ 2021-06-28 11:20   ` Philippe Mathieu-Daudé
  2021-06-28 11:25     ` Pavel Dovgalyuk
  0 siblings, 1 reply; 4+ messages in thread
From: Philippe Mathieu-Daudé @ 2021-06-28 11:20 UTC (permalink / raw)
  To: Pavel Dovgalyuk, Alex Bennée; +Cc: qemu-devel

On 6/28/21 7:14 AM, Pavel Dovgalyuk wrote:
> 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?

Could be, I have no idea, I don't run this test often, only when I do
changes related to aa64. I could bisect if you can't, but it won't be
soon.

>> the ReverseDebugging_AArch64 test is failing:
> 
> Shouldn't the merge be postponed in such cases?

This test isn't run on CI (you marked it @skip in commit be52eca3097).

>>   (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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: tests: ReverseDebugging_AArch64.test_aarch64_virt -> InvalidPacketError
  2021-06-28 11:20   ` Philippe Mathieu-Daudé
@ 2021-06-28 11:25     ` Pavel Dovgalyuk
  0 siblings, 0 replies; 4+ messages in thread
From: Pavel Dovgalyuk @ 2021-06-28 11:25 UTC (permalink / raw)
  To: Philippe Mathieu-Daudé, Alex Bennée; +Cc: qemu-devel

On 28.06.2021 14:20, Philippe Mathieu-Daudé wrote:
> On 6/28/21 7:14 AM, Pavel Dovgalyuk wrote:
>> 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?
> 
> Could be, I have no idea, I don't run this test often, only when I do
> changes related to aa64. I could bisect if you can't, but it won't be
> soon.
> 
>>> the ReverseDebugging_AArch64 test is failing:
>>
>> Shouldn't the merge be postponed in such cases?
> 
> This test isn't run on CI (you marked it @skip in commit be52eca3097).

Thanks for clarification. I'll take a look at this bug, but it will not 
be soon too.

> 
>>>    (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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-06-28 11:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-25 17:01 tests: ReverseDebugging_AArch64.test_aarch64_virt -> InvalidPacketError Philippe Mathieu-Daudé
2021-06-28  5:14 ` Pavel Dovgalyuk
2021-06-28 11:20   ` Philippe Mathieu-Daudé
2021-06-28 11:25     ` Pavel Dovgalyuk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.