diff --git a/build/.vsts-ci.yml b/build/.vsts-ci.yml index 95e277053..bff0a1428 100644 --- a/build/.vsts-ci.yml +++ b/build/.vsts-ci.yml @@ -581,7 +581,7 @@ jobs: gcc --version openssl version curl --version - sudo -E env PATH="$PATH" ./build_all/linux/build.sh --run-unittests --run-e2e-tests --provisioning --use-hsmsymmkey --use-hsmsas --use-hsmx509 --use-edge-modules --use-ipv6-dualstack --config Debug + sudo -E env PATH="$PATH" ./build_all/linux/build.sh --run-unittests --run-e2e-tests --no_uploadtoblob --provisioning --use-hsmsymmkey --use-hsmsas --use-hsmx509 --use-edge-modules --use-ipv6-dualstack --config Debug displayName: 'Build' - script: | export OPENSSL_ia32cap=0x00000000 diff --git a/build_all/windows/build.cmd b/build_all/windows/build.cmd index a4cabd4fb..5dfd1318e 100644 --- a/build_all/windows/build.cmd +++ b/build_all/windows/build.cmd @@ -41,6 +41,7 @@ set make=yes set build_traceabilitytool=0 set prov_auth=OFF set use_edge_modules=OFF +set no_uploadtoblob=OFF :args-loop if "%1" equ "" goto args-done @@ -57,6 +58,7 @@ if "%1" equ "--no-make" goto arg-no-make if "%1" equ "--build-traceabilitytool" goto arg-build-traceabilitytool if "%1" equ "--provisioning" goto arg-provisioning if "%1" equ "--use-edge-modules" goto arg-edge-modules +if "%1" equ "--no-uploadtoblob" goto arg-uploadtoblob call :usage && exit /b 1 :arg-build-clean @@ -119,6 +121,10 @@ goto args-continue set use_edge_modules=ON goto args-continue +:arg-uploadtoblob +set no_uploadtoblob=ON +goto args-continue + :args-continue shift goto args-loop @@ -154,15 +160,15 @@ cmake --version if %build-platform% == x64 ( echo ***Running CMAKE for Win64*** - cmake -LAH -Drun_longhaul_tests:BOOL=%CMAKE_run_longhaul_tests% -Drun_e2e_tests:BOOL=%CMAKE_run_e2e_tests% -Drun_sfc_tests:BOOL=%CMAKE_run_sfc_tests% -Duse_cppunittest:BOOL=OFF -Drun_unittests:BOOL=%CMAKE_run_unittests% %build-root% -Duse_prov_client:BOOL=%prov_auth% -G %VSVERSION% -A x64 -Duse_edge_modules=%use_edge_modules% -DCMAKE_BUILD_TYPE=%build-config% + cmake -LAH -Drun_longhaul_tests:BOOL=%CMAKE_run_longhaul_tests% -Drun_e2e_tests:BOOL=%CMAKE_run_e2e_tests% -Ddont_use_uploadtoblob:BOOL=%no_uploadtoblob% -Drun_sfc_tests:BOOL=%CMAKE_run_sfc_tests% -Duse_cppunittest:BOOL=OFF -Drun_unittests:BOOL=%CMAKE_run_unittests% %build-root% -Duse_prov_client:BOOL=%prov_auth% -G %VSVERSION% -A x64 -Duse_edge_modules=%use_edge_modules% -DCMAKE_BUILD_TYPE=%build-config% if not !ERRORLEVEL!==0 exit /b !ERRORLEVEL! ) else if %build-platform% == arm ( echo ***Running CMAKE for ARM*** - cmake -LAH -Drun_longhaul_tests:BOOL=%CMAKE_run_longhaul_tests% -Drun_e2e_tests:BOOL=%CMAKE_run_e2e_tests% -Drun_sfc_tests:BOOL=%CMAKE_run_sfc_tests% -Drun_unittests:BOOL=%CMAKE_run_unittests% %build-root% -Duse_prov_client:BOOL=%prov_auth% -G %VSVERSION% -A ARM -Duse_edge_modules=%use_edge_modules% -DCMAKE_BUILD_TYPE=%build-config% + cmake -LAH -Drun_longhaul_tests:BOOL=%CMAKE_run_longhaul_tests% -Drun_e2e_tests:BOOL=%CMAKE_run_e2e_tests% -Ddont_use_uploadtoblob:BOOL=%no_uploadtoblob% -Drun_sfc_tests:BOOL=%CMAKE_run_sfc_tests% -Drun_unittests:BOOL=%CMAKE_run_unittests% %build-root% -Duse_prov_client:BOOL=%prov_auth% -G %VSVERSION% -A ARM -Duse_edge_modules=%use_edge_modules% -DCMAKE_BUILD_TYPE=%build-config% if not !ERRORLEVEL!==0 exit /b !ERRORLEVEL! ) else ( echo ***Running CMAKE for Win32*** - cmake -LAH -Drun_longhaul_tests:BOOL=%CMAKE_run_longhaul_tests% -Drun_e2e_tests:BOOL=%CMAKE_run_e2e_tests% -Drun_sfc_tests:BOOL=%CMAKE_run_sfc_tests% -Drun_unittests:BOOL=%CMAKE_run_unittests% %build-root% -Duse_prov_client:BOOL=%prov_auth% -G %VSVERSION% -A Win32 -Duse_edge_modules=%use_edge_modules% -DCMAKE_BUILD_TYPE=%build-config% + cmake -LAH -Drun_longhaul_tests:BOOL=%CMAKE_run_longhaul_tests% -Drun_e2e_tests:BOOL=%CMAKE_run_e2e_tests% -Ddont_use_uploadtoblob:BOOL=%no_uploadtoblob% -Drun_sfc_tests:BOOL=%CMAKE_run_sfc_tests% -Drun_unittests:BOOL=%CMAKE_run_unittests% %build-root% -Duse_prov_client:BOOL=%prov_auth% -G %VSVERSION% -A Win32 -Duse_edge_modules=%use_edge_modules% -DCMAKE_BUILD_TYPE=%build-config% if not !ERRORLEVEL!==0 exit /b !ERRORLEVEL! ) diff --git a/iothub_client/tests/global_valgrind_suppression.supp b/iothub_client/tests/global_valgrind_suppression.supp index 0d74dc381..bdb6c302b 100644 --- a/iothub_client/tests/global_valgrind_suppression.supp +++ b/iothub_client/tests/global_valgrind_suppression.supp @@ -718,3 +718,932 @@ fun:exit fun:(below main) } +{ + + Memcheck:Leak + match-leak-kinds: definite + fun:malloc + fun:CRYPTO_zalloc + fun:ENGINE_new + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:__pthread_once_slow + fun:CRYPTO_THREAD_run_once + fun:OPENSSL_init_crypto + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:__pthread_once_slow + fun:CRYPTO_THREAD_run_once + fun:OPENSSL_init_crypto + fun:OPENSSL_init_ssl + fun:tlsio_openssl_init + fun:platform_init + fun:IoTHub_Init + fun:TestSuiteInitialize + fun:RunTests + fun:main +} +{ + + Memcheck:Leak + match-leak-kinds: definite + fun:malloc + fun:CRYPTO_zalloc + fun:EC_KEY_METHOD_new + obj:* + obj:* + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:ENGINE_ctrl_cmd_string + fun:ENGINE_by_id + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:CONF_modules_load + fun:CONF_modules_load_file + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:__pthread_once_slow + fun:CRYPTO_THREAD_run_once + fun:OPENSSL_init_crypto + fun:OPENSSL_init_ssl + fun:tlsio_openssl_init + fun:platform_init + fun:IoTHub_Init + fun:device_method_e2e_init + fun:TestSuiteInitialize + fun:RunTests + fun:main +} +{ + + Memcheck:Leak + match-leak-kinds: definite + fun:malloc + fun:RSA_meth_dup + obj:* + obj:* + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:ENGINE_ctrl_cmd_string + fun:ENGINE_by_id + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:CONF_modules_load + fun:CONF_modules_load_file + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:__pthread_once_slow + fun:CRYPTO_THREAD_run_once + fun:OPENSSL_init_crypto + fun:OPENSSL_init_ssl + fun:tlsio_openssl_init + fun:platform_init + fun:IoTHub_Init + fun:device_method_e2e_init + fun:TestSuiteInitialize + fun:RunTests + fun:main +} +{ + + Memcheck:Leak + match-leak-kinds: definite + fun:malloc + fun:CRYPTO_zalloc + fun:ENGINE_new + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:__pthread_once_slow + fun:CRYPTO_THREAD_run_once + fun:OPENSSL_init_crypto + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:__pthread_once_slow + fun:CRYPTO_THREAD_run_once + fun:OPENSSL_init_crypto + fun:OPENSSL_init_ssl + fun:tlsio_openssl_init + fun:platform_init + fun:TestSuiteInitialize + fun:RunTests + fun:main +} +{ + + Memcheck:Leak + match-leak-kinds: definite + fun:malloc + fun:CRYPTO_zalloc + fun:EC_KEY_METHOD_new + obj:* + obj:* + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:ENGINE_ctrl_cmd_string + fun:ENGINE_by_id + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:CONF_modules_load + fun:CONF_modules_load_file + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:__pthread_once_slow + fun:CRYPTO_THREAD_run_once + fun:OPENSSL_init_crypto + fun:OPENSSL_init_ssl + fun:tlsio_openssl_init + fun:platform_init + fun:IoTHub_Init + fun:e2e_init + fun:TestSuiteInitialize + fun:RunTests + fun:main +} +{ + + Memcheck:Leak + match-leak-kinds: definite + fun:malloc + fun:RSA_meth_dup + obj:* + obj:* + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:ENGINE_ctrl_cmd_string + fun:ENGINE_by_id + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:CONF_modules_load + fun:CONF_modules_load_file + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:__pthread_once_slow + fun:CRYPTO_THREAD_run_once + fun:OPENSSL_init_crypto + fun:OPENSSL_init_ssl + fun:tlsio_openssl_init + fun:platform_init + fun:IoTHub_Init + fun:e2e_init + fun:TestSuiteInitialize + fun:RunTests + fun:main +} +{ + + Memcheck:Leak + match-leak-kinds: definite + fun:malloc + fun:CRYPTO_zalloc + fun:EC_KEY_METHOD_new + obj:* + obj:* + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:ENGINE_ctrl_cmd_string + fun:ENGINE_by_id + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:CONF_modules_load + fun:CONF_modules_load_file + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:__pthread_once_slow + fun:CRYPTO_THREAD_run_once + fun:OPENSSL_init_crypto + fun:OPENSSL_init_ssl + fun:tlsio_openssl_init + fun:platform_init + fun:IoTHub_Init + fun:dt_e2e_init + fun:TestSuiteInitialize + fun:RunTests + fun:main +} +{ + + Memcheck:Leak + match-leak-kinds: definite + fun:malloc + fun:RSA_meth_dup + obj:* + obj:* + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:ENGINE_ctrl_cmd_string + fun:ENGINE_by_id + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:CONF_modules_load + fun:CONF_modules_load_file + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:__pthread_once_slow + fun:CRYPTO_THREAD_run_once + fun:OPENSSL_init_crypto + fun:OPENSSL_init_ssl + fun:tlsio_openssl_init + fun:platform_init + fun:IoTHub_Init + fun:dt_e2e_init + fun:TestSuiteInitialize + fun:RunTests + fun:main +} +{ + + Memcheck:Leak + match-leak-kinds: definite + fun:malloc + fun:CRYPTO_zalloc + fun:EC_KEY_METHOD_new + obj:* + obj:* + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:ENGINE_ctrl_cmd_string + fun:ENGINE_by_id + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:CONF_modules_load + fun:CONF_modules_load_file + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:__pthread_once_slow + fun:CRYPTO_THREAD_run_once + fun:OPENSSL_init_crypto + fun:OPENSSL_init_ssl + fun:tlsio_openssl_init + fun:platform_init + fun:IoTHub_Init + fun:dt_e2e_init + fun:TestSuiteInitialize + fun:RunTests + fun:main +} +{ + + Memcheck:Leak + match-leak-kinds: definite + fun:malloc + fun:RSA_meth_dup + obj:* + obj:* + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:ENGINE_ctrl_cmd_string + fun:ENGINE_by_id + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:CONF_modules_load + fun:CONF_modules_load_file + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:__pthread_once_slow + fun:CRYPTO_THREAD_run_once + fun:OPENSSL_init_crypto + fun:OPENSSL_init_ssl + fun:tlsio_openssl_init + fun:platform_init + fun:IoTHub_Init + fun:dt_e2e_init + fun:TestSuiteInitialize + fun:RunTests + fun:main +} +{ + + Memcheck:Leak + match-leak-kinds: definite + fun:malloc + fun:CRYPTO_zalloc + fun:EC_KEY_METHOD_new + obj:* + obj:* + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:ENGINE_ctrl_cmd_string + fun:ENGINE_by_id + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:CONF_modules_load + fun:CONF_modules_load_file + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:__pthread_once_slow + fun:CRYPTO_THREAD_run_once + fun:OPENSSL_init_crypto + fun:OPENSSL_init_ssl + fun:tlsio_openssl_init + fun:platform_init + fun:IoTHub_Init + fun:device_method_e2e_init + fun:TestSuiteInitialize + fun:RunTests + fun:main +} +{ + + Memcheck:Leak + match-leak-kinds: definite + fun:malloc + fun:RSA_meth_dup + obj:* + obj:* + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:ENGINE_ctrl_cmd_string + fun:ENGINE_by_id + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:CONF_modules_load + fun:CONF_modules_load_file + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:__pthread_once_slow + fun:CRYPTO_THREAD_run_once + fun:OPENSSL_init_crypto + fun:OPENSSL_init_ssl + fun:tlsio_openssl_init + fun:platform_init + fun:IoTHub_Init + fun:device_method_e2e_init + fun:TestSuiteInitialize + fun:RunTests + fun:main +} +{ + + Memcheck:Leak + match-leak-kinds: definite + fun:malloc + fun:CRYPTO_zalloc + fun:EC_KEY_METHOD_new + obj:* + obj:* + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:ENGINE_ctrl_cmd_string + fun:ENGINE_by_id + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:CONF_modules_load + fun:CONF_modules_load_file + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:__pthread_once_slow + fun:CRYPTO_THREAD_run_once + fun:OPENSSL_init_crypto + fun:OPENSSL_init_ssl + fun:tlsio_openssl_init + fun:platform_init + fun:TestSuiteInitialize + fun:RunTests + fun:main +} +{ + + Memcheck:Leak + match-leak-kinds: definite + fun:malloc + fun:CRYPTO_zalloc + fun:EC_KEY_METHOD_new + obj:* + obj:* + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:ENGINE_ctrl_cmd_string + fun:ENGINE_by_id + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:CONF_modules_load + fun:CONF_modules_load_file + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:__pthread_once_slow + fun:CRYPTO_THREAD_run_once + fun:OPENSSL_init_crypto + fun:OPENSSL_init_ssl + fun:tlsio_openssl_init + fun:platform_init + fun:IoTHub_Init + fun:e2e_init + fun:TestSuiteInitialize + fun:RunTests + fun:main +} +{ + + Memcheck:Leak + match-leak-kinds: definite + fun:malloc + fun:RSA_meth_dup + obj:* + obj:* + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:ENGINE_ctrl_cmd_string + fun:ENGINE_by_id + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:CONF_modules_load + fun:CONF_modules_load_file + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:__pthread_once_slow + fun:CRYPTO_THREAD_run_once + fun:OPENSSL_init_crypto + fun:OPENSSL_init_ssl + fun:tlsio_openssl_init + fun:platform_init + fun:IoTHub_Init + fun:e2e_init + fun:TestSuiteInitialize + fun:RunTests + fun:main +} +{ + + Memcheck:Leak + match-leak-kinds: definite + fun:malloc + fun:CRYPTO_zalloc + fun:EC_KEY_METHOD_new + obj:* + obj:* + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:ENGINE_ctrl_cmd_string + fun:ENGINE_by_id + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:CONF_modules_load + fun:CONF_modules_load_file + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:__pthread_once_slow + fun:CRYPTO_THREAD_run_once + fun:OPENSSL_init_crypto + fun:OPENSSL_init_ssl + fun:tlsio_openssl_init + fun:platform_init + fun:IoTHub_Init + fun:e2e_init + fun:TestSuiteInitialize + fun:RunTests + fun:main +} +{ + + Memcheck:Leak + match-leak-kinds: definite + fun:malloc + fun:RSA_meth_dup + obj:* + obj:* + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:ENGINE_ctrl_cmd_string + fun:ENGINE_by_id + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:CONF_modules_load + fun:CONF_modules_load_file + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:__pthread_once_slow + fun:CRYPTO_THREAD_run_once + fun:OPENSSL_init_crypto + fun:OPENSSL_init_ssl + fun:tlsio_openssl_init + fun:platform_init + fun:IoTHub_Init + fun:e2e_init + fun:TestSuiteInitialize + fun:RunTests + fun:main +} +{ + + Memcheck:Leak + match-leak-kinds: definite + fun:malloc + fun:CRYPTO_zalloc + fun:EC_KEY_METHOD_new + obj:* + obj:* + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:ENGINE_ctrl_cmd_string + fun:ENGINE_by_id + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:CONF_modules_load + fun:CONF_modules_load_file + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:__pthread_once_slow + fun:CRYPTO_THREAD_run_once + fun:OPENSSL_init_crypto + fun:OPENSSL_init_ssl + fun:tlsio_openssl_init + fun:platform_init + fun:IoTHub_Init + fun:TestSuiteInitialize + fun:RunTests + fun:main +} +{ + + Memcheck:Leak + match-leak-kinds: definite + fun:malloc + fun:RSA_meth_dup + obj:* + obj:* + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:ENGINE_ctrl_cmd_string + fun:ENGINE_by_id + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:CONF_modules_load + fun:CONF_modules_load_file + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:__pthread_once_slow + fun:CRYPTO_THREAD_run_once + fun:OPENSSL_init_crypto + fun:OPENSSL_init_ssl + fun:tlsio_openssl_init + fun:platform_init + fun:IoTHub_Init + fun:TestSuiteInitialize + fun:RunTests + fun:main +} +{ + + Memcheck:Leak + match-leak-kinds: definite + fun:malloc + fun:CRYPTO_zalloc + fun:EC_KEY_METHOD_new + obj:* + obj:* + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:ENGINE_ctrl_cmd_string + fun:ENGINE_by_id + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:CONF_modules_load + fun:CONF_modules_load_file + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:__pthread_once_slow + fun:CRYPTO_THREAD_run_once + fun:OPENSSL_init_crypto + fun:OPENSSL_init_ssl + fun:tlsio_openssl_init + fun:platform_init + fun:IoTHub_Init + fun:dt_e2e_init + fun:TestSuiteInitialize + fun:RunTests + fun:main +} +{ + + Memcheck:Leak + match-leak-kinds: definite + fun:malloc + fun:RSA_meth_dup + obj:* + obj:* + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:ENGINE_ctrl_cmd_string + fun:ENGINE_by_id + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:CONF_modules_load + fun:CONF_modules_load_file + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:__pthread_once_slow + fun:CRYPTO_THREAD_run_once + fun:OPENSSL_init_crypto + fun:OPENSSL_init_ssl + fun:tlsio_openssl_init + fun:platform_init + fun:IoTHub_Init + fun:dt_e2e_init + fun:TestSuiteInitialize + fun:RunTests + fun:main +} +{ + + Memcheck:Leak + match-leak-kinds: definite + fun:malloc + fun:CRYPTO_zalloc + fun:EC_KEY_METHOD_new + obj:* + obj:* + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:ENGINE_ctrl_cmd_string + fun:ENGINE_by_id + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:CONF_modules_load + fun:CONF_modules_load_file + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:__pthread_once_slow + fun:CRYPTO_THREAD_run_once + fun:OPENSSL_init_crypto + fun:OPENSSL_init_ssl + fun:tlsio_openssl_init + fun:platform_init + fun:IoTHub_Init + fun:e2e_init + fun:TestSuiteInitialize + fun:RunTests + fun:main +} +{ + + Memcheck:Leak + match-leak-kinds: definite + fun:malloc + fun:RSA_meth_dup + obj:* + obj:* + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:ENGINE_ctrl_cmd_string + fun:ENGINE_by_id + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:CONF_modules_load + fun:CONF_modules_load_file + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:__pthread_once_slow + fun:CRYPTO_THREAD_run_once + fun:OPENSSL_init_crypto + fun:OPENSSL_init_ssl + fun:tlsio_openssl_init + fun:platform_init + fun:IoTHub_Init + fun:e2e_init + fun:TestSuiteInitialize + fun:RunTests + fun:main +} +{ + + Memcheck:Leak + match-leak-kinds: definite + fun:malloc + fun:CRYPTO_zalloc + fun:EC_KEY_METHOD_new + obj:* + obj:* + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:ENGINE_ctrl_cmd_string + fun:ENGINE_by_id + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:CONF_modules_load + fun:CONF_modules_load_file + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:__pthread_once_slow + fun:CRYPTO_THREAD_run_once + fun:OPENSSL_init_crypto + fun:OPENSSL_init_ssl + fun:tlsio_openssl_init + fun:platform_init + fun:IoTHub_Init + fun:e2e_init + fun:TestSuiteInitialize + fun:RunTests + fun:main +} +{ + + Memcheck:Leak + match-leak-kinds: definite + fun:malloc + fun:RSA_meth_dup + obj:* + obj:* + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:ENGINE_ctrl_cmd_string + fun:ENGINE_by_id + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:CONF_modules_load + fun:CONF_modules_load_file + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:__pthread_once_slow + fun:CRYPTO_THREAD_run_once + fun:OPENSSL_init_crypto + fun:OPENSSL_init_ssl + fun:tlsio_openssl_init + fun:platform_init + fun:IoTHub_Init + fun:e2e_init + fun:TestSuiteInitialize + fun:RunTests + fun:main +} +{ + + Memcheck:Leak + match-leak-kinds: definite + fun:malloc + fun:CRYPTO_zalloc + fun:EC_KEY_METHOD_new + obj:* + obj:* + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:ENGINE_ctrl_cmd_string + fun:ENGINE_by_id + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:CONF_modules_load + fun:CONF_modules_load_file + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:__pthread_once_slow + fun:CRYPTO_THREAD_run_once + fun:OPENSSL_init_crypto + fun:OPENSSL_init_ssl + fun:tlsio_openssl_init + fun:platform_init + fun:IoTHub_Init + fun:device_method_e2e_init + fun:TestSuiteInitialize + fun:RunTests + fun:main +} +{ + + Memcheck:Leak + match-leak-kinds: definite + fun:malloc + fun:RSA_meth_dup + obj:* + obj:* + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:ENGINE_ctrl_cmd_string + fun:ENGINE_by_id + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:CONF_modules_load + fun:CONF_modules_load_file + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:__pthread_once_slow + fun:CRYPTO_THREAD_run_once + fun:OPENSSL_init_crypto + fun:OPENSSL_init_ssl + fun:tlsio_openssl_init + fun:platform_init + fun:IoTHub_Init + fun:device_method_e2e_init + fun:TestSuiteInitialize + fun:RunTests + fun:main +} +{ + + Memcheck:Leak + match-leak-kinds: definite + fun:malloc + fun:CRYPTO_zalloc + fun:EC_KEY_METHOD_new + obj:* + obj:* + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:ENGINE_ctrl_cmd_string + fun:ENGINE_by_id + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:CONF_modules_load + fun:CONF_modules_load_file + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:__pthread_once_slow + fun:CRYPTO_THREAD_run_once + fun:OPENSSL_init_crypto + fun:OPENSSL_init_ssl + fun:tlsio_openssl_init + fun:platform_init + fun:IoTHub_Init + fun:e2e_init + fun:TestSuiteInitialize + fun:RunTests + fun:main +} +{ + + Memcheck:Leak + match-leak-kinds: definite + fun:malloc + fun:RSA_meth_dup + obj:* + obj:* + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:ENGINE_ctrl_cmd_string + fun:ENGINE_by_id + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:CONF_modules_load + fun:CONF_modules_load_file + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:__pthread_once_slow + fun:CRYPTO_THREAD_run_once + fun:OPENSSL_init_crypto + fun:OPENSSL_init_ssl + fun:tlsio_openssl_init + fun:platform_init + fun:IoTHub_Init + fun:e2e_init + fun:TestSuiteInitialize + fun:RunTests + fun:main +} +{ + + Memcheck:Leak + match-leak-kinds: definite + fun:malloc + fun:CRYPTO_zalloc + fun:EC_KEY_METHOD_new + obj:* + obj:* + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:ENGINE_ctrl_cmd_string + fun:ENGINE_by_id + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:CONF_modules_load + fun:CONF_modules_load_file + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:__pthread_once_slow + fun:CRYPTO_THREAD_run_once + fun:OPENSSL_init_crypto + fun:OPENSSL_init_ssl + fun:tlsio_openssl_init + fun:platform_init + fun:IoTHub_Init + fun:device_method_e2e_init + fun:TestSuiteInitialize + fun:RunTests + fun:main +} +{ + + Memcheck:Leak + match-leak-kinds: definite + fun:malloc + fun:RSA_meth_dup + obj:* + obj:* + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:ENGINE_ctrl_cmd_string + fun:ENGINE_by_id + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:CONF_modules_load + fun:CONF_modules_load_file + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:__pthread_once_slow + fun:CRYPTO_THREAD_run_once + fun:OPENSSL_init_crypto + fun:OPENSSL_init_ssl + fun:tlsio_openssl_init + fun:platform_init + fun:IoTHub_Init + fun:device_method_e2e_init + fun:TestSuiteInitialize + fun:RunTests + fun:main +} +{ + + Memcheck:Leak + match-leak-kinds: definite + fun:malloc + fun:CRYPTO_zalloc + fun:EC_KEY_METHOD_new + obj:* + obj:* + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:ENGINE_ctrl_cmd_string + fun:ENGINE_by_id + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:CONF_modules_load + fun:CONF_modules_load_file + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:__pthread_once_slow + fun:CRYPTO_THREAD_run_once + fun:OPENSSL_init_crypto + fun:OPENSSL_init_ssl + fun:tlsio_openssl_init + fun:platform_init + fun:IoTHub_Init + fun:dt_e2e_init + fun:TestSuiteInitialize + fun:RunTests + fun:main +} +{ + + Memcheck:Leak + match-leak-kinds: definite + fun:malloc + fun:RSA_meth_dup + obj:* + obj:* + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:ENGINE_ctrl_cmd_string + fun:ENGINE_by_id + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:CONF_modules_load + fun:CONF_modules_load_file + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:__pthread_once_slow + fun:CRYPTO_THREAD_run_once + fun:OPENSSL_init_crypto + fun:OPENSSL_init_ssl + fun:tlsio_openssl_init + fun:platform_init + fun:IoTHub_Init + fun:dt_e2e_init + fun:TestSuiteInitialize + fun:RunTests + fun:main +} diff --git a/iothub_client/tests/iothubclientcore_ut/iothubclientcore_ut.c b/iothub_client/tests/iothubclientcore_ut/iothubclientcore_ut.c index 5896c5478..7f7720c95 100644 --- a/iothub_client/tests/iothubclientcore_ut/iothubclientcore_ut.c +++ b/iothub_client/tests/iothubclientcore_ut/iothubclientcore_ut.c @@ -809,7 +809,6 @@ static void setup_iothubclient_sendeventasync(bool use_threads) STRICT_EXPECTED_CALL(Unlock(IGNORED_PTR_ARG)).CallCannotFail(); } -#ifndef DONT_USE_UPLOADTOBLOB static void setup_gargageCollection(void* saved_data, bool can_item_be_collected) { STRICT_EXPECTED_CALL(Unlock(IGNORED_PTR_ARG)); @@ -855,6 +854,7 @@ static void setup_IothubClient_Destroy_after_garbage_collection() EXPECTED_CALL(gballoc_free(IGNORED_PTR_ARG)); } +#ifndef DONT_USE_UPLOADTOBLOB static void setup_iothubclient_uploadtoblobasync() { STRICT_EXPECTED_CALL(gballoc_malloc(IGNORED_NUM_ARG)); /*this is creating a HTTPWORKER_THREAD_INFO*/ diff --git a/jenkins/linux_bearssl.sh b/jenkins/linux_bearssl.sh index 88ab43e42..cb3bf292c 100644 --- a/jenkins/linux_bearssl.sh +++ b/jenkins/linux_bearssl.sh @@ -14,7 +14,7 @@ curl --version # Set the default cores CORES=$(grep -c ^processor /proc/cpuinfo 2>/dev/null || sysctl -n hw.ncpu) -cmake . -Bcmake -Duse_bearssl:BOOL=ON -Drun_e2e_tests:BOOL=ON +cmake . -Bcmake -Duse_bearssl:BOOL=ON -Drun_e2e_tests:BOOL=ON -Ddont_use_uploadtoblob:BOOL=ON cd cmake make --jobs=$CORES diff --git a/jenkins/linux_cares.sh b/jenkins/linux_cares.sh index 8ad872b2d..9bfca8ad0 100644 --- a/jenkins/linux_cares.sh +++ b/jenkins/linux_cares.sh @@ -14,7 +14,7 @@ curl --version # Set the default cores CORES=$(grep -c ^processor /proc/cpuinfo 2>/dev/null || sysctl -n hw.ncpu) -cmake . -Bcmake -Duse_c_ares:BOOL=ON -Drun_e2e_tests:BOOL=ON +cmake . -Bcmake -Duse_c_ares:BOOL=ON -Drun_e2e_tests:BOOL=ON -Ddont_use_uploadtoblob:BOOL=ON cd cmake make --jobs=$CORES diff --git a/jenkins/linux_openssl_engine.sh b/jenkins/linux_openssl_engine.sh index fdeab44ff..6c0e4bfdb 100755 --- a/jenkins/linux_openssl_engine.sh +++ b/jenkins/linux_openssl_engine.sh @@ -14,7 +14,7 @@ curl --version # Set the default cores CORES=$(grep -c ^processor /proc/cpuinfo 2>/dev/null || sysctl -n hw.ncpu) -cmake . -Bcmake -Duse_http=ON -Duse_mqtt=ON -Duse_amqp=ON -Duse_openssl:BOOL=ON -Dhsm_type_x509:BOOL=ON -Duse_prov_client:BOOL=ON -Drun_e2e_tests:BOOL=ON -Drun_e2e_openssl_engine_tests:BOOL=ON -Drun_valgrind:BOOL=ON +cmake . -Bcmake -Duse_http=ON -Duse_mqtt=ON -Duse_amqp=ON -Duse_openssl:BOOL=ON -Dhsm_type_x509:BOOL=ON -Duse_prov_client:BOOL=ON -Drun_e2e_tests:BOOL=ON -Ddont_use_uploadtoblob:BOOL=ON -Drun_e2e_openssl_engine_tests:BOOL=ON -Drun_valgrind:BOOL=ON cd cmake make --jobs=$CORES diff --git a/jenkins/osx_xcode_native.sh b/jenkins/osx_xcode_native.sh index 035b37e06..03029d815 100755 --- a/jenkins/osx_xcode_native.sh +++ b/jenkins/osx_xcode_native.sh @@ -22,6 +22,6 @@ rm -r -f $build_folder mkdir -p $build_folder pushd $build_folder -cmake .. -Duse_prov_client=OFF -Dhsm_type_x509=OFF -Dhsm_type_sastoken=OFF -Dhsm_type_symm_key=OFF -Drun_e2e_tests=ON -G Xcode -DCMAKE_BUILD_TYPE=Debug +cmake .. -Duse_prov_client=OFF -Dhsm_type_x509=OFF -Dhsm_type_sastoken=OFF -Dhsm_type_symm_key=OFF -Drun_e2e_tests=ON -Ddont_use_uploadtoblob:BOOL=ON -G Xcode -DCMAKE_BUILD_TYPE=Debug cmake --build . -- --jobs=$CORES popd diff --git a/jenkins/ubuntu_c.sh b/jenkins/ubuntu_c.sh index 313a92184..d0694a475 100755 --- a/jenkins/ubuntu_c.sh +++ b/jenkins/ubuntu_c.sh @@ -17,6 +17,6 @@ build_root=$(cd "$(dirname "$0")/.." && pwd) cd $build_root # -- C -- -./build_all/linux/build.sh --run-unittests --run_valgrind --run-e2e-tests --provisioning --use-hsmsymmkey --use-hsmsas --use-hsmx509 --use-edge-modules --config Debug "$@" #-x +./build_all/linux/build.sh --run-unittests --run_valgrind --run-e2e-tests --no_uploadtoblob --provisioning --use-hsmsymmkey --use-hsmsas --use-hsmx509 --use-edge-modules --config Debug "$@" #-x [ $? -eq 0 ] || exit $? diff --git a/jenkins/ubuntu_c_ipv6_dual_stack.sh b/jenkins/ubuntu_c_ipv6_dual_stack.sh index fc53676cf..ced421fdd 100644 --- a/jenkins/ubuntu_c_ipv6_dual_stack.sh +++ b/jenkins/ubuntu_c_ipv6_dual_stack.sh @@ -17,5 +17,5 @@ build_root=$(cd "$(dirname "$0")/.." && pwd) cd $build_root # -- C -- -./build_all/linux/build.sh --run-unittests --run_valgrind --run-e2e-tests --provisioning --use-hsmsymmkey --use-hsmsas --use-hsmx509 --use-edge-modules --use-ipv6-dualstack --config Debug "$@" #-x +./build_all/linux/build.sh --run-unittests --run_valgrind --run-e2e-tests --no_uploadtoblob --provisioning --use-hsmsymmkey --use-hsmsas --use-hsmx509 --use-edge-modules --use-ipv6-dualstack --config Debug "$@" #-x [ $? -eq 0 ] || exit $? diff --git a/jenkins/ubuntu_c_release.sh b/jenkins/ubuntu_c_release.sh index f5b9a3b58..b7a25515c 100755 --- a/jenkins/ubuntu_c_release.sh +++ b/jenkins/ubuntu_c_release.sh @@ -17,6 +17,6 @@ build_root=$(cd "$(dirname "$0")/.." && pwd) cd $build_root # -- C -- -./build_all/linux/build.sh --run-unittests --run_valgrind --run-e2e-tests --provisioning --use-hsmsymmkey --use-hsmsas --use-hsmx509 --use-edge-modules --config Release "$@" #-x +./build_all/linux/build.sh --run-unittests --run_valgrind --run-e2e-tests --no_uploadtoblob --provisioning --use-hsmsymmkey --use-hsmsas --use-hsmx509 --use-edge-modules --config Release "$@" #-x [ $? -eq 0 ] || exit $? diff --git a/jenkins/ubuntu_c_riot.sh b/jenkins/ubuntu_c_riot.sh index 3b53e24fb..9863b8799 100755 --- a/jenkins/ubuntu_c_riot.sh +++ b/jenkins/ubuntu_c_riot.sh @@ -17,6 +17,6 @@ build_root=$(cd "$(dirname "$0")/.." && pwd) cd $build_root # -- C -- -./build_all/linux/build.sh --run-unittests --run_valgrind --run-e2e-tests --provisioning --use-hsmsymmkey --use-hsmsas --use-hsmriot --use-edge-modules "$@" #-x +./build_all/linux/build.sh --run-unittests --run_valgrind --run-e2e-tests --no_uploadtoblob --provisioning --use-hsmsymmkey --use-hsmsas --use-hsmriot --use-edge-modules "$@" #-x [ $? -eq 0 ] || exit $? diff --git a/jenkins/ubuntu_clang.sh b/jenkins/ubuntu_clang.sh index a71b6eb0e..a765d7a3a 100755 --- a/jenkins/ubuntu_clang.sh +++ b/jenkins/ubuntu_clang.sh @@ -16,6 +16,6 @@ build_root=$(cd "$(dirname "$0")/.." && pwd) cd $build_root # -- C -- -./build_all/linux/build.sh --run-unittests --run_valgrind --run-e2e-tests --config Debug "$@" #-x +./build_all/linux/build.sh --run-unittests --run_valgrind --run-e2e-tests --no_uploadtoblob --config Debug "$@" #-x [ $? -eq 0 ] || exit $? diff --git a/jenkins/ubuntu_clang_release.sh b/jenkins/ubuntu_clang_release.sh index 7d17c1ffb..ac9326446 100644 --- a/jenkins/ubuntu_clang_release.sh +++ b/jenkins/ubuntu_clang_release.sh @@ -16,6 +16,6 @@ build_root=$(cd "$(dirname "$0")/.." && pwd) cd $build_root # -- C -- -./build_all/linux/build.sh --run-unittests --run_valgrind --run-e2e-tests --config Release "$@" #-x +./build_all/linux/build.sh --run-unittests --run_valgrind --run-e2e-tests --no_uploadtoblob --config Release "$@" #-x [ $? -eq 0 ] || exit $? diff --git a/jenkins/windows_c.cmd b/jenkins/windows_c.cmd index ddac60d03..719bea831 100644 --- a/jenkins/windows_c.cmd +++ b/jenkins/windows_c.cmd @@ -12,6 +12,6 @@ for %%i in ("%build-root%") do set build-root=%%~fi REM -- C -- cd %build-root%\build_all\windows -call build.cmd --run-unittests --run-e2e-tests --provisioning --use-edge-modules --config Debug %* +call build.cmd --run-unittests --run-e2e-tests --no-uploadtoblob --provisioning --use-edge-modules --config Debug %* if errorlevel 1 goto :eof cd %build-root% diff --git a/jenkins/windows_c_release.cmd b/jenkins/windows_c_release.cmd index a6813649e..bb39b28da 100644 --- a/jenkins/windows_c_release.cmd +++ b/jenkins/windows_c_release.cmd @@ -12,6 +12,6 @@ for %%i in ("%build-root%") do set build-root=%%~fi REM -- C -- cd %build-root%\build_all\windows -call build.cmd --run-unittests --run-e2e-tests --provisioning --use-edge-modules --config Release %* +call build.cmd --run-unittests --run-e2e-tests --no-uploadtoblob --provisioning --use-edge-modules --config Release %* if errorlevel 1 goto :eof cd %build-root% diff --git a/provisioning_client/tests/common_prov_e2e/prov_valgrind_suppression.supp b/provisioning_client/tests/common_prov_e2e/prov_valgrind_suppression.supp index 01d42603a..4070b7e1f 100644 --- a/provisioning_client/tests/common_prov_e2e/prov_valgrind_suppression.supp +++ b/provisioning_client/tests/common_prov_e2e/prov_valgrind_suppression.supp @@ -412,3 +412,54 @@ fun:exit fun:(below main) } +{ + + Memcheck:Leak + match-leak-kinds: definite + fun:malloc + fun:CRYPTO_zalloc + fun:EC_KEY_METHOD_new + obj:* + obj:* + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:ENGINE_ctrl_cmd_string + fun:ENGINE_by_id + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:CONF_modules_load + fun:CONF_modules_load_file + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:__pthread_once_slow + fun:CRYPTO_THREAD_run_once + fun:OPENSSL_init_crypto + fun:OPENSSL_init_ssl + fun:tlsio_openssl_init + fun:platform_init + fun:TestSuiteInitialize + fun:RunTests + fun:main +} +{ + + Memcheck:Leak + match-leak-kinds: definite + fun:malloc + fun:CRYPTO_zalloc + fun:ENGINE_new + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:__pthread_once_slow + fun:CRYPTO_THREAD_run_once + fun:OPENSSL_init_crypto + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + obj:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 + fun:__pthread_once_slow + fun:CRYPTO_THREAD_run_once + fun:OPENSSL_init_crypto + fun:OPENSSL_init_ssl + fun:tlsio_openssl_init + fun:platform_init + fun:TestSuiteInitialize + fun:RunTests + fun:main +}