Test-Label: iol-testing Test-Status: WARNING http://dpdk.org/patch/108138 _apply patch failure_ Submitter: Volodymyr Fialko Date: Wednesday, February 23 2022 10:40:46 Applied on: CommitID:9b8cae4d991ee4fb0faf92d8994879d6776df181 Apply patch set 108138-108139 failed: Checking patch app/test/test_cryptodev.c... Hunk #1 succeeded at 9811 (offset -291 lines). error: while searching for: ut_setup_security, ut_teardown, test_ipsec_proto_pkt_esn_antireplay4096, &pkt_aes_128_gcm), TEST_CASES_END() /**< NULL terminate unit test array */ } }; error: patch failed: app/test/test_cryptodev.c:15158 Checking patch app/test/test_cryptodev_security_ipsec.c... error: while searching for: if (flags->dscp == TEST_IPSEC_COPY_DSCP_INNER_0 || flags->dscp == TEST_IPSEC_COPY_DSCP_INNER_1) td->ipsec_xform.options.copy_dscp = 1; } } error: patch failed: app/test/test_cryptodev_security_ipsec.c:443 Hunk #2 succeeded at 639 (offset -14 lines). Hunk #3 succeeded at 754 (offset -15 lines). Checking patch app/test/test_cryptodev_security_ipsec.h... error: while searching for: bool antireplay; enum df_flags df; enum dscp_flags dscp; }; struct crypto_param { error: patch failed: app/test/test_cryptodev_security_ipsec.h:87 Applying patch app/test/test_cryptodev.c with 1 reject... Hunk #1 applied cleanly. Rejected hunk #2. Applying patch app/test/test_cryptodev_security_ipsec.c with 1 reject... Rejected hunk #1. Hunk #2 applied cleanly. Hunk #3 applied cleanly. Applying patch app/test/test_cryptodev_security_ipsec.h with 1 reject... Rejected hunk #1. diff a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c (rejected hunks) @@ -15158,6 +15179,14 @@ static struct unit_test_suite ipsec_proto_testsuite = { ut_setup_security, ut_teardown, test_ipsec_proto_pkt_esn_antireplay4096, &pkt_aes_128_gcm), + TEST_CASE_NAMED_ST( + "Tunnel header IPv4 decrement inner TTL", + ut_setup_security, ut_teardown, + test_ipsec_proto_ipv4_ttl_decrement), + TEST_CASE_NAMED_ST( + "Tunnel header IPv6 decrement inner hop limit", + ut_setup_security, ut_teardown, + test_ipsec_proto_ipv6_hop_limit_decrement), TEST_CASES_END() /**< NULL terminate unit test array */ } }; diff a/app/test/test_cryptodev_security_ipsec.c b/app/test/test_cryptodev_security_ipsec.c (rejected hunks) @@ -443,6 +443,9 @@ test_ipsec_td_prepare(const struct crypto_param *param1, if (flags->dscp == TEST_IPSEC_COPY_DSCP_INNER_0 || flags->dscp == TEST_IPSEC_COPY_DSCP_INNER_1) td->ipsec_xform.options.copy_dscp = 1; + + if (flags->dec_ttl_or_hop_limit) + td->ipsec_xform.options.dec_ttl = 1; } } diff a/app/test/test_cryptodev_security_ipsec.h b/app/test/test_cryptodev_security_ipsec.h (rejected hunks) @@ -87,6 +87,7 @@ struct ipsec_test_flags { bool antireplay; enum df_flags df; enum dscp_flags dscp; + bool dec_ttl_or_hop_limit; }; struct crypto_param { Checking patch app/test/test_cryptodev.c... error: app/test/test_cryptodev.c: does not match index https://lab.dpdk.org/results/dashboard/patchsets/21218/ UNH-IOL DPDK Community Lab