DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [Bug 842] [dpdk-21.11 rc1] FIPS tests are failing
@ 2021-10-27 17:43 bugzilla
  2021-11-09  6:09 ` bugzilla
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla @ 2021-10-27 17:43 UTC (permalink / raw)
  To: dev

https://bugs.dpdk.org/show_bug.cgi?id=842

            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 
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: Initialisation
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 <gakhil@marvell.com>
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 <gakhil@marvell.com>
    Acked-by: Fan Zhang <roy.fan.zhang@intel.com>
    Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [dpdk-dev] [Bug 842] [dpdk-21.11 rc1] FIPS tests are failing
  2021-10-27 17:43 [dpdk-dev] [Bug 842] [dpdk-21.11 rc1] FIPS tests are failing bugzilla
@ 2021-11-09  6:09 ` bugzilla
  0 siblings, 0 replies; 2+ messages in thread
From: bugzilla @ 2021-11-09  6:09 UTC (permalink / raw)
  To: dev

https://bugs.dpdk.org/show_bug.cgi?id=842

Varalakshmi (varalakshmi.s@intel.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Varalakshmi (varalakshmi.s@intel.com) ---
Verified in mainline. The feature is working as expected.

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-09  6:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-27 17:43 [dpdk-dev] [Bug 842] [dpdk-21.11 rc1] FIPS tests are failing bugzilla
2021-11-09  6:09 ` bugzilla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).