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