The algorithm support detection script doesn't seem to work when using
the SoftHSM module. For some reason, dnssec-keygen returns 'crypto
failure'. Since the tests themselves pass, this is likely to be some
bug/definiency in the test scripts that check algorithm support that get
confused by SoftHSM.
Since this issue only happens for the system:gcc:softhsm2.6 job in the
9.16 branch, use a workaround to not introduce this new feature for
this particular problematic job.
<<: *build_job
system:gcc:softhsm2.6:
+ variables:
+ DISABLE_ALGORITHM_SUPPORT_CHECKING: 1
<<: *debian_bullseye_amd64_image
<<: *system_test_job
needs:
def main():
+ disable_checking = int(os.getenv("DISABLE_ALGORITHM_SUPPORT_CHECKING", "0"))
try:
algs = ALGORITHM_SETS[ALGORITHM_SET]
- algs = filter_supported(algs)
+ if not disable_checking:
+ algs = filter_supported(algs)
algs = select_random(algs)
algs_env = algorithms_env(algs)
except Exception: