qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Cornelia Huck <cohuck@redhat.com>
To: "Daniel P. Berrangé" <berrange@redhat.com>, qemu-devel@nongnu.org
Cc: qemu-s390x@nongnu.org
Subject: [Qemu-devel] 'make check-unit' breakage on s390x host
Date: Thu, 22 Aug 2019 17:44:47 +0200	[thread overview]
Message-ID: <20190822174447.3be81c81.cohuck@redhat.com> (raw)

I just noticed a breakage with 'make check-unit' when running on an
s390x host (on my laptop, it runs fine; haven't tried other
architectures). This happens with current master, but I managed to
track the original breakage down to

commit ff3dc8fefe953fd3650279e064bf63b212c5699a
Author: Daniel P. Berrangé <berrange@redhat.com>
Date:   Wed Mar 13 17:36:18 2019 +0000

    filemon: ensure watch IDs are unique to QFileMonitor scope
    
    The watch IDs are mistakenly only unique within the scope of the
    directory being monitored. This is not useful for clients which are
    monitoring multiple directories. They require watch IDs to be unique
    globally within the QFileMonitor scope.
    
    Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
    Tested-by: Bandan Das <bsd@redhat.com>
    Reviewed-by: Bandan Das <bsd@redhat.com>
    Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>

On that commit, make check-unit fails with

  TEST    check-unit: tests/test-util-filemonitor
Expected watch id 4 but got 0
**
ERROR:/root/git/qemu/tests/test-util-filemonitor.c:651:test_file_monitor_events: assertion failed: (err == 0)
ERROR - Bail out! ERROR:/root/git/qemu/tests/test-util-filemonitor.c:651:test_file_monitor_events: assertion failed: (err == 0)
make: *** [/root/git/qemu/tests/Makefile.include:908: check-unit] Error 1

(I usually run as root on that box and as a normal user on my laptop;
not sure if that makes a difference.)

On master, the failure looks a bit different, but it's probably the
same issue:

  TEST    check-unit: tests/test-util-filemonitor
Expected watch id 200000000 but got 100000000
**
ERROR:/root/git/qemu/tests/test-util-filemonitor.c:665:test_file_monitor_events: assertion failed: (err == 0)
ERROR - Bail out! ERROR:/root/git/qemu/tests/test-util-filemonitor.c:665:test_file_monitor_events: assertion failed: (err == 0)
make: *** [/root/git/qemu/tests/Makefile.include:904: check-unit] Error 1

Fedora 29, QEMU built with '/root/git/qemu/build/../configure'
'--target-list=s390x-softmmu x86_64-softmmu' '--enable-kvm'
'--enable-linux-aio' '--enable-virtfs' '--enable-trace-backends=simple'
'--python=/usr/bin/python3'

I can try to collect extra info if you tell me what would be helpful.


             reply	other threads:[~2019-08-22 15:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-22 15:44 Cornelia Huck [this message]
2019-08-22 15:55 ` [Qemu-devel] 'make check-unit' breakage on s390x host Daniel P. Berrangé
2019-08-22 16:01   ` Cornelia Huck

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190822174447.3be81c81.cohuck@redhat.com \
    --to=cohuck@redhat.com \
    --cc=berrange@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-s390x@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).