qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v1] block/nvme: introduce PMR support from NVMe 1.4 spec


From: no-reply
Subject: Re: [PATCH v1] block/nvme: introduce PMR support from NVMe 1.4 spec
Date: Tue, 18 Feb 2020 17:07:08 -0800 (PST)

Patchew URL: https://patchew.org/QEMU/address@hidden/



Hi,

This series failed the docker-mingw@fedora build test. Please find the testing 
commands and
their output below. If you have Docker installed, you can probably reproduce it
locally.

=== TEST SCRIPT BEGIN ===
#! /bin/bash
export ARCH=x86_64
make docker-image-fedora V=1 NETWORK=1
time make docker-test-mingw@fedora J=14 NETWORK=1
=== TEST SCRIPT END ===

  CC      hw/display/sii9022.o
  CC      hw/display/ssd0303.o
/tmp/qemu-test/src/hw/block/nvme.c: In function 'nvme_pmr_read':
/tmp/qemu-test/src/hw/block/nvme.c:1342:15: error: implicit declaration of 
function 'msync'; did you mean 'fsync'? [-Werror=implicit-function-declaration]
         ret = msync(n->pmrbuf, n->f_pmr_size, MS_SYNC);
               ^~~~~
               fsync
/tmp/qemu-test/src/hw/block/nvme.c:1342:15: error: nested extern declaration of 
'msync' [-Werror=nested-externs]
/tmp/qemu-test/src/hw/block/nvme.c:1342:47: error: 'MS_SYNC' undeclared (first 
use in this function)
         ret = msync(n->pmrbuf, n->f_pmr_size, MS_SYNC);
                                               ^~~~~~~
/tmp/qemu-test/src/hw/block/nvme.c:1342:47: note: each undeclared identifier is 
reported only once for each function it appears in
/tmp/qemu-test/src/hw/block/nvme.c: In function 'nvme_realize':
/tmp/qemu-test/src/hw/block/nvme.c:1413:21: error: implicit declaration of 
function 'mmap'; did you mean 'max'? [-Werror=implicit-function-declaration]
         n->pmrbuf = mmap(NULL, n->f_pmr_size,
                     ^~~~
                     max
/tmp/qemu-test/src/hw/block/nvme.c:1413:21: error: nested extern declaration of 
'mmap' [-Werror=nested-externs]
/tmp/qemu-test/src/hw/block/nvme.c:1414:27: error: 'PROT_READ' undeclared 
(first use in this function); did you mean 'OF_READ'?
                          (PROT_READ | PROT_WRITE), MAP_SHARED, fd, 0);
                           ^~~~~~~~~
                           OF_READ
/tmp/qemu-test/src/hw/block/nvme.c:1414:39: error: 'PROT_WRITE' undeclared 
(first use in this function); did you mean 'OF_WRITE'?
                          (PROT_READ | PROT_WRITE), MAP_SHARED, fd, 0);
                                       ^~~~~~~~~~
                                       OF_WRITE
/tmp/qemu-test/src/hw/block/nvme.c:1414:52: error: 'MAP_SHARED' undeclared 
(first use in this function); did you mean 'RAM_SHARED'?
                          (PROT_READ | PROT_WRITE), MAP_SHARED, fd, 0);
                                                    ^~~~~~~~~~
                                                    RAM_SHARED
/tmp/qemu-test/src/hw/block/nvme.c:1416:26: error: 'MAP_FAILED' undeclared 
(first use in this function); did you mean 'WAIT_FAILED'?
         if (n->pmrbuf == MAP_FAILED) {
                          ^~~~~~~~~~
                          WAIT_FAILED
/tmp/qemu-test/src/hw/block/nvme.c: In function 'nvme_exit':
/tmp/qemu-test/src/hw/block/nvme.c:1583:13: error: implicit declaration of 
function 'munmap' [-Werror=implicit-function-declaration]
             munmap(n->pmrbuf, n->f_pmr_size);
             ^~~~~~
/tmp/qemu-test/src/hw/block/nvme.c:1583:13: error: nested extern declaration of 
'munmap' [-Werror=nested-externs]
cc1: all warnings being treated as errors
make: *** [/tmp/qemu-test/src/rules.mak:69: hw/block/nvme.o] Error 1
make: *** Waiting for unfinished jobs....
Traceback (most recent call last):
  File "./tests/docker/docker.py", line 664, in <module>
---
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['sudo', '-n', 'docker', 'run', 
'--label', 'com.qemu.instance.uuid=058833b8d96e4c67a646a099f4118351', '-u', 
'1003', '--security-opt', 'seccomp=unconfined', '--rm', '-e', 'TARGET_LIST=', 
'-e', 'EXTRA_CONFIGURE_OPTS=', '-e', 'V=', '-e', 'J=14', '-e', 'DEBUG=', '-e', 
'SHOW_ENV=', '-e', 'CCACHE_DIR=/var/tmp/ccache', '-v', 
'/home/patchew2/.cache/qemu-docker-ccache:/var/tmp/ccache:z', '-v', 
'/var/tmp/patchew-tester-tmp-0kstbie3/src/docker-src.2020-02-18-20.04.28.2259:/var/tmp/qemu:z,ro',
 'qemu:fedora', '/var/tmp/qemu/run', 'test-mingw']' returned non-zero exit 
status 2.
filter=--filter=label=com.qemu.instance.uuid=058833b8d96e4c67a646a099f4118351
make[1]: *** [docker-run] Error 1
make[1]: Leaving directory `/var/tmp/patchew-tester-tmp-0kstbie3/src'
make: *** [docker-run-test-mingw@fedora] Error 2

real    2m39.403s
user    0m8.170s


The full log is available at
http://patchew.org/logs/address@hidden/testing.docker-mingw@fedora/?type=message.
---
Email generated automatically by Patchew [https://patchew.org/].
Please send your feedback to address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]