Open laokz opened 1 month ago
https://build.tarsier-infra.isrc.ac.cn/package/live_build_log/openEuler:24.03:SP1:Everything/python-dns/mainline_riscv64/riscv64
[ 243s] FAILED tests/test_async.py::AsyncTests::testQueryTLSWithSocket - dns.exceptio... [ 243s] FAILED tests/test_async.py::AsyncTests::testResolveName - dns.resolver.Lifeti... [ 243s] FAILED tests/test_resolver.py::LiveResolverTests::testResolveName - dns.resol... [ 243s] FAILED tests/test_resolver.py::SelectResolverTestCase::testResolveName - dns.... [ 243s] FAILED tests/test_resolver.py::PollResolverTestCase::testResolveName - dns.re... [ 243s] FAILED tests/test_resolver_override.py::OverrideSystemResolverTestCase::test_basic_getaddrinfo [ 243s] FAILED tests/test_resolver_override.py::OverrideSystemResolverTestCase::test_getaddrinfo_nxdomain [ 243s] FAILED tests/test_resolver_override.py::OverrideSystemResolverTestCase::test_getaddrinfo_service [ 243s] FAILED tests/test_resolver_override.py::OverrideSystemResolverTestCase::test_gethostbyaddr
怀疑与8.8.8.8:853访问不稳有关
更可能的原因:测试初始化阶段,要import ssl并调用create_context(大概名字)方法,成功后设置进行TLS测试的标志;x86/arm多数情况下会调用失败(超时?)从而不设置这个标志,也即skip了测试。
总体感到是测试程度微小的超时设定导致了脆弱性
https://build.tarsier-infra.isrc.ac.cn/package/live_build_log/openEuler:24.03:SP1:Everything/python-dns/mainline_riscv64/riscv64