* [dpdk-dev] [Bug 828] [dpdk-21.11] zuc unit test is failing
@ 2021-10-15 8:02 bugzilla
2021-10-15 8:14 ` David Marchand
0 siblings, 1 reply; 7+ messages in thread
From: bugzilla @ 2021-10-15 8:02 UTC (permalink / raw)
To: dev
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: dev@dpdk.org
Reporter: varalakshmi.s@intel.com
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 <vvelumuri@marvell.com>
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
Signed-off-by: Vidya Sagar Velumuri <vvelumuri@marvell.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
------------------------------------------------------------------------------
other tests failing:
cryptodev_aesni_mb_autotest
cryptodev_qat_autotest
cryptodev_sw_zuc_autotest
------------------------------------------------------------------------------
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [dpdk-dev] [Bug 828] [dpdk-21.11] zuc unit test is failing
2021-10-15 8:02 [dpdk-dev] [Bug 828] [dpdk-21.11] zuc unit test is failing bugzilla
@ 2021-10-15 8:14 ` David Marchand
2021-10-15 18:04 ` [dpdk-dev] [EXT] " Akhil Goyal
0 siblings, 1 reply; 7+ messages in thread
From: David Marchand @ 2021-10-15 8:14 UTC (permalink / raw)
To: Akhil Goyal, vvelumuri; +Cc: dev
Hello,
On Fri, Oct 15, 2021 at 10:02 AM <bugzilla@dpdk.org> 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: dev@dpdk.org
> Reporter: varalakshmi.s@intel.com
> Target Milestone: ---
I could not assign this bug to you in bz, can you have a look?
Thanks.
>
> 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
>
[snip]
> + ------------------------------------------------------- +
> + 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>>
>
> ----------------------------------------------------------------
> fa5bf9345d4e0141ac40f154b1c1a4b99e8fe9a3 is the first bad commit
>
> commit fa5bf9345d4e0141ac40f154b1c1a4b99e8fe9a3
> Author: Vidya Sagar Velumuri <vvelumuri@marvell.com>
> 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
>
> Signed-off-by: Vidya Sagar Velumuri <vvelumuri@marvell.com>
> Acked-by: Akhil Goyal <gakhil@marvell.com>
--
David Marchand
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [dpdk-dev] [EXT] Re: [Bug 828] [dpdk-21.11] zuc unit test is failing
2021-10-15 8:14 ` David Marchand
@ 2021-10-15 18:04 ` Akhil Goyal
2021-10-16 5:04 ` Vidya Sagar Velumuri
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Akhil Goyal @ 2021-10-15 18:04 UTC (permalink / raw)
To: David Marchand, Vidya Sagar Velumuri
Cc: dev, Zhang, Roy Fan, De Lara Guarch, Pablo
> Hello,
>
> On Fri, Oct 15, 2021 at 10:02 AM <bugzilla@dpdk.org> 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: dev@dpdk.org
> > Reporter: varalakshmi.s@intel.com
> > Target Milestone: ---
>
> 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.
>
> >
> > 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
> >
>
> [snip]
>
> > + ------------------------------------------------------- +
> > + 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>>
> >
>
> > ----------------------------------------------------------------
> > fa5bf9345d4e0141ac40f154b1c1a4b99e8fe9a3 is the first bad commit
> >
> > commit fa5bf9345d4e0141ac40f154b1c1a4b99e8fe9a3
> > Author: Vidya Sagar Velumuri <vvelumuri@marvell.com>
> > 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
> >
> > Signed-off-by: Vidya Sagar Velumuri <vvelumuri@marvell.com>
> > Acked-by: Akhil Goyal <gakhil@marvell.com>
>
>
>
> --
> David Marchand
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [dpdk-dev] [EXT] Re: [Bug 828] [dpdk-21.11] zuc unit test is failing
2021-10-15 18:04 ` [dpdk-dev] [EXT] " Akhil Goyal
@ 2021-10-16 5:04 ` Vidya Sagar Velumuri
2021-10-16 13:10 ` Zhang, Roy Fan
2021-10-18 7:46 ` David Marchand
2 siblings, 0 replies; 7+ messages in thread
From: Vidya Sagar Velumuri @ 2021-10-16 5:04 UTC (permalink / raw)
To: Akhil Goyal, David Marchand; +Cc: dev, Zhang, Roy Fan, De Lara Guarch, Pablo
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 <gakhil@marvell.com>
Sent: 15 October 2021 23:34
To: David Marchand <david.marchand@redhat.com>; Vidya Sagar Velumuri <vvelumuri@marvell.com>
Cc: dev <dev@dpdk.org>; Zhang, Roy Fan <roy.fan.zhang@intel.com>; De Lara Guarch, Pablo <pablo.de.lara.guarch@intel.com>
Subject: RE: [EXT] Re: [dpdk-dev] [Bug 828] [dpdk-21.11] zuc unit test is failing
> Hello,
>
> On Fri, Oct 15, 2021 at 10:02 AM <bugzilla@dpdk.org> 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: dev@dpdk.org
> > Reporter: varalakshmi.s@intel.com
> > Target Milestone: ---
>
> 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.
>
> >
> > 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
> >
>
> [snip]
>
> > + ------------------------------------------------------- +
> > + 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>>
> >
>
> > ----------------------------------------------------------------
> > fa5bf9345d4e0141ac40f154b1c1a4b99e8fe9a3 is the first bad commit
> >
> > commit fa5bf9345d4e0141ac40f154b1c1a4b99e8fe9a3
> > Author: Vidya Sagar Velumuri <vvelumuri@marvell.com>
> > 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
> >
> > Signed-off-by: Vidya Sagar Velumuri <vvelumuri@marvell.com>
> > Acked-by: Akhil Goyal <gakhil@marvell.com>
>
>
>
> --
> David Marchand
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [dpdk-dev] [EXT] Re: [Bug 828] [dpdk-21.11] zuc unit test is failing
2021-10-15 18:04 ` [dpdk-dev] [EXT] " Akhil Goyal
2021-10-16 5:04 ` Vidya Sagar Velumuri
@ 2021-10-16 13:10 ` Zhang, Roy Fan
2021-10-18 7:46 ` David Marchand
2 siblings, 0 replies; 7+ messages in thread
From: Zhang, Roy Fan @ 2021-10-16 13:10 UTC (permalink / raw)
To: Akhil Goyal, David Marchand, Vidya Sagar Velumuri
Cc: dev, De Lara Guarch, Pablo
Hi Akhil,
Ciara managed to include Pablo's fix into the ipse-mb patches in V4.
https://patchwork.dpdk.org/project/dpdk/patch/20211015143957.842499-6-ciara.power@intel.com/
https://patchwork.dpdk.org/project/dpdk/patch/20211015143957.842499-7-ciara.power@intel.com/
Regards,
Fan
> -----Original Message-----
> From: Akhil Goyal <gakhil@marvell.com>
> Sent: Friday, October 15, 2021 7:05 PM
> To: David Marchand <david.marchand@redhat.com>; Vidya Sagar Velumuri
> <vvelumuri@marvell.com>
> Cc: dev <dev@dpdk.org>; Zhang, Roy Fan <roy.fan.zhang@intel.com>; De
> Lara Guarch, Pablo <pablo.de.lara.guarch@intel.com>
> Subject: RE: [EXT] Re: [dpdk-dev] [Bug 828] [dpdk-21.11] zuc unit test is
> failing
>
> > Hello,
> >
> > On Fri, Oct 15, 2021 at 10:02 AM <bugzilla@dpdk.org> 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: dev@dpdk.org
> > > Reporter: varalakshmi.s@intel.com
> > > Target Milestone: ---
> >
> > 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.
>
> >
> > >
> > > 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
> > >
> >
> > [snip]
> >
> > > + ------------------------------------------------------- +
> > > + 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>>
> > >
> >
> > > ----------------------------------------------------------------
> > > fa5bf9345d4e0141ac40f154b1c1a4b99e8fe9a3 is the first bad commit
> > >
> > > commit fa5bf9345d4e0141ac40f154b1c1a4b99e8fe9a3
> > > Author: Vidya Sagar Velumuri <vvelumuri@marvell.com>
> > > 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
> > >
> > > Signed-off-by: Vidya Sagar Velumuri <vvelumuri@marvell.com>
> > > Acked-by: Akhil Goyal <gakhil@marvell.com>
> >
> >
> >
> > --
> > David Marchand
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [dpdk-dev] [EXT] Re: [Bug 828] [dpdk-21.11] zuc unit test is failing
2021-10-15 18:04 ` [dpdk-dev] [EXT] " Akhil Goyal
2021-10-16 5:04 ` Vidya Sagar Velumuri
2021-10-16 13:10 ` Zhang, Roy Fan
@ 2021-10-18 7:46 ` David Marchand
2021-10-18 21:42 ` Akhil Goyal
2 siblings, 1 reply; 7+ messages in thread
From: David Marchand @ 2021-10-18 7:46 UTC (permalink / raw)
To: Akhil Goyal
Cc: Vidya Sagar Velumuri, dev, Zhang, Roy Fan, De Lara Guarch, Pablo
On Fri, Oct 15, 2021 at 8:05 PM Akhil Goyal <gakhil@marvell.com> wrote:
>
> > Hello,
> >
> > On Fri, Oct 15, 2021 at 10:02 AM <bugzilla@dpdk.org> 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: dev@dpdk.org
> > > Reporter: varalakshmi.s@intel.com
> > > Target Milestone: ---
> >
> > 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
--
David Marchand
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [dpdk-dev] [EXT] Re: [Bug 828] [dpdk-21.11] zuc unit test is failing
2021-10-18 7:46 ` David Marchand
@ 2021-10-18 21:42 ` Akhil Goyal
0 siblings, 0 replies; 7+ messages in thread
From: Akhil Goyal @ 2021-10-18 21:42 UTC (permalink / raw)
To: David Marchand
Cc: Vidya Sagar Velumuri, dev, Zhang, Roy Fan, De Lara Guarch, Pablo
> > 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.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2021-10-18 21:42 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-15 8:02 [dpdk-dev] [Bug 828] [dpdk-21.11] zuc unit test is failing bugzilla
2021-10-15 8:14 ` David Marchand
2021-10-15 18:04 ` [dpdk-dev] [EXT] " Akhil Goyal
2021-10-16 5:04 ` Vidya Sagar Velumuri
2021-10-16 13:10 ` Zhang, Roy Fan
2021-10-18 7:46 ` David Marchand
2021-10-18 21:42 ` Akhil Goyal
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).