|FAILURE| pw126336 [PATCH 2/2] vhost: add egress API for port mirroring datapath

0-day Robot robot at bytheb.org
Fri Apr 21 04:39:33 CEST 2023


From: robot at bytheb.org

Test-Label: github-robot: build
Test-Status: FAILURE
http://patchwork.dpdk.org/patch/126336/

_github build: failed_
Build URL: https://github.com/ovsrobot/dpdk/actions/runs/4760644662
Build Logs:
-----------------------Summary of failed steps-----------------------
"ubuntu-20.04-clang-asan+doc+tests" failed at step Build and test
"fedora:35-clang" failed at step Build
----------------------End summary of failed steps--------------------

-------------------------------BEGIN LOGS----------------------------
####################################################################################
#### [Begin job log] "ubuntu-20.04-clang-asan+doc+tests" at step Build and test
####################################################################################
                                        ^
../lib/vhost/virtio_net.c:4670:40: error: reading variable 'async' requires holding any mutex [-Werror,-Wthread-safety-analysis]
        struct vhost_async *mr_async = mr_vq->async;
                                              ^
../lib/vhost/virtio_net.c:4692:16: error: calling function 'reserve_avail_buf_split' requires holding mutex 'vq->iotlb_lock' [-Werror,-Wthread-safety-analysis]
                if (unlikely(reserve_avail_buf_split(dev, vq, pkt_len, buf_vec,
                             ^
../lib/vhost/virtio_net.c:4700:16: error: calling function 'reserve_avail_buf_split' requires holding mutex 'mr_vq->iotlb_lock' [-Werror,-Wthread-safety-analysis]
                if (unlikely(reserve_avail_buf_split(mr_dev, mr_vq, pkt_len, mr_buf_vec,
                             ^
../lib/vhost/virtio_net.c:4735:11: error: calling function 'vhost_async_dma_transfer' requires holding mutex 'vq->access_lock' exclusively [-Werror,-Wthread-safety-analysis]
        n_xfer = vhost_async_dma_transfer(dev, vq, dma_id, vchan_id, async->pkts_idx,
                 ^
../lib/vhost/virtio_net.c:4821:6: error: mutex 'vq->iotlb_lock' is not held on every path through here [-Werror,-Wthread-safety-analysis]
        if (mr_dev->features & (1ULL << VIRTIO_F_IOMMU_PLATFORM))
            ^
../lib/vhost/virtio_net.c:4820:3: note: mutex acquired here
                vhost_user_iotlb_rd_lock(vq);
                ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[417/4342] Compiling C object 'lib/76b5a35@@rte_vhost at sta/vhost_vhost.c.o'.
[418/4342] Compiling C object 'lib/76b5a35@@rte_vhost at sta/vhost_vhost_crypto.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-clang-asan+doc+tests" at step Build and test
####################################################################################




####################################################################################
#### [Begin job log] "fedora:35-clang" at step Build
####################################################################################
####################################################################################
#### [End job log] "fedora:35-clang" at step Build
####################################################################################
--------------------------------END LOGS-----------------------------


More information about the test-report mailing list