From 8ebc30e97433975f78e7c3f82d2cd12d58675141 Mon Sep 17 00:00:00 2001 From: Ewerton Scaboro da Silva Date: Thu, 6 Jun 2024 17:13:17 -0700 Subject: [PATCH] Disable upload to blob tests in C gates (#2621) * Disable upload to blob tests in C gates This is a temporary measure until we set up the gates to workaround the guidance to disable azure storage SAS token authorization. To reverse these changes: In azure-iot-sdk-c/build: sed -i "s/--no_uploadtoblob //g" .vsts-ci.yml In azure-iot-sdk-c/jenkins: grep -l run-e2e-tests *.sh | xargs sed -i "s/--no_uploadtoblob //g" grep -l run-e2e-tests *.cmd | xargs sed -i "s/--no-uploadtoblob //g" * Add guard in iothubclientcore_ut for DONT_USE_UPLOADTOBLOB * Disable u2b tests in linux_openssl_engine.sh * Fix arg-uploadtoblob label in build.cmd * Disable upload to blob in remaining builds * Fix more unit tests disabling u2b * Fix iothubclientcore_ut.c * Add new openssl valgrind exceptions --- build/.vsts-ci.yml | 2 +- build_all/windows/build.cmd | 12 +- .../tests/global_valgrind_suppression.supp | 929 ++++++++++++++++++ .../iothubclientcore_ut/iothubclientcore_ut.c | 2 +- jenkins/linux_bearssl.sh | 2 +- jenkins/linux_cares.sh | 2 +- jenkins/linux_openssl_engine.sh | 2 +- jenkins/osx_xcode_native.sh | 2 +- jenkins/ubuntu_c.sh | 2 +- jenkins/ubuntu_c_ipv6_dual_stack.sh | 2 +- jenkins/ubuntu_c_release.sh | 2 +- jenkins/ubuntu_c_riot.sh | 2 +- jenkins/ubuntu_clang.sh | 2 +- jenkins/ubuntu_clang_release.sh | 2 +- jenkins/windows_c.cmd | 2 +- jenkins/windows_c_release.cmd | 2 +- .../prov_valgrind_suppression.supp | 51 + 17 files changed, 1003 insertions(+), 17 deletions(-) diff --git a/build/.vsts-ci.yml b/build/.vsts-ci.yml index 95e277053e..bff0a14283 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 a4cabd4fb0..5dfd1318eb 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 0d74dc3813..bdb6c302bb 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 5896c54781..7f7720c95f 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 88ab43e42f..cb3bf292c7 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 8ad872b2d2..9bfca8ad08 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 fdeab44ffc..6c0e4bfdb3 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 035b37e065..03029d8152 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 313a921848..d0694a4756 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 fc53676cf8..ced421fdd6 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 f5b9a3b582..b7a25515c0 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 3b53e24fb9..9863b87992 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 a71b6eb0e4..a765d7a3a5 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 7d17c1ffba..ac93264469 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 ddac60d03c..719bea8316 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 a6813649e5..bb39b28dad 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 01d42603ab..4070b7e1f4 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 +}