Disable urandom_test while under SDE. With current SDE, it invokes extra open() syscalls. Also, these tests override OPENSSL_ia32cap, which seems fragile when run under SDE (in particular if ever running on a simulated CPU lacking a flag we enable there). Also disable WycheproofPrimality tests on SDE, as they yield no real value there and are rather expensive to run. Bug: 537679390 Change-Id: Ib510169a167774a4553c319ba043e8376a6a6964 Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/100228 Auto-Submit: Rudolf Polzer <rpolzer@google.com> Commit-Queue: Rudolf Polzer <rpolzer@google.com> Reviewed-by: David Benjamin <davidben@google.com>
diff --git a/util/all_tests.json b/util/all_tests.json index 24ed890..a4a122a 100644 --- a/util/all_tests.json +++ b/util/all_tests.json
@@ -4,35 +4,42 @@ "shard": true }, { - "cmd": ["crypto_test", "--gtest_also_run_disabled_tests", "--gtest_filter=BNTest.DISABLED_WycheproofPrimality"] + "cmd": ["crypto_test", "--gtest_also_run_disabled_tests", "--gtest_filter=BNTest.DISABLED_WycheproofPrimality"], + "skip_sde": true }, { - "cmd": ["urandom_test"] + "cmd": ["urandom_test"], + "skip_sde": true }, { "comment": "Without RDRAND", "cmd": ["urandom_test"], - "env": ["OPENSSL_ia32cap=~0x4000000000000000"] + "env": ["OPENSSL_ia32cap=~0x4000000000000000"], + "skip_sde": true }, { "comment": "Potentially with RDRAND, but not Intel", "cmd": ["urandom_test"], - "env": ["OPENSSL_ia32cap=~0x0000000040000000"] + "env": ["OPENSSL_ia32cap=~0x0000000040000000"], + "skip_sde": true }, { "comment": "Potentially with RDRAND, and forced to Intel", "cmd": ["urandom_test"], - "env": ["OPENSSL_ia32cap=|0x0000000040000000"] + "env": ["OPENSSL_ia32cap=|0x0000000040000000"], + "skip_sde": true }, { "comment": "No RDRAND and without WIPEONFORK", "cmd": ["urandom_test"], - "env": ["OPENSSL_ia32cap=~0x4000000000000000", "BORINGSSL_IGNORE_MADV_WIPEONFORK=1"] + "env": ["OPENSSL_ia32cap=~0x4000000000000000", "BORINGSSL_IGNORE_MADV_WIPEONFORK=1"], + "skip_sde": true }, { "comment": "Potentially with RDRAND, but not Intel, and no WIPEONFORK", "cmd": ["urandom_test"], - "env": ["OPENSSL_ia32cap=~0x0000000040000000", "BORINGSSL_IGNORE_MADV_WIPEONFORK=1"] + "env": ["OPENSSL_ia32cap=~0x0000000040000000", "BORINGSSL_IGNORE_MADV_WIPEONFORK=1"], + "skip_sde": true }, { "cmd": ["crypto_test", "--fork_unsafe_buffering", "--gtest_filter=RandTest.*:-RandTest.Fork"]