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