|FAILURE| pw124564 [PATCH] crypto/openssl: support SM3/SM4 in openssl

dpdklab at iol.unh.edu dpdklab at iol.unh.edu
Tue Feb 28 12:47:33 CET 2023


Test-Label: iol-testing
Test-Status: FAILURE
http://dpdk.org/patch/124564

_Testing issues_

Submitter: Sunyang Wu <sunyang.wu at jaguarmicro.com>
Date: Tuesday, February 28 2023 08:54:10 
DPDK git baseline: Repo:dpdk
  Branch: master
  CommitID:7710b5d15a014872a3aaf646668dafa928ca8473

124564 --> testing fail

Test environment and result as below:

+---------------------+--------------------+----------------------+----------------+
|     Environment     | dpdk_meson_compile | dpdk_mingw64_compile | dpdk_unit_test |
+=====================+====================+======================+================+
| FreeBSD 13          | FAIL               | SKIPPED              | SKIPPED        |
+---------------------+--------------------+----------------------+----------------+
| Windows Server 2019 | PASS               | PASS                 | PASS           |
+---------------------+--------------------+----------------------+----------------+
| CentOS Stream 8     | FAIL               | SKIPPED              | FAIL           |
+---------------------+--------------------+----------------------+----------------+
| Debian Bullseye     | FAIL               | SKIPPED              | SKIPPED        |
+---------------------+--------------------+----------------------+----------------+
| Debian Buster       | FAIL               | SKIPPED              | SKIPPED        |
+---------------------+--------------------+----------------------+----------------+
| CentOS Stream 9     | FAIL               | SKIPPED              | SKIPPED        |
+---------------------+--------------------+----------------------+----------------+

==== 20 line log output for CentOS Stream 9 (dpdk_meson_compile): ====
../drivers/crypto/openssl/rte_openssl_pmd.c:246:33: error: nested extern declaration of 'EVP_sm4_cbc' [-Werror=nested-externs]
../drivers/crypto/openssl/rte_openssl_pmd.c:246:31: error: assignment to 'const EVP_CIPHER *' {aka 'const struct evp_cipher_st *'} from 'int' makes pointer from integer without a cast [-Werror=int-conversion]
246 |                         *algo = EVP_sm4_cbc();
|                               ^
../drivers/crypto/openssl/rte_openssl_pmd.c:249:33: error: implicit declaration of function 'EVP_sm4_ctr'; did you mean 'NID_sm4_ctr'? [-Werror=implicit-function-declaration]
249 |                         *algo = EVP_sm4_ctr();
|                                 ^~~~~~~~~~~
|                                 NID_sm4_ctr
../drivers/crypto/openssl/rte_openssl_pmd.c:249:33: error: nested extern declaration of 'EVP_sm4_ctr' [-Werror=nested-externs]
../drivers/crypto/openssl/rte_openssl_pmd.c:249:31: error: assignment to 'const EVP_CIPHER *' {aka 'const struct evp_cipher_st *'} from 'int' makes pointer from integer without a cast [-Werror=int-conversion]
249 |                         *algo = EVP_sm4_ctr();
|                               ^
../drivers/crypto/openssl/rte_openssl_pmd.c:229:25: error: this statement may fall through [-Werror=implicit-fallthrough=]
229 |                         switch (keylen) {
|                         ^~~~~~
../drivers/crypto/openssl/rte_openssl_pmd.c:242:17: note: here
242 |                 case RTE_CRYPTO_CIPHER_SM4_ECB:
|                 ^~~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
==== End log output ====

FreeBSD 13
	Kernel: 13.0
	Compiler: clang 11.0.1

Windows Server 2019
	Kernel: 10.0
	Compiler: clang 14.0 and gcc 8.1.0 (MinGW)

CentOS Stream 8
	Kernel: 4.18.0-240.10.1.el8_3.x86_64
	Compiler: gcc 8.4.1 20200928

Debian Bullseye
	Kernel: 5.4.0-122-generic
	Compiler: gcc 10.2.1-6

Debian Buster
	Kernel: 5.4.0-122-generic
	Compiler: gcc 8.3.0-6

CentOS Stream 9
	Kernel: 4.18.0-240.10.1.el8_3.x86_64
	Compiler: gcc 11.3.1 20220421

To view detailed results, visit:
https://lab.dpdk.org/results/dashboard/patchsets/25556/

UNH-IOL DPDK Community Lab

To manage your email subscriptions, visit: 
https://lab.dpdk.org/results/dashboard/preferences/subscriptions/


More information about the test-report mailing list