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 7F34CA0C47; Wed, 27 Oct 2021 19:43:54 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4ED584068C; Wed, 27 Oct 2021 19:43:54 +0200 (CEST) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id 770414003F for ; Wed, 27 Oct 2021 19:43:52 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id 57605A0C4B; Wed, 27 Oct 2021 19:43:52 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Wed, 27 Oct 2021 17:43:51 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: cryptodev X-Bugzilla-Version: 21.11 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: varalakshmi.s@intel.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: dev@dpdk.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All MIME-Version: 1.0 Subject: [dpdk-dev] [Bug 842] [dpdk-21.11 rc1] FIPS tests are failing X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" https://bugs.dpdk.org/show_bug.cgi?id=3D842 Bug ID: 842 Summary: [dpdk-21.11 rc1] FIPS tests are failing Product: DPDK Version: 21.11 Hardware: All OS: Linux Status: UNCONFIRMED Severity: minor Priority: Normal Component: cryptodev Assignee: dev@dpdk.org Reporter: varalakshmi.s@intel.com Target Milestone: --- Environment DPDK Version: 6c390cee976e33b1e9d8562d32c9d3ebe5d9ce94 OS: 5.4.0-89-generic #100~18.04.1-Ubuntu SMP Wed Sep 29 10:59:42 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux=20 Compiler: 7.5.0 Hardware platform: Purely Steps to reproduce root@dpdk-yaobing-purely147:~/dpdk# x86_64-native-linuxapp-gcc/examples/dpdk-fips_validation -l 9,10,66 -a 0000:af:00.0 --vdev crypto_aesni_gcm_pmd_1 --socket-mem 2048,2048 --legacy-= mem -n 6 -- --req-file /root/FIPS/GCM/req --rsp-file /root/FIPS/GCM/resp --cryptodev crypto_aesni_gcm_pmd_1 --path-is-folder --cryptodev-id 0 --self-test EAL: Detected CPU lcores: 112 EAL: Detected NUMA nodes: 2 EAL: Detected static linkage of DPDK EAL: Multi-process socket /var/run/dpdk/rte/mp_socket EAL: Selected IOVA mode 'VA' EAL: 1024 hugepages of size 2097152 reserved, but no mounted hugetlbfs found for that size EAL: VFIO support initialized CRYPTODEV: Creating cryptodev crypto_aesni_gcm_pmd_1CRYPTODEV: Initialisati= on parameters - name: crypto_aesni_gcm_pmd_1,socket id: 0, max queue pairs: 8 ipsec_mb_create() line 140: IPSec Multi-buffer library version used: 1.0.0CRYPTODEV: elt_size 0 is expanded to 384PMD: Testing (ID 0) SELF_TEST_AES128_CBC_test_vector Encrypt... PMD: Failed to get capability for cdev 0 PMD: Error -13: Prepare Xform PMD: Not supported by crypto_aesni_gcm_pmd_1. Skip PMD: Testing (ID 0) SELF_TEST_AES128_CBC_test_vector Decrypt... PMD: Failed to get capability for cdev 0 PMD: Error -13: Prepare Xform PMD: Not supported by crypto_aesni_gcm_pmd_1. Skip PMD: Testing (ID 1) SELF_TEST_AES192_CBC_test_vector Encrypt... PMD: Failed to get capability for cdev 0 PMD: Error -13: Prepare Xform PMD: Not supported by crypto_aesni_gcm_pmd_1. Skip PMD: Testing (ID 1) SELF_TEST_AES192_CBC_test_vector Decrypt... PMD: Failed to get capability for cdev 0 PMD: Error -13: Prepare Xform PMD: Not supported by crypto_aesni_gcm_pmd_1. Skip PMD: Testing (ID 2) SELF_TEST_AES256_CBC_test_vector Encrypt... PMD: Failed to get capability for cdev 0 PMD: Error -13: Prepare Xform PMD: Not supported by crypto_aesni_gcm_pmd_1. Skip PMD: Testing (ID 2) SELF_TEST_AES256_CBC_test_vector Decrypt... PMD: Failed to get capability for cdev 0 PMD: Error -13: Prepare Xform PMD: Not supported by crypto_aesni_gcm_pmd_1. Skip PMD: Testing (ID 3) SELF_TEST_3DES_2KEY_CBC_test_vector Encrypt... PMD: Failed to get capability for cdev 0 PMD: Error -13: Prepare Xform PMD: Not supported by crypto_aesni_gcm_pmd_1. Skip PMD: Testing (ID 3) SELF_TEST_3DES_2KEY_CBC_test_vector Decrypt... PMD: Failed to get capability for cdev 0 PMD: Error -13: Prepare Xform PMD: Not supported by crypto_aesni_gcm_pmd_1. Skip PMD: Testing (ID 4) SELF_TEST_3DES_3KEY_CBC_test_vector Encrypt... PMD: Failed to get capability for cdev 0 PMD: Error -13: Prepare Xform PMD: Not supported by crypto_aesni_gcm_pmd_1. Skip PMD: Testing (ID 4) SELF_TEST_3DES_3KEY_CBC_test_vector Decrypt... PMD: Failed to get capability for cdev 0 PMD: Error -13: Prepare Xform PMD: Not supported by crypto_aesni_gcm_pmd_1. Skip PMD: Testing (ID 5) SELF_TEST_AES128_CCM_test_vector Encrypt... PMD: Failed to get capability for cdev 0 PMD: Error -13: Prepare Xform PMD: Not supported by crypto_aesni_gcm_pmd_1. Skip PMD: Testing (ID 5) SELF_TEST_AES128_CCM_test_vector Decrypt... PMD: Failed to get capability for cdev 0 PMD: Error -13: Prepare Xform PMD: Not supported by crypto_aesni_gcm_pmd_1. Skip PMD: Testing (ID 6) SELF_TEST_SHA1_HMAC_test_vector Encrypt... PMD: Failed to get capability for cdev 0 PMD: Error -13: Prepare Xform PMD: Not supported by crypto_aesni_gcm_pmd_1. Skip PMD: Testing (ID 6) SELF_TEST_SHA1_HMAC_test_vector Decrypt... PMD: Failed to get capability for cdev 0 PMD: Error -13: Prepare Xform PMD: Not supported by crypto_aesni_gcm_pmd_1. Skip PMD: Testing (ID 7) SELF_TEST_SHA224_HMAC_test_vector Encrypt... PMD: Failed to get capability for cdev 0 PMD: Error -13: Prepare Xform PMD: Not supported by crypto_aesni_gcm_pmd_1. Skip PMD: Testing (ID 7) SELF_TEST_SHA224_HMAC_test_vector Decrypt... PMD: Failed to get capability for cdev 0 PMD: Error -13: Prepare Xform PMD: Not supported by crypto_aesni_gcm_pmd_1. Skip PMD: Testing (ID 8) SELF_TEST_SHA256_HMAC_test_vector Encrypt... PMD: Failed to get capability for cdev 0 PMD: Error -13: Prepare Xform PMD: Not supported by crypto_aesni_gcm_pmd_1. Skip PMD: Testing (ID 8) SELF_TEST_SHA256_HMAC_test_vector Decrypt... PMD: Failed to get capability for cdev 0 PMD: Error -13: Prepare Xform PMD: Not supported by crypto_aesni_gcm_pmd_1. Skip PMD: Testing (ID 9) SELF_TEST_SHA384_HMAC_test_vector Encrypt... PMD: Failed to get capability for cdev 0 PMD: Error -13: Prepare Xform PMD: Not supported by crypto_aesni_gcm_pmd_1. Skip PMD: Testing (ID 9) SELF_TEST_SHA384_HMAC_test_vector Decrypt... PMD: Failed to get capability for cdev 0 PMD: Error -13: Prepare Xform PMD: Not supported by crypto_aesni_gcm_pmd_1. Skip PMD: Testing (ID 10) SELF_TEST_SHA512_HMAC_test_vector Encrypt... PMD: Failed to get capability for cdev 0 PMD: Error -13: Prepare Xform PMD: Not supported by crypto_aesni_gcm_pmd_1. Skip PMD: Testing (ID 10) SELF_TEST_SHA512_HMAC_test_vector Decrypt... PMD: Failed to get capability for cdev 0 PMD: Error -13: Prepare Xform PMD: Not supported by crypto_aesni_gcm_pmd_1. Skip PMD: Testing (ID 11) SELF_TEST_AES_CMAC_test_vector Encrypt... PMD: Failed to get capability for cdev 0 PMD: Error -13: Prepare Xform PMD: Not supported by crypto_aesni_gcm_pmd_1. Skip PMD: Testing (ID 11) SELF_TEST_AES_CMAC_test_vector Decrypt... PMD: Failed to get capability for cdev 0 PMD: Error -13: Prepare Xform PMD: Not supported by crypto_aesni_gcm_pmd_1. Skip PMD: Testing (ID 12) SELF_TEST_AES128_GCM_encrypt_test_vector Encrypt... PMD: Testing (ID 12) SELF_TEST_AES128_GCM_encrypt_test_vector Decrypt... PMD: Testing (ID 13) SELF_TEST_AES192_GCM_encrypt_test_vector Encrypt... PMD: Testing (ID 13) SELF_TEST_AES192_GCM_encrypt_test_vector Decrypt... PMD: Testing (ID 14) SELF_TEST_AES256_GCM_encrypt_test_vector Encrypt... PMD: Testing (ID 14) SELF_TEST_AES256_GCM_encrypt_test_vector Decrypt... PMD: Testing (ID 15) SELF_TEST_AES128_CTR_test_vector Encrypt... PMD: Failed to get capability for cdev 0 PMD: Error -13: Prepare Xform PMD: Not supported by crypto_aesni_gcm_pmd_1. Skip PMD: Testing (ID 15) SELF_TEST_AES128_CTR_test_vector Decrypt... PMD: Failed to get capability for cdev 0 PMD: Error -13: Prepare Xform PMD: Not supported by crypto_aesni_gcm_pmd_1. Skip PMD: Testing (ID 16) SELF_TEST_AES192_CTR_test_vector Encrypt... PMD: Failed to get capability for cdev 0 PMD: Error -13: Prepare Xform PMD: Not supported by crypto_aesni_gcm_pmd_1. Skip PMD: Testing (ID 16) SELF_TEST_AES192_CTR_test_vector Decrypt... PMD: Failed to get capability for cdev 0 PMD: Error -13: Prepare Xform PMD: Not supported by crypto_aesni_gcm_pmd_1. Skip PMD: Testing (ID 17) SELF_TEST_AES256_CTR_test_vector Encrypt... PMD: Failed to get capability for cdev 0 PMD: Error -13: Prepare Xform PMD: Not supported by crypto_aesni_gcm_pmd_1. Skip PMD: Testing (ID 17) SELF_TEST_AES256_CTR_test_vector Decrypt... PMD: Failed to get capability for cdev 0 PMD: Error -13: Prepare Xform PMD: Not supported by crypto_aesni_gcm_pmd_1. Skip PMD: PMD 0 finished self-test successfully CRYPTODEV: elt_size 0 is expanded to 384 Segmentation fault (core dumped) Expected Result Test is expected to Pass with no errors. Stack Trace or Log ----------------------------------------------------------------- f6849cdcc6ada2a8bc9b82e691eaab1aecf4952f is the first bad commit commit f6849cdcc6ada2a8bc9b82e691eaab1aecf4952f Author: Akhil Goyal Date: Wed Oct 20 16:57:53 2021 +0530 cryptodev: use new flat array in fast path API Rework fast-path cryptodev functions to use rte_crypto_fp_ops[]. While it is an API/ABI breakage, this change is intended to be transparent for both users (no changes in user app is required) and PMD developers (no changes in PMD is required). Signed-off-by: Akhil Goyal Acked-by: Fan Zhang Acked-by: Konstantin Ananyev --=20 You are receiving this mail because: You are the assignee for the bug.=