Skip to content

Added unit test cases for mqtt_generic.c #21

Added unit test cases for mqtt_generic.c

Added unit test cases for mqtt_generic.c #21

Triggered via pull request September 11, 2023 05:43
Status Failure
Total duration 3m 17s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

codeql-analysis.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 2 warnings
codeql
This version of the CodeQL Action was deprecated on January 18th, 2023, and is no longer updated or supported. For better performance, improved security, and new features, upgrade to v2. For more information, see https://github.blog/changelog/2023-01-18-code-scanning-codeql-action-v1-is-now-deprecated/
codeql
This version of the CodeQL Action was deprecated on January 18th, 2023, and is no longer updated or supported. For better performance, improved security, and new features, upgrade to v2. For more information, see https://github.blog/changelog/2023-01-18-code-scanning-codeql-action-v1-is-now-deprecated/
codeql
We were unable to automatically build your code. Please replace the call to the autobuild action with your custom build steps. Failure invoking /opt/hostedtoolcache/CodeQL/0.0.0-20230105/x64/codeql/cpp/tools/autobuild.sh with arguments . Exit code 1 and error was: + TOOLS_DIR=/opt/hostedtoolcache/CodeQL/0.0.0-20230105/x64/codeql/cpp/tools + /opt/hostedtoolcache/CodeQL/0.0.0-20230105/x64/codeql/cpp/tools/detect_source_root + '[' -L _lgtm_detected_source_root ']' ++ readlink _lgtm_detected_source_root + cd . + export CXXFLAGS=-fpermissive + CXXFLAGS=-fpermissive + configure_prefix_opt= + '[' -f configure.ac ']' + '[' -f configure.in ']' + '[' -f CMakeLists.txt ']' + mkdir -p _lgtm_build_dir + cd _lgtm_build_dir + CMAKE_WRAPPER=/opt/work/autobuild/cmake-wrapper + '[' -x /opt/work/autobuild/cmake-wrapper ']' + CMAKE_WRAPPER=cmake + cmake -DCMAKE_VERBOSE_MAKEFILE=ON -DBUILD_DOCS=OFF -DCATKIN_ENABLE_TESTING=OFF -DBUILD_DOCUMENTATION=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS=-fpermissive .. CMake Deprecation Warning at CMakeLists.txt:15 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions. CMake Warning: Manually-specified variables were not used by the project: BUILD_DOCS BUILD_DOCUMENTATION CATKIN_ENABLE_TESTING + exit 0 + export VERBOSE=1 + VERBOSE=1 + '[' -L _lgtm_detected_source_root ']' ++ readlink _lgtm_detected_source_root + cd . + '[' -d _lgtm_build_dir ']' + cd _lgtm_build_dir + '[' -f SConstruct ']' + '[' -f wscript ']' + '[' -f Makefile ']' + make Cloning into 'mosquitto'... Already on 'master' CMake Warning: Ignoring extra path from command line: "/home/runner/work/mqttConnManager/mqttConnManager/_lgtm_build_dir/_prefix/mosquitto/src/mosquitto-build/+=" CMake Deprecation Warning at CMakeLists.txt:7 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions. /home/runner/work/mqttConnManager/mqttConnManager/_lgtm_build_dir/_prefix/mosquitto/src/mosquitto/lib/net_mosq.c: In function ‘net__init_tls’: /home/runner/work/mqttConnManager/mqttConnManager/_lgtm_build_dir/_prefix/mosquitto/src/mosquitto/lib/net_mosq.c:190:9: warning: ‘ENGINE_load_builtin_engines’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 190 | ENGINE_load_builtin_engines(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/runner/work/mqttConnManager/mqttConnManager/_lgtm_build_dir/_prefix/mosquitto/src/mosquitto/lib/net_mosq.c:58: /usr/include/openssl/engine.h:358:28: note: declared here 358 | OSSL_DEPRECATEDIN_3_0 void ENGINE_load_builtin_engines(void); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/mqttConnManager/mqttConnManager/_lgtm_build_dir/_prefix/mosquitto/src/mosquitto/lib/net_mosq.c: In function ‘net__init_ssl_ctx’: /home/runner/work/mqttConnManager/mqttConnManager/_lgtm_build_dir/_prefix/mosquitto/src/mosquitto/lib/net_mosq.c:723:25: warning: ‘ENGINE_by_id’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 723 | engine = ENGINE_by_id(mosq->tls_engine); | ^~~~~~ In file included from /home/runner/work/mqttConnManager/mqttConnManager/_lgtm_build_dir/_prefix/mosquitto/src/mosquitto/lib/net_mosq.c:58: /usr/include/openssl/engine.h:336:31: note: declared here 336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id); | ^~~~~~~~~~~~ /home/runner/work/mqttConnManager/mqttConnManager/_lgtm_build_dir/_prefix/mosquitto/src/mosquitto/lib/net_mosq.c:728:25: warning: ‘ENGINE_init’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 728 | if(!ENGINE_init(engine)){ |
codeql
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, github/codeql-action/init@v1, github/codeql-action/autobuild@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
codeql
1 issue was detected with this workflow: Please make sure that every branch in on.pull_request is also in on.push so that Code Scanning can compare pull requests against the state of the base branch.