Pull request #491 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of cloudxxx8 for edgexfoundry/device-sdk-c Loading trusted files from base branch main at 753c0e66273d645c82de476ca0a438ee98891f55 rather than 5e4c6c6b8e4caf4743705f57bbbd5d2304326862 Obtained Jenkinsfile from 753c0e66273d645c82de476ca0a438ee98891f55 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3450586111686797595.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7898541181285604187.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-491/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-491/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2493764358255135287.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-491/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2544308133423457762.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14414941607271572555.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-491/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-491/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17725938269013079007.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-16861 in /w/workspace/edgexfoundry_device-sdk-c_PR-491 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-491 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/491/head:refs/remotes/origin/PR-491 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 753c0e66273d645c82de476ca0a438ee98891f55 into PR head commit 5e4c6c6b8e4caf4743705f57bbbd5d2304326862 Merge succeeded, producing 5e4c6c6b8e4caf4743705f57bbbd5d2304326862 Checking out Revision 5e4c6c6b8e4caf4743705f57bbbd5d2304326862 (PR-491) > git config core.sparsecheckout # timeout=10 > git checkout -f 5e4c6c6b8e4caf4743705f57bbbd5d2304326862 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 753c0e66273d645c82de476ca0a438ee98891f55 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5e4c6c6b8e4caf4743705f57bbbd5d2304326862 # timeout=10 Commit message: "docs: Update changelog for 3.1 release" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:22:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:22:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:22:10 ========================================================= 15:22:10 EdgeX Global Pipelines Version Info 15:22:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:22:11 ------------------- 15:22:11 stable info: 15:22:11 ------------------- 15:22:11 Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com 15:22:11 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 15:22:11 Message: update stable to v1.0.257 15:22:11 ------------------- 15:22:11 experimental info: 15:22:11 ------------------- 15:22:11 Commited By: **** collab-it+edgex@linuxfoundation.org 15:22:11 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 15:22:11 Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:22:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 15:22:11 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 15:22:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:22:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:22:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:22:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 15:22:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 15:22:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:22:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:22:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 15:22:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:22:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:22:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:22:12 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 15:22:12 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:22:12 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:22:12 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:22:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-491 [Pipeline] echo 15:22:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-491 [Pipeline] echo 15:22:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-491 [Pipeline] echo 15:22:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5e4c6c6b8e4caf4743705f57bbbd5d2304326862 [Pipeline] echo 15:22:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5e4c6c6 [Pipeline] echo 15:22:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:22:12 provisioning config files... 15:22:12 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-491@tmp/config14576718792545460315tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:22:13 ---> docker-login.sh 15:22:13 nexus3.edgexfoundry.org:10001 15:22:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:22:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:22:13 Configure a credential helper to remove this warning. See 15:22:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:22:13 15:22:13 Login Succeeded 15:22:13 nexus3.edgexfoundry.org:10002 15:22:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:22:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:22:13 Configure a credential helper to remove this warning. See 15:22:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:22:13 15:22:13 Login Succeeded 15:22:13 nexus3.edgexfoundry.org:10003 15:22:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:22:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:22:14 Configure a credential helper to remove this warning. See 15:22:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:22:14 15:22:14 Login Succeeded 15:22:14 nexus3.edgexfoundry.org:10004 15:22:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:22:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:22:14 Configure a credential helper to remove this warning. See 15:22:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:22:14 15:22:14 Login Succeeded 15:22:14 docker.io 15:22:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:22:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:22:14 Configure a credential helper to remove this warning. See 15:22:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:22:14 15:22:14 Login Succeeded 15:22:14 ---> docker-login.sh ends [Pipeline] } 15:22:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 15:22:15 + git rev-list -1 --merges 5e4c6c6b8e4caf4743705f57bbbd5d2304326862~1..5e4c6c6b8e4caf4743705f57bbbd5d2304326862 [Pipeline] echo 15:22:15 -----------> git rev-list -1 --merges 5e4c6c6b8e4caf4743705f57bbbd5d2304326862~1..5e4c6c6b8e4caf4743705f57bbbd5d2304326862 5e4c6c6b8e4caf4743705f57bbbd5d2304326862 [false] [Pipeline] sh 15:22:15 + git log --format=format:%s -1 5e4c6c6b8e4caf4743705f57bbbd5d2304326862 [Pipeline] echo 15:22:15 ========================================================= 15:22:15 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:22:15 ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:22:16 + git rev-list -1 --merges 5e4c6c6b8e4caf4743705f57bbbd5d2304326862~1..5e4c6c6b8e4caf4743705f57bbbd5d2304326862 [Pipeline] echo 15:22:16 -----------> git rev-list -1 --merges 5e4c6c6b8e4caf4743705f57bbbd5d2304326862~1..5e4c6c6b8e4caf4743705f57bbbd5d2304326862 5e4c6c6b8e4caf4743705f57bbbd5d2304326862 [false] [Pipeline] sh 15:22:17 + git log --format=format:%s -1 5e4c6c6b8e4caf4743705f57bbbd5d2304326862 [Pipeline] echo 15:22:17 ========================================================= 15:22:17 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:22:17 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 15:22:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:22:17 + grep -v github /etc/ssh/ssh_known_hosts 15:22:17 + [ -e /tmp/ssh_known_hosts ] 15:22:17 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:22:17 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:22:17 + sudo tee -a /etc/ssh/ssh_known_hosts 15:22:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:22:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:22:18 15:22:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:22:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:22:18 0.1.4: Pulling from edgex-devops/py-git-semver 15:22:18 b85a868b505f: Pulling fs layer 15:22:18 e2be974225ed: Pulling fs layer 15:22:18 339a4e72a1f5: Pulling fs layer 15:22:18 988bab9f4d93: Pulling fs layer 15:22:18 1469e6f7b9e6: Pulling fs layer 15:22:18 eaf3925da568: Pulling fs layer 15:22:18 bab4dde63d76: Pulling fs layer 15:22:18 bde34c3a00c8: Pulling fs layer 15:22:18 b352a97aabf1: Pulling fs layer 15:22:18 4872d77fe225: Pulling fs layer 15:22:18 5851b861e8e6: Pulling fs layer 15:22:18 1469e6f7b9e6: Waiting 15:22:18 bde34c3a00c8: Waiting 15:22:18 eaf3925da568: Waiting 15:22:18 bab4dde63d76: Waiting 15:22:18 b352a97aabf1: Waiting 15:22:18 4872d77fe225: Waiting 15:22:18 988bab9f4d93: Waiting 15:22:18 5851b861e8e6: Waiting 15:22:18 e2be974225ed: Download complete 15:22:18 988bab9f4d93: Verifying Checksum 15:22:18 988bab9f4d93: Download complete 15:22:18 1469e6f7b9e6: Verifying Checksum 15:22:18 1469e6f7b9e6: Download complete 15:22:18 eaf3925da568: Download complete 15:22:18 339a4e72a1f5: Verifying Checksum 15:22:18 339a4e72a1f5: Download complete 15:22:18 bde34c3a00c8: Verifying Checksum 15:22:18 bde34c3a00c8: Download complete 15:22:18 b352a97aabf1: Download complete 15:22:18 4872d77fe225: Download complete 15:22:18 5851b861e8e6: Verifying Checksum 15:22:18 5851b861e8e6: Download complete 15:22:18 b85a868b505f: Verifying Checksum 15:22:18 b85a868b505f: Download complete 15:22:19 bab4dde63d76: Verifying Checksum 15:22:19 bab4dde63d76: Download complete 15:22:19 b85a868b505f: Pull complete 15:22:19 e2be974225ed: Pull complete 15:22:20 339a4e72a1f5: Pull complete 15:22:20 988bab9f4d93: Pull complete 15:22:20 1469e6f7b9e6: Pull complete 15:22:20 eaf3925da568: Pull complete 15:22:22 bab4dde63d76: Pull complete 15:22:22 bde34c3a00c8: Pull complete 15:22:22 b352a97aabf1: Pull complete 15:22:22 4872d77fe225: Pull complete 15:22:22 5851b861e8e6: Pull complete 15:22:22 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:22:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:22:22 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:22:23 prd-ubuntu20.04-docker-8c-8g-16861 does not seem to be running inside a container 15:22:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-491 -v /w/workspace/edgexfoundry_device-sdk-c_PR-491:/w/workspace/edgexfoundry_device-sdk-c_PR-491:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-491@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-491@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:22:24 $ docker top 03785f1024f9a299a2edf737c98e52f9540cd3d9b26031da395c2f738742a7ff -eo pid,comm 15:22:24 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 15:22:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:22:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:22:24 [ssh-agent] Looking for ssh-agent implementation... 15:22:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:22:24 $ docker exec 03785f1024f9a299a2edf737c98e52f9540cd3d9b26031da395c2f738742a7ff ssh-agent 15:22:24 SSH_AUTH_SOCK=/tmp/ssh-emuZPTxRCC7h/agent.32 15:22:24 SSH_AGENT_PID=38 15:22:24 Running ssh-add (command line suppressed) 15:22:25 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-491@tmp/private_key_7751419846075693012.key (/w/workspace/edgexfoundry_device-sdk-c_PR-491@tmp/private_key_7751419846075693012.key) 15:22:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:22:25 + git tag --points-at HEAD [Pipeline] } 15:22:25 $ docker exec --env ******** --env ******** 03785f1024f9a299a2edf737c98e52f9540cd3d9b26031da395c2f738742a7ff ssh-agent -k 15:22:25 unset SSH_AUTH_SOCK; 15:22:25 unset SSH_AGENT_PID; 15:22:25 echo Agent pid 38 killed; 15:22:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:22:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:22:25 [ssh-agent] Looking for ssh-agent implementation... 15:22:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:22:25 $ docker exec 03785f1024f9a299a2edf737c98e52f9540cd3d9b26031da395c2f738742a7ff ssh-agent 15:22:25 SSH_AUTH_SOCK=/tmp/ssh-7PgY7y15nXKM/agent.70 15:22:25 SSH_AGENT_PID=76 15:22:25 Running ssh-add (command line suppressed) 15:22:25 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-491@tmp/private_key_10849120944366491671.key (/w/workspace/edgexfoundry_device-sdk-c_PR-491@tmp/private_key_10849120944366491671.key) 15:22:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:22:26 + git semver init 15:22:26 2023-11-07 15:22:26,416 [run_init] DEBUG init version:0.0.0 force:False 15:22:26 2023-11-07 15:22:26,416 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-491/.semver 15:22:26 2023-11-07 15:22:26,417 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-491/.semver 15:22:26 2023-11-07 15:22:26,417 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-491/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-491, universal_newlines=False, shell=None, istream=None) 15:22:27 2023-11-07 15:22:27,301 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-491/.git/info/exclude 15:22:27 2023-11-07 15:22:27,302 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-491/.semver/PR-491 with force:False 15:22:27 2023-11-07 15:22:27,302 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-491/.semver/PR-491 15:22:27 2023-11-07 15:22:27,306 [execute] INFO git cat-file --batch-check 15:22:27 2023-11-07 15:22:27,307 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-491/.semver, universal_newlines=False, shell=None, istream=) 15:22:27 2023-11-07 15:22:27,313 [execute] INFO git cat-file --batch 15:22:27 2023-11-07 15:22:27,313 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-491/.semver, universal_newlines=False, shell=None, istream=) 15:22:27 2023-11-07 15:22:27,319 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-491/.semver/PR-491 15:22:27 0.0.0 [Pipeline] } 15:22:27 $ docker exec --env ******** --env ******** 03785f1024f9a299a2edf737c98e52f9540cd3d9b26031da395c2f738742a7ff ssh-agent -k 15:22:27 unset SSH_AUTH_SOCK; 15:22:27 unset SSH_AGENT_PID; 15:22:27 echo Agent pid 76 killed; 15:22:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:22:27 + git semver [Pipeline] } 15:22:28 $ docker stop --time=1 03785f1024f9a299a2edf737c98e52f9540cd3d9b26031da395c2f738742a7ff 15:22:29 $ docker rm -f --volumes 03785f1024f9a299a2edf737c98e52f9540cd3d9b26031da395c2f738742a7ff [Pipeline] // withDockerContainer [Pipeline] sh 15:22:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:22:30 Stashed 1 file(s) [Pipeline] echo 15:22:30 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:22:30 provisioning config files... 15:22:30 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-491@tmp/config14712826176038707796tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:22:31 ---> docker-login.sh 15:22:31 nexus3.edgexfoundry.org:10001 15:22:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:22:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:22:31 Configure a credential helper to remove this warning. See 15:22:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:22:31 15:22:31 Login Succeeded 15:22:31 nexus3.edgexfoundry.org:10002 15:22:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:22:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:22:31 Configure a credential helper to remove this warning. See 15:22:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:22:31 15:22:31 Login Succeeded 15:22:31 nexus3.edgexfoundry.org:10003 15:22:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:22:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:22:31 Configure a credential helper to remove this warning. See 15:22:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:22:31 15:22:31 Login Succeeded 15:22:31 nexus3.edgexfoundry.org:10004 15:22:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:22:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:22:31 Configure a credential helper to remove this warning. See 15:22:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:22:31 15:22:31 Login Succeeded 15:22:31 docker.io 15:22:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:22:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:22:31 Configure a credential helper to remove this warning. See 15:22:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:22:31 15:22:31 Login Succeeded 15:22:31 ---> docker-login.sh ends [Pipeline] } 15:22:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:22:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:22:31 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 15:22:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:22:31 ========================================================= 15:22:31 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 15:22:31 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:22:32 + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . 15:22:32 Sending build context to Docker daemon 4.935MB 15:22:32 Step 1/21 : ARG BASE=alpine:3.16 15:22:32 Step 2/21 : FROM ${BASE} as builder 15:22:32 latest: Pulling from edgex-devops/edgex-gcc-base 15:22:32 96526aa774ef: Pulling fs layer 15:22:32 da60e534fd72: Pulling fs layer 15:22:32 96526aa774ef: Verifying Checksum 15:22:32 96526aa774ef: Download complete 15:22:32 96526aa774ef: Pull complete 15:22:33 da60e534fd72: Verifying Checksum 15:22:33 da60e534fd72: Download complete 15:22:36 da60e534fd72: Pull complete 15:22:36 Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 15:22:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 15:22:36 ---> 6605166a5db4 15:22:36 Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 15:22:36 ---> Running in 026a1e46413e 15:22:37 Connecting to iotech.jfrog.io (34.247.22.236:443) 15:22:37 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 15:22:37 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 15:22:37 '/etc/apk/keys/alpine.dev.rsa.pub' saved 15:22:37 Removing intermediate container 026a1e46413e 15:22:37 ---> 7996f3dc660b 15:22:37 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 15:22:37 ---> Running in 2a32915b1a61 15:22:38 Removing intermediate container 2a32915b1a61 15:22:38 ---> 613445503002 15:22:38 Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev 15:22:38 ---> Running in 3f73e26a9384 15:22:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:22:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:22:39 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 15:22:39 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:22:39 (1/17) Installing hiredis (1.1.0-r2) 15:22:39 (2/17) Installing hiredis-dev (1.1.0-r2) 15:22:39 (3/17) Installing iotech-iot-1.5 (1.5.0-r0) 15:22:40 (4/17) Installing iotech-iot-1.5-dev (1.5.0-r0) 15:22:40 (5/17) Installing libcbor (0.10.2-r1) 15:22:40 (6/17) Installing libcbor-dev (0.10.2-r1) 15:22:40 (7/17) Installing libmenuw (6.4_p20230506-r0) 15:22:40 (8/17) Installing libpanelw (6.4_p20230506-r0) 15:22:40 (9/17) Installing libncurses++ (6.4_p20230506-r0) 15:22:40 (10/17) Installing ncurses-dev (6.4_p20230506-r0) 15:22:40 (11/17) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 15:22:41 (12/17) Installing libblkid (2.38.1-r8) 15:22:41 (13/17) Installing libuuid (2.38.1-r8) 15:22:41 (14/17) Installing libfdisk (2.38.1-r8) 15:22:41 (15/17) Installing libmount (2.38.1-r8) 15:22:41 (16/17) Installing libsmartcols (2.38.1-r8) 15:22:41 (17/17) Installing util-linux-dev (2.38.1-r8) 15:22:41 Executing busybox-1.36.1-r4.trigger 15:22:41 OK: 336 MiB in 99 packages 15:22:42 Removing intermediate container 3f73e26a9384 15:22:42 ---> 6d02f9ee452a 15:22:42 Step 6/21 : RUN mkdir /tmp/sdk 15:22:42 ---> Running in bc401bc8874c 15:22:42 Removing intermediate container bc401bc8874c 15:22:42 ---> b9f8e285b2bb 15:22:42 Step 7/21 : COPY VERSION /tmp/sdk 15:22:42 ---> 39c02ff3a594 15:22:42 Step 8/21 : COPY src /tmp/sdk/src 15:22:42 ---> e980f05e37cb 15:22:42 Step 9/21 : COPY include /tmp/sdk/include 15:22:42 ---> 5c3ab2d93d0f 15:22:42 Step 10/21 : COPY scripts /tmp/sdk/scripts 15:22:43 ---> 06fe8c5a5645 15:22:43 Step 11/21 : COPY LICENSE /tmp/sdk 15:22:43 ---> a215d28878d6 15:22:43 Step 12/21 : COPY Attribution.txt /tmp/sdk 15:22:43 ---> 8f2d77d05ed2 15:22:43 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 15:22:43 ---> Running in 8efd38f0d484 15:22:43 + CPPCHECK=false 15:22:43 + DOCGEN=false 15:22:43 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 15:22:43 + '[' 0 -gt 0 ] 15:22:43 + readlink -f ./scripts/build.sh 15:22:43 + dirname /tmp/sdk/scripts/build.sh 15:22:43 + dirname /tmp/sdk/scripts 15:22:43 + ROOT=/tmp/sdk 15:22:43 + cd /tmp/sdk 15:22:43 + mkdir -p /tmp/sdk/build/release 15:22:43 + cd /tmp/sdk/build/release 15:22:43 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 15:22:43 -- The C compiler identification is GNU 12.2.1 15:22:43 -- Detecting C compiler ABI info 15:22:43 -- Detecting C compiler ABI info - done 15:22:43 -- Check for working C compiler: /usr/bin/cc - skipped 15:22:43 -- Detecting C compile features 15:22:43 -- Detecting C compile features - done 15:22:43 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 15:22:43 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 15:22:43 -- Found LIBYAML: /usr/lib/libyaml.so 15:22:43 -- Found LIBUUID: /usr/lib/libuuid.so 15:22:43 -- Found LIBCBOR: /usr/lib/libcbor.so 15:22:43 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 15:22:43 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 15:22:43 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 15:22:43 -- /opt/iotech/iot/1.5/include 15:22:43 -- C SDK 0.0.0 for Linux 15:22:43 -- Performing Test CSDK_HAVE_ATOMIC 15:22:43 -- Performing Test CSDK_HAVE_ATOMIC - Success 15:22:43 -- Found Curses: /usr/lib/libcurses.so 15:22:43 -- Configuring done (0.4s) 15:22:43 -- Generating done (0.0s) 15:22:43 -- Build files have been written to: /tmp/sdk/build/release 15:22:43 + make all package 15:22:43 + tee release.log 15:22:44 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 15:22:44 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 15:22:44 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 15:22:44 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 15:22:44 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 15:22:44 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 15:22:44 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 15:22:44 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 15:22:44 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 15:22:44 294 | while (privateConfig) 15:22:44 | ^~~~~~~~~~~~~ 15:22:44 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 15:22:44 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 15:22:44 | ^~~~~~~~~~~~~ 15:22:44 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 15:22:44 271 | while (result) 15:22:44 | ^~~~~~ 15:22:44 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 15:22:44 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 15:22:44 | ^~~~~~ 15:22:45 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 15:22:45 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 15:22:45 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 15:22:45 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 15:22:45 Still waiting to schedule task 15:22:45 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 15:22:45 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 15:22:45 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 15:22:45 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 15:22:45 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 15:22:46 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 15:22:46 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 15:22:46 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 15:22:46 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 15:22:46 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 15:22:46 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 15:22:48 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 15:22:48 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 15:22:48 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 15:22:48 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 15:22:48 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 15:22:48 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 15:22:48 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 15:22:48 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 15:22:48 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 15:22:49 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 15:22:49 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 15:22:49 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 15:22:49 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 15:22:49 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 15:22:49 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 15:22:49 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 15:22:49 | ^ 15:22:49 /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 15:22:49 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 15:22:49 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 15:22:49 /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here 15:22:49 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 15:22:49 | ^~~~~~~~~~~~~~~~~~~~~ 15:22:49 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 15:22:49 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 15:22:49 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 15:22:49 [ 68%] Linking C shared library libcsdk.so 15:22:49 [ 68%] Built target csdk 15:22:49 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 15:22:49 [ 72%] Linking C executable template 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libssl.so.1.1, needed by /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so, not found (try using -rpath or -rpath-link) 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcrypto.so.1.1, needed by /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so, not found (try using -rpath or -rpath-link) 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_use_certificate_chain_file@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `OPENSSL_init_ssl@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `ERR_get_error@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_state_string_long@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `X509_check_host@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `OpenSSL_version@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CIPHER_get_name@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_use_PrivateKey_file@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_write@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_set_session@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_free@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_ctrl@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_get_error@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `BIO_read@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_SESSION_free@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SHA1_Update@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_psk_client_callback@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_load_verify_locations@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_get_ex_data@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `BIO_ctrl@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_get_SSL_CTX@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SHA1_Final@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `BIO_s_mem@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `CRYPTO_get_ex_new_index@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `ERR_clear_error@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `OPENSSL_init_crypto@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_msg_callback@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_cipher_list@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_alert_type_string_long@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_security_level@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `BIO_push@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_default_verify_paths@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `BIO_new@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_get_peer_certificate@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `X509_check_ip_asc@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_verify@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_shutdown@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_set_fd@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `BIO_set_flags@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_get1_session@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_ctrl@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_default_passwd_cb@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `ERR_print_errors_cb@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_info_callback@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `TLS_client_method@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `BIO_f_base64@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_ex_data@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_read@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_new@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SHA1_Init@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_get_verify_result@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_get_current_cipher@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `X509_free@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_pending@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_free@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `BIO_free_all@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `BIO_write@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_alert_desc_string_long@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_default_passwd_cb_userdata@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_get_cipher_list@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `CRYPTO_free@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `RAND_bytes@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_connect@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_new@OPENSSL_1_1_0' 15:22:49 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_alpn_protos@OPENSSL_1_1_0' 15:22:49 collect2: error: ld returned 1 exit status 15:22:49 make[2]: *** [c/examples/CMakeFiles/template.dir/build.make:106: c/examples/template] Error 1 15:22:49 make[1]: *** [CMakeFiles/Makefile2:266: c/examples/CMakeFiles/template.dir/all] Error 2 15:22:49 make: *** [Makefile:156: all] Error 2 15:22:49 + '[' false '=' true ] 15:22:49 + '[' false '=' true ] 15:22:49 + mkdir -p /tmp/sdk/build/debug 15:22:49 + cd /tmp/sdk/build/debug 15:22:49 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 15:22:49 -- The C compiler identification is GNU 12.2.1 15:22:49 -- Detecting C compiler ABI info 15:22:50 -- Detecting C compiler ABI info - done 15:22:50 -- Check for working C compiler: /usr/bin/cc - skipped 15:22:50 -- Detecting C compile features 15:22:50 -- Detecting C compile features - done 15:22:50 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 15:22:50 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 15:22:50 -- Found LIBYAML: /usr/lib/libyaml.so 15:22:50 -- Found LIBUUID: /usr/lib/libuuid.so 15:22:50 -- Found LIBCBOR: /usr/lib/libcbor.so 15:22:50 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 15:22:50 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 15:22:50 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 15:22:50 -- /opt/iotech/iot/1.5/include 15:22:50 -- C SDK 0.0.0 for Linux 15:22:50 -- Performing Test CSDK_HAVE_ATOMIC 15:22:50 -- Performing Test CSDK_HAVE_ATOMIC - Success 15:22:50 -- Found Curses: /usr/lib/libcurses.so 15:22:50 -- Configuring done (0.4s) 15:22:50 -- Generating done (0.0s) 15:22:50 -- Build files have been written to: /tmp/sdk/build/debug 15:22:50 + make 15:22:50 + tee debug.log 15:22:50 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 15:22:50 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 15:22:50 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 15:22:50 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 15:22:50 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 15:22:50 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 15:22:50 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 15:22:50 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 15:22:50 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 15:22:51 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 15:22:51 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 15:22:51 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 15:22:51 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 15:22:51 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 15:22:51 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 15:22:51 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 15:22:51 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 15:22:51 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 15:22:51 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 15:22:52 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 15:22:52 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 15:22:52 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 15:22:52 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 15:22:52 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 15:22:52 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 15:22:52 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 15:22:52 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 15:22:52 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 15:22:52 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 15:22:52 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 15:22:53 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 15:22:53 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 15:22:53 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 15:22:53 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 15:22:53 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 15:22:53 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 15:22:53 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 15:22:53 | ^ 15:22:53 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 15:22:53 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 15:22:53 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 15:22:53 [ 68%] Linking C shared library libcsdk.so 15:22:53 [ 68%] Built target csdk 15:22:53 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 15:22:53 [ 72%] Linking C executable template 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libssl.so.1.1, needed by /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so, not found (try using -rpath or -rpath-link) 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcrypto.so.1.1, needed by /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so, not found (try using -rpath or -rpath-link) 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_use_certificate_chain_file@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `OPENSSL_init_ssl@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `ERR_get_error@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_state_string_long@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `X509_check_host@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `OpenSSL_version@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CIPHER_get_name@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_use_PrivateKey_file@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_write@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_set_session@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_free@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_ctrl@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_get_error@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `BIO_read@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_SESSION_free@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SHA1_Update@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_psk_client_callback@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_load_verify_locations@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_get_ex_data@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `BIO_ctrl@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_get_SSL_CTX@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SHA1_Final@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `BIO_s_mem@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `CRYPTO_get_ex_new_index@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `ERR_clear_error@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `OPENSSL_init_crypto@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_msg_callback@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_cipher_list@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_alert_type_string_long@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_security_level@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `BIO_push@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_default_verify_paths@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `BIO_new@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_get_peer_certificate@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `X509_check_ip_asc@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_verify@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_shutdown@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_set_fd@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `BIO_set_flags@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_get1_session@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_ctrl@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_default_passwd_cb@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `ERR_print_errors_cb@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_info_callback@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `TLS_client_method@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `BIO_f_base64@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_ex_data@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_read@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_new@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SHA1_Init@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_get_verify_result@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_get_current_cipher@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `X509_free@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_pending@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_free@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `BIO_free_all@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `BIO_write@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_alert_desc_string_long@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_default_passwd_cb_userdata@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_get_cipher_list@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `CRYPTO_free@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `RAND_bytes@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_connect@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_new@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_alpn_protos@OPENSSL_1_1_0' 15:22:53 collect2: error: ld returned 1 exit status 15:22:53 make[2]: *** [c/examples/CMakeFiles/template.dir/build.make:106: c/examples/template] Error 1 15:22:53 make[1]: *** [CMakeFiles/Makefile2:266: c/examples/CMakeFiles/template.dir/all] Error 2 15:22:53 make: *** [Makefile:156: all] Error 2 15:22:53 make: Entering directory '/tmp/sdk/build/release' 15:22:53 [ 68%] Built target csdk 15:22:53 [ 70%] Linking C executable template 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libssl.so.1.1, needed by /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so, not found (try using -rpath or -rpath-link) 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcrypto.so.1.1, needed by /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so, not found (try using -rpath or -rpath-link) 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_use_certificate_chain_file@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `OPENSSL_init_ssl@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `ERR_get_error@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_state_string_long@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `X509_check_host@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `OpenSSL_version@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CIPHER_get_name@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_use_PrivateKey_file@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_write@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_set_session@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_free@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_ctrl@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_get_error@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `BIO_read@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_SESSION_free@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SHA1_Update@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_psk_client_callback@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_load_verify_locations@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_get_ex_data@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `BIO_ctrl@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_get_SSL_CTX@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SHA1_Final@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `BIO_s_mem@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `CRYPTO_get_ex_new_index@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `ERR_clear_error@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `OPENSSL_init_crypto@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_msg_callback@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_cipher_list@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_alert_type_string_long@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_security_level@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `BIO_push@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_default_verify_paths@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `BIO_new@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_get_peer_certificate@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `X509_check_ip_asc@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_verify@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_shutdown@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_set_fd@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `BIO_set_flags@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_get1_session@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_ctrl@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_default_passwd_cb@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `ERR_print_errors_cb@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_info_callback@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `TLS_client_method@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `BIO_f_base64@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_ex_data@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_read@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_new@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SHA1_Init@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_get_verify_result@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_get_current_cipher@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `X509_free@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_pending@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_free@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `BIO_free_all@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `BIO_write@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_alert_desc_string_long@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_default_passwd_cb_userdata@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_get_cipher_list@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `CRYPTO_free@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `RAND_bytes@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_connect@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_new@OPENSSL_1_1_0' 15:22:53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_alpn_protos@OPENSSL_1_1_0' 15:22:53 collect2: error: ld returned 1 exit status 15:22:53 make[2]: *** [c/examples/CMakeFiles/template.dir/build.make:106: c/examples/template] Error 1 15:22:53 make[1]: *** [CMakeFiles/Makefile2:266: c/examples/CMakeFiles/template.dir/all] Error 2 15:22:53 make: *** [Makefile:156: all] Error 2 15:22:53 make: Leaving directory '/tmp/sdk/build/release' 15:22:53 The command '/bin/sh -c cd /tmp/sdk && ./scripts/build.sh && make -C build/release install' returned a non-zero code: 2 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:22:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:22:55 15:22:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:22:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:22:55 latest: Pulling from edgex-lftools-log-publisher 15:22:55 5eb5b503b376: Pulling fs layer 15:22:55 5c69ac0246d0: Pulling fs layer 15:22:55 ec43610c2a17: Pulling fs layer 15:22:55 3a2ae6a8a46f: Pulling fs layer 15:22:55 33b1e0a273af: Pulling fs layer 15:22:55 5d3b04190fa2: Pulling fs layer 15:22:55 2f39f015ded8: Pulling fs layer 15:22:55 3a2ae6a8a46f: Waiting 15:22:55 33b1e0a273af: Waiting 15:22:55 5d3b04190fa2: Waiting 15:22:55 2f39f015ded8: Waiting 15:22:55 5c69ac0246d0: Verifying Checksum 15:22:55 5c69ac0246d0: Download complete 15:22:55 3a2ae6a8a46f: Verifying Checksum 15:22:55 3a2ae6a8a46f: Download complete 15:22:55 33b1e0a273af: Verifying Checksum 15:22:55 33b1e0a273af: Download complete 15:22:55 5d3b04190fa2: Verifying Checksum 15:22:55 5d3b04190fa2: Download complete 15:22:55 ec43610c2a17: Verifying Checksum 15:22:55 ec43610c2a17: Download complete 15:22:55 5eb5b503b376: Download complete 15:22:56 2f39f015ded8: Download complete 15:22:56 5eb5b503b376: Pull complete 15:22:57 5c69ac0246d0: Pull complete 15:22:57 ec43610c2a17: Pull complete 15:22:57 3a2ae6a8a46f: Pull complete 15:22:57 33b1e0a273af: Pull complete 15:22:57 5d3b04190fa2: Pull complete 15:23:02 2f39f015ded8: Pull complete 15:23:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:23:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:23:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:23:02 prd-ubuntu20.04-docker-8c-8g-16861 does not seem to be running inside a container 15:23:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-491 -v /w/workspace/edgexfoundry_device-sdk-c_PR-491:/w/workspace/edgexfoundry_device-sdk-c_PR-491:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-491@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-491@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:23:03 $ docker top 7daa57ce49f78030eefe2199d7b119f6a5326ea805d7ebbafd244b8c25842c7b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:23:04 ---> job-cost.sh 15:23:04 lf-activate-venv: SKIPPING 15:23:04 INFO: No Stack... 15:23:04 INFO: Retrieving Pricing Info for: v3-standard-8 15:23:05 INFO: Archiving Costs [Pipeline] sh 15:23:05 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-491/archives/cost.csv 15:23:05 + cut -d, -f6 [Pipeline] lock 15:23:05 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-491-1-stack-cost] 15:23:05 Resource [jenkins-edgexfoundry-device-sdk-c-PR-491-1-stack-cost] did not exist. Created. 15:23:05 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-491-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:23:05 + echo total: 0.2199999988079071 [Pipeline] stash 15:23:05 Stashed 1 file(s) [Pipeline] } 15:23:05 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-491-1-stack-cost] [Pipeline] // lock [Pipeline] } 15:23:05 $ docker stop --time=1 7daa57ce49f78030eefe2199d7b119f6a5326ea805d7ebbafd244b8c25842c7b 15:23:07 $ docker rm -f --volumes 7daa57ce49f78030eefe2199d7b119f6a5326ea805d7ebbafd244b8c25842c7b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:23:07 Failed in branch amd64 15:24:17 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16862 in /w/workspace/edgexfoundry_device-sdk-c_PR-491 [Pipeline] { [Pipeline] ws 15:24:17 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 15:24:17 Selected Git installation does not exist. Using Default 15:24:17 The recommended git tool is: NONE 15:24:22 using credential edgex-jenkins-ssh 15:24:22 Cloning the remote Git repository 15:24:22 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 15:24:22 > git init /w/workspace/device-sdk-c/1 # timeout=10 15:24:23 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 15:24:23 > git --version # timeout=10 15:24:23 > git --version # 'git version 2.25.1' 15:24:23 using GIT_SSH to set credentials SSH Credentials for GitHub 15:24:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:24:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 15:24:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:24:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 15:24:25 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 15:24:25 using GIT_SSH to set credentials SSH Credentials for GitHub 15:24:25 Merging remotes/origin/main commit 753c0e66273d645c82de476ca0a438ee98891f55 into PR head commit 5e4c6c6b8e4caf4743705f57bbbd5d2304326862 15:24:26 Merge succeeded, producing 5e4c6c6b8e4caf4743705f57bbbd5d2304326862 15:24:26 Checking out Revision 5e4c6c6b8e4caf4743705f57bbbd5d2304326862 (PR-491) 15:24:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/491/head:refs/remotes/origin/PR-491 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:24:25 > git config core.sparsecheckout # timeout=10 15:24:25 > git checkout -f 5e4c6c6b8e4caf4743705f57bbbd5d2304326862 # timeout=10 15:24:25 > git remote # timeout=10 15:24:25 > git config --get remote.origin.url # timeout=10 15:24:25 using GIT_SSH to set credentials SSH Credentials for GitHub 15:24:26 > git merge 753c0e66273d645c82de476ca0a438ee98891f55 # timeout=10 15:24:26 > git rev-parse HEAD^{commit} # timeout=10 15:24:26 > git config core.sparsecheckout # timeout=10 15:24:26 > git checkout -f 5e4c6c6b8e4caf4743705f57bbbd5d2304326862 # timeout=10 15:24:29 Commit message: "docs: Update changelog for 3.1 release" 15:24:29 > git --version # timeout=10 15:24:29 > git --version # 'git version 2.25.1' 15:24:29 fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:24:30 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:24:30 % Total % Received % Xferd Average Speed Time Time Time Current 15:24:30 Dload Upload Total Spent Left Speed 15:24:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 96075 0 --:--:-- --:--:-- --:--:-- 96075 [Pipeline] sh 15:24:31 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:24:31 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:24:31 + sudo tee /etc/docker/daemon.new 15:24:31 { 15:24:31 "registry-mirrors": [ 15:24:31 "https://nexus3.edgexfoundry.org:10001" 15:24:31 ], 15:24:31 "bip": "10.250.0.254/24", 15:24:31 "hosts": [ 15:24:31 "tcp://0.0.0.0:5555", 15:24:31 "unix:///var/run/docker.sock" 15:24:31 ], 15:24:31 "mtu": 1458, 15:24:31 "selinux-enabled": true, 15:24:31 "seccomp-profile": "/etc/docker/seccomp.json" 15:24:31 } [Pipeline] sh 15:24:32 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:24:32 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:24:50 provisioning config files... 15:24:50 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config9983163819379436259tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:24:51 ---> docker-login.sh 15:24:51 nexus3.edgexfoundry.org:10001 15:24:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:24:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:24:51 Configure a credential helper to remove this warning. See 15:24:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:24:51 15:24:51 Login Succeeded 15:24:51 nexus3.edgexfoundry.org:10002 15:24:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:24:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:24:52 Configure a credential helper to remove this warning. See 15:24:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:24:52 15:24:52 Login Succeeded 15:24:52 nexus3.edgexfoundry.org:10003 15:24:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:24:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:24:52 Configure a credential helper to remove this warning. See 15:24:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:24:52 15:24:52 Login Succeeded 15:24:52 nexus3.edgexfoundry.org:10004 15:24:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:24:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:24:52 Configure a credential helper to remove this warning. See 15:24:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:24:52 15:24:52 Login Succeeded 15:24:52 docker.io 15:24:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:24:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:24:53 Configure a credential helper to remove this warning. See 15:24:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:24:53 15:24:53 Login Succeeded 15:24:53 ---> docker-login.sh ends [Pipeline] } 15:24:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:24:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:24:53 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 15:24:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:24:53 ========================================================= 15:24:53 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 15:24:53 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:24:54 + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . 15:24:54 Sending build context to Docker daemon 2.956MB 15:24:54 Step 1/21 : ARG BASE=alpine:3.16 15:24:54 Step 2/21 : FROM ${BASE} as builder 15:24:54 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 15:24:54 579b34f0a95b: Pulling fs layer 15:24:54 e71477ac5e1b: Pulling fs layer 15:24:54 579b34f0a95b: Download complete 15:24:55 579b34f0a95b: Pull complete 15:24:57 e71477ac5e1b: Verifying Checksum 15:24:57 e71477ac5e1b: Download complete 15:25:10 e71477ac5e1b: Pull complete 15:25:10 Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 15:25:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 15:25:10 ---> 2b552cad5dd9 15:25:10 Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 15:25:10 ---> Running in 776b1a798d21 15:25:10 Connecting to iotech.jfrog.io (34.247.22.236:443) 15:25:11 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 15:25:11 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 15:25:11 '/etc/apk/keys/alpine.dev.rsa.pub' saved 15:25:11 Removing intermediate container 776b1a798d21 15:25:11 ---> 6995f1963a77 15:25:11 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 15:25:11 ---> Running in 695e78d65cda 15:25:13 Removing intermediate container 695e78d65cda 15:25:13 ---> 2617f4a37680 15:25:13 Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev 15:25:13 ---> Running in dcedf04e8a4f 15:25:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:25:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:25:15 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 15:25:16 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:25:16 (1/17) Installing hiredis (1.1.0-r2) 15:25:16 (2/17) Installing hiredis-dev (1.1.0-r2) 15:25:16 (3/17) Installing iotech-iot-1.5 (1.5.0-r0) 15:25:16 (4/17) Installing iotech-iot-1.5-dev (1.5.0-r0) 15:25:17 (5/17) Installing libcbor (0.10.2-r1) 15:25:17 (6/17) Installing libcbor-dev (0.10.2-r1) 15:25:17 (7/17) Installing libmenuw (6.4_p20230506-r0) 15:25:17 (8/17) Installing libpanelw (6.4_p20230506-r0) 15:25:17 (9/17) Installing libncurses++ (6.4_p20230506-r0) 15:25:17 (10/17) Installing ncurses-dev (6.4_p20230506-r0) 15:25:17 (11/17) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 15:25:18 (12/17) Installing libblkid (2.38.1-r8) 15:25:18 (13/17) Installing libuuid (2.38.1-r8) 15:25:18 (14/17) Installing libfdisk (2.38.1-r8) 15:25:18 (15/17) Installing libmount (2.38.1-r8) 15:25:18 (16/17) Installing libsmartcols (2.38.1-r8) 15:25:18 (17/17) Installing util-linux-dev (2.38.1-r8) 15:25:18 Executing busybox-1.36.1-r4.trigger 15:25:18 OK: 333 MiB in 99 packages 15:25:19 Removing intermediate container dcedf04e8a4f 15:25:19 ---> acdb525244c0 15:25:19 Step 6/21 : RUN mkdir /tmp/sdk 15:25:19 ---> Running in 26d892360a52 15:25:21 Removing intermediate container 26d892360a52 15:25:21 ---> 28bd4e7a6b0e 15:25:21 Step 7/21 : COPY VERSION /tmp/sdk 15:25:21 ---> 73f02f0e4fdd 15:25:21 Step 8/21 : COPY src /tmp/sdk/src 15:25:22 ---> a9b3729b65ae 15:25:22 Step 9/21 : COPY include /tmp/sdk/include 15:25:22 ---> 8aaf1dfa5219 15:25:22 Step 10/21 : COPY scripts /tmp/sdk/scripts 15:25:23 ---> c44dbd70edf7 15:25:23 Step 11/21 : COPY LICENSE /tmp/sdk 15:25:23 ---> cfd1cb369e48 15:25:23 Step 12/21 : COPY Attribution.txt /tmp/sdk 15:25:24 ---> 1fb16c1f3bdb 15:25:24 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 15:25:24 ---> Running in 23efc75f5d68 15:25:25 + CPPCHECK=false 15:25:25 + DOCGEN=false 15:25:25 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 15:25:25 + '[' 0 -gt 0 ] 15:25:25 + readlink -f ./scripts/build.sh 15:25:25 + dirname /tmp/sdk/scripts/build.sh 15:25:25 + dirname /tmp/sdk/scripts 15:25:25 + ROOT=/tmp/sdk 15:25:25 + cd /tmp/sdk 15:25:25 + mkdir -p /tmp/sdk/build/release 15:25:25 + cd /tmp/sdk/build/release 15:25:25 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 15:25:25 -- The C compiler identification is GNU 12.2.1 15:25:25 -- Detecting C compiler ABI info 15:25:26 -- Detecting C compiler ABI info - done 15:25:26 -- Check for working C compiler: /usr/bin/cc - skipped 15:25:26 -- Detecting C compile features 15:25:26 -- Detecting C compile features - done 15:25:26 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 15:25:26 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 15:25:26 -- Found LIBYAML: /usr/lib/libyaml.so 15:25:26 -- Found LIBUUID: /usr/lib/libuuid.so 15:25:26 -- Found LIBCBOR: /usr/lib/libcbor.so 15:25:26 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 15:25:26 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 15:25:26 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 15:25:26 -- /opt/iotech/iot/1.5/include 15:25:26 -- C SDK 0.0.0 for Linux 15:25:26 -- Performing Test CSDK_HAVE_ATOMIC 15:25:26 -- Performing Test CSDK_HAVE_ATOMIC - Success 15:25:27 -- Found Curses: /usr/lib/libcurses.so 15:25:27 -- Configuring done (1.7s) 15:25:27 -- Generating done (0.2s) 15:25:27 -- Build files have been written to: /tmp/sdk/build/release 15:25:27 + make all package 15:25:27 + tee release.log 15:25:27 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 15:25:28 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 15:25:29 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 15:25:29 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 15:25:30 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 15:25:30 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 15:25:33 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 15:25:33 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 15:25:33 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 15:25:33 294 | while (privateConfig) 15:25:33 | ^~~~~~~~~~~~~ 15:25:33 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 15:25:33 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 15:25:33 | ^~~~~~~~~~~~~ 15:25:33 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 15:25:33 271 | while (result) 15:25:33 | ^~~~~~ 15:25:33 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 15:25:33 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 15:25:33 | ^~~~~~ 15:25:34 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 15:25:34 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 15:25:35 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 15:25:37 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 15:25:37 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 15:25:38 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 15:25:39 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 15:25:39 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 15:25:40 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 15:25:40 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 15:25:42 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 15:25:43 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 15:25:43 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 15:25:45 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 15:25:51 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 15:25:52 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 15:25:52 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 15:25:53 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 15:25:53 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 15:25:54 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 15:25:56 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 15:25:57 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 15:25:58 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 15:25:58 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 15:25:58 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 15:25:58 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 15:25:58 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 15:25:58 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 15:25:58 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 15:25:58 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 15:25:58 | ^ 15:26:00 /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 15:26:00 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 15:26:00 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 15:26:00 /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here 15:26:00 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 15:26:00 | ^~~~~~~~~~~~~~~~~~~~~ 15:26:01 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 15:26:02 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 15:26:02 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 15:26:03 [ 68%] Linking C shared library libcsdk.so 15:26:03 [ 68%] Built target csdk 15:26:03 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 15:26:03 [ 72%] Linking C executable template 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: warning: libssl.so.1.1, needed by /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so, not found (try using -rpath or -rpath-link) 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: warning: libcrypto.so.1.1, needed by /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so, not found (try using -rpath or -rpath-link) 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_use_certificate_chain_file@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `OPENSSL_init_ssl@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `ERR_get_error@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_state_string_long@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `X509_check_host@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `OpenSSL_version@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CIPHER_get_name@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_use_PrivateKey_file@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_write@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_set_session@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_free@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_ctrl@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_get_error@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `BIO_read@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_SESSION_free@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SHA1_Update@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_psk_client_callback@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_load_verify_locations@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_get_ex_data@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `BIO_ctrl@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_get_SSL_CTX@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SHA1_Final@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `BIO_s_mem@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `CRYPTO_get_ex_new_index@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `ERR_clear_error@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `OPENSSL_init_crypto@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_msg_callback@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_cipher_list@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_alert_type_string_long@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_security_level@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `BIO_push@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_default_verify_paths@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `BIO_new@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_get_peer_certificate@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `X509_check_ip_asc@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_verify@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_shutdown@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_set_fd@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `BIO_set_flags@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_get1_session@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_ctrl@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_default_passwd_cb@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `ERR_print_errors_cb@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_info_callback@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `TLS_client_method@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `BIO_f_base64@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_ex_data@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_read@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_new@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SHA1_Init@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_get_verify_result@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_get_current_cipher@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `X509_free@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_pending@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_free@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `BIO_free_all@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `BIO_write@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_alert_desc_string_long@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_default_passwd_cb_userdata@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_get_cipher_list@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `CRYPTO_free@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `RAND_bytes@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_connect@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_new@OPENSSL_1_1_0' 15:26:04 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_alpn_protos@OPENSSL_1_1_0' 15:26:04 collect2: error: ld returned 1 exit status 15:26:04 make[2]: *** [c/examples/CMakeFiles/template.dir/build.make:106: c/examples/template] Error 1 15:26:04 make[1]: *** [CMakeFiles/Makefile2:266: c/examples/CMakeFiles/template.dir/all] Error 2 15:26:04 make: *** [Makefile:156: all] Error 2 15:26:04 + '[' false '=' true ] 15:26:04 + '[' false '=' true ] 15:26:04 + mkdir -p /tmp/sdk/build/debug 15:26:04 + cd /tmp/sdk/build/debug 15:26:04 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 15:26:04 -- The C compiler identification is GNU 12.2.1 15:26:04 -- Detecting C compiler ABI info 15:26:04 -- Detecting C compiler ABI info - done 15:26:05 -- Check for working C compiler: /usr/bin/cc - skipped 15:26:05 -- Detecting C compile features 15:26:05 -- Detecting C compile features - done 15:26:05 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 15:26:05 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 15:26:05 -- Found LIBYAML: /usr/lib/libyaml.so 15:26:05 -- Found LIBUUID: /usr/lib/libuuid.so 15:26:05 -- Found LIBCBOR: /usr/lib/libcbor.so 15:26:05 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 15:26:05 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 15:26:05 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 15:26:05 -- /opt/iotech/iot/1.5/include 15:26:05 -- C SDK 0.0.0 for Linux 15:26:05 -- Performing Test CSDK_HAVE_ATOMIC 15:26:05 -- Performing Test CSDK_HAVE_ATOMIC - Success 15:26:05 -- Found Curses: /usr/lib/libcurses.so 15:26:06 -- Configuring done (1.6s) 15:26:06 -- Generating done (0.2s) 15:26:06 -- Build files have been written to: /tmp/sdk/build/debug 15:26:06 + make 15:26:06 + tee debug.log 15:26:06 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 15:26:06 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 15:26:07 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 15:26:07 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 15:26:08 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 15:26:08 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 15:26:08 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 15:26:09 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 15:26:09 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 15:26:10 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 15:26:10 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 15:26:10 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 15:26:11 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 15:26:11 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 15:26:11 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 15:26:12 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 15:26:12 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 15:26:13 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 15:26:13 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 15:26:13 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 15:26:14 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 15:26:15 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 15:26:15 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 15:26:15 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 15:26:16 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 15:26:16 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 15:26:17 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 15:26:18 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 15:26:18 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 15:26:19 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 15:26:19 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 15:26:19 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 15:26:19 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 15:26:19 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 15:26:19 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 15:26:19 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 15:26:19 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 15:26:19 | ^ 15:26:20 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 15:26:20 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 15:26:21 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 15:26:21 [ 68%] Linking C shared library libcsdk.so 15:26:21 [ 68%] Built target csdk 15:26:21 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 15:26:21 [ 72%] Linking C executable template 15:26:21 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: warning: libssl.so.1.1, needed by /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so, not found (try using -rpath or -rpath-link) 15:26:21 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: warning: libcrypto.so.1.1, needed by /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so, not found (try using -rpath or -rpath-link) 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_use_certificate_chain_file@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `OPENSSL_init_ssl@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `ERR_get_error@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_state_string_long@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `X509_check_host@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `OpenSSL_version@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CIPHER_get_name@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_use_PrivateKey_file@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_write@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_set_session@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_free@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_ctrl@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_get_error@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `BIO_read@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_SESSION_free@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SHA1_Update@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_psk_client_callback@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_load_verify_locations@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_get_ex_data@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `BIO_ctrl@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_get_SSL_CTX@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SHA1_Final@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `BIO_s_mem@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `CRYPTO_get_ex_new_index@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `ERR_clear_error@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `OPENSSL_init_crypto@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_msg_callback@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_cipher_list@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_alert_type_string_long@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_security_level@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `BIO_push@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_default_verify_paths@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `BIO_new@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_get_peer_certificate@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `X509_check_ip_asc@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_verify@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_shutdown@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_set_fd@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `BIO_set_flags@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_get1_session@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_ctrl@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_default_passwd_cb@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `ERR_print_errors_cb@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_info_callback@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `TLS_client_method@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `BIO_f_base64@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_ex_data@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_read@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_new@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SHA1_Init@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_get_verify_result@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_get_current_cipher@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `X509_free@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_pending@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_free@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `BIO_free_all@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `BIO_write@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_alert_desc_string_long@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_default_passwd_cb_userdata@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_get_cipher_list@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `CRYPTO_free@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `RAND_bytes@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_connect@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_new@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_alpn_protos@OPENSSL_1_1_0' 15:26:22 collect2: error: ld returned 1 exit status 15:26:22 make[2]: *** [c/examples/CMakeFiles/template.dir/build.make:106: c/examples/template] Error 1 15:26:22 make[1]: *** [CMakeFiles/Makefile2:266: c/examples/CMakeFiles/template.dir/all] Error 2 15:26:22 make: *** [Makefile:156: all] Error 2 15:26:22 make: Entering directory '/tmp/sdk/build/release' 15:26:22 [ 68%] Built target csdk 15:26:22 [ 70%] Linking C executable template 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: warning: libssl.so.1.1, needed by /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so, not found (try using -rpath or -rpath-link) 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: warning: libcrypto.so.1.1, needed by /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so, not found (try using -rpath or -rpath-link) 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_use_certificate_chain_file@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `OPENSSL_init_ssl@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `ERR_get_error@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_state_string_long@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `X509_check_host@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `OpenSSL_version@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CIPHER_get_name@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_use_PrivateKey_file@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_write@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_set_session@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_free@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_ctrl@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_get_error@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `BIO_read@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_SESSION_free@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SHA1_Update@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_psk_client_callback@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_load_verify_locations@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_get_ex_data@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `BIO_ctrl@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_get_SSL_CTX@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SHA1_Final@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `BIO_s_mem@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `CRYPTO_get_ex_new_index@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `ERR_clear_error@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `OPENSSL_init_crypto@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_msg_callback@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_cipher_list@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_alert_type_string_long@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_security_level@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `BIO_push@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_default_verify_paths@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `BIO_new@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_get_peer_certificate@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `X509_check_ip_asc@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_verify@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_shutdown@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_set_fd@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `BIO_set_flags@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_get1_session@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_ctrl@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_default_passwd_cb@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `ERR_print_errors_cb@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_info_callback@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `TLS_client_method@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `BIO_f_base64@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_ex_data@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_read@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_new@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SHA1_Init@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_get_verify_result@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_get_current_cipher@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `X509_free@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_pending@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_free@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `BIO_free_all@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `BIO_write@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_alert_desc_string_long@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_default_passwd_cb_userdata@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_get_cipher_list@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `CRYPTO_free@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `RAND_bytes@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_connect@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_new@OPENSSL_1_1_0' 15:26:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../lib/libpaho-mqtt3as.so: undefined reference to `SSL_CTX_set_alpn_protos@OPENSSL_1_1_0' 15:26:22 collect2: error: ld returned 1 exit status 15:26:22 make[2]: *** [c/examples/CMakeFiles/template.dir/build.make:106: c/examples/template] Error 1 15:26:22 make[1]: *** [CMakeFiles/Makefile2:266: c/examples/CMakeFiles/template.dir/all] Error 2 15:26:22 make: *** [Makefile:156: all] Error 2 15:26:22 make: Leaving directory '/tmp/sdk/build/release' 15:26:25 The command '/bin/sh -c cd /tmp/sdk && ./scripts/build.sh && make -C build/release install' returned a non-zero code: 2 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:26:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:26:27 15:26:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:26:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:26:27 arm64: Pulling from edgex-lftools-log-publisher 15:26:27 8998bd30e6a1: Pulling fs layer 15:26:27 04944245beec: Pulling fs layer 15:26:27 699f458cf7ca: Pulling fs layer 15:26:27 765212b225bb: Pulling fs layer 15:26:27 f23df028b6ca: Pulling fs layer 15:26:27 d65c8cfc05b1: Pulling fs layer 15:26:27 2437ff75d9bd: Pulling fs layer 15:26:27 765212b225bb: Waiting 15:26:27 f23df028b6ca: Waiting 15:26:27 d65c8cfc05b1: Waiting 15:26:27 2437ff75d9bd: Waiting 15:26:27 04944245beec: Verifying Checksum 15:26:27 04944245beec: Download complete 15:26:27 765212b225bb: Verifying Checksum 15:26:27 765212b225bb: Download complete 15:26:27 f23df028b6ca: Verifying Checksum 15:26:27 f23df028b6ca: Download complete 15:26:27 d65c8cfc05b1: Verifying Checksum 15:26:27 d65c8cfc05b1: Download complete 15:26:27 699f458cf7ca: Verifying Checksum 15:26:27 699f458cf7ca: Download complete 15:26:28 8998bd30e6a1: Verifying Checksum 15:26:28 8998bd30e6a1: Download complete 15:26:30 2437ff75d9bd: Verifying Checksum 15:26:30 2437ff75d9bd: Download complete 15:26:33 8998bd30e6a1: Pull complete 15:26:33 04944245beec: Pull complete 15:26:35 699f458cf7ca: Pull complete 15:26:35 765212b225bb: Pull complete 15:26:40 f23df028b6ca: Pull complete 15:26:40 d65c8cfc05b1: Pull complete 15:26:55 2437ff75d9bd: Pull complete 15:26:55 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:26:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:26:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:26:56 prd-ubuntu20.04-docker-arm64-4c-16g-16862 does not seem to be running inside a container 15:26:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:26:58 $ docker top 7c52ea6944e8a2a5b503dcca2e37840ef5dbd00dc1b7a0fe4a265f349ae152b2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:26:59 ---> job-cost.sh 15:26:59 lf-activate-venv: SKIPPING 15:26:59 INFO: No Stack... 15:26:59 INFO: Retrieving Pricing Info for: v3-standard-4 15:27:00 INFO: Archiving Costs [Pipeline] sh 15:27:01 + + cat /w/workspace/device-sdk-c/1/archives/cost.csvcut 15:27:01 -d, -f6 [Pipeline] lock 15:27:01 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-491-1-stack-cost] 15:27:01 Resource [jenkins-edgexfoundry-device-sdk-c-PR-491-1-stack-cost] did not exist. Created. 15:27:01 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-491-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:27:01 /w/workspace/device-sdk-c/1@tmp/durable-1783c21b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:27:02 + echo total: 0.10999999940395355 [Pipeline] stash 15:27:02 Warning: overwriting stash ‘stack-cost’ 15:27:03 Stashed 1 file(s) [Pipeline] } 15:27:03 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-491-1-stack-cost] [Pipeline] // lock [Pipeline] } 15:27:03 $ docker stop --time=1 7c52ea6944e8a2a5b503dcca2e37840ef5dbd00dc1b7a0fe4a265f349ae152b2 15:27:04 $ docker rm -f --volumes 7c52ea6944e8a2a5b503dcca2e37840ef5dbd00dc1b7a0fe4a265f349ae152b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 15:27:05 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 15:27:06 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-491/archives ] 15:27:06 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-491/archives 15:27:06 total 16 15:27:06 drwxr-xr-x 3 root root 4096 Nov 7 15:23 . 15:27:06 drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 15:23 .. 15:27:06 drwxr-xr-x 2 root root 4096 Nov 7 15:23 cost 15:27:06 -rw-r--r-- 1 root root 84 Nov 7 15:23 cost.csv 15:27:06 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-491/archives 15:27:06 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-491/archives 15:27:06 total 16 15:27:06 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 15:23 . 15:27:06 drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 15:23 .. 15:27:06 drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 15:23 cost 15:27:06 -rw-r--r-- 1 jenkins jenkins 84 Nov 7 15:23 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:27:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:27:07 ---> package-listing.sh 15:27:07 ++ facter osfamily 15:27:07 ++ tr '[:upper:]' '[:lower:]' 15:27:07 + OS_FAMILY=debian 15:27:07 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-491 15:27:07 + START_PACKAGES=/tmp/packages_start.txt 15:27:07 + END_PACKAGES=/tmp/packages_end.txt 15:27:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:27:07 + PACKAGES=/tmp/packages_start.txt 15:27:07 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-491 ']' 15:27:07 + PACKAGES=/tmp/packages_end.txt 15:27:07 + case "${OS_FAMILY}" in 15:27:07 + dpkg -l 15:27:07 + grep '^ii' 15:27:07 + '[' -f /tmp/packages_start.txt ']' 15:27:07 + '[' -f /tmp/packages_end.txt ']' 15:27:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:27:07 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-491 ']' 15:27:07 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-491/archives/ 15:27:07 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-491/archives/ [Pipeline] echo 15:27:07 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-491/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:27:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:27:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:27:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:27:09 prd-ubuntu20.04-docker-8c-8g-16861 does not seem to be running inside a container 15:27:09 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-491/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-491 -v /w/workspace/edgexfoundry_device-sdk-c_PR-491:/w/workspace/edgexfoundry_device-sdk-c_PR-491:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-491@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-491@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:27:09 $ docker top 1adaeb304677b2aa37a68b0d6490d990ce0976dc91c3282e7486fcd70745874e -eo pid,comm [Pipeline] { [Pipeline] sh 15:27:09 + touch /tmp/pre-build-complete [Pipeline] sh 15:27:09 + mkdir -p /var/log/sysstat [Pipeline] sh 15:27:10 + ls /var/log/sa-host 15:27:10 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:27:10 provisioning config files... 15:27:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-491@tmp/config7509128882412169252tmp [Pipeline] { [Pipeline] echo 15:27:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:27:10 ---> create-netrc.sh [Pipeline] } 15:27:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:27:11 ---> python-tools-install.sh [Pipeline] echo 15:27:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:27:11 ---> sudo-logs.sh 15:27:11 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:27:11 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:27:12 ---> job-cost.sh 15:27:12 lf-activate-venv: SKIPPING 15:27:12 DEBUG: total: 0.2199999988079071 15:27:12 INFO: Retrieving Stack Cost... 15:27:12 INFO: Retrieving Pricing Info for: v3-standard-8 15:27:12 INFO: Archiving Costs [Pipeline] echo 15:27:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:27:13 ---> logs-deploy.sh 15:27:13 lf-activate-venv: SKIPPING 15:27:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-491/1 15:27:13 INFO: archiving workspace using pattern(s): 15:27:14 Archives upload complete. 15:27:14 INFO: archiving logs to Nexus