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 1814A42538 for ; Thu, 7 Sep 2023 18:39:35 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0CB3E400EF for ; Thu, 7 Sep 2023 18:39:35 +0200 (CEST) Received: from mail-qt1-f171.google.com (mail-qt1-f171.google.com [209.85.160.171]) by mails.dpdk.org (Postfix) with ESMTP id EF1EE400EF for ; Thu, 7 Sep 2023 18:39:33 +0200 (CEST) Received: by mail-qt1-f171.google.com with SMTP id d75a77b69052e-4122129390eso7890051cf.0 for ; Thu, 07 Sep 2023 09:39:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytheb-org.20230601.gappssmtp.com; s=20230601; t=1694104773; x=1694709573; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=oFxSA984vMMYYO8up5dNZ/5ieWP5qg4Ste/zZUoNgjg=; b=TF1wAM5X2GstwRnL6UNl8rt0oXfO8hZOLfb+0GeO0d02fs7XqMNmDgksR6ENRWzQO2 mfexLx1ui9ZWNfBgFRmUCnvag5+hNCYGsJa8yadRPoNfrv5Sb3cfuDj26bnKcTCfV7QB 2Z4QSQW8IrRkNgbe/6ecc6iR45v8eXjrsDDn+fPd9sY3XcDXp2x8mOF317K54udV2USv 7ieTrrHmagoABLC6MagYeGi0GViP6wlG7qX+FWLthFLvx6cYFfL+oW9NHyxHe8VdX2b1 bp+4Jbu1ROkxua8qB41GRErEJBivaEoAwP2RMAHIY1FU/etgM29TaZdmh1B/bV4BLsPB zDNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1694104773; x=1694709573; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=oFxSA984vMMYYO8up5dNZ/5ieWP5qg4Ste/zZUoNgjg=; b=DSFapqs9alBIPdpDnJrQ84lqYtQgKFMcZg+Tm61S/bQFHQbGXqH8PIxgL5M9PCsudN Ba9o4nkC76hEnvkmJ5sUtF00zvbHyRFkAh0Jqm2670/unx+qR0TlnrZso14KNbKYHF2F y8B89S80aOD2UB2+avJ/eu3YC2OMB4gl1MqmVWYMTz+rfDrMO2Z+boT8rXHE053kcSA3 etl2icmx8XyKN67lDh64UhpuYGeRg8z5h43AgHQ5Y1rzHRsbcuPCrjDO5cLdltL+EWeb 4uKznkuzTEZuM4Sa1KU3VuRrIJ235dpfKUqmec+M7W9EeD8aNW4XeGwLT5UuRWsABSb+ kD3w== X-Gm-Message-State: AOJu0Yz51CcWz/O1PuAFxf/5fF6zqF6XjyQsUorIv4QTtUKiIrhAGFvv dcH1Abjh3IxRWa4kQ7wWEe1mIaSTSfniKThbqZY= X-Google-Smtp-Source: AGHT+IHYSX+UTzDUtnzFi6s1MpTqmHAxP6hZ9CQyFIbDlA+8qx4EfYgMD7Hq6eZSwmHi24cpPH9gVg== X-Received: by 2002:ac8:7d16:0:b0:412:27a1:88d2 with SMTP id g22-20020ac87d16000000b0041227a188d2mr22816066qtb.57.1694104773017; Thu, 07 Sep 2023 09:39:33 -0700 (PDT) Received: from openvswitch-ci.ntdv.lab.eng.bos.redhat.com (nat-pool-bos-t.redhat.com. [66.187.233.206]) by smtp.gmail.com with ESMTPSA id z1-20020ac87ca1000000b00405502aaf76sm6307663qtv.57.2023.09.07.09.39.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Sep 2023 09:39:32 -0700 (PDT) From: 0-day Robot To: test-report@dpdk.org Cc: stephen@networkplumber.org, robot@bytheb.org Subject: |FAILURE| pw131232 [PATCH v2 2/2] random: make rte_rand() thread safe for non-EAL threads Date: Thu, 7 Sep 2023 12:39:31 -0400 Message-Id: <20230907163931.843333-1-robot@bytheb.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20230907152456.20570-3-stephen@networkplumber.org> References: <20230907152456.20570-3-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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 From: robot@bytheb.org Test-Label: github-robot: build Test-Status: FAILURE http://patchwork.dpdk.org/patch/131232/ _github build: failed_ Build URL: https://github.com/ovsrobot/dpdk/actions/runs/6111882830 Build Logs: -----------------------Summary of failed steps----------------------- "ubuntu-20.04-clang-asan+doc+tests" failed at step Build and test "fedora:37-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 ###########################################################################= ######### [38/3814] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_malloc_he= ap.c.o'. [39/3814] Generating symbol file 'lib/76b5a35@@rte_log@sha/librte_log.so.24= .0.symbols'. [40/3814] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_rte_mallo= c.c.o'. [41/3814] Linking target lib/librte_kvargs.so.24.0. [42/3814] Linking target lib/librte_telemetry.so.24.0. [43/3814] Generating symbol file 'lib/76b5a35@@rte_telemetry@sha/librte_tel= emetry.so.24.0.symbols'. [44/3814] Generating symbol file 'lib/76b5a35@@rte_kvargs@sha/librte_kvargs= .so.24.0.symbols'. [45/3814] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_rte_recip= rocal.c.o'. [46/3814] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_rte_rando= m.c.o'. FAILED: lib/76b5a35@@rte_eal@sta/eal_common_rte_random.c.o=20 ccache clang -Ilib/76b5a35@@rte_eal@sta -Ilib -I../lib -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 -I= lib/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/tele= metry/../metrics -Ilib/telemetry -I../lib/telemetry -Xclang -fcolor-diagnos= tics -fsanitize=3Daddress -fno-omit-frame-pointer -pipe -D_FILE_OFFSET_BITS= =3D64 -Wall -Winvalid-pch -Wextra -Werror -std=3Dc11 -O2 -g -include rte_co= nfig.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-secur= ity -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-styl= e-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Ww= rite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers = -D_GNU_SOURCE -fPIC -march=3Dcorei7 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_= INTERNAL_API '-DABI_VERSION=3D"24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=3Dlib.eal -= DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ 'lib/76b5a35@@rte_eal@sta/eal_c= ommon_rte_random.c.o' -MF 'lib/76b5a35@@rte_eal@sta/eal_common_rte_random.c= .o.d' -o 'lib/76b5a35@@rte_eal@sta/eal_common_rte_random.c.o' -c ../lib/eal= /common/rte_random.c ../lib/eal/common/rte_random.c:136:10: error: mutex 'rte_rand_lock' is not = held on every path through here [-Werror,-Wthread-safety-analysis] return &rand_states[idx]; ^ ../lib/eal/common/rte_random.c:133:3: note: mutex acquired here rte_spinlock_lock(&rte_rand_lock); ^ ../lib/eal/common/rte_random.c:143:3: error: releasing mutex 'rte_rand_lock= ' that was not held [-Werror,-Wthread-safety-analysis] rte_spinlock_unlock(&rte_rand_lock); ^ 2 errors generated. [47/3814] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_commo= n_fbarray.c.o'. [48/3814] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_rte_servi= ce.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 te= st ###########################################################################= ######### ###########################################################################= ######### #### [Begin job log] "fedora:37-clang" at step Build ###########################################################################= ######### ###########################################################################= ######### #### [End job log] "fedora:37-clang" at step Build ###########################################################################= ######### --------------------------------END LOGS-----------------------------