[CTS]arm64-v8a CtsNetTestCases Failure 回环网路testChaCha测试fail

文章涉及的是CTS测试中针对IPSecAlgorithmImplTest和IpSecManagerTest的若干测试用例失败的情况,特别是与ChaCha20Poly1305加密算法相关的测试。高通的技术支持建议检查和修改内核配置,如开启CONFIG_CRYPTO_CHACHA20POLY1305等选项,但强调不会对Google提供的原生内核进行修改。如果是VTS测试,则无法修改内核配置。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

cts测试 链接IPV6外网插入测试专用卡 命令:

run cts -m CtsNetTestCases -t android.net.cts.IpSecAlgorithmImplTest#testChaCha20Poly1305

run cts -m CtsNetTestCases -t android.net.cts.IpSecManagerTest

arm64-v8a CtsNetTestCases

android.net.cts.IpSecAlgorithmImplTest#testChaCha20Poly1305 fail

android.net.cts.IpSecManagerTest#testChaCha20Poly1305Tcp4 fail

android.net.cts.IpSecManagerTest#testChaCha20Poly1305Tcp6 fail

android.net.cts.IpSecManagerTest#testChaCha20Poly1305Udp4 fail

android.net.cts.IpSecManagerTest#testChaCha20Poly1305Udp6 fail

android.net.cts.IpSecManagerTest#testChaCha20Poly1305Udp4UdpEncap fail

android.net.cts.IpSecManagerTest#testChaCha20Poly1305Tcp4UdpEncap fail

高通提供修改意见修改 case 号

  • 11/8/2022 6:05 PM

  • Comment:
    Dear Customer,
    --Summarys
    This is Zhizhi chen from China Modem software RIL/QMI/Android data/Telephony team,
    你这个是CTS测试问题还是VTS测试问题?
    这个 测试是需要打开内核一下配置的,你可以看看当前项目的kernel 配置,例如lahaina 基线修改如下。
    这个是Google 提供的原生内核,我们是不会去修改这个配置的。 你可以参考lahaina 的配置自行修改测试。

    Change-Id: I674e71730f507e682252b8b436a2957df5ec92e9
    Signed-off-by: Sauvik Saha <ssaha@codeaurora.org>
    ---
    arch/arm64/configs/vendor/lahaina_QGKI.config | 4 ++++
    1 file changed, 4 insertions(+)

    diff --git a/arch/arm64/configs/vendor/lahaina_QGKI.config b/arch/arm64/configs/vendor/lahaina_QGKI.config
    index 9596b76..6d97526 100644
    --- a/arch/arm64/configs/vendor/lahaina_QGKI.config
    +++ b/arch/arm64/configs/vendor/lahaina_QGKI.config
    @@ -270,3 +270,7 @@ CONFIG_PCIEAER=y
    CONFIG_PCIEASPM_POWER_SUPERSAVE=y
    CONFIG_TLB_CONF_HANDLER=y
    CONFIG_PRINTK_CALLER=y
    +CONFIG_CRYPTO_CHACHA20POLY1305=y
    +CONFIG_CRYPTO_XCBC=y
    +# CONFIG_CRYPTO_CHACHA20_NEON is not set
    +# CONFIG_CRYPTO_NHPOLY1305_NEON is not set
    --
    2.7.4

    就是打开kernel内核中的这几个配置项目, 或者你可以检查一下
    kernel 配置文件
    adb pull /proc/config.gz

    如果是VTS测试,这个patch则没有用,这个VTS用的Google 提供的镜像,修改不了内核配置的。

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值