Started by user Felix Ting Replayed #4 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 b30b8809af46775d8f76a8bc5ad5c6ddf49e9a93 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-ssh2817837849207755926.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-ssh9800080239404347893.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-491/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-ssh11360997606436565147.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 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. Replacing contents of vars/edgeXClair.groovy Replacing contents of vars/edgeXReleaseOpenApi.groovy Replacing contents of vars/edgex.groovy Replacing contents of vars/edgeXUpdateNamedTag.groovy Replacing contents of vars/edgeXReleaseGitHubAssets.groovy Replacing contents of vars/edgeXBuildGoMod.groovy Replacing contents of src/main/groovy/edgeXDocGenerator.groovy Replacing contents of vars/edgeXSemver.groovy Replacing contents of vars/edgeXLTS.groovy Replacing contents of vars/edgeXInfraPublish.groovy Replacing contents of vars/edgeXDockerLogin.groovy Replacing contents of vars/edgeXReleaseGitTag.groovy Replacing contents of vars/edgeXEmailUtil.groovy Replacing contents of vars/edgeXBuildGoApp.groovy Replacing contents of vars/edgeXReleaseSnap.groovy Replacing contents of vars/edgeXReleaseDocs.groovy Replacing contents of vars/edgeXSetupEnvironment.groovy Replacing contents of vars/edgeXInfraLFToolsSign.groovy Replacing contents of vars/edgeXGeneric.groovy Replacing contents of vars/edgeXGHPagesPublish.groovy Replacing contents of vars/edgeXDocker.groovy Replacing contents of vars/edgeXInfraShipLogs.groovy Replacing contents of vars/edgeXBuildGoParallel.groovy Replacing contents of vars/edgeXBuildCApp.groovy Replacing contents of vars/edgeXRelease.groovy Replacing contents of vars/edgeXCodecov.groovy Replacing contents of vars/edgeXReleaseDockerImage.groovy Replacing contents of vars/edgeXBuildDocker.groovy Replacing contents of vars/edgeXEmail.groovy Replacing contents of vars/edgeXNexusPublish.groovy Replacing contents of vars/edgeXSwaggerPublish.groovy Replacing contents of vars/edgeXSnyk.groovy Replacing contents of vars/edgeXSnap.groovy Replacing contents of vars/edgeXReleaseGitTagUtil.groovy 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-ssh11008398216726031095.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-491/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-ssh10283082226062173643.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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. Replacing contents of vars/lfJava.groovy Replacing contents of vars/lfDocker.groovy Replacing contents of vars/lfDefaults.groovy Replacing contents of vars/lfInfraShipLogs.groovy Replacing contents of vars/lfParallelCostCapture.groovy Replacing contents of vars/lfCommon.groovy Replacing contents of vars/lfNode.groovy [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-17010 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 b30b8809af46775d8f76a8bc5ad5c6ddf49e9a93 Merge succeeded, producing b30b8809af46775d8f76a8bc5ad5c6ddf49e9a93 Checking out Revision b30b8809af46775d8f76a8bc5ad5c6ddf49e9a93 (PR-491) > git config core.sparsecheckout # timeout=10 > git checkout -f b30b8809af46775d8f76a8bc5ad5c6ddf49e9a93 # 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 b30b8809af46775d8f76a8bc5ad5c6ddf49e9a93 # timeout=10 Commit message: "docs: Remove breaking change about common config" > git rev-list --no-walk b30b8809af46775d8f76a8bc5ad5c6ddf49e9a93 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:16:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:16:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:16:24 ========================================================= 13:16:24 EdgeX Global Pipelines Version Info 13:16:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:16:24 ------------------- 13:16:24 stable info: 13:16:24 ------------------- 13:16:24 Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com 13:16:24 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 13:16:24 Message: update stable to v1.0.257 13:16:26 ------------------- 13:16:26 experimental info: 13:16:26 ------------------- 13:16:26 Commited By: **** collab-it+edgex@linuxfoundation.org 13:16:26 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 13:16:26 Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:16:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 13:16:26 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 13:16:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:16:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:16:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:16:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 13:16:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 13:16:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:16:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:16:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 13:16:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:16:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:16:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:16:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 13:16:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:16:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:16:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:16:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-491 [Pipeline] echo 13:16:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-491 [Pipeline] echo 13:16:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-491 [Pipeline] echo 13:16:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b30b8809af46775d8f76a8bc5ad5c6ddf49e9a93 [Pipeline] echo 13:16:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b30b880 [Pipeline] echo 13:16:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:16:27 provisioning config files... 13:16:27 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-491@tmp/config10573382213554566090tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:16:27 ---> docker-login.sh 13:16:27 nexus3.edgexfoundry.org:10001 13:16:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:28 Configure a credential helper to remove this warning. See 13:16:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:28 13:16:28 Login Succeeded 13:16:28 nexus3.edgexfoundry.org:10002 13:16:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:28 Configure a credential helper to remove this warning. See 13:16:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:28 13:16:28 Login Succeeded 13:16:28 nexus3.edgexfoundry.org:10003 13:16:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:28 Configure a credential helper to remove this warning. See 13:16:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:28 13:16:28 Login Succeeded 13:16:28 nexus3.edgexfoundry.org:10004 13:16:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:28 Configure a credential helper to remove this warning. See 13:16:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:28 13:16:28 Login Succeeded 13:16:28 docker.io 13:16:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:28 Configure a credential helper to remove this warning. See 13:16:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:28 13:16:28 Login Succeeded 13:16:28 ---> docker-login.sh ends [Pipeline] } 13:16:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 13:16:28 + git rev-list -1 --merges b30b8809af46775d8f76a8bc5ad5c6ddf49e9a93~1..b30b8809af46775d8f76a8bc5ad5c6ddf49e9a93 [Pipeline] echo 13:16:29 -----------> git rev-list -1 --merges b30b8809af46775d8f76a8bc5ad5c6ddf49e9a93~1..b30b8809af46775d8f76a8bc5ad5c6ddf49e9a93 b30b8809af46775d8f76a8bc5ad5c6ddf49e9a93 [false] [Pipeline] sh 13:16:29 + git log --format=format:%s -1 b30b8809af46775d8f76a8bc5ad5c6ddf49e9a93 [Pipeline] echo 13:16:29 ========================================================= 13:16:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:16:29 ========================================================= 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 13:16:29 + git rev-list -1 --merges b30b8809af46775d8f76a8bc5ad5c6ddf49e9a93~1..b30b8809af46775d8f76a8bc5ad5c6ddf49e9a93 [Pipeline] echo 13:16:29 -----------> git rev-list -1 --merges b30b8809af46775d8f76a8bc5ad5c6ddf49e9a93~1..b30b8809af46775d8f76a8bc5ad5c6ddf49e9a93 b30b8809af46775d8f76a8bc5ad5c6ddf49e9a93 [false] [Pipeline] sh 13:16:30 + git log --format=format:%s -1 b30b8809af46775d8f76a8bc5ad5c6ddf49e9a93 [Pipeline] echo 13:16:30 ========================================================= 13:16:30 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:16:30 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 13:16:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:16:30 + grep -v github /etc/ssh/ssh_known_hosts 13:16:30 + [ -e /tmp/ssh_known_hosts ] 13:16:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:16:30 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:16:30 + sudo tee -a /etc/ssh/ssh_known_hosts 13:16:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:16:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:16:30 13:16:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:16:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:16:31 0.1.4: Pulling from edgex-devops/py-git-semver 13:16:31 b85a868b505f: Pulling fs layer 13:16:31 e2be974225ed: Pulling fs layer 13:16:31 339a4e72a1f5: Pulling fs layer 13:16:31 988bab9f4d93: Pulling fs layer 13:16:31 1469e6f7b9e6: Pulling fs layer 13:16:31 eaf3925da568: Pulling fs layer 13:16:31 bab4dde63d76: Pulling fs layer 13:16:31 bde34c3a00c8: Pulling fs layer 13:16:31 b352a97aabf1: Pulling fs layer 13:16:31 4872d77fe225: Pulling fs layer 13:16:31 5851b861e8e6: Pulling fs layer 13:16:31 bab4dde63d76: Waiting 13:16:31 bde34c3a00c8: Waiting 13:16:31 b352a97aabf1: Waiting 13:16:31 4872d77fe225: Waiting 13:16:31 5851b861e8e6: Waiting 13:16:31 988bab9f4d93: Waiting 13:16:31 1469e6f7b9e6: Waiting 13:16:31 eaf3925da568: Waiting 13:16:31 e2be974225ed: Verifying Checksum 13:16:31 e2be974225ed: Download complete 13:16:31 988bab9f4d93: Verifying Checksum 13:16:31 988bab9f4d93: Download complete 13:16:31 1469e6f7b9e6: Verifying Checksum 13:16:31 1469e6f7b9e6: Download complete 13:16:31 eaf3925da568: Download complete 13:16:31 339a4e72a1f5: Verifying Checksum 13:16:31 339a4e72a1f5: Download complete 13:16:31 bde34c3a00c8: Verifying Checksum 13:16:31 bde34c3a00c8: Download complete 13:16:31 b352a97aabf1: Download complete 13:16:31 4872d77fe225: Verifying Checksum 13:16:31 4872d77fe225: Download complete 13:16:31 5851b861e8e6: Verifying Checksum 13:16:31 5851b861e8e6: Download complete 13:16:31 b85a868b505f: Verifying Checksum 13:16:31 b85a868b505f: Download complete 13:16:31 bab4dde63d76: Verifying Checksum 13:16:31 bab4dde63d76: Download complete 13:16:32 b85a868b505f: Pull complete 13:16:32 e2be974225ed: Pull complete 13:16:33 339a4e72a1f5: Pull complete 13:16:33 988bab9f4d93: Pull complete 13:16:33 1469e6f7b9e6: Pull complete 13:16:33 eaf3925da568: Pull complete 13:16:35 bab4dde63d76: Pull complete 13:16:35 bde34c3a00c8: Pull complete 13:16:35 b352a97aabf1: Pull complete 13:16:36 4872d77fe225: Pull complete 13:16:36 5851b861e8e6: Pull complete 13:16:36 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 13:16:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:16:36 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:16:36 prd-ubuntu20.04-docker-8c-8g-17010 does not seem to be running inside a container 13:16:36 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 13:16:41 $ docker top 4ab2c35dd55d4e32e6069c36f9b30d087c45f6eb915cee8c7b745c8f2474af0e -eo pid,comm 13:16:41 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). 13:16:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:16:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:16:41 [ssh-agent] Looking for ssh-agent implementation... 13:16:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:16:41 $ docker exec 4ab2c35dd55d4e32e6069c36f9b30d087c45f6eb915cee8c7b745c8f2474af0e ssh-agent 13:16:41 SSH_AUTH_SOCK=/tmp/ssh-cSgwjuYwtEri/agent.31 13:16:41 SSH_AGENT_PID=37 13:16:41 Running ssh-add (command line suppressed) 13:16:41 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-491@tmp/private_key_3155571693336339325.key (/w/workspace/edgexfoundry_device-sdk-c_PR-491@tmp/private_key_3155571693336339325.key) 13:16:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:16:41 + git tag --points-at HEAD [Pipeline] } 13:16:41 $ docker exec --env ******** --env ******** 4ab2c35dd55d4e32e6069c36f9b30d087c45f6eb915cee8c7b745c8f2474af0e ssh-agent -k 13:16:41 unset SSH_AUTH_SOCK; 13:16:41 unset SSH_AGENT_PID; 13:16:41 echo Agent pid 37 killed; 13:16:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:16:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:16:41 [ssh-agent] Looking for ssh-agent implementation... 13:16:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:16:42 $ docker exec 4ab2c35dd55d4e32e6069c36f9b30d087c45f6eb915cee8c7b745c8f2474af0e ssh-agent 13:16:42 SSH_AUTH_SOCK=/tmp/ssh-74ZvpjYC5uK6/agent.69 13:16:42 SSH_AGENT_PID=75 13:16:42 Running ssh-add (command line suppressed) 13:16:42 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-491@tmp/private_key_9880155565162204727.key (/w/workspace/edgexfoundry_device-sdk-c_PR-491@tmp/private_key_9880155565162204727.key) 13:16:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:16:42 + git semver init 13:16:42 2023-11-08 13:16:42,776 [run_init] DEBUG init version:0.0.0 force:False 13:16:42 2023-11-08 13:16:42,776 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-491/.semver 13:16:42 2023-11-08 13:16:42,777 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-491/.semver 13:16:42 2023-11-08 13:16:42,777 [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) 13:16:43 2023-11-08 13:16:43,666 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-491/.git/info/exclude 13:16:43 2023-11-08 13:16:43,666 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-491/.semver/PR-491 with force:False 13:16:43 2023-11-08 13:16:43,667 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-491/.semver/PR-491 13:16:43 2023-11-08 13:16:43,671 [execute] INFO git cat-file --batch-check 13:16:43 2023-11-08 13:16:43,671 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-491/.semver, universal_newlines=False, shell=None, istream=) 13:16:43 2023-11-08 13:16:43,677 [execute] INFO git cat-file --batch 13:16:43 2023-11-08 13:16:43,678 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-491/.semver, universal_newlines=False, shell=None, istream=) 13:16:43 2023-11-08 13:16:43,683 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-491/.semver/PR-491 13:16:43 0.0.0 [Pipeline] } 13:16:43 $ docker exec --env ******** --env ******** 4ab2c35dd55d4e32e6069c36f9b30d087c45f6eb915cee8c7b745c8f2474af0e ssh-agent -k 13:16:43 unset SSH_AUTH_SOCK; 13:16:43 unset SSH_AGENT_PID; 13:16:43 echo Agent pid 75 killed; 13:16:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:16:44 + git semver [Pipeline] } 13:16:44 $ docker stop --time=1 4ab2c35dd55d4e32e6069c36f9b30d087c45f6eb915cee8c7b745c8f2474af0e 13:16:47 $ docker rm -f --volumes 4ab2c35dd55d4e32e6069c36f9b30d087c45f6eb915cee8c7b745c8f2474af0e [Pipeline] // withDockerContainer [Pipeline] sh 13:16:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:16:48 Stashed 1 file(s) [Pipeline] echo 13:16:48 [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 13:16:48 provisioning config files... 13:16:48 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-491@tmp/config2654640316397711664tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:16:48 ---> docker-login.sh 13:16:48 nexus3.edgexfoundry.org:10001 13:16:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:48 Configure a credential helper to remove this warning. See 13:16:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:48 13:16:48 Login Succeeded 13:16:48 nexus3.edgexfoundry.org:10002 13:16:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:48 Configure a credential helper to remove this warning. See 13:16:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:48 13:16:48 Login Succeeded 13:16:48 nexus3.edgexfoundry.org:10003 13:16:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:48 Configure a credential helper to remove this warning. See 13:16:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:48 13:16:48 Login Succeeded 13:16:48 nexus3.edgexfoundry.org:10004 13:16:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:48 Configure a credential helper to remove this warning. See 13:16:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:48 13:16:48 Login Succeeded 13:16:48 docker.io 13:16:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:49 Configure a credential helper to remove this warning. See 13:16:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:49 13:16:49 Login Succeeded 13:16:49 ---> docker-login.sh ends [Pipeline] } 13:16:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:16:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:16:49 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 13:16:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:16:49 ========================================================= 13:16:49 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 13:16:49 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:16:49 + 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 . 13:16:49 Sending build context to Docker daemon 4.945MB 13:16:49 Step 1/21 : ARG BASE=alpine:3.16 13:16:49 Step 2/21 : FROM ${BASE} as builder 13:16:49 latest: Pulling from edgex-devops/edgex-gcc-base 13:16:49 96526aa774ef: Pulling fs layer 13:16:49 da60e534fd72: Pulling fs layer 13:16:49 96526aa774ef: Verifying Checksum 13:16:49 96526aa774ef: Download complete 13:16:49 96526aa774ef: Pull complete 13:16:50 da60e534fd72: Verifying Checksum 13:16:50 da60e534fd72: Download complete 13:16:53 da60e534fd72: Pull complete 13:16:53 Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 13:16:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 13:16:53 ---> 6605166a5db4 13:16:53 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 13:16:57 ---> Running in e1a91e64ac95 13:16:57 Connecting to iotech.jfrog.io (34.246.139.145:443) 13:16:57 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 13:16:57 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 13:16:57 '/etc/apk/keys/alpine.dev.rsa.pub' saved 13:16:59 Removing intermediate container e1a91e64ac95 13:16:59 ---> 443cb4e3386d 13:16:59 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 13:16:59 ---> Running in 6b8c99ff2a9a 13:16:59 Removing intermediate container 6b8c99ff2a9a 13:16:59 ---> 63c626ce1a6f 13:16:59 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 13:16:59 ---> Running in 401f5bc73b2a 13:17:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:17:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:17:00 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 13:17:01 WARNING: This apk-tools is OLD! Some packages might not function properly. 13:17:01 (1/17) Installing hiredis (1.1.0-r2) 13:17:01 (2/17) Installing hiredis-dev (1.1.0-r2) 13:17:01 (3/17) Installing iotech-iot-1.5 (1.5.0-r0) 13:17:01 (4/17) Installing iotech-iot-1.5-dev (1.5.0-r0) 13:17:02 (5/17) Installing libcbor (0.10.2-r1) 13:17:02 (6/17) Installing libcbor-dev (0.10.2-r1) 13:17:02 (7/17) Installing libmenuw (6.4_p20230506-r0) 13:17:02 (8/17) Installing libpanelw (6.4_p20230506-r0) 13:17:02 (9/17) Installing libncurses++ (6.4_p20230506-r0) 13:17:02 (10/17) Installing ncurses-dev (6.4_p20230506-r0) 13:17:02 (11/17) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 13:17:02 (12/17) Installing libblkid (2.38.1-r8) 13:17:02 (13/17) Installing libuuid (2.38.1-r8) 13:17:02 (14/17) Installing libfdisk (2.38.1-r8) 13:17:02 (15/17) Installing libmount (2.38.1-r8) 13:17:02 (16/17) Installing libsmartcols (2.38.1-r8) 13:17:02 (17/17) Installing util-linux-dev (2.38.1-r8) 13:17:02 Executing busybox-1.36.1-r4.trigger 13:17:02 OK: 336 MiB in 99 packages 13:17:03 Still waiting to schedule task 13:17:03 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 13:17:03 Removing intermediate container 401f5bc73b2a 13:17:03 ---> cb928d8f1597 13:17:03 Step 6/21 : RUN mkdir /tmp/sdk 13:17:03 ---> Running in c15115dd933c 13:17:04 Removing intermediate container c15115dd933c 13:17:04 ---> 8c102b3214ba 13:17:04 Step 7/21 : COPY VERSION /tmp/sdk 13:17:04 ---> c96f7e067eae 13:17:04 Step 8/21 : COPY src /tmp/sdk/src 13:17:04 ---> 34824e685c5e 13:17:04 Step 9/21 : COPY include /tmp/sdk/include 13:17:04 ---> d882b0ef345a 13:17:04 Step 10/21 : COPY scripts /tmp/sdk/scripts 13:17:04 ---> 055c3348c862 13:17:04 Step 11/21 : COPY LICENSE /tmp/sdk 13:17:04 ---> 9c4e2e400d15 13:17:04 Step 12/21 : COPY Attribution.txt /tmp/sdk 13:17:05 ---> 045fa05c9312 13:17:05 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 13:17:05 ---> Running in c81f0472e75d 13:17:05 + CPPCHECK=false 13:17:05 + DOCGEN=false 13:17:05 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 13:17:05 + '[' 0 -gt 0 ] 13:17:05 + readlink -f ./scripts/build.sh 13:17:05 + dirname /tmp/sdk/scripts/build.sh 13:17:05 + dirname /tmp/sdk/scripts 13:17:05 + ROOT=/tmp/sdk 13:17:05 + cd /tmp/sdk 13:17:05 + mkdir -p /tmp/sdk/build/release 13:17:05 + cd /tmp/sdk/build/release 13:17:05 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 13:17:05 -- The C compiler identification is GNU 12.2.1 13:17:05 -- Detecting C compiler ABI info 13:17:05 -- Detecting C compiler ABI info - done 13:17:05 -- Check for working C compiler: /usr/bin/cc - skipped 13:17:05 -- Detecting C compile features 13:17:05 -- Detecting C compile features - done 13:17:05 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:17:05 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 13:17:05 -- Found LIBYAML: /usr/lib/libyaml.so 13:17:05 -- Found LIBUUID: /usr/lib/libuuid.so 13:17:05 -- Found LIBCBOR: /usr/lib/libcbor.so 13:17:05 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 13:17:05 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 13:17:05 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 13:17:05 -- /opt/iotech/iot/1.5/include 13:17:05 -- C SDK 0.0.0 for Linux 13:17:05 -- Performing Test CSDK_HAVE_ATOMIC 13:17:05 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:17:05 -- Found Curses: /usr/lib/libcurses.so 13:17:05 -- Configuring done (0.4s) 13:17:05 -- Generating done (0.0s) 13:17:05 -- Build files have been written to: /tmp/sdk/build/release 13:17:05 + make all package 13:17:05 + tee release.log 13:17:05 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:17:06 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 13:17:06 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 13:17:06 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 13:17:06 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 13:17:06 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 13:17:06 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 13:17:06 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 13:17:06 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 13:17:06 294 | while (privateConfig) 13:17:06 | ^~~~~~~~~~~~~ 13:17:06 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 13:17:06 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 13:17:06 | ^~~~~~~~~~~~~ 13:17:06 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 13:17:06 271 | while (result) 13:17:06 | ^~~~~~ 13:17:06 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 13:17:06 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 13:17:06 | ^~~~~~ 13:17:06 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 13:17:07 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 13:17:07 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 13:17:07 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 13:17:07 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:17:07 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 13:17:07 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 13:17:07 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 13:17:07 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 13:17:08 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 13:17:08 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 13:17:08 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 13:17:08 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 13:17:08 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 13:17:09 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 13:17:09 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 13:17:09 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 13:17:09 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 13:17:10 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 13:17:10 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 13:17:10 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 13:17:10 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 13:17:11 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 13:17:11 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 13:17:11 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 13:17:11 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 13:17:11 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 13:17:11 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 13:17:11 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 13:17:11 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 13:17:11 | ^ 13:17:11 /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 13:17:11 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 13:17:11 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 13:17:11 /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here 13:17:11 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 13:17:11 | ^~~~~~~~~~~~~~~~~~~~~ 13:17:11 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 13:17:11 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 13:17:11 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 13:17:11 [ 68%] Linking C shared library libcsdk.so 13:17:11 [ 68%] Built target csdk 13:17:11 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 13:17:11 [ 72%] Linking C executable template 13:17:11 /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) 13:17:11 /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) 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:11 /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' 13:17:12 collect2: error: ld returned 1 exit status 13:17:12 make[2]: *** [c/examples/CMakeFiles/template.dir/build.make:106: c/examples/template] Error 1 13:17:12 make[1]: *** [CMakeFiles/Makefile2:266: c/examples/CMakeFiles/template.dir/all] Error 2 13:17:12 make: *** [Makefile:156: all] Error 2 13:17:12 + '[' false '=' true ] 13:17:12 + '[' false '=' true ] 13:17:12 + mkdir -p /tmp/sdk/build/debug 13:17:12 + cd /tmp/sdk/build/debug 13:17:12 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 13:17:12 -- The C compiler identification is GNU 12.2.1 13:17:12 -- Detecting C compiler ABI info 13:17:12 -- Detecting C compiler ABI info - done 13:17:12 -- Check for working C compiler: /usr/bin/cc - skipped 13:17:12 -- Detecting C compile features 13:17:12 -- Detecting C compile features - done 13:17:12 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:17:12 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 13:17:12 -- Found LIBYAML: /usr/lib/libyaml.so 13:17:12 -- Found LIBUUID: /usr/lib/libuuid.so 13:17:12 -- Found LIBCBOR: /usr/lib/libcbor.so 13:17:12 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 13:17:12 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 13:17:12 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 13:17:12 -- /opt/iotech/iot/1.5/include 13:17:12 -- C SDK 0.0.0 for Linux 13:17:12 -- Performing Test CSDK_HAVE_ATOMIC 13:17:12 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:17:12 -- Found Curses: /usr/lib/libcurses.so 13:17:12 -- Configuring done (0.4s) 13:17:12 -- Generating done (0.0s) 13:17:12 -- Build files have been written to: /tmp/sdk/build/debug 13:17:12 + make 13:17:12 + tee debug.log 13:17:12 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:17:12 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 13:17:12 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 13:17:12 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 13:17:12 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 13:17:12 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 13:17:12 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 13:17:13 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 13:17:13 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 13:17:13 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 13:17:13 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 13:17:13 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:17:13 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 13:17:13 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 13:17:13 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 13:17:13 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 13:17:13 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 13:17:13 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 13:17:13 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 13:17:13 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 13:17:14 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 13:17:14 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 13:17:14 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 13:17:14 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 13:17:14 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 13:17:14 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 13:17:14 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 13:17:14 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 13:17:14 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 13:17:14 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 13:17:14 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 13:17:14 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 13:17:14 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 13:17:14 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 13:17:14 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 13:17:14 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 13:17:14 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 13:17:14 | ^ 13:17:15 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 13:17:15 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 13:17:15 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 13:17:15 [ 68%] Linking C shared library libcsdk.so 13:17:15 [ 68%] Built target csdk 13:17:15 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 13:17:15 [ 72%] Linking C executable template 13:17:15 /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) 13:17:15 /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) 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 collect2: error: ld returned 1 exit status 13:17:15 make[2]: *** [c/examples/CMakeFiles/template.dir/build.make:106: c/examples/template] Error 1 13:17:15 make[1]: *** [CMakeFiles/Makefile2:266: c/examples/CMakeFiles/template.dir/all] Error 2 13:17:15 make: *** [Makefile:156: all] Error 2 13:17:15 make: Entering directory '/tmp/sdk/build/release' 13:17:15 [ 68%] Built target csdk 13:17:15 [ 70%] Linking C executable template 13:17:15 /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) 13:17:15 /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) 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 /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' 13:17:15 collect2: error: ld returned 1 exit status 13:17:15 make[2]: *** [c/examples/CMakeFiles/template.dir/build.make:106: c/examples/template] Error 1 13:17:15 make[1]: *** [CMakeFiles/Makefile2:266: c/examples/CMakeFiles/template.dir/all] Error 2 13:17:15 make: *** [Makefile:156: all] Error 2 13:17:15 make: Leaving directory '/tmp/sdk/build/release' 13:17:15 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 13:17:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:17:16 13:17:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:17:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:17:16 latest: Pulling from edgex-lftools-log-publisher 13:17:16 5eb5b503b376: Pulling fs layer 13:17:16 5c69ac0246d0: Pulling fs layer 13:17:16 ec43610c2a17: Pulling fs layer 13:17:16 3a2ae6a8a46f: Pulling fs layer 13:17:16 33b1e0a273af: Pulling fs layer 13:17:16 5d3b04190fa2: Pulling fs layer 13:17:16 2f39f015ded8: Pulling fs layer 13:17:16 2f39f015ded8: Waiting 13:17:16 33b1e0a273af: Waiting 13:17:16 5d3b04190fa2: Waiting 13:17:16 3a2ae6a8a46f: Waiting 13:17:16 5c69ac0246d0: Download complete 13:17:16 3a2ae6a8a46f: Verifying Checksum 13:17:16 3a2ae6a8a46f: Download complete 13:17:16 33b1e0a273af: Verifying Checksum 13:17:16 33b1e0a273af: Download complete 13:17:16 5d3b04190fa2: Verifying Checksum 13:17:16 5d3b04190fa2: Download complete 13:17:17 ec43610c2a17: Verifying Checksum 13:17:17 ec43610c2a17: Download complete 13:17:17 5eb5b503b376: Verifying Checksum 13:17:17 5eb5b503b376: Download complete 13:17:17 2f39f015ded8: Download complete 13:17:18 5eb5b503b376: Pull complete 13:17:18 5c69ac0246d0: Pull complete 13:17:18 ec43610c2a17: Pull complete 13:17:18 3a2ae6a8a46f: Pull complete 13:17:19 33b1e0a273af: Pull complete 13:17:19 5d3b04190fa2: Pull complete 13:17:23 2f39f015ded8: Pull complete 13:17:23 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:17:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:17:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:17:23 prd-ubuntu20.04-docker-8c-8g-17010 does not seem to be running inside a container 13:17:23 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:17:30 $ docker top 18f657c53bfe8c6fef0940127e6758a933b64735f205f997dd13758421c34f94 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:17:31 ---> job-cost.sh 13:17:31 lf-activate-venv: SKIPPING 13:17:31 INFO: No Stack... 13:17:31 INFO: Retrieving Pricing Info for: v3-standard-8 13:17:31 INFO: Archiving Costs [Pipeline] sh 13:17:32 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-491/archives/cost.csv 13:17:32 + cut -d, -f6 [Pipeline] lock 13:17:32 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-491-5-stack-cost] 13:17:32 Resource [jenkins-edgexfoundry-device-sdk-c-PR-491-5-stack-cost] did not exist. Created. 13:17:32 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-491-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:17:32 + echo total: 0.2199999988079071 [Pipeline] stash 13:17:32 Stashed 1 file(s) [Pipeline] } 13:17:32 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-491-5-stack-cost] [Pipeline] // lock [Pipeline] } 13:17:32 $ docker stop --time=1 18f657c53bfe8c6fef0940127e6758a933b64735f205f997dd13758421c34f94 13:17:33 $ docker rm -f --volumes 18f657c53bfe8c6fef0940127e6758a933b64735f205f997dd13758421c34f94 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:17:33 Failed in branch amd64 13:18:52 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17011 in /w/workspace/edgexfoundry_device-sdk-c_PR-491 [Pipeline] { [Pipeline] ws 13:18:52 Running in /w/workspace/device-sdk-c/5 [Pipeline] { [Pipeline] checkout 13:18:52 Selected Git installation does not exist. Using Default 13:18:52 The recommended git tool is: NONE 13:19:00 using credential edgex-jenkins-ssh 13:19:00 Cloning the remote Git repository 13:19:00 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 13:19:00 > git init /w/workspace/device-sdk-c/5 # timeout=10 13:19:01 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 13:19:01 > git --version # timeout=10 13:19:01 > git --version # 'git version 2.25.1' 13:19:01 using GIT_SSH to set credentials SSH Credentials for GitHub 13:19:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:19:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 13:19:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:19:07 Merging remotes/origin/main commit 753c0e66273d645c82de476ca0a438ee98891f55 into PR head commit b30b8809af46775d8f76a8bc5ad5c6ddf49e9a93 13:19:06 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 13:19:06 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 13:19:06 using GIT_SSH to set credentials SSH Credentials for GitHub 13:19:06 > 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 13:19:07 > git config core.sparsecheckout # timeout=10 13:19:08 Merge succeeded, producing b30b8809af46775d8f76a8bc5ad5c6ddf49e9a93 13:19:08 Checking out Revision b30b8809af46775d8f76a8bc5ad5c6ddf49e9a93 (PR-491) 13:19:07 > git checkout -f b30b8809af46775d8f76a8bc5ad5c6ddf49e9a93 # timeout=10 13:19:07 > git remote # timeout=10 13:19:07 > git config --get remote.origin.url # timeout=10 13:19:07 using GIT_SSH to set credentials SSH Credentials for GitHub 13:19:07 > git merge 753c0e66273d645c82de476ca0a438ee98891f55 # timeout=10 13:19:07 > git rev-parse HEAD^{commit} # timeout=10 13:19:08 > git config core.sparsecheckout # timeout=10 13:19:08 > git checkout -f b30b8809af46775d8f76a8bc5ad5c6ddf49e9a93 # timeout=10 13:19:11 Commit message: "docs: Remove breaking change about common config" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:19:12 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:19:12 % Total % Received % Xferd Average Speed Time Time Time Current 13:19:12 Dload Upload Total Spent Left Speed 13:19:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 56869 0 --:--:-- --:--:-- --:--:-- 56616 100 12682 100 12682 0 0 55867 0 --:--:-- --:--:-- --:--:-- 55622 [Pipeline] sh 13:19:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:19:13 + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new 13:19:13 13:19:13 { 13:19:13 "registry-mirrors": [ 13:19:13 "https://nexus3.edgexfoundry.org:10001" 13:19:13 ], 13:19:13 "bip": "10.250.0.254/24", 13:19:13 "hosts": [ 13:19:13 "tcp://0.0.0.0:5555", 13:19:13 "unix:///var/run/docker.sock" 13:19:13 ], 13:19:13 "mtu": 1458, 13:19:13 "selinux-enabled": true, 13:19:13 "seccomp-profile": "/etc/docker/seccomp.json" 13:19:13 } [Pipeline] sh 13:19:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:19:14 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:19:36 provisioning config files... 13:19:36 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/5@tmp/config1808509097345143883tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:19:36 ---> docker-login.sh 13:19:36 nexus3.edgexfoundry.org:10001 13:19:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:19:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:19:37 Configure a credential helper to remove this warning. See 13:19:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:19:37 13:19:37 Login Succeeded 13:19:37 nexus3.edgexfoundry.org:10002 13:19:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:19:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:19:37 Configure a credential helper to remove this warning. See 13:19:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:19:37 13:19:37 Login Succeeded 13:19:37 nexus3.edgexfoundry.org:10003 13:19:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:19:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:19:38 Configure a credential helper to remove this warning. See 13:19:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:19:38 13:19:38 Login Succeeded 13:19:38 nexus3.edgexfoundry.org:10004 13:19:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:19:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:19:38 Configure a credential helper to remove this warning. See 13:19:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:19:38 13:19:38 Login Succeeded 13:19:38 docker.io 13:19:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:19:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:19:39 Configure a credential helper to remove this warning. See 13:19:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:19:39 13:19:39 Login Succeeded 13:19:39 ---> docker-login.sh ends [Pipeline] } 13:19:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:19:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:19:39 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 13:19:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:19:39 ========================================================= 13:19:39 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 13:19:39 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:19:39 + 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 . 13:19:39 Sending build context to Docker daemon 2.969MB 13:19:40 Step 1/21 : ARG BASE=alpine:3.16 13:19:40 Step 2/21 : FROM ${BASE} as builder 13:19:40 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 13:19:40 579b34f0a95b: Pulling fs layer 13:19:40 e71477ac5e1b: Pulling fs layer 13:19:40 579b34f0a95b: Verifying Checksum 13:19:40 579b34f0a95b: Download complete 13:19:41 579b34f0a95b: Pull complete 13:19:43 e71477ac5e1b: Download complete 13:19:55 e71477ac5e1b: Pull complete 13:19:55 Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 13:19:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 13:19:55 ---> 2b552cad5dd9 13:19:55 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 13:19:55 ---> Running in 8925d4b07038 13:19:55 Connecting to iotech.jfrog.io (34.247.22.236:443) 13:19:56 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 13:19:56 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 13:19:56 '/etc/apk/keys/alpine.dev.rsa.pub' saved 13:19:56 Removing intermediate container 8925d4b07038 13:19:56 ---> 307a75b10d1a 13:19:56 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 13:19:57 ---> Running in bea12580dd22 13:19:58 Removing intermediate container bea12580dd22 13:19:58 ---> c64e45508623 13:19:58 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 13:19:58 ---> Running in f77f66ab4862 13:19:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:20:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:20:00 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 13:20:01 WARNING: This apk-tools is OLD! Some packages might not function properly. 13:20:01 (1/17) Installing hiredis (1.1.0-r2) 13:20:01 (2/17) Installing hiredis-dev (1.1.0-r2) 13:20:01 (3/17) Installing iotech-iot-1.5 (1.5.0-r0) 13:20:02 (4/17) Installing iotech-iot-1.5-dev (1.5.0-r0) 13:20:02 (5/17) Installing libcbor (0.10.2-r1) 13:20:02 (6/17) Installing libcbor-dev (0.10.2-r1) 13:20:02 (7/17) Installing libmenuw (6.4_p20230506-r0) 13:20:02 (8/17) Installing libpanelw (6.4_p20230506-r0) 13:20:02 (9/17) Installing libncurses++ (6.4_p20230506-r0) 13:20:02 (10/17) Installing ncurses-dev (6.4_p20230506-r0) 13:20:02 (11/17) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 13:20:03 (12/17) Installing libblkid (2.38.1-r8) 13:20:03 (13/17) Installing libuuid (2.38.1-r8) 13:20:03 (14/17) Installing libfdisk (2.38.1-r8) 13:20:03 (15/17) Installing libmount (2.38.1-r8) 13:20:03 (16/17) Installing libsmartcols (2.38.1-r8) 13:20:03 (17/17) Installing util-linux-dev (2.38.1-r8) 13:20:03 Executing busybox-1.36.1-r4.trigger 13:20:03 OK: 333 MiB in 99 packages 13:20:05 Removing intermediate container f77f66ab4862 13:20:05 ---> 4394338b0064 13:20:05 Step 6/21 : RUN mkdir /tmp/sdk 13:20:05 ---> Running in b0d61ef1840a 13:20:06 Removing intermediate container b0d61ef1840a 13:20:06 ---> 5ae84d4efaf5 13:20:06 Step 7/21 : COPY VERSION /tmp/sdk 13:20:07 ---> 65491c3541f8 13:20:07 Step 8/21 : COPY src /tmp/sdk/src 13:20:07 ---> 1bf12eed5a08 13:20:07 Step 9/21 : COPY include /tmp/sdk/include 13:20:08 ---> bacfe908e345 13:20:08 Step 10/21 : COPY scripts /tmp/sdk/scripts 13:20:08 ---> ec40d65f08e1 13:20:08 Step 11/21 : COPY LICENSE /tmp/sdk 13:20:09 ---> ec0e639a32eb 13:20:09 Step 12/21 : COPY Attribution.txt /tmp/sdk 13:20:09 ---> bbdd257d280a 13:20:09 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 13:20:09 ---> Running in b50c8a20adfc 13:20:10 + CPPCHECK=false 13:20:10 + DOCGEN=false 13:20:10 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 13:20:10 + '[' 0 -gt 0 ] 13:20:10 + readlink -f ./scripts/build.sh 13:20:10 + dirname /tmp/sdk/scripts/build.sh 13:20:10 + dirname /tmp/sdk/scripts 13:20:10 + ROOT=/tmp/sdk 13:20:10 + cd /tmp/sdk 13:20:10 + mkdir -p /tmp/sdk/build/release 13:20:10 + cd /tmp/sdk/build/release 13:20:10 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 13:20:10 -- The C compiler identification is GNU 12.2.1 13:20:11 -- Detecting C compiler ABI info 13:20:11 -- Detecting C compiler ABI info - done 13:20:11 -- Check for working C compiler: /usr/bin/cc - skipped 13:20:11 -- Detecting C compile features 13:20:11 -- Detecting C compile features - done 13:20:11 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:20:11 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 13:20:11 -- Found LIBYAML: /usr/lib/libyaml.so 13:20:11 -- Found LIBUUID: /usr/lib/libuuid.so 13:20:11 -- Found LIBCBOR: /usr/lib/libcbor.so 13:20:11 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 13:20:11 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 13:20:11 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 13:20:11 -- /opt/iotech/iot/1.5/include 13:20:11 -- C SDK 0.0.0 for Linux 13:20:11 -- Performing Test CSDK_HAVE_ATOMIC 13:20:12 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:20:12 -- Found Curses: /usr/lib/libcurses.so 13:20:12 -- Configuring done (1.7s) 13:20:12 -- Generating done (0.2s) 13:20:12 -- Build files have been written to: /tmp/sdk/build/release 13:20:12 + make all package 13:20:12 + tee release.log 13:20:12 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:20:13 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 13:20:14 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 13:20:15 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 13:20:16 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 13:20:16 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 13:20:18 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 13:20:19 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 13:20:19 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 13:20:19 294 | while (privateConfig) 13:20:19 | ^~~~~~~~~~~~~ 13:20:19 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 13:20:19 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 13:20:19 | ^~~~~~~~~~~~~ 13:20:19 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 13:20:19 271 | while (result) 13:20:19 | ^~~~~~ 13:20:19 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 13:20:19 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 13:20:19 | ^~~~~~ 13:20:19 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 13:20:20 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 13:20:21 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 13:20:23 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 13:20:23 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:20:24 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 13:20:24 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 13:20:25 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 13:20:26 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 13:20:26 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 13:20:28 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 13:20:28 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 13:20:29 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 13:20:30 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 13:20:37 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 13:20:37 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 13:20:38 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 13:20:38 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 13:20:39 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 13:20:40 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 13:20:42 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 13:20:43 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 13:20:44 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 13:20:44 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 13:20:44 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 13:20:44 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 13:20:44 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 13:20:44 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 13:20:44 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 13:20:44 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 13:20:44 | ^ 13:20:46 /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 13:20:46 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 13:20:46 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 13:20:46 /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here 13:20:46 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 13:20:46 | ^~~~~~~~~~~~~~~~~~~~~ 13:20:47 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 13:20:48 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 13:20:48 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 13:20:48 [ 68%] Linking C shared library libcsdk.so 13:20:49 [ 68%] Built target csdk 13:20:49 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 13:20:50 [ 72%] Linking C executable template 13:20:50 /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) 13:20:50 /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) 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 /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' 13:20:50 collect2: error: ld returned 1 exit status 13:20:50 make[2]: *** [c/examples/CMakeFiles/template.dir/build.make:106: c/examples/template] Error 1 13:20:50 make[1]: *** [CMakeFiles/Makefile2:266: c/examples/CMakeFiles/template.dir/all] Error 2 13:20:50 make: *** [Makefile:156: all] Error 2 13:20:50 + '[' false '=' true ] 13:20:50 + '[' false '=' true ] 13:20:50 + mkdir -p /tmp/sdk/build/debug 13:20:50 + cd /tmp/sdk/build/debug 13:20:50 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 13:20:50 -- The C compiler identification is GNU 12.2.1 13:20:50 -- Detecting C compiler ABI info 13:20:50 -- Detecting C compiler ABI info - done 13:20:51 -- Check for working C compiler: /usr/bin/cc - skipped 13:20:51 -- Detecting C compile features 13:20:51 -- Detecting C compile features - done 13:20:51 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:20:51 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 13:20:51 -- Found LIBYAML: /usr/lib/libyaml.so 13:20:51 -- Found LIBUUID: /usr/lib/libuuid.so 13:20:51 -- Found LIBCBOR: /usr/lib/libcbor.so 13:20:51 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 13:20:51 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 13:20:51 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 13:20:51 -- /opt/iotech/iot/1.5/include 13:20:51 -- C SDK 0.0.0 for Linux 13:20:51 -- Performing Test CSDK_HAVE_ATOMIC 13:20:51 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:20:51 -- Found Curses: /usr/lib/libcurses.so 13:20:51 -- Configuring done (1.7s) 13:20:52 -- Generating done (0.2s) 13:20:52 -- Build files have been written to: /tmp/sdk/build/debug 13:20:52 + + make 13:20:52 tee debug.log 13:20:52 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:20:52 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 13:20:52 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 13:20:53 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 13:20:53 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 13:20:54 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 13:20:54 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 13:20:55 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 13:20:55 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 13:20:55 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 13:20:56 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 13:20:56 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:20:57 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 13:20:57 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 13:20:57 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 13:20:58 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 13:20:58 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 13:20:59 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 13:20:59 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 13:20:59 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 13:21:00 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 13:21:01 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 13:21:01 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 13:21:02 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 13:21:02 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 13:21:02 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 13:21:03 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 13:21:04 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 13:21:04 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 13:21:05 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 13:21:05 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 13:21:05 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 13:21:05 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 13:21:05 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 13:21:05 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 13:21:05 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 13:21:05 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 13:21:05 | ^ 13:21:06 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 13:21:06 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 13:21:06 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 13:21:07 [ 68%] Linking C shared library libcsdk.so 13:21:07 [ 68%] Built target csdk 13:21:07 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 13:21:07 [ 72%] Linking C executable template 13:21:07 /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) 13:21:07 /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) 13:21:07 /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' 13:21:07 /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' 13:21:07 /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' 13:21:07 /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' 13:21:07 /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' 13:21:07 /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' 13:21:07 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 collect2: error: ld returned 1 exit status 13:21:08 make[2]: *** [c/examples/CMakeFiles/template.dir/build.make:106: c/examples/template] Error 1 13:21:08 make[1]: *** [CMakeFiles/Makefile2:266: c/examples/CMakeFiles/template.dir/all] Error 2 13:21:08 make: *** [Makefile:156: all] Error 2 13:21:08 make: Entering directory '/tmp/sdk/build/release' 13:21:08 [ 68%] Built target csdk 13:21:08 [ 70%] Linking C executable template 13:21:08 /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) 13:21:08 /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) 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 /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' 13:21:08 collect2: error: ld returned 1 exit status 13:21:08 make[2]: *** [c/examples/CMakeFiles/template.dir/build.make:106: c/examples/template] Error 1 13:21:08 make: Leaving directory '/tmp/sdk/build/release' 13:21:08 make[1]: *** [CMakeFiles/Makefile2:266: c/examples/CMakeFiles/template.dir/all] Error 2 13:21:08 make: *** [Makefile:156: all] Error 2 13:21:09 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 13:21:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:21:09 13:21:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:21:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:21:13 arm64: Pulling from edgex-lftools-log-publisher 13:21:13 8998bd30e6a1: Pulling fs layer 13:21:13 04944245beec: Pulling fs layer 13:21:13 699f458cf7ca: Pulling fs layer 13:21:13 765212b225bb: Pulling fs layer 13:21:13 f23df028b6ca: Pulling fs layer 13:21:13 d65c8cfc05b1: Pulling fs layer 13:21:13 2437ff75d9bd: Pulling fs layer 13:21:13 765212b225bb: Waiting 13:21:13 f23df028b6ca: Waiting 13:21:13 d65c8cfc05b1: Waiting 13:21:13 2437ff75d9bd: Waiting 13:21:13 04944245beec: Verifying Checksum 13:21:13 04944245beec: Download complete 13:21:13 765212b225bb: Verifying Checksum 13:21:13 765212b225bb: Download complete 13:21:13 f23df028b6ca: Verifying Checksum 13:21:13 f23df028b6ca: Download complete 13:21:13 d65c8cfc05b1: Verifying Checksum 13:21:13 d65c8cfc05b1: Download complete 13:21:13 699f458cf7ca: Verifying Checksum 13:21:13 699f458cf7ca: Download complete 13:21:14 8998bd30e6a1: Verifying Checksum 13:21:14 8998bd30e6a1: Download complete 13:21:16 2437ff75d9bd: Verifying Checksum 13:21:16 2437ff75d9bd: Download complete 13:21:18 8998bd30e6a1: Pull complete 13:21:19 04944245beec: Pull complete 13:21:20 699f458cf7ca: Pull complete 13:21:20 765212b225bb: Pull complete 13:21:21 f23df028b6ca: Pull complete 13:21:22 d65c8cfc05b1: Pull complete 13:21:44 2437ff75d9bd: Pull complete 13:21:44 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:21:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:21:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:21:44 prd-ubuntu20.04-docker-arm64-4c-16g-17011 does not seem to be running inside a container 13:21:44 $ 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/5 -v /w/workspace/device-sdk-c/5:/w/workspace/device-sdk-c/5:rw,z -v /w/workspace/device-sdk-c/5@tmp:/w/workspace/device-sdk-c/5@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:21:45 $ docker top 859a40c67bcd173ad88fd69cfc6b916ae5b3edb08517b56a8c9f9b7a44aa7cfd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:21:46 ---> job-cost.sh 13:21:46 lf-activate-venv: SKIPPING 13:21:46 INFO: No Stack... 13:21:46 INFO: Retrieving Pricing Info for: v3-standard-4 13:21:47 INFO: Archiving Costs [Pipeline] sh 13:21:48 + cat /w/workspace/device-sdk-c/5/archives/cost.csv 13:21:48 + cut -d, -f6 [Pipeline] lock 13:21:48 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-491-5-stack-cost] 13:21:48 Resource [jenkins-edgexfoundry-device-sdk-c-PR-491-5-stack-cost] did not exist. Created. 13:21:48 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-491-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:21:48 /w/workspace/device-sdk-c/5@tmp/durable-6e38fd54/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:21:49 + echo total: 0.10999999940395355 [Pipeline] stash 13:21:49 Warning: overwriting stash ‘stack-cost’ 13:21:49 Stashed 1 file(s) [Pipeline] } 13:21:49 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-491-5-stack-cost] [Pipeline] // lock [Pipeline] } 13:21:50 $ docker stop --time=1 859a40c67bcd173ad88fd69cfc6b916ae5b3edb08517b56a8c9f9b7a44aa7cfd 13:21:51 $ docker rm -f --volumes 859a40c67bcd173ad88fd69cfc6b916ae5b3edb08517b56a8c9f9b7a44aa7cfd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 13:21:51 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 13:21:52 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-491/archives ] 13:21:52 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-491/archives 13:21:52 total 16 13:21:52 drwxr-xr-x 3 root root 4096 Nov 8 13:17 . 13:21:52 drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 13:17 .. 13:21:52 drwxr-xr-x 2 root root 4096 Nov 8 13:17 cost 13:21:52 -rw-r--r-- 1 root root 84 Nov 8 13:17 cost.csv 13:21:52 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-491/archives 13:21:52 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-491/archives 13:21:52 total 16 13:21:52 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 13:17 . 13:21:52 drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 13:17 .. 13:21:52 drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 13:17 cost 13:21:52 -rw-r--r-- 1 jenkins jenkins 84 Nov 8 13:17 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:21:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:21:53 ---> package-listing.sh 13:21:53 ++ facter osfamily 13:21:53 ++ tr '[:upper:]' '[:lower:]' 13:21:53 + OS_FAMILY=debian 13:21:53 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-491 13:21:53 + START_PACKAGES=/tmp/packages_start.txt 13:21:53 + END_PACKAGES=/tmp/packages_end.txt 13:21:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:21:53 + PACKAGES=/tmp/packages_start.txt 13:21:53 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-491 ']' 13:21:53 + PACKAGES=/tmp/packages_end.txt 13:21:53 + case "${OS_FAMILY}" in 13:21:53 + dpkg -l 13:21:53 + grep '^ii' 13:21:53 + '[' -f /tmp/packages_start.txt ']' 13:21:53 + '[' -f /tmp/packages_end.txt ']' 13:21:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:21:53 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-491 ']' 13:21:53 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-491/archives/ 13:21:53 + 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 13:21:53 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 13:21:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:21:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:21:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:21:54 prd-ubuntu20.04-docker-8c-8g-17010 does not seem to be running inside a container 13:21:54 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:21:57 $ docker top 006eacece9339e1460e953386739ac1846189467dfd9709e103b523c2bcf36b3 -eo pid,comm [Pipeline] { [Pipeline] sh 13:21:57 + touch /tmp/pre-build-complete [Pipeline] sh 13:21:58 + mkdir -p /var/log/sysstat [Pipeline] sh 13:21:58 + ls /var/log/sa-host 13:21:58 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:21:58 provisioning config files... 13:21:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-491@tmp/config68764632168950050tmp [Pipeline] { [Pipeline] echo 13:21:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:21:59 ---> create-netrc.sh [Pipeline] } 13:21:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:21:59 ---> python-tools-install.sh [Pipeline] echo 13:21:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:21:59 ---> sudo-logs.sh 13:21:59 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:21:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:22:00 ---> job-cost.sh 13:22:00 lf-activate-venv: SKIPPING 13:22:00 DEBUG: total: 0.2199999988079071 13:22:00 INFO: Retrieving Stack Cost... 13:22:00 INFO: Retrieving Pricing Info for: v3-standard-8 13:22:00 INFO: Archiving Costs [Pipeline] echo 13:22:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:22:01 ---> logs-deploy.sh 13:22:01 lf-activate-venv: SKIPPING 13:22:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-491/5 13:22:01 INFO: archiving workspace using pattern(s): 13:22:04 Archives upload complete. 13:22:04 INFO: archiving logs to Nexus