Similar failure seen with the following test too.

# make check-qtest-sparc64 V=1
(cd /home/nasastry/qemu; printf '#define QEMU_PKGVERSION '; if test -n ""; then 
printf '""\n'; else if test -d .git; then printf '" ('; git describe --match 
'v*' 2>/dev/null | tr -d '\n'; if ! git diff-index --quiet HEAD &>/dev/null; 
then printf -- '-dirty'; fi; printf ')"\n'; else printf '""\n'; fi; fi) > 
qemu-version.h.tmp
if ! cmp -s qemu-version.h qemu-version.h.tmp; then mv qemu-version.h.tmp 
qemu-version.h; else rm qemu-version.h.tmp; fi
make -C /home/nasastry/qemu/capstone CAPSTONE_SHARED=no 
BUILDDIR="/home/nasastry/qemu/capstone" CC="cc" AR="ar" LD="ld" 
CFLAGS="-fprofile-arcs -ftest-coverage -g -g -I/usr/include/pixman-1 
-DHAS_LIBSSH2_SFTP_FSYNC -pthread -I/usr/include/glib-2.0 
-I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 
-I/usr/lib64/glib-2.0/include -DNCURSES_WIDECHAR -fPIE -DPIE -m64 -D_GNU_SOURCE 
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fno-common 
-fwrapv -fstack-protector-strong -I/usr/include/p11-kit-1 
-I/usr/include/libpng15 -I/home/nasastry/qemu/capstone/include 
-I/home/nasastry/qemu/tests -DCAPSTONE_USE_SYS_DYN_MEM -DCAPSTONE_HAS_ARM 
-DCAPSTONE_HAS_ARM64 -DCAPSTONE_HAS_POWERPC -DCAPSTONE_HAS_X86"  
BUILD_DIR=/home/nasastry/qemu /home/nasastry/qemu/capstone/libcapstone.a
make[1]: Entering directory `/home/nasastry/qemu/capstone'
make[1]: `/home/nasastry/qemu/capstone/libcapstone.a' is up to date.
make[1]: Leaving directory `/home/nasastry/qemu/capstone'
make  BUILD_DIR=/home/nasastry/qemu -C sparc64-softmmu V="1" 
TARGET_DIR="sparc64-softmmu/" all
make[1]: Entering directory `/home/nasastry/qemu/sparc64-softmmu'
make[1]: Leaving directory `/home/nasastry/qemu/sparc64-softmmu'
QTEST_QEMU_BINARY=sparc64-softmmu/qemu-system-sparc64 QTEST_QEMU_IMG=qemu-img 
MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} gtester -k 
--verbose -m=quick tests/endianness-test tests/prom-env-test tests/qmp-test 
tests/device-introspect-test tests/qom-test tests/test-hmp
TEST: tests/endianness-test... (pid=72117)
  /sparc64/endianness/sun4u:                                           OK
  /sparc64/endianness/split/sun4u:                                     OK
  /sparc64/endianness/combine/sun4u:                                   OK
PASS: tests/endianness-test
TEST: tests/prom-env-test... (pid=72128)
  /sparc64/prom-env/sun4u:                                             **
ERROR:tests/prom-env-test.c:42:check_guest_memory: assertion failed (signature 
== MAGIC): (0x00000000 == 0xcafec0de)
FAIL
GTester: last random seed: R02S54a8565ad2895d49d8d1b0dc99da7044
(pid=74068)
FAIL: tests/prom-env-test
TEST: tests/qmp-test... (pid=74069)
  /sparc64/qmp/protocol:                                               OK
  /sparc64/qmp/qom-list-types:                                         OK
  /sparc64/qmp/query-acpi-ospm-status:                                 OK
  /sparc64/qmp/query-balloon:                                          OK
  /sparc64/qmp/query-block:                                            OK
  /sparc64/qmp/query-block-jobs:                                       OK
  /sparc64/qmp/query-blockstats:                                       OK
  /sparc64/qmp/query-chardev:                                          OK
  /sparc64/qmp/query-chardev-backends:                                 OK
  /sparc64/qmp/query-command-line-options:                             OK
  /sparc64/qmp/query-commands:                                         OK
  /sparc64/qmp/query-cpus:                                             OK
  /sparc64/qmp/query-dump:                                             OK
  /sparc64/qmp/query-dump-guest-memory-capability:                     OK
  /sparc64/qmp/query-events:                                           OK
  /sparc64/qmp/query-fdsets:                                           OK
  /sparc64/qmp/query-hotpluggable-cpus:                                OK
  /sparc64/qmp/query-iothreads:                                        OK
  /sparc64/qmp/query-kvm:                                              OK
  /sparc64/qmp/query-machines:                                         OK
  /sparc64/qmp/query-memdev:                                           OK
  /sparc64/qmp/query-memory-devices:                                   OK
  /sparc64/qmp/query-memory-size-summary:                              OK
  /sparc64/qmp/query-mice:                                             OK
  /sparc64/qmp/query-migrate:                                          OK
  /sparc64/qmp/query-migrate-cache-size:                               OK
  /sparc64/qmp/query-migrate-capabilities:                             OK
  /sparc64/qmp/query-migrate-parameters:                               OK
  /sparc64/qmp/query-name:                                             OK
  /sparc64/qmp/query-named-block-nodes:                                OK
  /sparc64/qmp/query-qmp-schema:                                       OK
  /sparc64/qmp/query-rx-filter:                                        OK
  /sparc64/qmp/query-spice:                                            OK
  /sparc64/qmp/query-status:                                           OK
  /sparc64/qmp/query-target:                                           OK
  /sparc64/qmp/query-tpm:                                              OK
  /sparc64/qmp/query-tpm-models:                                       OK
  /sparc64/qmp/query-tpm-types:                                        OK
  /sparc64/qmp/query-uuid:                                             OK
  /sparc64/qmp/query-version:                                          OK
  /sparc64/qmp/query-vm-generation-id:                                 OK
  /sparc64/qmp/query-vnc:                                              OK
  /sparc64/qmp/query-vnc-servers:                                      OK
  /sparc64/qmp/query-xen-replication-status:                           OK
PASS: tests/qmp-test
TEST: tests/device-introspect-test... (pid=74165)
  /sparc64/device/introspect/list:                                     OK
  /sparc64/device/introspect/list-fields:                              OK
  /sparc64/device/introspect/none:                                     OK
  /sparc64/device/introspect/abstract:                                 OK
  /sparc64/device/introspect/concrete:                                 OK
  /sparc64/device/introspect/abstract-interfaces:                      OK
PASS: tests/device-introspect-test
TEST: tests/qom-test... (pid=74181)
  /sparc64/qom/sun4v:                                                  OK
  /sparc64/qom/none:                                                   OK
  /sparc64/qom/sun4u:                                                  OK
  /sparc64/qom/niagara:                                                OK
PASS: tests/qom-test
TEST: tests/test-hmp... (pid=74199)
  /sparc64/hmp/sun4v:                                                  OK
  /sparc64/hmp/none:                                                   OK
  /sparc64/hmp/sun4u:                                                  OK
  /sparc64/hmp/niagara:                                                OK
  /sparc64/hmp/none+2MB:                                               OK
PASS: tests/test-hmp
make: *** [check-qtest-sparc64] Error 1

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1713434

Title:
  prom-env-test test aborted and core dumped

Status in QEMU:
  In Progress

Bug description:
  On ppc64le architecture machine the following test case Aborted and
  Core dumped.

  # tests/prom-env-test --quiet --keep-going -m=quick --GTestLogFD=6
  **
  ERROR:tests/libqtest.c:628:qtest_get_arch: assertion failed: (qemu != NULL)
  Aborted (core dumped)

  Steps to re-produce:
  clone from the git
  configure & compile 
  run the unit tests by 'make check'

  (gdb) bt
  #0  0x00003fff9d60eff0 in raise () from /lib64/libc.so.6
  #1  0x00003fff9d61136c in abort () from /lib64/libc.so.6
  #2  0x00003fff9de1aa04 in g_assertion_message () from /lib64/libglib-2.0.so.0
  #3  0x00003fff9de1ab0c in g_assertion_message_expr () from 
/lib64/libglib-2.0.so.0
  #4  0x000000001000cc30 in qtest_get_arch () at tests/libqtest.c:628
  #5  0x00000000100048f0 in main (argc=5, argv=0x3ffff2145538) at 
tests/prom-env-test.c:82
  (gdb) i r
  r0             0xfa   250
  r1             0x3ffff2144d30 70368510627120
  r2             0x3fff9d7b9900 70367091333376
  r3             0x0    0
  r4             0x12a7 4775
  r5             0x6    6
  r6             0x8    8
  r7             0x1    1
  r8             0x0    0
  r9             0x0    0
  r10            0x0    0
  r11            0x0    0
  r12            0x0    0
  r13            0x3fff9dfa1950 70367099623760
  r14            0x0    0
  r15            0x0    0
  r16            0x0    0
  r17            0x0    0
  r18            0x0    0
  r19            0x0    0
  r20            0x0    0
  r21            0x0    0
  r22            0x0    0
  r23            0x0    0
  r24            0x0    0
  r25            0x0    0
  r26            0x0    0
  r27            0x100287f8     268601336
  r28            0x16841b40     377756480
  r29            0x4c   76
  r30            0x3ffff2144de8 70368510627304
  r31            0x6    6
  pc             0x3fff9d60eff0 0x3fff9d60eff0 <raise+96>
  msr            0x900000000280f033     10376293541503627315
  cr             0x42000842     1107298370
  lr             0x3fff9d61136c 0x3fff9d61136c <abort+396>
  ctr            0x0    0
  xer            0x0    0
  orig_r3        0x12a7 4775
  trap           0xc00  3072

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1713434/+subscriptions

Reply via email to