From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 969D541FCD for ; Wed, 30 Aug 2023 14:40:51 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9DD4340277; Wed, 30 Aug 2023 14:40:51 +0200 (CEST) Received: from mail-io1-f99.google.com (mail-io1-f99.google.com [209.85.166.99]) by mails.dpdk.org (Postfix) with ESMTP id 55EE840277 for ; Wed, 30 Aug 2023 14:40:50 +0200 (CEST) Received: by mail-io1-f99.google.com with SMTP id ca18e2360f4ac-7926a450a0aso177082139f.3 for ; Wed, 30 Aug 2023 05:40:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1693399249; x=1694004049; darn=dpdk.org; h=cc:to:from:subject:message-id:date:from:to:cc:subject:date :message-id:reply-to; bh=nqFhn7X/BypIFWPSMr7pjIaqhb6lGV/JlhXUOWmAjZE=; b=XfgeCsqk9eDSI+TRksd4+ZIDYEcfyNoEE0U9wUPKtXQ2ENH6BnHN80jX8Xgbs8dipV cBGsy+IyO4rhZNiMxZ2/z92htJk4ORQLvmXZ3CUlRMAog3UkEVEHKneos4a/0wWUD3wt 560Su1J384l52kvqmZZ/E6+5Hd0RjzEaLaF+M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693399249; x=1694004049; h=cc:to:from:subject:message-id:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=nqFhn7X/BypIFWPSMr7pjIaqhb6lGV/JlhXUOWmAjZE=; b=FOsCeTbxZ+y3ai0uYvyXe5X04rAamjd10m39uCn+4k62WLLOgVMK/HQ04kc/MoXC0T Mup0DLel3Yqq5EBG/ENc7c36J00OKm0DDsohh3lEll+O1JOTBRD+GeXTAgkOlfAMgO4X Q61GCXJZudICyhgiHfQAJPtdrd0IBDQS+pkdZQOUeye3BcriBR3/8ge+2VArqgevE3Om gcyyrmrvQs3NE4HdTVfU1GV7OOhsNNJWCtGdhEXCydoZMuTjSOMBYtU7RBObixOTM3PR P0ugDnLYbZz+wDIh3rlTLfLnnwL8orUcnatiG+WklbW9KxMtK8glOZH5cOQP7xhwq9c0 7WZw== X-Gm-Message-State: AOJu0YwprFwcXd3PbGLDlW+t1t5IQHR62W91+LNVdmHTxpCzjteSN37i 0hUQXhHSnzAkcblRfL25eko0BWopkPsnv7zO0kJw64RM5U/CrkgICeocU7H5qP5wB/4WLc8A2Q= = X-Google-Smtp-Source: AGHT+IF87wRkmtgLXfmZR+dPhWu5ABWW9YFCWQn3vyX7b4crSQLRU8/dWCErs2dKB12LBjAL/I7d9VXYSHnE X-Received: by 2002:a92:d9c1:0:b0:34b:af03:e2a with SMTP id n1-20020a92d9c1000000b0034baf030e2amr2230516ilq.31.1693399249812; Wed, 30 Aug 2023 05:40:49 -0700 (PDT) Received: from postal.iol.unh.edu (postal.iol.unh.edu. [2606:4100:3880:1234::84]) by smtp-relay.gmail.com with ESMTPS id x13-20020a92dc4d000000b0034901a2f692sm522073ilq.32.2023.08.30.05.40.49 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 Aug 2023 05:40:49 -0700 (PDT) X-Relaying-Domain: iol.unh.edu Date: Wed, 30 Aug 2023 05:40:49 -0700 (PDT) Message-ID: <64ef38d1.920a0220.d26e9.a35fSMTPIN_ADDED_MISSING@mx.google.com> Received: from [172.21.0.2] (unknown [172.18.0.240]) by postal.iol.unh.edu (Postfix) with ESMTP id 3215F6052471; Wed, 30 Aug 2023 08:40:49 -0400 (EDT) Subject: |FAILURE| pw130870 [PATCH] vhost: avoid potential null pointer acces From: dpdklab@iol.unh.edu To: Test Report Cc: dpdk-test-reports@iol.unh.edu, Li Feng Content-Type: text/plain X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: automatic DPDK test reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: test-report-bounces@dpdk.org Test-Label: iol-unit-amd64-testing Test-Status: FAILURE http://dpdk.org/patch/130870 _Testing issues_ Submitter: Li Feng Date: Wednesday, August 30 2023 08:47:08 DPDK git baseline: Repo:dpdk Branch: master CommitID:b7b8de26f34d39c8aaded44d8a468da5e68f19da 130870 --> testing fail Test environment and result as below: +------------------+----------------+ | Environment | dpdk_unit_test | +==================+================+ | CentOS Stream 8 | FAIL | +------------------+----------------+ | CentOS Stream 9 | FAIL | +------------------+----------------+ | Fedora 38 | FAIL | +------------------+----------------+ | Fedora 37 | FAIL | +------------------+----------------+ | Debian Buster | FAIL | +------------------+----------------+ | Debian Bullseye | FAIL | +------------------+----------------+ | Ubuntu 20.04 | FAIL | +------------------+----------------+ | openSUSE Leap 15 | FAIL | +------------------+----------------+ | Ubuntu 22.04 | FAIL | +------------------+----------------+ ==== 20 line log output for Ubuntu 22.04 (dpdk_unit_test): ==== | ^ ../lib/vhost/vhost.h:1027:1: note: declared here 1027 | restore_mbuf(struct rte_mbuf *m) | ^~~~~~~~~~~~ cc1: all warnings being treated as errors [399/2705] Generating symbol file 'lib/76b5a35@@rte_security@sha/librte_security.so.24.0.symbols'. [400/2705] Compiling C object 'lib/76b5a35@@rte_vhost@sta/vhost_socket.c.o'. FAILED: lib/76b5a35@@rte_vhost@sta/vhost_socket.c.o ccache cc -Ilib/76b5a35@@rte_vhost@sta -Ilib -I../lib -Ilib/vhost -I../lib/vhost -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wneste d-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DVHOST_HAS_VDUSE -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ 'lib/76b5a35@@rte_vhost@sta/vhost_socket.c.o' -MF 'lib/76b5a35@@rte_vhost@sta/vhost_socket.c.o.d' -o 'lib/76b5a35@@rte_vhost@sta/vhost_socket.c.o' -c ../lib/vhost/socket.c In file included from ../lib/vhost/vduse.h:8, from ../lib/vhost/socket.c:21: ../lib/vhost/vhost.h: In function 'restore_mbuf': ../lib/vhost/vhost.h:1040:16: error: 'return' with a value, in function returning void [-Werror=return-type] 1040 | return 0; | ^ ../lib/vhost/vhost.h:1027:1: note: declared here 1027 | restore_mbuf(struct rte_mbuf *m) | ^~~~~~~~~~~~ cc1: all warnings being treated as errors ninja: build stopped: subcommand failed. ==== End log output ==== CentOS Stream 8 Kernel: 4.18.0-240.10.1.el8_3.x86_64 Compiler: gcc 8.4.1 20200928 CentOS Stream 9 Kernel: 4.18.0-240.10.1.el8_3.x86_64 Compiler: gcc 11.3.1 20220421 Fedora 38 Kernel: Depends on container host Compiler: gcc 13.1.1 Fedora 37 Kernel: Depends on container host system Compiler: gcc 12.3.1 Debian Buster Kernel: 5.4.0-122-generic Compiler: gcc 8.3.0-6 Debian Bullseye Kernel: 5.4.0-122-generic Compiler: gcc 10.2.1-6 Ubuntu 20.04 Kernel: 5.4.0-153-generic Compiler: gcc 9.4.0-1ubuntu1~20.04.1 openSUSE Leap 15 Kernel: 4.18.0-240.10.1.el8_3.x86_64 Compiler: gcc 7.5.0 Ubuntu 22.04 Kernel: 4.18.0-240.10.1.el8_3.x86_64 Compiler: gcc 11.3.0 To view detailed results, visit: https://lab.dpdk.org/results/dashboard/patchsets/27469/ UNH-IOL DPDK Community Lab To manage your email subscriptions, visit: https://lab.dpdk.org/results/dashboard/preferences/subscriptions/