recipes-support/gnutls: disable slow tests for RISCV64
v4 cover recipes-support/gnutls: disable slow tests for RISCV64
Hello,
After Trevor's investigation, I was able to remove only the most time consuming test cases.
Changes since v3:
- replace the arch. specific patch by a variable to extend test_disallowlist in run-ptest
Changes since v2:
- now we only remove the tests that take longer than 60000ms, so I brought back mini-dtls-hello-verify-48, tls12-ffdhe, and x509sign-verify-*
Changes since v1 [1]:
- patched the tests instead of entirely disabling gnutls ptests
- updated the title accordingly
Best regards,
[1] https://lists.openembedded.org/g/openembedded-core/message/246201
João Marcos Costa (1):
recipes-support/gnutls: disable slow tests for RISCV64
meta/recipes-support/gnutls/gnutls/run-ptest | 1 + meta/recipes-support/gnutls/gnutls_3.8.13.bb | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+)
Signature · 1 line
2.55.0
PATCH v4 1/1 recipes-support/gnutls: disable slow tests for RISCV64
Timeouts have been observed (very frequently in the past weeks) in the autobuilder, and a bug [1] was filed at Bugzilla.
After some investigation [2] was performed by Trevor Gamblin, we now have a list of the most time consuming test cases:
- mini-record-2 (187880ms)
- record-retvals (145390ms)
- rng-op-key (63820ms)
- rng-op-random (63330ms)
- rng-op-nonce (63260ms)
- dtls-rehandshake-cert (61360ms)
- dtls-rehandshake-cert-2 (61230ms)
- dtls-rehandshake-anon (61030ms)
- mini-loss-time (60130ms)
- mini-dtls-hello-verify-48 (30050ms)
- tls12-ffdhe (27790ms)
- x509sign-verify-rsa (18460ms)
- x509sign-verify-ecdsa (16050ms)
Disable the tests that take > 60000ms to avoid so many timeouts in qemuriscv64-ptest runs.
[1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=16162
[2] https://bugzilla.yoctoproject.org/show_bug.cgi?id=16162#c19
--- meta/recipes-support/gnutls/gnutls/run-ptest | 1 + meta/recipes-support/gnutls/gnutls_3.8.13.bb | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+)
meta/recipes-support/gnutls/gnutls/run-ptest +1 -0
@@ -53,6 +53,7 @@ test_disallowlist="${test_disallowlist} system-override-sig" test_disallowlist="${test_disallowlist} system-override-sig-tls" test_disallowlist="${test_disallowlist} system-prio-file" test_disallowlist="${test_disallowlist} x509cert-tl" +test_disallowlist="${test_disallowlist} @EXTRA_TEST_DISALLOWLIST@" LOG=${PWD}/tests.log cd tests
meta/recipes-support/gnutls/gnutls_3.8.13.bb +18 -0
@@ -77,6 +77,24 @@ do_install:append:class-target() { fi } +EXTRA_TEST_DISALLOWLIST ?= "" + +EXTRA_TEST_DISALLOWLIST:riscv64 = "\ + dtls-rehandshake-anon \ + dtls-rehandshake-cert \ + dtls-rehandshake-cert-2 \ + mini-loss-time \ + mini-record-2 \ + record-retvals \ + rng-op-key \ + rng-op-nonce \ + rng-op-random \ +" + +do_install_ptest_base:append() { + sed -i 's:@EXTRA_TEST_DISALLOWLIST@:${EXTRA_TEST_DISALLOWLIST}:g' ${D}${PTEST_PATH}/run-ptest +} + PACKAGES =+ "${PN}-dane ${PN}-openssl ${PN}-xx ${PN}-fips" FILES:${PN}-dev += "${bindir}/gnutls-cli-debug"
Signature · 1 line
2.55.0