[PATCH] tests/tcg/multiarch/Makefile.target: Disable run-gdbstub-sha1 test

Peter Maydell posted 1 patch 4 years, 11 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20201214133702.24088-1-peter.maydell@linaro.org
Maintainers: "Alex Bennée" <alex.bennee@linaro.org>
tests/tcg/multiarch/Makefile.target | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
[PATCH] tests/tcg/multiarch/Makefile.target: Disable run-gdbstub-sha1 test
Posted by Peter Maydell 4 years, 11 months ago
Disable the run-gdbstub-sha1 test: it provokes an internal error
assertion failure in Ubuntu gdb 8.1.1-0ubuntu1 (Ubuntu gdb
8.1-0ubuntu3.2 was fine) :

timeout 60  /home/petmay01/linaro/qemu-for-merges/tests/guest-debug/run-test.py --gdb /usr/bin/gdb-multiar
/build/gdb-veKdC1/gdb-8.1.1/gdb/regcache.c:122: internal-error: void* init_regcache_descr(gdbarch*): Asser
A problem internal to GDB has been detected,
further debugging may prove unreliable.

This is a bug, please report it.  For instructions, see:
<http://www.gnu.org/software/gdb/bugs/>.

Aborted (core dumped)
/home/petmay01/linaro/qemu-for-merges/tests/tcg/multiarch/Makefile.target:51: recipe for target 'run-gdbst

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
This is a temporary thing because this failure (newly visible
due to a new Ubuntu gdb package) otherwise blocks pullreq processing.
---
 tests/tcg/multiarch/Makefile.target | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/tcg/multiarch/Makefile.target b/tests/tcg/multiarch/Makefile.target
index cb49cc9ccb2..230eb9a95e7 100644
--- a/tests/tcg/multiarch/Makefile.target
+++ b/tests/tcg/multiarch/Makefile.target
@@ -54,7 +54,9 @@ run-gdbstub-sha1: sha1
 		--bin $< --test $(MULTIARCH_SRC)/gdbstub/sha1.py, \
 	"basic gdbstub support")
 
-EXTRA_RUNS += run-gdbstub-sha1
+# Disable this for now -- it provokes a gdb internal-error on
+# Ubuntu gdb 8.1.1-0ubuntu1.
+# EXTRA_RUNS += run-gdbstub-sha1
 endif
 
 
-- 
2.20.1


Re: [PATCH] tests/tcg/multiarch/Makefile.target: Disable run-gdbstub-sha1 test
Posted by Peter Maydell 4 years, 11 months ago
On Mon, 14 Dec 2020 at 13:37, Peter Maydell <peter.maydell@linaro.org> wrote:
>
> Disable the run-gdbstub-sha1 test: it provokes an internal error
> assertion failure in Ubuntu gdb 8.1.1-0ubuntu1 (Ubuntu gdb
> 8.1-0ubuntu3.2 was fine) :
>
> timeout 60  /home/petmay01/linaro/qemu-for-merges/tests/guest-debug/run-test.py --gdb /usr/bin/gdb-multiar
> /build/gdb-veKdC1/gdb-8.1.1/gdb/regcache.c:122: internal-error: void* init_regcache_descr(gdbarch*): Asser
> A problem internal to GDB has been detected,
> further debugging may prove unreliable.
>
> This is a bug, please report it.  For instructions, see:
> <http://www.gnu.org/software/gdb/bugs/>.
>
> Aborted (core dumped)
> /home/petmay01/linaro/qemu-for-merges/tests/tcg/multiarch/Makefile.target:51: recipe for target 'run-gdbst
>
> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

Applied to master to unblock pullreq processing. We can
revert it later when we have a more sensible fix.

thanks
-- PMM