@@ -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
@@ -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"
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 Signed-off-by: João Marcos Costa <joaomarcos.costa@bootlin.com> --- meta/recipes-support/gnutls/gnutls/run-ptest | 1 + meta/recipes-support/gnutls/gnutls_3.8.13.bb | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+)