zuc unit test is failing
[email protected]
Acked-by Akhil Goyalhttps://bugs.dpdk.org/show_bug.cgi?id=828
Bug ID: 828
Summary: [dpdk-21.11] zuc unit test is failing
Product: DPDK
Version: 21.11
Hardware: All
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: cryptodev
Assignee: [email protected]
Reporter: [email protected]Target Milestone: ---
Steps to reproduce
from dpdk path, the following steps should be followed:
x86_64-native-linuxapp-gcc/app/test/dpdk-test -l 1,2,3 --vdev crypto_zuc0 --socket-mem 2048,0 -n 4 --log-level=6 -a 0000:1a:01.0
RTE>> cryptodev_sw_zuc_autotest
Actual Result:
+ Test Suite Summary : Cryptodev Unit Test Suite
+ ------------------------------------------------------- +
+ AES Chain : 0/57 passed, 57/57 skipped, 0/57 failed, 0/57 unsupported
+ AES Cipher Only : 0/65 passed, 65/65 skipped, 0/65 failed, 0/65 unsupported
+ AES Docsis : 0/24 passed, 24/24 skipped, 0/24 failed, 0/24 unsupported
+ 3DES Chain : 0/20 passed, 20/20 skipped, 0/20 failed, 0/20 unsupported
+ 3DES Cipher Only : 0/10 passed, 10/10 skipped, 0/10 failed, 0/10 unsupported
+ DES Cipher Only : 0/2 passed, 2/2 skipped, 0/2 failed, 0/2 unsupported
+ DES Docsis : 0/12 passed, 12/12 skipped, 0/12 failed, 0/12 unsupported
+ Auth Only : 0/36 passed, 36/36 skipped, 0/36 failed, 0/36 unsupported
+ Multi Session Unit Test Suite : 0/2 passed, 2/2 skipped, 0/2 failed, 0/2 unsupported
+ NULL Test Suite : 0/2 passed, 2/2 skipped, 0/2 failed, 0/2 unsupported
+ AES CCM Authenticated Test Suite : 0/18 passed, 18/18 skipped, 0/18 failed, 0/18 unsupported
+ AES GCM Authenticated Test Suite : 0/58 passed, 58/58 skipped, 0/58 failed, 0/58 unsupported
+ AES GMAC Authentication Test Suite : 0/12 passed, 12/12 skipped, 0/12 failed, 0/12 unsupported
+ SNOW 3G Test Suite : 0/47 passed, 47/47 skipped, 0/47 failed, 0/47 unsupported
+ Chacha20-Poly1305 Test Suite : 0/2 passed, 2/2 skipped, 0/2 failed, 0/2 unsupported
+ ZUC Test Suite : 15/27 passed, 9/27 skipped, 3/27 failed, 0/27 unsupported
+ HMAC_MD5 Authentication Test Suite : 0/4 passed, 4/4 skipped, 0/4 failed, 0/4 unsupported
+ Kasumi Test Suite : 0/36 passed, 36/36 skipped, 0/36 failed, 0/36 unsupported
+ ESN Test Suite : 0/2 passed, 2/2 skipped, 0/2 failed, 0/2 unsupported
+ Negative AES GCM Test Suite : 0/12 passed, 12/12 skipped, 0/12 failed, 0/12 unsupported
+ Negative AES GMAC Test Suite : 0/2 passed, 2/2 skipped, 0/2 failed, 0/2 unsupported
+ Mixed CIPHER + HASH algorithms Test Suite : 0/32 passed, 32/32 skipped, 0/32 failed, 0/32 unsupported
+ Negative HMAC SHA1 Unit Test Suite : 0/4 passed, 4/4 skipped, 0/4 failed, 0/4 unsupported
+ Crypto General Unit Test Suite : 5/6 passed, 1/6 skipped, 0/6 failed, 0/6 unsupported
+ IPsec Proto Unit Test Suite : 0/17 passed, 17/17 skipped, 0/17 failed, 0/17 unsupported
+ PDCP Proto Unit Test Suite : 0/1 passed, 1/1 skipped, 0/1 failed, 0/1 unsupported
+ Docsis Proto Unit Test Suite : 0/1 passed, 1/1 skipped, 0/1 failed, 0/1 unsupported
+ ------------------------------------------------------- +
+ Sub Testsuites Total : 27
+ Sub Testsuites Skipped : 25
+ Sub Testsuites Passed : 1
+ Sub Testsuites Failed : 1
+ ------------------------------------------------------- +
+ Tests Total : 511
+ Tests Skipped : 488
+ Tests Executed : 65
+ Tests Unsupported: 0
+ Tests Passed : 20
+ Tests Failed : 3
+ ------------------------------------------------------- +
Test Failed
RTE>>
Expected Result
Test is expected to Pass with no errors.
Stack Trace or Log
----------------------------------------------------------------fa5bf9345d4e0141ac40f154b1c1a4b99e8fe9a3 is the first bad commit
commit fa5bf9345d4e0141ac40f154b1c1a4b99e8fe9a3
Author: Vidya Sagar Velumuri <[email protected]>
Date: Wed Sep 15 06:11:03 2021 +0000
test/crypto: add ZUC cases with 256-bit keys
Add test cases for zuc 256 bit key.
Add test case for zuc 8 and 16 byte digest with 256 bit key mode
------------------------------------------------------------------------------
other tests failing:cryptodev_aesni_mb_autotestcryptodev_qat_autotestcryptodev_sw_zuc_autotest
------------------------------------------------------------------------------
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
Hello,
Quoted 15 lines · On Fri, Oct 15, 2021 at 10:02 AM <[email protected]> wrote:
https://bugs.dpdk.org/show_bug.cgi?id=828
Bug ID: 828 Summary: [dpdk-21.11] zuc unit test is failing Product: DPDK Version: 21.11 Hardware: All OS: Linux Status: UNCONFIRMED Severity: normal Priority: Normal Component: cryptodev Assignee: [email protected] Reporter: [email protected]
Quoted 1 line
Target Milestone: ---
I could not assign this bug to you in bz, can you have a look? Thanks.
Quoted 9 lines
Steps to reproduce
from dpdk path, the following steps should be followed:
x86_64-native-linuxapp-gcc/app/test/dpdk-test -l 1,2,3 --vdevcrypto_zuc0--socket-mem 2048,0 -n 4 --log-level=6 -a 0000:1a:01.0RTE>>
cryptodev_sw_zuc_autotest
[snip]
Quoted 32 lines
+ ------------------------------------------------------- +
+ Sub Testsuites Total : 27
+ Sub Testsuites Skipped : 25
+ Sub Testsuites Passed : 1
+ Sub Testsuites Failed : 1
+ ------------------------------------------------------- +
+ Tests Total : 511
+ Tests Skipped : 488
+ Tests Executed : 65
+ Tests Unsupported: 0
+ Tests Passed : 20
+ Tests Failed : 3
+ ------------------------------------------------------- + Test Failed
RTE>>----------------------------------------------------------------
fa5bf9345d4e0141ac40f154b1c1a4b99e8fe9a3is the first bad commitcommit
fa5bf9345d4e0141ac40f154b1c1a4b99e8fe9a3
Author: Vidya Sagar Velumuri <[email protected]>
Date: Wed Sep 15 06:11:03 2021 +0000test/crypto: add ZUC cases with 256-bit keys
Add test cases for zuc 256 bit key.
Add test case for zuc 8 and 16 byte digest with 256 bit key modeSigned-off-by Vidya Sagar Velumuri <[email protected]>Acked-by Akhil Goyal <[email protected]>
Signature · 1 line
David Marchand
Quoted 20 lines
Hello,
Quoted 15 lines · On Fri, Oct 15, 2021 at 10:02 AM <[email protected]> wrote:
https://bugs.dpdk.org/show_bug.cgi?id=828
Bug ID: 828 Summary: [dpdk-21.11] zuc unit test is failing Product: DPDK Version: 21.11 Hardware: All OS: Linux Status: UNCONFIRMED Severity: normal Priority: Normal Component: cryptodev Assignee: [email protected] Reporter: [email protected]Quoted 1 line
Target Milestone: ---
Quoted 3 lines
I could not assign this bug to you in bz, can you have a look? Thanks.
Can somebody from Intel look into this?
We don’t have intel-ipsec-mb library access, so cannot reproduce the issue. The test case is passing on cnxk hardware. Please let us know if the vectors added in the patch are not correct.
Quoted 50 lines
Quoted 10 lines
Steps to reproduce
from dpdk path, the following steps should be followed:
x86_64-native-linuxapp-gcc/app/test/dpdk-test -l 1,2,3 --vdevcrypto_zuc0--socket-mem 2048,0 -n 4 --log-level=6 -a 0000:1a:01.0RTE>>
cryptodev_sw_zuc_autotest[snip]
Quoted 24 lines
+ ------------------------------------------------------- +
+ Sub Testsuites Total : 27
+ Sub Testsuites Skipped : 25
+ Sub Testsuites Passed : 1
+ Sub Testsuites Failed : 1
+ ------------------------------------------------------- +
+ Tests Total : 511
+ Tests Skipped : 488
+ Tests Executed : 65
+ Tests Unsupported: 0
+ Tests Passed : 20
+ Tests Failed : 3
+ ------------------------------------------------------- + Test Failed
RTE>>----------------------------------------------------------------
fa5bf9345d4e0141ac40f154b1c1a4b99e8fe9a3is the first bad commitcommit
fa5bf9345d4e0141ac40f154b1c1a4b99e8fe9a3
Author: Vidya Sagar Velumuri <[email protected]>
Date: Wed Sep 15 06:11:03 2021 +0000Quoted 8 lines
test/crypto: add ZUC cases with 256-bit keys
Add test cases for zuc 256 bit key.
Add test case for zuc 8 and 16 byte digest with 256 bit key modeSigned-off-by Vidya Sagar Velumuri <[email protected]>Acked-by Akhil Goyal <[email protected]>--
David Marchand
Hi David,
The issue could be related to the test vectors newly added for ZUC. Will get back on that with the proper vectors.
Hi Akhil,
The IV in the new vectors are not completely as per spec. I am working on this. Will push a patch with proper IV soon.
Regards
Sagar
________________________________
From: Akhil Goyal <[email protected]>
Sent: 15 October 2021 23:34
To: David Marchand <[email protected]>; Vidya Sagar Velumuri <[email protected]>
Cc: dev <[email protected]>; Zhang, Roy Fan <[email protected]>; De Lara Guarch, Pablo <[email protected]>
Subject: RE: [EXT] Re: [dpdk-dev] [Bug 828] [dpdk-21.11] zuc unit test is failing
Quoted 20 lines
Hello,
Quoted 15 lines · On Fri, Oct 15, 2021 at 10:02 AM <[email protected]> wrote:
https://bugs.dpdk.org/show_bug.cgi?id=828
Bug ID: 828 Summary: [dpdk-21.11] zuc unit test is failing Product: DPDK Version: 21.11 Hardware: All OS: Linux Status: UNCONFIRMED Severity: normal Priority: Normal Component: cryptodev Assignee: [email protected] Reporter: [email protected]Quoted 1 line
Target Milestone: ---
Quoted 3 lines
I could not assign this bug to you in bz, can you have a look? Thanks.
Can somebody from Intel look into this?
We don’t have intel-ipsec-mb library access, so cannot reproduce the issue. The test case is passing on cnxk hardware. Please let us know if the vectors added in the patch are not correct.
Quoted 50 lines
Quoted 10 lines
Steps to reproduce
from dpdk path, the following steps should be followed:
x86_64-native-linuxapp-gcc/app/test/dpdk-test -l 1,2,3 --vdevcrypto_zuc0--socket-mem 2048,0 -n 4 --log-level=6 -a 0000:1a:01.0RTE>>
cryptodev_sw_zuc_autotest[snip]
Quoted 24 lines
+ ------------------------------------------------------- +
+ Sub Testsuites Total : 27
+ Sub Testsuites Skipped : 25
+ Sub Testsuites Passed : 1
+ Sub Testsuites Failed : 1
+ ------------------------------------------------------- +
+ Tests Total : 511
+ Tests Skipped : 488
+ Tests Executed : 65
+ Tests Unsupported: 0
+ Tests Passed : 20
+ Tests Failed : 3
+ ------------------------------------------------------- + Test Failed
RTE>>----------------------------------------------------------------
fa5bf9345d4e0141ac40f154b1c1a4b99e8fe9a3is the first bad commitcommit
fa5bf9345d4e0141ac40f154b1c1a4b99e8fe9a3
Author: Vidya Sagar Velumuri <[email protected]>
Date: Wed Sep 15 06:11:03 2021 +0000Quoted 8 lines
test/crypto: add ZUC cases with 256-bit keys
Add test cases for zuc 256 bit key.
Add test case for zuc 8 and 16 byte digest with 256 bit key modeSigned-off-by Vidya Sagar Velumuri <[email protected]>Acked-by Akhil Goyal <[email protected]>--
David Marchand
Hi Akhil,
Ciara managed to include Pablo's fix into the ipse-mb patches in V4.
https://patchwork.dpdk.org/project/dpdk/patch/[email protected]/
https://patchwork.dpdk.org/project/dpdk/patch/[email protected]/
Regards,
Fan
Quoted 89 lines
-----Original Message-----
From: Akhil Goyal <[email protected]>
Sent: Friday, October 15, 2021 7:05 PM
To: David Marchand <[email protected]>; Vidya Sagar Velumuri <[email protected]>
Cc: dev <[email protected]>; Zhang, Roy Fan <[email protected]>; De Lara Guarch, Pablo <[email protected]>
Subject: RE: [EXT] Re: [dpdk-dev] [Bug 828] [dpdk-21.11] zuc unit test is failingQuoted 20 lines
Hello,
Quoted 15 lines · On Fri, Oct 15, 2021 at 10:02 AM <[email protected]> wrote:
https://bugs.dpdk.org/show_bug.cgi?id=828
Bug ID: 828 Summary: [dpdk-21.11] zuc unit test is failing Product: DPDK Version: 21.11 Hardware: All OS: Linux Status: UNCONFIRMED Severity: normal Priority: Normal Component: cryptodev Assignee: [email protected] Reporter: [email protected]Quoted 1 line
Target Milestone: ---
Quoted 3 lines
I could not assign this bug to you in bz, can you have a look? Thanks.
Can somebody from Intel look into this?
We don’t have intel-ipsec-mb library access, so cannot reproduce the issue. The test case is passing on cnxk hardware. Please let us know if the vectors added in the patch are not correct.Quoted 6 lines
Quoted 6 lines
Steps to reproduce
from dpdk path, the following steps should be followed:
x86_64-native-linuxapp-gcc/app/test/dpdk-test -l 1,2,3 --vdev
crypto_zuc0Quoted 44 lines
Quoted 4 lines
--socket-mem 2048,0 -n 4 --log-level=6 -a 0000:1a:01.0
RTE>>
cryptodev_sw_zuc_autotest[snip]
Quoted 24 lines
+ ------------------------------------------------------- +
+ Sub Testsuites Total : 27
+ Sub Testsuites Skipped : 25
+ Sub Testsuites Passed : 1
+ Sub Testsuites Failed : 1
+ ------------------------------------------------------- +
+ Tests Total : 511
+ Tests Skipped : 488
+ Tests Executed : 65
+ Tests Unsupported: 0
+ Tests Passed : 20
+ Tests Failed : 3
+ ------------------------------------------------------- + Test Failed
RTE>>----------------------------------------------------------------
fa5bf9345d4e0141ac40f154b1c1a4b99e8fe9a3is the first bad commitcommit
fa5bf9345d4e0141ac40f154b1c1a4b99e8fe9a3
Author: Vidya Sagar Velumuri <[email protected]>
Date: Wed Sep 15 06:11:03 2021 +0000Quoted 8 lines
test/crypto: add ZUC cases with 256-bit keys
Add test cases for zuc 256 bit key.
Add test case for zuc 8 and 16 byte digest with 256 bit key modeSigned-off-by Vidya Sagar Velumuri <[email protected]>Acked-by Akhil Goyal <[email protected]>--
David Marchand
Quoted 21 lines · Akhil Goyal
Quoted 21 lines
Hello,
Quoted 16 lines · On Fri, Oct 15, 2021 at 10:02 AM <[email protected]> wrote:
https://bugs.dpdk.org/show_bug.cgi?id=828
Bug ID: 828 Summary: [dpdk-21.11] zuc unit test is failing Product: DPDK Version: 21.11 Hardware: All OS: Linux Status: UNCONFIRMED Severity: normal Priority: Normal Component: cryptodev Assignee: [email protected] Reporter: [email protected]Target Milestone: ---
Quoted 5 lines
Quoted 3 lines
I could not assign this bug to you in bz, can you have a look? Thanks.
Can somebody from Intel look into this?
We don’t have intel-ipsec-mb library access, so cannot reproduce the issue.
I see Intel reply on the issue so we are probably good.
However, on access to intel-ipsec-mb topic, sources are available on github. Compiling is relatively easy (this is what I did in the past when checking compilation) if your linux distributions does not package it, but some do:
https://pkgs.org/search/?q=intel-ipsec-mb
Signature · 1 line
David Marchand
Quoted 9 lines
Quoted 2 lines
Can somebody from Intel look into this?
We don’t have intel-ipsec-mb library access, so cannot reproduce the issue.I see Intel reply on the issue so we are probably good.
However, on access to intel-ipsec-mb topic, sources are available on github. Compiling is relatively easy (this is what I did in the past when checking compilation) if your linux distributions does not package it, but some do:
Sorry, I meant we don’t have setup to test with intel-ipsec-mb.
The issue is not about compilation. It is about a failing test case while running it.