Pull request #430 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 iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 21fe6df0b722a05385915154bcdc0a1e53a1162b+a3501f9cfcd4e6113c1d407fdd34c589c44025e6 (f5a6709a0e335437e41a1111b830937c4bf5cf3f) 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-ssh4778273386458913033.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh3649108959731955917.key Verifying host key using known hosts file > 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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-430/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-430/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16125093047320352974.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh14279767072284159458.key Verifying host key using known hosts file > 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-430/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-430/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5692111981645279448.key Verifying host key using known hosts file > 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-21804 in /w/workspace/edgexfoundry_device-sdk-c_PR-430 [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-430 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/430/head:refs/remotes/origin/PR-430 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a3501f9cfcd4e6113c1d407fdd34c589c44025e6 into PR head commit 21fe6df0b722a05385915154bcdc0a1e53a1162b Merge succeeded, producing 21fe6df0b722a05385915154bcdc0a1e53a1162b Checking out Revision 21fe6df0b722a05385915154bcdc0a1e53a1162b (PR-430) > git config core.sparsecheckout # timeout=10 > git checkout -f 21fe6df0b722a05385915154bcdc0a1e53a1162b # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge a3501f9cfcd4e6113c1d407fdd34c589c44025e6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 21fe6df0b722a05385915154bcdc0a1e53a1162b # timeout=10 Commit message: "refactor: macroize default topic names" > git rev-list --no-walk af7ab3810de780d074db425f17eac31b298ad24a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-24T18:30:24.015Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-24T18:30:24.055Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-24T18:30:24.076Z] ========================================================= [2022-10-24T18:30:24.076Z] EdgeX Global Pipelines Version Info [2022-10-24T18:30:24.076Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-24T18:30:25.163Z] ------------------- [2022-10-24T18:30:25.163Z] stable info: [2022-10-24T18:30:25.163Z] ------------------- [2022-10-24T18:30:25.163Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-24T18:30:25.163Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-24T18:30:25.163Z] Message: update stable to v1.0.243 [2022-10-24T18:30:25.423Z] ------------------- [2022-10-24T18:30:25.423Z] experimental info: [2022-10-24T18:30:25.423Z] ------------------- [2022-10-24T18:30:25.423Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-24T18:30:25.423Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-24T18:30:25.423Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-24T18:30:25.578Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2022-10-24T18:30:25.587Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2022-10-24T18:30:25.597Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-24T18:30:25.607Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-24T18:30:25.617Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-24T18:30:25.629Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2022-10-24T18:30:25.639Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2022-10-24T18:30:25.649Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-24T18:30:25.659Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-24T18:30:25.670Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2022-10-24T18:30:25.680Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-24T18:30:25.691Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-24T18:30:25.701Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-24T18:30:25.711Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-10-24T18:30:25.722Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-24T18:30:25.731Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-24T18:30:25.741Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-24T18:30:25.751Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-430 [Pipeline] echo [2022-10-24T18:30:25.761Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-430 [Pipeline] echo [2022-10-24T18:30:25.771Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-430 [Pipeline] echo [2022-10-24T18:30:25.781Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 21fe6df0b722a05385915154bcdc0a1e53a1162b [Pipeline] echo [2022-10-24T18:30:25.791Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 21fe6df [Pipeline] echo [2022-10-24T18:30:25.801Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-24T18:30:25.839Z] provisioning config files... [2022-10-24T18:30:25.860Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-430@tmp/config18382540903856755379tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T18:30:26.161Z] ---> docker-login.sh [2022-10-24T18:30:26.161Z] nexus3.edgexfoundry.org:10001 [2022-10-24T18:30:26.421Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T18:30:26.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T18:30:26.680Z] Configure a credential helper to remove this warning. See [2022-10-24T18:30:26.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T18:30:26.680Z] [2022-10-24T18:30:26.680Z] Login Succeeded [2022-10-24T18:30:26.680Z] nexus3.edgexfoundry.org:10002 [2022-10-24T18:30:26.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T18:30:26.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T18:30:26.680Z] Configure a credential helper to remove this warning. See [2022-10-24T18:30:26.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T18:30:26.680Z] [2022-10-24T18:30:26.680Z] Login Succeeded [2022-10-24T18:30:26.680Z] nexus3.edgexfoundry.org:10003 [2022-10-24T18:30:26.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T18:30:26.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T18:30:26.939Z] Configure a credential helper to remove this warning. See [2022-10-24T18:30:26.939Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T18:30:26.939Z] [2022-10-24T18:30:26.939Z] Login Succeeded [2022-10-24T18:30:26.939Z] nexus3.edgexfoundry.org:10004 [2022-10-24T18:30:26.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T18:30:26.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T18:30:26.939Z] Configure a credential helper to remove this warning. See [2022-10-24T18:30:26.939Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T18:30:26.939Z] [2022-10-24T18:30:26.939Z] Login Succeeded [2022-10-24T18:30:26.939Z] docker.io [2022-10-24T18:30:26.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T18:30:27.508Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T18:30:27.508Z] Configure a credential helper to remove this warning. See [2022-10-24T18:30:27.508Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T18:30:27.508Z] [2022-10-24T18:30:27.508Z] Login Succeeded [2022-10-24T18:30:27.508Z] ---> docker-login.sh ends [Pipeline] } [2022-10-24T18:30:27.515Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2022-10-24T18:30:27.870Z] + git rev-list -1 --merges 21fe6df0b722a05385915154bcdc0a1e53a1162b~1..21fe6df0b722a05385915154bcdc0a1e53a1162b [Pipeline] echo [2022-10-24T18:30:27.896Z] -----------> git rev-list -1 --merges 21fe6df0b722a05385915154bcdc0a1e53a1162b~1..21fe6df0b722a05385915154bcdc0a1e53a1162b 21fe6df0b722a05385915154bcdc0a1e53a1162b [false] [Pipeline] sh [2022-10-24T18:30:28.180Z] + git log --format=format:%s -1 21fe6df0b722a05385915154bcdc0a1e53a1162b [Pipeline] echo [2022-10-24T18:30:28.194Z] ========================================================= [2022-10-24T18:30:28.194Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-24T18:30:28.194Z] ========================================================= 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 [2022-10-24T18:30:28.551Z] + git rev-list -1 --merges 21fe6df0b722a05385915154bcdc0a1e53a1162b~1..21fe6df0b722a05385915154bcdc0a1e53a1162b [Pipeline] echo [2022-10-24T18:30:28.561Z] -----------> git rev-list -1 --merges 21fe6df0b722a05385915154bcdc0a1e53a1162b~1..21fe6df0b722a05385915154bcdc0a1e53a1162b 21fe6df0b722a05385915154bcdc0a1e53a1162b [false] [Pipeline] sh [2022-10-24T18:30:28.848Z] + git log --format=format:%s -1 21fe6df0b722a05385915154bcdc0a1e53a1162b [Pipeline] echo [2022-10-24T18:30:28.862Z] ========================================================= [2022-10-24T18:30:28.862Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-24T18:30:28.862Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2022-10-24T18:30:29.324Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-24T18:30:29.325Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-24T18:30:29.325Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-24T18:30:29.325Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-24T18:30:29.325Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ [2022-10-24T18:30:29.325Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-24T18:30:29.325Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T18:30:29.746Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-24T18:30:29.746Z] [2022-10-24T18:30:29.746Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T18:30:30.048Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-24T18:30:30.048Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-24T18:30:30.048Z] b85a868b505f: Pulling fs layer [2022-10-24T18:30:30.048Z] e2be974225ed: Pulling fs layer [2022-10-24T18:30:30.048Z] 339a4e72a1f5: Pulling fs layer [2022-10-24T18:30:30.048Z] 988bab9f4d93: Pulling fs layer [2022-10-24T18:30:30.048Z] 1469e6f7b9e6: Pulling fs layer [2022-10-24T18:30:30.048Z] eaf3925da568: Pulling fs layer [2022-10-24T18:30:30.048Z] bab4dde63d76: Pulling fs layer [2022-10-24T18:30:30.048Z] bde34c3a00c8: Pulling fs layer [2022-10-24T18:30:30.048Z] b352a97aabf1: Pulling fs layer [2022-10-24T18:30:30.048Z] 1469e6f7b9e6: Waiting [2022-10-24T18:30:30.048Z] 4872d77fe225: Pulling fs layer [2022-10-24T18:30:30.048Z] 5851b861e8e6: Pulling fs layer [2022-10-24T18:30:30.048Z] 988bab9f4d93: Waiting [2022-10-24T18:30:30.048Z] b352a97aabf1: Waiting [2022-10-24T18:30:30.048Z] bde34c3a00c8: Waiting [2022-10-24T18:30:30.048Z] 4872d77fe225: Waiting [2022-10-24T18:30:30.048Z] 5851b861e8e6: Waiting [2022-10-24T18:30:30.048Z] eaf3925da568: Waiting [2022-10-24T18:30:30.048Z] e2be974225ed: Verifying Checksum [2022-10-24T18:30:30.049Z] e2be974225ed: Download complete [2022-10-24T18:30:30.049Z] 988bab9f4d93: Download complete [2022-10-24T18:30:30.309Z] 1469e6f7b9e6: Verifying Checksum [2022-10-24T18:30:30.309Z] 1469e6f7b9e6: Download complete [2022-10-24T18:30:30.309Z] eaf3925da568: Verifying Checksum [2022-10-24T18:30:30.309Z] eaf3925da568: Download complete [2022-10-24T18:30:30.309Z] 339a4e72a1f5: Verifying Checksum [2022-10-24T18:30:30.309Z] 339a4e72a1f5: Download complete [2022-10-24T18:30:30.309Z] bde34c3a00c8: Download complete [2022-10-24T18:30:30.309Z] b352a97aabf1: Verifying Checksum [2022-10-24T18:30:30.309Z] b352a97aabf1: Download complete [2022-10-24T18:30:30.309Z] 4872d77fe225: Verifying Checksum [2022-10-24T18:30:30.309Z] 4872d77fe225: Download complete [2022-10-24T18:30:30.309Z] 5851b861e8e6: Download complete [2022-10-24T18:30:30.309Z] b85a868b505f: Verifying Checksum [2022-10-24T18:30:30.309Z] b85a868b505f: Download complete [2022-10-24T18:30:30.878Z] bab4dde63d76: Verifying Checksum [2022-10-24T18:30:30.878Z] bab4dde63d76: Download complete [2022-10-24T18:30:31.815Z] b85a868b505f: Pull complete [2022-10-24T18:30:31.815Z] e2be974225ed: Pull complete [2022-10-24T18:30:32.383Z] 339a4e72a1f5: Pull complete [2022-10-24T18:30:32.383Z] 988bab9f4d93: Pull complete [2022-10-24T18:30:32.642Z] 1469e6f7b9e6: Pull complete [2022-10-24T18:30:32.901Z] eaf3925da568: Pull complete [2022-10-24T18:30:34.807Z] bab4dde63d76: Pull complete [2022-10-24T18:30:34.807Z] bde34c3a00c8: Pull complete [2022-10-24T18:30:34.807Z] b352a97aabf1: Pull complete [2022-10-24T18:30:34.807Z] 4872d77fe225: Pull complete [2022-10-24T18:30:35.067Z] 5851b861e8e6: Pull complete [2022-10-24T18:30:35.067Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-24T18:30:35.067Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-24T18:30:35.067Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T18:30:35.150Z] prd-ubuntu20.04-docker-8c-8g-21804 does not seem to be running inside a container [2022-10-24T18:30:35.185Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-430 -v /w/workspace/edgexfoundry_device-sdk-c_PR-430:/w/workspace/edgexfoundry_device-sdk-c_PR-430:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-430@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-430@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-24T18:30:36.498Z] $ docker top 375f623d23f23be12c8791342dce6aaef84a9890c5de5895f3fc8c0896737dab -eo pid,comm [2022-10-24T18:30:36.588Z] 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). [2022-10-24T18:30:36.588Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-24T18:30:36.623Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-24T18:30:36.623Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-24T18:30:36.750Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-24T18:30:36.757Z] $ docker exec 375f623d23f23be12c8791342dce6aaef84a9890c5de5895f3fc8c0896737dab ssh-agent [2022-10-24T18:30:36.863Z] SSH_AUTH_SOCK=/tmp/ssh-r1wW2qgc1w1X/agent.31 [2022-10-24T18:30:36.863Z] SSH_AGENT_PID=37 [2022-10-24T18:30:36.869Z] Running ssh-add (command line suppressed) [2022-10-24T18:30:36.981Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-430@tmp/private_key_741158780324931587.key (/w/workspace/edgexfoundry_device-sdk-c_PR-430@tmp/private_key_741158780324931587.key) [2022-10-24T18:30:36.993Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-24T18:30:37.278Z] + git tag --points-at HEAD [Pipeline] } [2022-10-24T18:30:37.291Z] $ docker exec --env ******** --env ******** 375f623d23f23be12c8791342dce6aaef84a9890c5de5895f3fc8c0896737dab ssh-agent -k [2022-10-24T18:30:37.407Z] unset SSH_AUTH_SOCK; [2022-10-24T18:30:37.408Z] unset SSH_AGENT_PID; [2022-10-24T18:30:37.408Z] echo Agent pid 37 killed; [2022-10-24T18:30:37.414Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-24T18:30:37.435Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-24T18:30:37.435Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-24T18:30:37.558Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-24T18:30:37.563Z] $ docker exec 375f623d23f23be12c8791342dce6aaef84a9890c5de5895f3fc8c0896737dab ssh-agent [2022-10-24T18:30:37.661Z] SSH_AUTH_SOCK=/tmp/ssh-rSaIAz7tnpan/agent.70 [2022-10-24T18:30:37.661Z] SSH_AGENT_PID=76 [2022-10-24T18:30:37.666Z] Running ssh-add (command line suppressed) [2022-10-24T18:30:37.775Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-430@tmp/private_key_4365451841262673214.key (/w/workspace/edgexfoundry_device-sdk-c_PR-430@tmp/private_key_4365451841262673214.key) [2022-10-24T18:30:37.786Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-24T18:30:38.070Z] + git semver init [2022-10-24T18:30:38.328Z] 2022-10-24 18:30:38,271 [run_init] DEBUG init version:0.0.0 force:False [2022-10-24T18:30:38.328Z] 2022-10-24 18:30:38,271 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-430/.semver [2022-10-24T18:30:38.328Z] 2022-10-24 18:30:38,272 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-430/.semver [2022-10-24T18:30:38.328Z] 2022-10-24 18:30:38,272 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-430/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-430, universal_newlines=False, shell=None, istream=None) [2022-10-24T18:30:39.263Z] 2022-10-24 18:30:39,169 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-430/.git/info/exclude [2022-10-24T18:30:39.263Z] 2022-10-24 18:30:39,170 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-430/.semver/PR-430 with force:False [2022-10-24T18:30:39.263Z] 2022-10-24 18:30:39,170 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-430/.semver/PR-430 [2022-10-24T18:30:39.263Z] 2022-10-24 18:30:39,174 [execute] INFO git cat-file --batch-check [2022-10-24T18:30:39.263Z] 2022-10-24 18:30:39,175 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-430/.semver, universal_newlines=False, shell=None, istream=) [2022-10-24T18:30:39.263Z] 2022-10-24 18:30:39,181 [execute] INFO git cat-file --batch [2022-10-24T18:30:39.263Z] 2022-10-24 18:30:39,182 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-430/.semver, universal_newlines=False, shell=None, istream=) [2022-10-24T18:30:39.263Z] 2022-10-24 18:30:39,188 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-430/.semver/PR-430 [2022-10-24T18:30:39.263Z] 0.0.0 [Pipeline] } [2022-10-24T18:30:39.275Z] $ docker exec --env ******** --env ******** 375f623d23f23be12c8791342dce6aaef84a9890c5de5895f3fc8c0896737dab ssh-agent -k [2022-10-24T18:30:39.381Z] unset SSH_AUTH_SOCK; [2022-10-24T18:30:39.381Z] unset SSH_AGENT_PID; [2022-10-24T18:30:39.382Z] echo Agent pid 76 killed; [2022-10-24T18:30:39.388Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-24T18:30:39.702Z] + git semver [Pipeline] } [2022-10-24T18:30:39.979Z] $ docker stop --time=1 375f623d23f23be12c8791342dce6aaef84a9890c5de5895f3fc8c0896737dab [2022-10-24T18:30:41.323Z] $ docker rm -f 375f623d23f23be12c8791342dce6aaef84a9890c5de5895f3fc8c0896737dab [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-24T18:30:41.665Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-24T18:30:41.844Z] Stashed 1 file(s) [Pipeline] echo [2022-10-24T18:30:41.846Z] [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 [2022-10-24T18:30:41.941Z] provisioning config files... [2022-10-24T18:30:41.960Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-430@tmp/config15098082292567209359tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T18:30:42.257Z] ---> docker-login.sh [2022-10-24T18:30:42.257Z] nexus3.edgexfoundry.org:10001 [2022-10-24T18:30:42.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T18:30:42.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T18:30:42.257Z] Configure a credential helper to remove this warning. See [2022-10-24T18:30:42.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T18:30:42.257Z] [2022-10-24T18:30:42.257Z] Login Succeeded [2022-10-24T18:30:42.257Z] nexus3.edgexfoundry.org:10002 [2022-10-24T18:30:42.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T18:30:42.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T18:30:42.257Z] Configure a credential helper to remove this warning. See [2022-10-24T18:30:42.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T18:30:42.257Z] [2022-10-24T18:30:42.257Z] Login Succeeded [2022-10-24T18:30:42.257Z] nexus3.edgexfoundry.org:10003 [2022-10-24T18:30:42.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T18:30:42.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T18:30:42.517Z] Configure a credential helper to remove this warning. See [2022-10-24T18:30:42.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T18:30:42.517Z] [2022-10-24T18:30:42.517Z] Login Succeeded [2022-10-24T18:30:42.517Z] nexus3.edgexfoundry.org:10004 [2022-10-24T18:30:42.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T18:30:42.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T18:30:42.517Z] Configure a credential helper to remove this warning. See [2022-10-24T18:30:42.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T18:30:42.517Z] [2022-10-24T18:30:42.517Z] Login Succeeded [2022-10-24T18:30:42.517Z] docker.io [2022-10-24T18:30:42.775Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T18:30:43.033Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T18:30:43.034Z] Configure a credential helper to remove this warning. See [2022-10-24T18:30:43.034Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T18:30:43.034Z] [2022-10-24T18:30:43.034Z] Login Succeeded [2022-10-24T18:30:43.034Z] ---> docker-login.sh ends [Pipeline] } [2022-10-24T18:30:43.040Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-24T18:30:43.098Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T18:30:43.105Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2022-10-24T18:30:43.114Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T18:30:43.121Z] ========================================================= [2022-10-24T18:30:43.121Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2022-10-24T18:30:43.121Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T18:30:43.425Z] + 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 . [2022-10-24T18:30:43.425Z] Sending build context to Docker daemon 4.675MB [2022-10-24T18:30:43.425Z] Step 1/22 : ARG BASE=alpine:3.15 [2022-10-24T18:30:43.425Z] Step 2/22 : FROM ${BASE} as builder [2022-10-24T18:30:43.425Z] latest: Pulling from edgex-devops/edgex-gcc-base [2022-10-24T18:30:43.425Z] 9621f1afde84: Pulling fs layer [2022-10-24T18:30:43.425Z] 968262dca30c: Pulling fs layer [2022-10-24T18:30:43.687Z] 9621f1afde84: Download complete [2022-10-24T18:30:43.687Z] 9621f1afde84: Pull complete [2022-10-24T18:30:44.256Z] 968262dca30c: Verifying Checksum [2022-10-24T18:30:44.256Z] 968262dca30c: Download complete [2022-10-24T18:30:47.549Z] 968262dca30c: Pull complete [2022-10-24T18:30:47.549Z] Digest: sha256:8d089e23d47b820511ff25cb0a5ce749395ad09d16657f852daa1fdd05e548e9 [2022-10-24T18:30:47.549Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2022-10-24T18:30:47.549Z] ---> e707ee6a6b38 [2022-10-24T18:30:47.549Z] Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2022-10-24T18:30:47.807Z] ---> Running in 557d706a2c2e [2022-10-24T18:30:48.067Z] Connecting to iotech.jfrog.io (34.250.226.139:443) [2022-10-24T18:30:48.634Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-10-24T18:30:48.634Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-10-24T18:30:48.634Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-10-24T18:30:48.896Z] Removing intermediate container 557d706a2c2e [2022-10-24T18:30:48.896Z] ---> 5a70774ec9a4 [2022-10-24T18:30:48.896Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-10-24T18:30:48.896Z] ---> Running in 81316d4be26b [2022-10-24T18:30:49.834Z] Removing intermediate container 81316d4be26b [2022-10-24T18:30:49.834Z] ---> 127e083bd5bf [2022-10-24T18:30:49.834Z] Step 5/22 : 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 hiredis-dev [2022-10-24T18:30:49.834Z] ---> Running in f43587ee55b1 [2022-10-24T18:30:49.834Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-10-24T18:30:50.093Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-10-24T18:30:50.093Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-10-24T18:30:50.664Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-10-24T18:30:50.664Z] (1/31) Installing hiredis (1.0.2-r0) [2022-10-24T18:30:50.664Z] (2/31) Installing hiredis-dev (1.0.2-r0) [2022-10-24T18:30:50.664Z] (3/31) Installing libcbor (0.8.0-r0) [2022-10-24T18:30:50.664Z] (4/31) Installing libcbor-dev (0.8.0-r0) [2022-10-24T18:30:50.664Z] (5/31) Installing ncurses-dev (6.3_p20211120-r1) [2022-10-24T18:30:50.664Z] (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.11-r0) [2022-10-24T18:30:51.600Z] (7/31) Installing util-linux (2.37.4-r0) [2022-10-24T18:30:51.600Z] (8/31) Installing libblkid (2.37.4-r0) [2022-10-24T18:30:51.600Z] (9/31) Installing libeconf (0.4.2-r0) [2022-10-24T18:30:51.600Z] (10/31) Installing libuuid (2.37.4-r0) [2022-10-24T18:30:51.600Z] (11/31) Installing libfdisk (2.37.4-r0) [2022-10-24T18:30:51.600Z] (12/31) Installing libmount (2.37.4-r0) [2022-10-24T18:30:51.600Z] (13/31) Installing libsmartcols (2.37.4-r0) [2022-10-24T18:30:51.600Z] (14/31) Installing util-linux-misc (2.37.4-r0) [2022-10-24T18:30:51.600Z] (15/31) Installing linux-pam (1.5.2-r0) [2022-10-24T18:30:51.600Z] (16/31) Installing runuser (2.37.4-r0) [2022-10-24T18:30:51.600Z] (17/31) Installing hexdump (2.37.4-r0) [2022-10-24T18:30:51.600Z] (18/31) Installing uuidgen (2.37.4-r0) [2022-10-24T18:30:51.600Z] (19/31) Installing blkid (2.37.4-r0) [2022-10-24T18:30:51.600Z] (20/31) Installing sfdisk (2.37.4-r0) [2022-10-24T18:30:51.600Z] (21/31) Installing mcookie (2.37.4-r0) [2022-10-24T18:30:51.600Z] (22/31) Installing wipefs (2.37.4-r0) [2022-10-24T18:30:51.600Z] (23/31) Installing cfdisk (2.37.4-r0) [2022-10-24T18:30:51.600Z] (24/31) Installing flock (2.37.4-r0) [2022-10-24T18:30:51.600Z] (25/31) Installing lsblk (2.37.4-r0) [2022-10-24T18:30:51.600Z] (26/31) Installing libcap-ng (0.8.2-r1) [2022-10-24T18:30:51.600Z] (27/31) Installing setpriv (2.37.4-r0) [2022-10-24T18:30:51.600Z] (28/31) Installing logger (2.37.4-r0) [2022-10-24T18:30:51.600Z] (29/31) Installing partx (2.37.4-r0) [2022-10-24T18:30:51.600Z] (30/31) Installing findmnt (2.37.4-r0) [2022-10-24T18:30:51.860Z] (31/31) Installing util-linux-dev (2.37.4-r0) [2022-10-24T18:30:51.860Z] Executing busybox-1.34.1-r7.trigger [2022-10-24T18:30:51.860Z] OK: 293 MiB in 108 packages [2022-10-24T18:30:52.429Z] Removing intermediate container f43587ee55b1 [2022-10-24T18:30:52.429Z] ---> c225385bf690 [2022-10-24T18:30:52.429Z] Step 6/22 : RUN mkdir /tmp/sdk [2022-10-24T18:30:52.429Z] ---> Running in b9ba215efc9a [2022-10-24T18:30:52.997Z] Removing intermediate container b9ba215efc9a [2022-10-24T18:30:52.997Z] ---> c3b8922fa89a [2022-10-24T18:30:52.997Z] Step 7/22 : COPY VERSION /tmp/sdk [2022-10-24T18:30:53.256Z] ---> 720bd25a1284 [2022-10-24T18:30:53.256Z] Step 8/22 : COPY src /tmp/sdk/src [2022-10-24T18:30:53.517Z] ---> c43f8d9b5ce0 [2022-10-24T18:30:53.517Z] Step 9/22 : COPY include /tmp/sdk/include [2022-10-24T18:30:53.785Z] ---> 1ea3e66bacea [2022-10-24T18:30:53.785Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2022-10-24T18:30:53.785Z] ---> f872b37679b6 [2022-10-24T18:30:53.785Z] Step 11/22 : COPY LICENSE /tmp/sdk [2022-10-24T18:30:54.044Z] ---> 88466b167f7f [2022-10-24T18:30:54.044Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2022-10-24T18:30:54.044Z] ---> 5b3f6a30b5e1 [2022-10-24T18:30:54.044Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2022-10-24T18:30:54.044Z] ---> Running in e5be0acbdfcf [2022-10-24T18:30:54.612Z] + CPPCHECK=false [2022-10-24T18:30:54.612Z] + DOCGEN=false [2022-10-24T18:30:54.612Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2022-10-24T18:30:54.612Z] + TOMLVER=SDK-0.2 [2022-10-24T18:30:54.612Z] + CUTILVER=1.2.2 [2022-10-24T18:30:54.612Z] + '[' 0 -gt 0 ] [2022-10-24T18:30:54.612Z] + readlink -f ./scripts/build.sh [2022-10-24T18:30:54.612Z] + dirname /tmp/sdk/scripts/build.sh [2022-10-24T18:30:54.612Z] + dirname /tmp/sdk/scripts [2022-10-24T18:30:54.612Z] + ROOT=/tmp/sdk [2022-10-24T18:30:54.612Z] + cd /tmp/sdk [2022-10-24T18:30:54.612Z] + '[' '!' -d deps ] [2022-10-24T18:30:54.612Z] + mkdir deps [2022-10-24T18:30:54.612Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-10-24T18:30:54.612Z] + tar -C deps -z -x -f - [2022-10-24T18:30:54.612Z] Connecting to github.com (140.82.113.4:443) [2022-10-24T18:30:54.612Z] Connecting to codeload.github.com (140.82.112.9:443) [2022-10-24T18:30:54.870Z] writing to stdout [2022-10-24T18:30:54.870Z] - 100% |********************************| 16451 0:00:00 ETA [2022-10-24T18:30:54.870Z] written to stdout [2022-10-24T18:30:54.870Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2022-10-24T18:30:54.870Z] + + tar -C deps -z -xwget -f - [2022-10-24T18:30:54.870Z] -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2022-10-24T18:30:54.870Z] Connecting to github.com (140.82.113.4:443) [2022-10-24T18:30:55.127Z] Connecting to codeload.github.com (140.82.112.9:443) [2022-10-24T18:30:55.385Z] writing to stdout [2022-10-24T18:30:55.385Z] - 100% |********************************| 189k 0:00:00 ETA [2022-10-24T18:30:55.385Z] written to stdout [2022-10-24T18:30:55.385Z] + mkdir -p src/c/iot [2022-10-24T18:30:55.385Z] + cp deps/iotech-c-utils-1.2.2/src/c/base64.c deps/iotech-c-utils-1.2.2/src/c/component.c deps/iotech-c-utils-1.2.2/src/c/config.c deps/iotech-c-utils-1.2.2/src/c/container.c deps/iotech-c-utils-1.2.2/src/c/data.c deps/iotech-c-utils-1.2.2/src/c/hash.c deps/iotech-c-utils-1.2.2/src/c/iot.c deps/iotech-c-utils-1.2.2/src/c/json.c deps/iotech-c-utils-1.2.2/src/c/logger.c deps/iotech-c-utils-1.2.2/src/c/os.c deps/iotech-c-utils-1.2.2/src/c/scheduler.c deps/iotech-c-utils-1.2.2/src/c/thread.c deps/iotech-c-utils-1.2.2/src/c/threadpool.c deps/iotech-c-utils-1.2.2/src/c/time.c deps/iotech-c-utils-1.2.2/src/c/uuid.c deps/iotech-c-utils-1.2.2/src/c/yxml.c src/c/iot [2022-10-24T18:30:55.385Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2022-10-24T18:30:55.385Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2022-10-24T18:30:55.385Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2022-10-24T18:30:55.385Z] + mkdir -p include/iot [2022-10-24T18:30:55.385Z] + cp deps/iotech-c-utils-1.2.2/include/iot/base64.h deps/iotech-c-utils-1.2.2/include/iot/component.h deps/iotech-c-utils-1.2.2/include/iot/config.h deps/iotech-c-utils-1.2.2/include/iot/container.h deps/iotech-c-utils-1.2.2/include/iot/data.h deps/iotech-c-utils-1.2.2/include/iot/hash.h deps/iotech-c-utils-1.2.2/include/iot/iot.h deps/iotech-c-utils-1.2.2/include/iot/json.h deps/iotech-c-utils-1.2.2/include/iot/logger.h deps/iotech-c-utils-1.2.2/include/iot/os.h deps/iotech-c-utils-1.2.2/include/iot/scheduler.h deps/iotech-c-utils-1.2.2/include/iot/thread.h deps/iotech-c-utils-1.2.2/include/iot/threadpool.h deps/iotech-c-utils-1.2.2/include/iot/time.h deps/iotech-c-utils-1.2.2/include/iot/typecode.h deps/iotech-c-utils-1.2.2/include/iot/uuid.h include/iot [2022-10-24T18:30:55.385Z] + mkdir -p include/iot/os [2022-10-24T18:30:55.385Z] + cp deps/iotech-c-utils-1.2.2/include/iot/os/linux.h deps/iotech-c-utils-1.2.2/include/iot/os/macos.h deps/iotech-c-utils-1.2.2/include/iot/os/zephyr.h include/iot/os [2022-10-24T18:30:55.385Z] + mkdir -p /tmp/sdk/build/release [2022-10-24T18:30:55.385Z] + cd /tmp/sdk/build/release [2022-10-24T18:30:55.385Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2022-10-24T18:30:55.385Z] -- The C compiler identification is GNU 10.3.1 [2022-10-24T18:30:55.385Z] -- Detecting C compiler ABI info [2022-10-24T18:30:55.643Z] -- Detecting C compiler ABI info - done [2022-10-24T18:30:55.644Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-10-24T18:30:55.644Z] -- Detecting C compile features [2022-10-24T18:30:55.644Z] -- Detecting C compile features - done [2022-10-24T18:30:55.644Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-10-24T18:30:55.644Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-10-24T18:30:55.644Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-10-24T18:30:55.644Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-10-24T18:30:55.644Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-10-24T18:30:55.644Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-10-24T18:30:55.644Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-10-24T18:30:55.644Z] -- C SDK 0.0.0 for Linux [2022-10-24T18:30:55.644Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-10-24T18:30:55.644Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-10-24T18:30:55.644Z] -- Found Curses: /usr/lib/libcurses.so [2022-10-24T18:30:55.902Z] -- Configuring done [2022-10-24T18:30:55.902Z] -- Generating done [2022-10-24T18:30:55.902Z] -- Build files have been written to: /tmp/sdk/build/release [2022-10-24T18:30:55.902Z] + make all package [2022-10-24T18:30:55.902Z] + tee release.log [2022-10-24T18:30:55.902Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-10-24T18:30:55.902Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-10-24T18:30:56.161Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-10-24T18:30:56.419Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-10-24T18:30:56.678Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-10-24T18:30:56.678Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-10-24T18:30:56.904Z] Still waiting to schedule task [2022-10-24T18:30:56.905Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-21826’ [2022-10-24T18:30:56.937Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-10-24T18:30:57.196Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-10-24T18:30:57.196Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-10-24T18:30:57.455Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-10-24T18:30:57.715Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-10-24T18:30:57.974Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-10-24T18:30:57.974Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-10-24T18:30:58.236Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-10-24T18:30:58.236Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-10-24T18:30:58.236Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-10-24T18:30:58.494Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-10-24T18:30:59.061Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-10-24T18:30:59.061Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-10-24T18:30:59.061Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-10-24T18:30:59.061Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-10-24T18:30:59.320Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-10-24T18:30:59.320Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-10-24T18:30:59.320Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-10-24T18:30:59.320Z] 275 | const iot_component_factory_t * factory; [2022-10-24T18:30:59.320Z] | ^~~~~~~ [2022-10-24T18:30:59.320Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-10-24T18:31:00.256Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-10-24T18:31:00.256Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-10-24T18:31:00.256Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-10-24T18:31:00.516Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-10-24T18:31:00.516Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-10-24T18:31:00.516Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-10-24T18:31:00.775Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-10-24T18:31:01.035Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-10-24T18:31:01.035Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-10-24T18:31:01.296Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-10-24T18:31:01.296Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-10-24T18:31:01.557Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-10-24T18:31:01.816Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-10-24T18:31:02.075Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-10-24T18:31:02.075Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-10-24T18:31:03.017Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-10-24T18:31:03.017Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-10-24T18:31:03.017Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-10-24T18:31:03.276Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-10-24T18:31:03.536Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-10-24T18:31:03.795Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-10-24T18:31:03.795Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-10-24T18:31:04.055Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-10-24T18:31:04.055Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-10-24T18:31:04.623Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-10-24T18:31:05.190Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-10-24T18:31:05.449Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2022-10-24T18:31:05.449Z] [ 75%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-10-24T18:31:05.449Z] [ 76%] Linking C shared library libcsdk.so [2022-10-24T18:31:05.707Z] [ 76%] Built target csdk [2022-10-24T18:31:05.707Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-10-24T18:31:05.707Z] [ 79%] Linking C executable template [2022-10-24T18:31:05.966Z] [ 79%] Built target template [2022-10-24T18:31:05.966Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-10-24T18:31:05.966Z] [ 82%] Linking C executable device-counter [2022-10-24T18:31:05.966Z] [ 82%] Built target device-counter [2022-10-24T18:31:05.966Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-10-24T18:31:06.226Z] [ 85%] Linking C executable device-random [2022-10-24T18:31:06.226Z] [ 85%] Built target device-random [2022-10-24T18:31:06.226Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-10-24T18:31:06.226Z] [ 88%] Linking C executable device-gyro [2022-10-24T18:31:06.485Z] [ 88%] Built target device-gyro [2022-10-24T18:31:06.485Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-10-24T18:31:06.485Z] [ 91%] Linking C executable device-bitfields [2022-10-24T18:31:06.485Z] [ 91%] Built target device-bitfields [2022-10-24T18:31:06.743Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-10-24T18:31:06.743Z] [ 94%] Linking C executable template-discovery [2022-10-24T18:31:06.743Z] [ 94%] Built target template-discovery [2022-10-24T18:31:06.743Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-10-24T18:31:07.002Z] [ 97%] Linking C executable device-file [2022-10-24T18:31:07.002Z] [ 97%] Built target device-file [2022-10-24T18:31:07.002Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-10-24T18:31:07.262Z] [100%] Linking C executable device-terminal [2022-10-24T18:31:07.262Z] [100%] Built target device-terminal [2022-10-24T18:31:07.262Z] Run CPack packaging tool... [2022-10-24T18:31:07.262Z] CPack: Create package using TGZ [2022-10-24T18:31:07.262Z] CPack: Install projects [2022-10-24T18:31:07.262Z] CPack: - Run preinstall target for: Csdk [2022-10-24T18:31:07.521Z] CPack: - Install project: Csdk [] [2022-10-24T18:31:07.521Z] CPack: Create package [2022-10-24T18:31:07.521Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2022-10-24T18:31:07.521Z] + '[' false '=' true ] [2022-10-24T18:31:07.521Z] + '[' false '=' true ] [2022-10-24T18:31:07.521Z] + mkdir -p /tmp/sdk/build/debug [2022-10-24T18:31:07.521Z] + cd /tmp/sdk/build/debug [2022-10-24T18:31:07.521Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2022-10-24T18:31:07.780Z] -- The C compiler identification is GNU 10.3.1 [2022-10-24T18:31:07.780Z] -- Detecting C compiler ABI info [2022-10-24T18:31:07.780Z] -- Detecting C compiler ABI info - done [2022-10-24T18:31:07.780Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-10-24T18:31:07.780Z] -- Detecting C compile features [2022-10-24T18:31:07.780Z] -- Detecting C compile features - done [2022-10-24T18:31:07.780Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-10-24T18:31:07.780Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-10-24T18:31:07.780Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-10-24T18:31:07.780Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-10-24T18:31:07.780Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-10-24T18:31:07.780Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-10-24T18:31:07.780Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-10-24T18:31:07.780Z] -- C SDK 0.0.0 for Linux [2022-10-24T18:31:07.780Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-10-24T18:31:08.038Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-10-24T18:31:08.038Z] -- Found Curses: /usr/lib/libcurses.so [2022-10-24T18:31:08.038Z] -- Configuring done [2022-10-24T18:31:08.038Z] -- Generating done [2022-10-24T18:31:08.038Z] -- Build files have been written to: /tmp/sdk/build/debug [2022-10-24T18:31:08.038Z] + make [2022-10-24T18:31:08.038Z] + tee debug.log [2022-10-24T18:31:08.038Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-10-24T18:31:08.038Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-10-24T18:31:08.297Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-10-24T18:31:08.297Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-10-24T18:31:08.555Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-10-24T18:31:08.555Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-10-24T18:31:08.555Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-10-24T18:31:08.814Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-10-24T18:31:08.814Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-10-24T18:31:08.814Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-10-24T18:31:09.074Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-10-24T18:31:09.074Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-10-24T18:31:09.074Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-10-24T18:31:09.333Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-10-24T18:31:09.333Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-10-24T18:31:09.333Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-10-24T18:31:09.333Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-10-24T18:31:09.591Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-10-24T18:31:09.591Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-10-24T18:31:09.591Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-10-24T18:31:09.849Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-10-24T18:31:09.849Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-10-24T18:31:09.849Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-10-24T18:31:09.849Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-10-24T18:31:09.849Z] 275 | const iot_component_factory_t * factory; [2022-10-24T18:31:09.849Z] | ^~~~~~~ [2022-10-24T18:31:09.849Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-10-24T18:31:10.108Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-10-24T18:31:10.108Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-10-24T18:31:10.368Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-10-24T18:31:10.368Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-10-24T18:31:10.368Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-10-24T18:31:10.368Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-10-24T18:31:10.626Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-10-24T18:31:10.626Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-10-24T18:31:10.626Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-10-24T18:31:10.626Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-10-24T18:31:10.626Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-10-24T18:31:10.885Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-10-24T18:31:10.885Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-10-24T18:31:10.885Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-10-24T18:31:11.143Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-10-24T18:31:11.401Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-10-24T18:31:11.402Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-10-24T18:31:11.402Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-10-24T18:31:11.402Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-10-24T18:31:11.660Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-10-24T18:31:11.919Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-10-24T18:31:11.919Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-10-24T18:31:11.919Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-10-24T18:31:11.919Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-10-24T18:31:12.178Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-10-24T18:31:12.436Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-10-24T18:31:12.436Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2022-10-24T18:31:12.436Z] [ 75%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-10-24T18:31:12.436Z] [ 76%] Linking C shared library libcsdk.so [2022-10-24T18:31:12.696Z] [ 76%] Built target csdk [2022-10-24T18:31:12.696Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-10-24T18:31:12.696Z] [ 79%] Linking C executable template [2022-10-24T18:31:12.696Z] [ 79%] Built target template [2022-10-24T18:31:12.696Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-10-24T18:31:12.955Z] [ 82%] Linking C executable device-counter [2022-10-24T18:31:12.955Z] [ 82%] Built target device-counter [2022-10-24T18:31:12.955Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-10-24T18:31:12.955Z] [ 85%] Linking C executable device-random [2022-10-24T18:31:13.214Z] [ 85%] Built target device-random [2022-10-24T18:31:13.214Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-10-24T18:31:13.214Z] [ 88%] Linking C executable device-gyro [2022-10-24T18:31:13.214Z] [ 88%] Built target device-gyro [2022-10-24T18:31:13.214Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-10-24T18:31:13.214Z] [ 91%] Linking C executable device-bitfields [2022-10-24T18:31:13.475Z] [ 91%] Built target device-bitfields [2022-10-24T18:31:13.476Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-10-24T18:31:13.476Z] [ 94%] Linking C executable template-discovery [2022-10-24T18:31:13.476Z] [ 94%] Built target template-discovery [2022-10-24T18:31:13.476Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-10-24T18:31:13.736Z] [ 97%] Linking C executable device-file [2022-10-24T18:31:13.736Z] [ 97%] Built target device-file [2022-10-24T18:31:13.736Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-10-24T18:31:13.736Z] [100%] Linking C executable device-terminal [2022-10-24T18:31:13.736Z] [100%] Built target device-terminal [2022-10-24T18:31:13.996Z] make: Entering directory '/tmp/sdk/build/release' [2022-10-24T18:31:13.996Z] make[1]: Entering directory '/tmp/sdk/build/release' [2022-10-24T18:31:13.996Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-10-24T18:31:13.996Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-10-24T18:31:13.996Z] [ 76%] Built target csdk [2022-10-24T18:31:13.996Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-10-24T18:31:13.996Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-10-24T18:31:13.996Z] [ 79%] Built target template [2022-10-24T18:31:13.996Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-10-24T18:31:13.996Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-10-24T18:31:13.996Z] [ 82%] Built target device-counter [2022-10-24T18:31:13.996Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-10-24T18:31:13.996Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-10-24T18:31:13.996Z] [ 85%] Built target device-random [2022-10-24T18:31:13.996Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-10-24T18:31:13.996Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-10-24T18:31:13.996Z] [ 88%] Built target device-gyro [2022-10-24T18:31:13.996Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-10-24T18:31:13.996Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-10-24T18:31:13.996Z] [ 91%] Built target device-bitfields [2022-10-24T18:31:13.996Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-10-24T18:31:13.996Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-10-24T18:31:13.996Z] [ 94%] Built target template-discovery [2022-10-24T18:31:13.996Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-10-24T18:31:13.996Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-10-24T18:31:13.996Z] [ 97%] Built target device-file [2022-10-24T18:31:13.996Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-10-24T18:31:13.996Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-10-24T18:31:13.996Z] [100%] Built target device-terminal [2022-10-24T18:31:13.996Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2022-10-24T18:31:13.996Z] Install the project... [2022-10-24T18:31:13.996Z] -- Install configuration: "Release" [2022-10-24T18:31:13.996Z] -- Installing: /usr/local/lib/libcsdk.so [2022-10-24T18:31:13.996Z] -- Installing: /usr/local/include [2022-10-24T18:31:13.996Z] -- Installing: /usr/local/include/devsdk [2022-10-24T18:31:13.996Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2022-10-24T18:31:13.996Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2022-10-24T18:31:13.996Z] -- Installing: /usr/local/include/edgex [2022-10-24T18:31:13.996Z] -- Installing: /usr/local/include/edgex/edgex.h [2022-10-24T18:31:13.996Z] -- Installing: /usr/local/include/edgex/devices.h [2022-10-24T18:31:13.996Z] -- Installing: /usr/local/include/edgex/profiles.h [2022-10-24T18:31:13.996Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2022-10-24T18:31:13.996Z] -- Installing: /usr/local/include/edgex/rest-server.h [2022-10-24T18:31:13.996Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2022-10-24T18:31:13.996Z] -- Installing: /usr/local/include/iot [2022-10-24T18:31:13.996Z] -- Installing: /usr/local/include/iot/thread.h [2022-10-24T18:31:13.996Z] -- Installing: /usr/local/include/iot/iot.h [2022-10-24T18:31:13.996Z] -- Installing: /usr/local/include/iot/json.h [2022-10-24T18:31:13.996Z] -- Installing: /usr/local/include/iot/scheduler.h [2022-10-24T18:31:13.996Z] -- Installing: /usr/local/include/iot/typecode.h [2022-10-24T18:31:13.996Z] -- Installing: /usr/local/include/iot/component.h [2022-10-24T18:31:13.996Z] -- Installing: /usr/local/include/iot/defs.h [2022-10-24T18:31:13.996Z] -- Installing: /usr/local/include/iot/base64.h [2022-10-24T18:31:13.996Z] -- Installing: /usr/local/include/iot/time.h [2022-10-24T18:31:13.996Z] -- Installing: /usr/local/include/iot/os [2022-10-24T18:31:13.996Z] -- Installing: /usr/local/include/iot/os/linux.h [2022-10-24T18:31:13.996Z] -- Installing: /usr/local/include/iot/os/macos.h [2022-10-24T18:31:13.996Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2022-10-24T18:31:13.996Z] -- Installing: /usr/local/include/iot/container.h [2022-10-24T18:31:13.996Z] -- Installing: /usr/local/include/iot/data.h [2022-10-24T18:31:13.996Z] -- Installing: /usr/local/include/iot/hash.h [2022-10-24T18:31:13.996Z] -- Installing: /usr/local/include/iot/uuid.h [2022-10-24T18:31:13.996Z] -- Installing: /usr/local/include/iot/config.h [2022-10-24T18:31:13.996Z] -- Installing: /usr/local/include/iot/logger.h [2022-10-24T18:31:13.996Z] -- Installing: /usr/local/include/iot/threadpool.h [2022-10-24T18:31:13.996Z] -- Installing: /usr/local/include/iot/os.h [2022-10-24T18:31:13.996Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2022-10-24T18:31:13.996Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2022-10-24T18:31:13.996Z] make: Leaving directory '/tmp/sdk/build/release' [2022-10-24T18:31:14.934Z] Removing intermediate container e5be0acbdfcf [2022-10-24T18:31:14.934Z] ---> ec7bdfc9662b [2022-10-24T18:31:14.934Z] Step 14/22 : FROM ${BASE} [2022-10-24T18:31:14.934Z] ---> e707ee6a6b38 [2022-10-24T18:31:14.934Z] Step 15/22 : LABEL maintainer="IOTech " [2022-10-24T18:31:14.934Z] ---> Running in 34fe2525f16d [2022-10-24T18:31:14.934Z] Removing intermediate container 34fe2525f16d [2022-10-24T18:31:14.934Z] ---> 6ecf5f3ae23b [2022-10-24T18:31:14.934Z] Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2022-10-24T18:31:14.934Z] ---> Running in 7059f65dc4ea [2022-10-24T18:31:15.193Z] Connecting to iotech.jfrog.io (52.16.228.165:443) [2022-10-24T18:31:15.772Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-10-24T18:31:15.772Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-10-24T18:31:15.772Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-10-24T18:31:16.031Z] Removing intermediate container 7059f65dc4ea [2022-10-24T18:31:16.031Z] ---> b8581647de15 [2022-10-24T18:31:16.031Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-10-24T18:31:16.031Z] ---> Running in 7c1287da6a35 [2022-10-24T18:31:16.598Z] Removing intermediate container 7c1287da6a35 [2022-10-24T18:31:16.598Z] ---> 53bb82d4c10f [2022-10-24T18:31:16.598Z] Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 hiredis-dev [2022-10-24T18:31:16.857Z] ---> Running in 4f223efb58da [2022-10-24T18:31:17.121Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-10-24T18:31:17.121Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-10-24T18:31:17.121Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-10-24T18:31:17.687Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-10-24T18:31:17.687Z] (1/6) Installing curl (7.80.0-r3) [2022-10-24T18:31:17.687Z] (2/6) Installing hiredis (1.0.2-r0) [2022-10-24T18:31:17.687Z] (3/6) Installing hiredis-dev (1.0.2-r0) [2022-10-24T18:31:17.687Z] (4/6) Installing libcbor (0.8.0-r0) [2022-10-24T18:31:17.687Z] (5/6) Installing libuuid (2.37.4-r0) [2022-10-24T18:31:17.687Z] (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.11-r0) [2022-10-24T18:31:18.629Z] Executing busybox-1.34.1-r7.trigger [2022-10-24T18:31:18.629Z] OK: 283 MiB in 83 packages [2022-10-24T18:31:18.893Z] Removing intermediate container 4f223efb58da [2022-10-24T18:31:18.893Z] ---> b7fbd676dca3 [2022-10-24T18:31:18.893Z] Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2022-10-24T18:31:19.154Z] ---> 0d788fb1c132 [2022-10-24T18:31:19.154Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2022-10-24T18:31:19.154Z] ---> e36c3e48a67e [2022-10-24T18:31:19.154Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2022-10-24T18:31:19.413Z] ---> a6dd9b6738cf [2022-10-24T18:31:19.413Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2022-10-24T18:31:19.413Z] ---> 0df6c5b53047 [2022-10-24T18:31:19.413Z] Successfully built 0df6c5b53047 [2022-10-24T18:31:19.413Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T18:31:19.763Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-24T18:31:19.763Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T18:31:19.824Z] prd-ubuntu20.04-docker-8c-8g-21804 does not seem to be running inside a container [2022-10-24T18:31:19.856Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-430 -v /w/workspace/edgexfoundry_device-sdk-c_PR-430:/w/workspace/edgexfoundry_device-sdk-c_PR-430:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-430@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-430@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-24T18:31:20.252Z] $ docker top 24f3e3c43824d4ca74c3cadb6a749d3d5826b276956fb8a18e032795464cf02d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T18:31:20.599Z] + make test [2022-10-24T18:31:20.599Z] echo "make test" [2022-10-24T18:31:20.599Z] make test [Pipeline] } [2022-10-24T18:31:20.614Z] $ docker stop --time=1 24f3e3c43824d4ca74c3cadb6a749d3d5826b276956fb8a18e032795464cf02d [2022-10-24T18:31:21.917Z] $ docker rm -f 24f3e3c43824d4ca74c3cadb6a749d3d5826b276956fb8a18e032795464cf02d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-24T18:31:22.574Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-24T18:31:22.859Z] + ls -al . [2022-10-24T18:31:22.859Z] total 208 [2022-10-24T18:31:22.859Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 18:30 . [2022-10-24T18:31:22.859Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 18:30 .. [2022-10-24T18:31:22.859Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 18:30 .git [2022-10-24T18:31:22.859Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 18:30 .github [2022-10-24T18:31:22.859Z] -rw-rw-r-- 1 jenkins jenkins 176 Oct 24 18:30 .gitignore [2022-10-24T18:31:22.859Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 18:30 .semver [2022-10-24T18:31:22.859Z] -rw-rw-r-- 1 jenkins jenkins 3104 Oct 24 18:30 Attribution.txt [2022-10-24T18:31:22.859Z] -rw-rw-r-- 1 jenkins jenkins 8540 Oct 24 18:30 CHANGES [2022-10-24T18:31:22.859Z] -rw-rw-r-- 1 jenkins jenkins 108574 Oct 24 18:30 Doxyfile [2022-10-24T18:31:22.859Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 18:30 GOVERNANCE.md [2022-10-24T18:31:22.859Z] -rw-rw-r-- 1 jenkins jenkins 784 Oct 24 18:30 Jenkinsfile [2022-10-24T18:31:22.859Z] -rw-rw-r-- 1 jenkins jenkins 10174 Oct 24 18:30 LICENSE [2022-10-24T18:31:22.859Z] -rw-rw-r-- 1 jenkins jenkins 444 Oct 24 18:30 Makefile [2022-10-24T18:31:22.859Z] -rw-rw-r-- 1 jenkins jenkins 618 Oct 24 18:30 OWNERS.md [2022-10-24T18:31:22.859Z] -rw-rw-r-- 1 jenkins jenkins 4086 Oct 24 18:30 README.md [2022-10-24T18:31:22.859Z] -rw-rw-r-- 1 jenkins jenkins 7422 Oct 24 18:30 README.v2.md [2022-10-24T18:31:22.859Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 18:30 VERSION [2022-10-24T18:31:22.859Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 18:30 docs [2022-10-24T18:31:22.859Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 18:30 include [2022-10-24T18:31:22.859Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 18:30 scripts [2022-10-24T18:31:22.859Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 18:30 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T18:31:23.168Z] + docker build -t device-sdk -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=21fe6df0b722a05385915154bcdc0a1e53a1162b --label arch=amd64 --label version=0.0.0 . [2022-10-24T18:31:23.168Z] Sending build context to Docker daemon 4.675MB [2022-10-24T18:31:23.168Z] Step 1/17 : ARG BASE=alpine:3.15 [2022-10-24T18:31:23.168Z] Step 2/17 : FROM ${BASE} [2022-10-24T18:31:23.168Z] ---> 0df6c5b53047 [2022-10-24T18:31:23.168Z] Step 3/17 : LABEL maintainer="IOTech " [2022-10-24T18:31:23.168Z] ---> Running in 6fa023d683e6 [2022-10-24T18:31:23.427Z] Removing intermediate container 6fa023d683e6 [2022-10-24T18:31:23.427Z] ---> 7df2fa762ffb [2022-10-24T18:31:23.427Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2022-10-24T18:31:23.427Z] ---> Running in 0779998ba948 [2022-10-24T18:31:23.685Z] Connecting to iotech.jfrog.io (52.16.228.165:443) [2022-10-24T18:31:23.944Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-10-24T18:31:23.944Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-10-24T18:31:23.944Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-10-24T18:31:24.204Z] Removing intermediate container 0779998ba948 [2022-10-24T18:31:24.204Z] ---> 5d0d3dd4fbbe [2022-10-24T18:31:24.204Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-10-24T18:31:24.463Z] ---> Running in 9a94b3ef7a70 [2022-10-24T18:31:25.035Z] Removing intermediate container 9a94b3ef7a70 [2022-10-24T18:31:25.035Z] ---> 74db1c898305 [2022-10-24T18:31:25.035Z] Step 6/17 : 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 hiredis-dev && mkdir -p /edgex-c-sdk/build [2022-10-24T18:31:25.035Z] ---> Running in ffb91a184b16 [2022-10-24T18:31:25.294Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-10-24T18:31:25.294Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-10-24T18:31:25.553Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-10-24T18:31:25.823Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-10-24T18:31:25.823Z] (1/26) Installing libcbor-dev (0.8.0-r0) [2022-10-24T18:31:25.823Z] (2/26) Installing ncurses-dev (6.3_p20211120-r1) [2022-10-24T18:31:25.823Z] (3/26) Installing util-linux (2.37.4-r0) [2022-10-24T18:31:25.823Z] (4/26) Installing libblkid (2.37.4-r0) [2022-10-24T18:31:25.823Z] (5/26) Installing libeconf (0.4.2-r0) [2022-10-24T18:31:25.823Z] (6/26) Installing libfdisk (2.37.4-r0) [2022-10-24T18:31:26.085Z] (7/26) Installing libmount (2.37.4-r0) [2022-10-24T18:31:26.085Z] (8/26) Installing libsmartcols (2.37.4-r0) [2022-10-24T18:31:26.085Z] (9/26) Installing util-linux-misc (2.37.4-r0) [2022-10-24T18:31:26.085Z] (10/26) Installing linux-pam (1.5.2-r0) [2022-10-24T18:31:26.085Z] (11/26) Installing runuser (2.37.4-r0) [2022-10-24T18:31:26.085Z] (12/26) Installing hexdump (2.37.4-r0) [2022-10-24T18:31:26.085Z] (13/26) Installing uuidgen (2.37.4-r0) [2022-10-24T18:31:26.085Z] (14/26) Installing blkid (2.37.4-r0) [2022-10-24T18:31:26.085Z] (15/26) Installing sfdisk (2.37.4-r0) [2022-10-24T18:31:26.085Z] (16/26) Installing mcookie (2.37.4-r0) [2022-10-24T18:31:26.085Z] (17/26) Installing wipefs (2.37.4-r0) [2022-10-24T18:31:26.085Z] (18/26) Installing cfdisk (2.37.4-r0) [2022-10-24T18:31:26.085Z] (19/26) Installing flock (2.37.4-r0) [2022-10-24T18:31:26.085Z] (20/26) Installing lsblk (2.37.4-r0) [2022-10-24T18:31:26.085Z] (21/26) Installing libcap-ng (0.8.2-r1) [2022-10-24T18:31:26.085Z] (22/26) Installing setpriv (2.37.4-r0) [2022-10-24T18:31:26.085Z] (23/26) Installing logger (2.37.4-r0) [2022-10-24T18:31:26.085Z] (24/26) Installing partx (2.37.4-r0) [2022-10-24T18:31:26.085Z] (25/26) Installing findmnt (2.37.4-r0) [2022-10-24T18:31:26.085Z] (26/26) Installing util-linux-dev (2.37.4-r0) [2022-10-24T18:31:26.085Z] Executing busybox-1.34.1-r7.trigger [2022-10-24T18:31:26.085Z] OK: 294 MiB in 109 packages [2022-10-24T18:31:26.652Z] Removing intermediate container ffb91a184b16 [2022-10-24T18:31:26.652Z] ---> bb67c3a2b3a7 [2022-10-24T18:31:26.652Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2022-10-24T18:31:26.910Z] ---> cb07667acdad [2022-10-24T18:31:26.910Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2022-10-24T18:31:27.169Z] ---> b1f9536a735c [2022-10-24T18:31:27.169Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2022-10-24T18:31:27.169Z] ---> 3e39cf6bebe0 [2022-10-24T18:31:27.169Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2022-10-24T18:31:27.428Z] ---> 6d4773ec173b [2022-10-24T18:31:27.428Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2022-10-24T18:31:27.428Z] ---> 1ea32a88ef51 [2022-10-24T18:31:27.428Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2022-10-24T18:31:27.695Z] ---> 5240d4c2b7a9 [2022-10-24T18:31:27.695Z] Step 13/17 : WORKDIR /edgex-c-sdk [2022-10-24T18:31:27.695Z] ---> Running in 1d888a1d63de [2022-10-24T18:31:27.695Z] Removing intermediate container 1d888a1d63de [2022-10-24T18:31:27.695Z] ---> 9ffca60d1381 [2022-10-24T18:31:27.695Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2022-10-24T18:31:27.695Z] ---> Running in e4529943447c [2022-10-24T18:31:27.695Z] Removing intermediate container e4529943447c [2022-10-24T18:31:27.695Z] ---> 852d06ad8a5b [2022-10-24T18:31:27.695Z] Step 15/17 : LABEL arch=amd64 [2022-10-24T18:31:27.956Z] ---> Running in 2611bc5f6247 [2022-10-24T18:31:27.956Z] Removing intermediate container 2611bc5f6247 [2022-10-24T18:31:27.956Z] ---> 3387285c3902 [2022-10-24T18:31:27.956Z] Step 16/17 : LABEL git_sha=21fe6df0b722a05385915154bcdc0a1e53a1162b [2022-10-24T18:31:27.956Z] ---> Running in 348b9e728c66 [2022-10-24T18:31:27.956Z] Removing intermediate container 348b9e728c66 [2022-10-24T18:31:27.956Z] ---> 7af578e9bda5 [2022-10-24T18:31:27.956Z] Step 17/17 : LABEL version=0.0.0 [2022-10-24T18:31:28.215Z] ---> Running in 06053cb20a5a [2022-10-24T18:31:28.215Z] Removing intermediate container 06053cb20a5a [2022-10-24T18:31:28.215Z] ---> 73e4062733b6 [2022-10-24T18:31:28.215Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2022-10-24T18:31:28.215Z] Successfully built 73e4062733b6 [2022-10-24T18:31:28.215Z] Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T18:31:28.639Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T18:31:28.639Z] [2022-10-24T18:31:28.639Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T18:31:28.932Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T18:31:28.932Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-24T18:31:28.932Z] 5eb5b503b376: Pulling fs layer [2022-10-24T18:31:28.932Z] 5c69ac0246d0: Pulling fs layer [2022-10-24T18:31:28.932Z] ec43610c2a17: Pulling fs layer [2022-10-24T18:31:28.932Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-24T18:31:28.932Z] 33b1e0a273af: Pulling fs layer [2022-10-24T18:31:28.932Z] 5d3b04190fa2: Pulling fs layer [2022-10-24T18:31:28.932Z] 2f39f015ded8: Pulling fs layer [2022-10-24T18:31:28.932Z] 33b1e0a273af: Waiting [2022-10-24T18:31:28.932Z] 5d3b04190fa2: Waiting [2022-10-24T18:31:28.932Z] 3a2ae6a8a46f: Waiting [2022-10-24T18:31:28.932Z] 5c69ac0246d0: Verifying Checksum [2022-10-24T18:31:28.932Z] 5c69ac0246d0: Download complete [2022-10-24T18:31:28.932Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-24T18:31:28.932Z] 3a2ae6a8a46f: Download complete [2022-10-24T18:31:29.191Z] 33b1e0a273af: Verifying Checksum [2022-10-24T18:31:29.191Z] 33b1e0a273af: Download complete [2022-10-24T18:31:29.191Z] 5d3b04190fa2: Download complete [2022-10-24T18:31:29.191Z] ec43610c2a17: Verifying Checksum [2022-10-24T18:31:29.191Z] ec43610c2a17: Download complete [2022-10-24T18:31:29.191Z] 5eb5b503b376: Verifying Checksum [2022-10-24T18:31:29.191Z] 5eb5b503b376: Download complete [2022-10-24T18:31:29.755Z] 2f39f015ded8: Verifying Checksum [2022-10-24T18:31:29.755Z] 2f39f015ded8: Download complete [2022-10-24T18:31:30.320Z] 5eb5b503b376: Pull complete [2022-10-24T18:31:30.320Z] 5c69ac0246d0: Pull complete [2022-10-24T18:31:30.885Z] ec43610c2a17: Pull complete [2022-10-24T18:31:30.885Z] 3a2ae6a8a46f: Pull complete [2022-10-24T18:31:31.143Z] 33b1e0a273af: Pull complete [2022-10-24T18:31:31.143Z] 5d3b04190fa2: Pull complete [2022-10-24T18:31:35.324Z] 2f39f015ded8: Pull complete [2022-10-24T18:31:35.324Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-24T18:31:35.324Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T18:31:35.324Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T18:31:35.415Z] prd-ubuntu20.04-docker-8c-8g-21804 does not seem to be running inside a container [2022-10-24T18:31:35.456Z] $ 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-430 -v /w/workspace/edgexfoundry_device-sdk-c_PR-430:/w/workspace/edgexfoundry_device-sdk-c_PR-430:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-430@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-430@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-24T18:31:37.218Z] $ docker top 5fb48948d39fbb6a07fe11b97c61618752bfc7bbc02bc8936a747984cb833a50 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T18:31:37.609Z] ---> job-cost.sh [2022-10-24T18:31:37.610Z] lf-activate-venv: SKIPPING [2022-10-24T18:31:37.610Z] INFO: No Stack... [2022-10-24T18:31:37.869Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-24T18:31:38.439Z] INFO: Archiving Costs [Pipeline] sh [2022-10-24T18:31:38.727Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-430/archives/cost.csv [2022-10-24T18:31:38.727Z] + cut -d, -f6 [Pipeline] lock [2022-10-24T18:31:38.739Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-430-2-stack-cost] [2022-10-24T18:31:38.748Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-430-2-stack-cost] did not exist. Created. [2022-10-24T18:31:38.748Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-430-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-24T18:31:39.043Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-24T18:31:39.085Z] Stashed 1 file(s) [Pipeline] } [2022-10-24T18:31:39.092Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-430-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-24T18:31:39.109Z] $ docker stop --time=1 5fb48948d39fbb6a07fe11b97c61618752bfc7bbc02bc8936a747984cb833a50 [2022-10-24T18:31:40.278Z] $ docker rm -f 5fb48948d39fbb6a07fe11b97c61618752bfc7bbc02bc8936a747984cb833a50 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-24T23:20:43.009Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-51486 in /w/workspace/edgexfoundry_device-sdk-c_PR-430 [Pipeline] { [Pipeline] ws [2022-10-24T23:20:43.023Z] Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout [2022-10-24T23:20:43.055Z] Selected Git installation does not exist. Using Default [2022-10-24T23:20:43.055Z] The recommended git tool is: NONE [2022-10-24T23:20:48.046Z] using credential edgex-jenkins-ssh [2022-10-24T23:20:48.063Z] Cloning the remote Git repository [2022-10-24T23:20:48.104Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2022-10-24T23:20:48.170Z] > git init /w/workspace/device-sdk-c/2 # timeout=10 [2022-10-24T23:20:48.291Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2022-10-24T23:20:48.292Z] > git --version # timeout=10 [2022-10-24T23:20:48.310Z] > git --version # 'git version 2.25.1' [2022-10-24T23:20:48.312Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-24T23:20:48.352Z] Verifying host key using known hosts file [2022-10-24T23:20:48.527Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-24T23:20:48.539Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-24T23:20:49.726Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2022-10-24T23:20:49.748Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-24T23:20:51.207Z] Merging remotes/origin/main commit a3501f9cfcd4e6113c1d407fdd34c589c44025e6 into PR head commit 21fe6df0b722a05385915154bcdc0a1e53a1162b [2022-10-24T23:20:51.448Z] Merge succeeded, producing 21fe6df0b722a05385915154bcdc0a1e53a1162b [2022-10-24T23:20:51.448Z] Checking out Revision 21fe6df0b722a05385915154bcdc0a1e53a1162b (PR-430) [2022-10-24T23:20:50.494Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2022-10-24T23:20:50.535Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2022-10-24T23:20:50.536Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-24T23:20:50.541Z] Verifying host key using known hosts file [2022-10-24T23:20:50.548Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-24T23:20:50.559Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/430/head:refs/remotes/origin/PR-430 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-24T23:20:51.226Z] > git config core.sparsecheckout # timeout=10 [2022-10-24T23:20:51.249Z] > git checkout -f 21fe6df0b722a05385915154bcdc0a1e53a1162b # timeout=10 [2022-10-24T23:20:51.357Z] > git remote # timeout=10 [2022-10-24T23:20:51.373Z] > git config --get remote.origin.url # timeout=10 [2022-10-24T23:20:51.392Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-24T23:20:51.396Z] Verifying host key using known hosts file [2022-10-24T23:20:51.401Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-24T23:20:51.412Z] > git merge a3501f9cfcd4e6113c1d407fdd34c589c44025e6 # timeout=10 [2022-10-24T23:20:51.434Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-24T23:20:51.455Z] > git config core.sparsecheckout # timeout=10 [2022-10-24T23:20:51.471Z] > git checkout -f 21fe6df0b722a05385915154bcdc0a1e53a1162b # timeout=10 [2022-10-24T23:20:54.959Z] Commit message: "refactor: macroize default topic names" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-24T23:20:55.869Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-24T23:20:55.869Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-24T23:20:55.869Z] Dload Upload Total Spent Left Speed [2022-10-24T23:20:55.869Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 75915 0 --:--:-- --:--:-- --:--:-- 75915 [Pipeline] sh [2022-10-24T23:20:56.598Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-24T23:20:56.928Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-24T23:20:56.928Z] + sudo tee /etc/docker/daemon.new [2022-10-24T23:20:56.928Z] { [2022-10-24T23:20:56.928Z] "registry-mirrors": [ [2022-10-24T23:20:56.928Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-24T23:20:56.928Z] ], [2022-10-24T23:20:56.928Z] "bip": "10.250.0.254/24", [2022-10-24T23:20:56.928Z] "hosts": [ [2022-10-24T23:20:56.928Z] "tcp://0.0.0.0:5555", [2022-10-24T23:20:56.928Z] "unix:///var/run/docker.sock" [2022-10-24T23:20:56.928Z] ], [2022-10-24T23:20:56.928Z] "mtu": 1458, [2022-10-24T23:20:56.928Z] "selinux-enabled": true, [2022-10-24T23:20:56.928Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-24T23:20:56.928Z] } [Pipeline] sh [2022-10-24T23:20:57.244Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-24T23:20:57.573Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-24T23:21:15.839Z] provisioning config files... [2022-10-24T23:21:15.860Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config625636340700975702tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T23:21:16.194Z] ---> docker-login.sh [2022-10-24T23:21:16.194Z] nexus3.edgexfoundry.org:10001 [2022-10-24T23:21:16.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T23:21:17.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T23:21:17.050Z] Configure a credential helper to remove this warning. See [2022-10-24T23:21:17.050Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T23:21:17.050Z] [2022-10-24T23:21:17.050Z] Login Succeeded [2022-10-24T23:21:17.050Z] nexus3.edgexfoundry.org:10002 [2022-10-24T23:21:17.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T23:21:17.318Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T23:21:17.318Z] Configure a credential helper to remove this warning. See [2022-10-24T23:21:17.318Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T23:21:17.318Z] [2022-10-24T23:21:17.318Z] Login Succeeded [2022-10-24T23:21:17.318Z] nexus3.edgexfoundry.org:10003 [2022-10-24T23:21:17.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T23:21:17.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T23:21:17.595Z] Configure a credential helper to remove this warning. See [2022-10-24T23:21:17.595Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T23:21:17.595Z] [2022-10-24T23:21:17.595Z] Login Succeeded [2022-10-24T23:21:17.595Z] nexus3.edgexfoundry.org:10004 [2022-10-24T23:21:17.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T23:21:18.130Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T23:21:18.130Z] Configure a credential helper to remove this warning. See [2022-10-24T23:21:18.130Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T23:21:18.130Z] [2022-10-24T23:21:18.130Z] Login Succeeded [2022-10-24T23:21:18.130Z] docker.io [2022-10-24T23:21:18.130Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T23:21:18.712Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T23:21:18.712Z] Configure a credential helper to remove this warning. See [2022-10-24T23:21:18.712Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T23:21:18.712Z] [2022-10-24T23:21:18.712Z] Login Succeeded [2022-10-24T23:21:18.712Z] ---> docker-login.sh ends [Pipeline] } [2022-10-24T23:21:18.726Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-24T23:21:18.869Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T23:21:18.879Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2022-10-24T23:21:18.885Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T23:21:18.891Z] ========================================================= [2022-10-24T23:21:18.891Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2022-10-24T23:21:18.891Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T23:21:19.214Z] + 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 . [2022-10-24T23:21:19.484Z] Sending build context to Docker daemon 2.841MB [2022-10-24T23:21:19.484Z] Step 1/22 : ARG BASE=alpine:3.15 [2022-10-24T23:21:19.484Z] Step 2/22 : FROM ${BASE} as builder [2022-10-24T23:21:19.753Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2022-10-24T23:21:19.753Z] 47517142f6ba: Pulling fs layer [2022-10-24T23:21:19.753Z] aa7378271a18: Pulling fs layer [2022-10-24T23:21:19.753Z] 47517142f6ba: Download complete [2022-10-24T23:21:20.347Z] 47517142f6ba: Pull complete [2022-10-24T23:21:21.771Z] aa7378271a18: Verifying Checksum [2022-10-24T23:21:21.771Z] aa7378271a18: Download complete [2022-10-24T23:21:29.993Z] aa7378271a18: Pull complete [2022-10-24T23:21:29.993Z] Digest: sha256:b4797a0decde543329611e793e2fe00c37f71866d083e0bae715a887fd9e8dbb [2022-10-24T23:21:29.993Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2022-10-24T23:21:29.993Z] ---> f192a6432ac9 [2022-10-24T23:21:29.993Z] Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2022-10-24T23:21:30.263Z] ---> Running in 1818a9f21a1d [2022-10-24T23:21:31.669Z] Connecting to iotech.jfrog.io (52.212.38.229:443) [2022-10-24T23:21:31.937Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-10-24T23:21:31.937Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-10-24T23:21:31.938Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-10-24T23:21:32.529Z] Removing intermediate container 1818a9f21a1d [2022-10-24T23:21:32.529Z] ---> 681975bb473c [2022-10-24T23:21:32.529Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-10-24T23:21:32.529Z] ---> Running in 1faaa5baea9e [2022-10-24T23:21:33.939Z] Removing intermediate container 1faaa5baea9e [2022-10-24T23:21:33.940Z] ---> 90b8d358435f [2022-10-24T23:21:33.940Z] Step 5/22 : 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 hiredis-dev [2022-10-24T23:21:34.208Z] ---> Running in 21aad3c6e3de [2022-10-24T23:21:35.180Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-10-24T23:21:35.180Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-10-24T23:21:35.771Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-10-24T23:21:36.356Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-10-24T23:21:36.356Z] (1/31) Installing hiredis (1.0.2-r0) [2022-10-24T23:21:36.356Z] (2/31) Installing hiredis-dev (1.0.2-r0) [2022-10-24T23:21:36.622Z] (3/31) Installing libcbor (0.8.0-r0) [2022-10-24T23:21:36.622Z] (4/31) Installing libcbor-dev (0.8.0-r0) [2022-10-24T23:21:36.622Z] (5/31) Installing ncurses-dev (6.3_p20211120-r1) [2022-10-24T23:21:36.622Z] (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.11-r0) [2022-10-24T23:21:37.206Z] (7/31) Installing util-linux (2.37.4-r0) [2022-10-24T23:21:37.471Z] (8/31) Installing libblkid (2.37.4-r0) [2022-10-24T23:21:37.471Z] (9/31) Installing libeconf (0.4.2-r0) [2022-10-24T23:21:37.471Z] (10/31) Installing libuuid (2.37.4-r0) [2022-10-24T23:21:37.471Z] (11/31) Installing libfdisk (2.37.4-r0) [2022-10-24T23:21:37.471Z] (12/31) Installing libmount (2.37.4-r0) [2022-10-24T23:21:37.471Z] (13/31) Installing libsmartcols (2.37.4-r0) [2022-10-24T23:21:37.471Z] (14/31) Installing util-linux-misc (2.37.4-r0) [2022-10-24T23:21:37.471Z] (15/31) Installing linux-pam (1.5.2-r0) [2022-10-24T23:21:37.737Z] (16/31) Installing runuser (2.37.4-r0) [2022-10-24T23:21:37.737Z] (17/31) Installing hexdump (2.37.4-r0) [2022-10-24T23:21:37.737Z] (18/31) Installing uuidgen (2.37.4-r0) [2022-10-24T23:21:37.737Z] (19/31) Installing blkid (2.37.4-r0) [2022-10-24T23:21:37.737Z] (20/31) Installing sfdisk (2.37.4-r0) [2022-10-24T23:21:37.737Z] (21/31) Installing mcookie (2.37.4-r0) [2022-10-24T23:21:37.737Z] (22/31) Installing wipefs (2.37.4-r0) [2022-10-24T23:21:37.737Z] (23/31) Installing cfdisk (2.37.4-r0) [2022-10-24T23:21:37.737Z] (24/31) Installing flock (2.37.4-r0) [2022-10-24T23:21:37.737Z] (25/31) Installing lsblk (2.37.4-r0) [2022-10-24T23:21:37.737Z] (26/31) Installing libcap-ng (0.8.2-r1) [2022-10-24T23:21:37.737Z] (27/31) Installing setpriv (2.37.4-r0) [2022-10-24T23:21:37.737Z] (28/31) Installing logger (2.37.4-r0) [2022-10-24T23:21:37.737Z] (29/31) Installing partx (2.37.4-r0) [2022-10-24T23:21:37.737Z] (30/31) Installing findmnt (2.37.4-r0) [2022-10-24T23:21:37.737Z] (31/31) Installing util-linux-dev (2.37.4-r0) [2022-10-24T23:21:37.737Z] Executing busybox-1.34.1-r7.trigger [2022-10-24T23:21:38.003Z] OK: 290 MiB in 108 packages [2022-10-24T23:21:39.410Z] Removing intermediate container 21aad3c6e3de [2022-10-24T23:21:39.411Z] ---> 11690bfbd5ac [2022-10-24T23:21:39.411Z] Step 6/22 : RUN mkdir /tmp/sdk [2022-10-24T23:21:39.411Z] ---> Running in ad75b94a249a [2022-10-24T23:21:40.824Z] Removing intermediate container ad75b94a249a [2022-10-24T23:21:40.824Z] ---> bc002efa3f1c [2022-10-24T23:21:40.824Z] Step 7/22 : COPY VERSION /tmp/sdk [2022-10-24T23:21:41.091Z] ---> a08bdb9cbc9f [2022-10-24T23:21:41.091Z] Step 8/22 : COPY src /tmp/sdk/src [2022-10-24T23:21:42.051Z] ---> d105a8ab6b54 [2022-10-24T23:21:42.051Z] Step 9/22 : COPY include /tmp/sdk/include [2022-10-24T23:21:42.318Z] ---> 111dc4aa014e [2022-10-24T23:21:42.318Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2022-10-24T23:21:42.906Z] ---> dbf6e22d5abd [2022-10-24T23:21:42.906Z] Step 11/22 : COPY LICENSE /tmp/sdk [2022-10-24T23:21:43.173Z] ---> 3db3fd310936 [2022-10-24T23:21:43.173Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2022-10-24T23:21:43.760Z] ---> 35bdde25f1f1 [2022-10-24T23:21:43.760Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2022-10-24T23:21:43.760Z] ---> Running in 92c2f4522794 [2022-10-24T23:21:44.719Z] + CPPCHECK=false [2022-10-24T23:21:44.719Z] + DOCGEN=false [2022-10-24T23:21:44.719Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2022-10-24T23:21:44.719Z] + TOMLVER=SDK-0.2 [2022-10-24T23:21:44.719Z] + CUTILVER=1.2.2 [2022-10-24T23:21:44.719Z] + '[' 0 -gt 0 ] [2022-10-24T23:21:44.719Z] + readlink -f ./scripts/build.sh [2022-10-24T23:21:44.719Z] + dirname /tmp/sdk/scripts/build.sh [2022-10-24T23:21:44.719Z] + dirname /tmp/sdk/scripts [2022-10-24T23:21:44.719Z] + ROOT=/tmp/sdk [2022-10-24T23:21:44.719Z] + cd /tmp/sdk [2022-10-24T23:21:44.719Z] + '[' '!' -d deps ] [2022-10-24T23:21:44.719Z] + mkdir deps [2022-10-24T23:21:44.719Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-10-24T23:21:44.719Z] + tar -C deps -z -x -f - [2022-10-24T23:21:44.719Z] Connecting to github.com (140.82.113.3:443) [2022-10-24T23:21:44.986Z] Connecting to codeload.github.com (140.82.113.9:443) [2022-10-24T23:21:45.251Z] writing to stdout [2022-10-24T23:21:45.251Z] - 100% |********************************| 16451 0:00:00 ETA [2022-10-24T23:21:45.251Z] written to stdout [2022-10-24T23:21:45.251Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2022-10-24T23:21:45.251Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2022-10-24T23:21:45.251Z] + tar -C deps -z -x -f - [2022-10-24T23:21:45.251Z] Connecting to github.com (140.82.113.3:443) [2022-10-24T23:21:45.518Z] Connecting to codeload.github.com (140.82.113.9:443) [2022-10-24T23:21:45.787Z] writing to stdout [2022-10-24T23:21:45.787Z] - 100% |********************************| 189k 0:00:00 ETA [2022-10-24T23:21:45.787Z] written to stdout [2022-10-24T23:21:45.787Z] + mkdir -p src/c/iot [2022-10-24T23:21:45.787Z] + cp deps/iotech-c-utils-1.2.2/src/c/base64.c deps/iotech-c-utils-1.2.2/src/c/component.c deps/iotech-c-utils-1.2.2/src/c/config.c deps/iotech-c-utils-1.2.2/src/c/container.c deps/iotech-c-utils-1.2.2/src/c/data.c deps/iotech-c-utils-1.2.2/src/c/hash.c deps/iotech-c-utils-1.2.2/src/c/iot.c deps/iotech-c-utils-1.2.2/src/c/json.c deps/iotech-c-utils-1.2.2/src/c/logger.c deps/iotech-c-utils-1.2.2/src/c/os.c deps/iotech-c-utils-1.2.2/src/c/scheduler.c deps/iotech-c-utils-1.2.2/src/c/thread.c deps/iotech-c-utils-1.2.2/src/c/threadpool.c deps/iotech-c-utils-1.2.2/src/c/time.c deps/iotech-c-utils-1.2.2/src/c/uuid.c deps/iotech-c-utils-1.2.2/src/c/yxml.c src/c/iot [2022-10-24T23:21:45.787Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2022-10-24T23:21:45.787Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2022-10-24T23:21:45.787Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2022-10-24T23:21:45.787Z] + mkdir -p include/iot [2022-10-24T23:21:45.787Z] + cp deps/iotech-c-utils-1.2.2/include/iot/base64.h deps/iotech-c-utils-1.2.2/include/iot/component.h deps/iotech-c-utils-1.2.2/include/iot/config.h deps/iotech-c-utils-1.2.2/include/iot/container.h deps/iotech-c-utils-1.2.2/include/iot/data.h deps/iotech-c-utils-1.2.2/include/iot/hash.h deps/iotech-c-utils-1.2.2/include/iot/iot.h deps/iotech-c-utils-1.2.2/include/iot/json.h deps/iotech-c-utils-1.2.2/include/iot/logger.h deps/iotech-c-utils-1.2.2/include/iot/os.h deps/iotech-c-utils-1.2.2/include/iot/scheduler.h deps/iotech-c-utils-1.2.2/include/iot/thread.h deps/iotech-c-utils-1.2.2/include/iot/threadpool.h deps/iotech-c-utils-1.2.2/include/iot/time.h deps/iotech-c-utils-1.2.2/include/iot/typecode.h deps/iotech-c-utils-1.2.2/include/iot/uuid.h include/iot [2022-10-24T23:21:45.787Z] + mkdir -p include/iot/os [2022-10-24T23:21:45.787Z] + cp deps/iotech-c-utils-1.2.2/include/iot/os/linux.h deps/iotech-c-utils-1.2.2/include/iot/os/macos.h deps/iotech-c-utils-1.2.2/include/iot/os/zephyr.h include/iot/os [2022-10-24T23:21:45.787Z] + mkdir -p /tmp/sdk/build/release [2022-10-24T23:21:45.787Z] + cd /tmp/sdk/build/release [2022-10-24T23:21:45.787Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2022-10-24T23:21:46.054Z] -- The C compiler identification is GNU 10.3.1 [2022-10-24T23:21:46.322Z] -- Detecting C compiler ABI info [2022-10-24T23:21:46.590Z] -- Detecting C compiler ABI info - done [2022-10-24T23:21:46.590Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-10-24T23:21:46.590Z] -- Detecting C compile features [2022-10-24T23:21:46.590Z] -- Detecting C compile features - done [2022-10-24T23:21:46.590Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-10-24T23:21:46.858Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-10-24T23:21:46.858Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-10-24T23:21:46.858Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-10-24T23:21:46.858Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-10-24T23:21:46.858Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-10-24T23:21:46.858Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-10-24T23:21:46.858Z] -- C SDK 0.0.0 for Linux [2022-10-24T23:21:46.858Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-10-24T23:21:47.130Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-10-24T23:21:47.398Z] -- Found Curses: /usr/lib/libcurses.so [2022-10-24T23:21:47.398Z] -- Configuring done [2022-10-24T23:21:47.663Z] -- Generating done [2022-10-24T23:21:47.663Z] -- Build files have been written to: /tmp/sdk/build/release [2022-10-24T23:21:47.663Z] + make all package [2022-10-24T23:21:47.663Z] + tee release.log [2022-10-24T23:21:47.929Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-10-24T23:21:48.510Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-10-24T23:21:49.467Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-10-24T23:21:52.037Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-10-24T23:21:52.995Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-10-24T23:21:52.995Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-10-24T23:21:53.950Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-10-24T23:21:55.381Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-10-24T23:21:55.646Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-10-24T23:21:57.052Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-10-24T23:21:59.632Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-10-24T23:21:59.899Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-10-24T23:22:00.860Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-10-24T23:22:01.442Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-10-24T23:22:02.025Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-10-24T23:22:02.292Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-10-24T23:22:02.559Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-10-24T23:22:05.907Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-10-24T23:22:06.172Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-10-24T23:22:06.754Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-10-24T23:22:07.020Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-10-24T23:22:07.985Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-10-24T23:22:07.985Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-10-24T23:22:07.985Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-10-24T23:22:07.985Z] 275 | const iot_component_factory_t * factory; [2022-10-24T23:22:07.985Z] | ^~~~~~~ [2022-10-24T23:22:08.569Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-10-24T23:22:13.904Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-10-24T23:22:13.904Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-10-24T23:22:14.170Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-10-24T23:22:15.123Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-10-24T23:22:15.703Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-10-24T23:22:15.703Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-10-24T23:22:17.097Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-10-24T23:22:17.676Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-10-24T23:22:18.253Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-10-24T23:22:18.833Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-10-24T23:22:19.410Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-10-24T23:22:21.977Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-10-24T23:22:22.559Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-10-24T23:22:23.959Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-10-24T23:22:23.959Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-10-24T23:22:29.311Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-10-24T23:22:29.578Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-10-24T23:22:30.162Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-10-24T23:22:30.430Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-10-24T23:22:31.835Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-10-24T23:22:34.421Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-10-24T23:22:35.005Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-10-24T23:22:35.585Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-10-24T23:22:36.167Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-10-24T23:22:38.740Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-10-24T23:22:42.994Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-10-24T23:22:43.957Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2022-10-24T23:22:44.224Z] [ 75%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-10-24T23:22:44.804Z] [ 76%] Linking C shared library libcsdk.so [2022-10-24T23:22:45.068Z] [ 76%] Built target csdk [2022-10-24T23:22:45.068Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-10-24T23:22:46.042Z] [ 79%] Linking C executable template [2022-10-24T23:22:46.309Z] [ 79%] Built target template [2022-10-24T23:22:46.309Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-10-24T23:22:46.892Z] [ 82%] Linking C executable device-counter [2022-10-24T23:22:47.159Z] [ 82%] Built target device-counter [2022-10-24T23:22:47.159Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-10-24T23:22:47.739Z] [ 85%] Linking C executable device-random [2022-10-24T23:22:48.004Z] [ 85%] Built target device-random [2022-10-24T23:22:48.270Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-10-24T23:22:48.536Z] [ 88%] Linking C executable device-gyro [2022-10-24T23:22:48.803Z] [ 88%] Built target device-gyro [2022-10-24T23:22:48.803Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-10-24T23:22:49.385Z] [ 91%] Linking C executable device-bitfields [2022-10-24T23:22:49.652Z] [ 91%] Built target device-bitfields [2022-10-24T23:22:49.652Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-10-24T23:22:50.606Z] [ 94%] Linking C executable template-discovery [2022-10-24T23:22:50.873Z] [ 94%] Built target template-discovery [2022-10-24T23:22:50.873Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-10-24T23:22:51.833Z] [ 97%] Linking C executable device-file [2022-10-24T23:22:52.101Z] [ 97%] Built target device-file [2022-10-24T23:22:52.101Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-10-24T23:22:52.682Z] [100%] Linking C executable device-terminal [2022-10-24T23:22:52.946Z] [100%] Built target device-terminal [2022-10-24T23:22:52.946Z] Run CPack packaging tool... [2022-10-24T23:22:53.213Z] CPack: Create package using TGZ [2022-10-24T23:22:53.213Z] CPack: Install projects [2022-10-24T23:22:53.213Z] CPack: - Run preinstall target for: Csdk [2022-10-24T23:22:53.796Z] CPack: - Install project: Csdk [] [2022-10-24T23:22:53.796Z] CPack: Create package [2022-10-24T23:22:54.063Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2022-10-24T23:22:54.063Z] + '[' false '=' true ] [2022-10-24T23:22:54.063Z] + '[' false '=' true ] [2022-10-24T23:22:54.063Z] + mkdir -p /tmp/sdk/build/debug [2022-10-24T23:22:54.063Z] + cd /tmp/sdk/build/debug [2022-10-24T23:22:54.063Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2022-10-24T23:22:54.330Z] -- The C compiler identification is GNU 10.3.1 [2022-10-24T23:22:54.330Z] -- Detecting C compiler ABI info [2022-10-24T23:22:54.596Z] -- Detecting C compiler ABI info - done [2022-10-24T23:22:54.863Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-10-24T23:22:54.863Z] -- Detecting C compile features [2022-10-24T23:22:54.863Z] -- Detecting C compile features - done [2022-10-24T23:22:54.863Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-10-24T23:22:54.863Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-10-24T23:22:54.863Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-10-24T23:22:54.863Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-10-24T23:22:54.863Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-10-24T23:22:55.129Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-10-24T23:22:55.129Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-10-24T23:22:55.129Z] -- C SDK 0.0.0 for Linux [2022-10-24T23:22:55.129Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-10-24T23:22:55.393Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-10-24T23:22:55.393Z] -- Found Curses: /usr/lib/libcurses.so [2022-10-24T23:22:55.657Z] -- Configuring done [2022-10-24T23:22:55.923Z] -- Generating done [2022-10-24T23:22:55.923Z] -- Build files have been written to: /tmp/sdk/build/debug [2022-10-24T23:22:55.923Z] + + maketee [2022-10-24T23:22:55.923Z] debug.log [2022-10-24T23:22:55.923Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-10-24T23:22:56.505Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-10-24T23:22:56.771Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-10-24T23:22:57.729Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-10-24T23:22:57.995Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-10-24T23:22:57.995Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-10-24T23:22:58.579Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-10-24T23:22:59.169Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-10-24T23:22:59.435Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-10-24T23:23:00.017Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-10-24T23:23:00.598Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-10-24T23:23:00.865Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-10-24T23:23:01.130Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-10-24T23:23:01.712Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-10-24T23:23:01.978Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-10-24T23:23:02.245Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-10-24T23:23:02.245Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-10-24T23:23:03.202Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-10-24T23:23:03.467Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-10-24T23:23:03.733Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-10-24T23:23:04.000Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-10-24T23:23:04.266Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-10-24T23:23:04.548Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-10-24T23:23:04.548Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-10-24T23:23:04.548Z] 275 | const iot_component_factory_t * factory; [2022-10-24T23:23:04.548Z] | ^~~~~~~ [2022-10-24T23:23:04.815Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-10-24T23:23:06.244Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-10-24T23:23:06.244Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-10-24T23:23:06.509Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-10-24T23:23:06.775Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-10-24T23:23:07.042Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-10-24T23:23:07.042Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-10-24T23:23:07.621Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-10-24T23:23:07.886Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-10-24T23:23:08.152Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-10-24T23:23:08.417Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-10-24T23:23:08.417Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-10-24T23:23:09.069Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-10-24T23:23:09.341Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-10-24T23:23:09.928Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-10-24T23:23:10.211Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-10-24T23:23:11.647Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-10-24T23:23:11.927Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-10-24T23:23:12.197Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-10-24T23:23:12.468Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-10-24T23:23:13.064Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-10-24T23:23:14.477Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-10-24T23:23:14.743Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-10-24T23:23:15.334Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-10-24T23:23:15.603Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-10-24T23:23:16.183Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-10-24T23:23:17.136Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-10-24T23:23:17.401Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2022-10-24T23:23:17.982Z] [ 75%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-10-24T23:23:17.982Z] [ 76%] Linking C shared library libcsdk.so [2022-10-24T23:23:18.564Z] [ 76%] Built target csdk [2022-10-24T23:23:18.564Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-10-24T23:23:18.831Z] [ 79%] Linking C executable template [2022-10-24T23:23:19.096Z] [ 79%] Built target template [2022-10-24T23:23:19.096Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-10-24T23:23:19.364Z] [ 82%] Linking C executable device-counter [2022-10-24T23:23:19.629Z] [ 82%] Built target device-counter [2022-10-24T23:23:19.629Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-10-24T23:23:19.895Z] [ 85%] Linking C executable device-random [2022-10-24T23:23:20.159Z] [ 85%] Built target device-random [2022-10-24T23:23:20.159Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-10-24T23:23:20.424Z] [ 88%] Linking C executable device-gyro [2022-10-24T23:23:20.690Z] [ 88%] Built target device-gyro [2022-10-24T23:23:20.955Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-10-24T23:23:21.221Z] [ 91%] Linking C executable device-bitfields [2022-10-24T23:23:21.486Z] [ 91%] Built target device-bitfields [2022-10-24T23:23:21.486Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-10-24T23:23:21.751Z] [ 94%] Linking C executable template-discovery [2022-10-24T23:23:22.017Z] [ 94%] Built target template-discovery [2022-10-24T23:23:22.017Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-10-24T23:23:22.599Z] [ 97%] Linking C executable device-file [2022-10-24T23:23:22.599Z] [ 97%] Built target device-file [2022-10-24T23:23:22.865Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-10-24T23:23:23.133Z] [100%] Linking C executable device-terminal [2022-10-24T23:23:23.399Z] [100%] Built target device-terminal [2022-10-24T23:23:23.399Z] make: Entering directory '/tmp/sdk/build/release' [2022-10-24T23:23:23.665Z] make[1]: Entering directory '/tmp/sdk/build/release' [2022-10-24T23:23:23.665Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-10-24T23:23:23.665Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-10-24T23:23:23.665Z] [ 76%] Built target csdk [2022-10-24T23:23:23.665Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-10-24T23:23:23.665Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-10-24T23:23:23.665Z] [ 79%] Built target template [2022-10-24T23:23:23.665Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-10-24T23:23:23.665Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-10-24T23:23:23.665Z] [ 82%] Built target device-counter [2022-10-24T23:23:23.665Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-10-24T23:23:23.665Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-10-24T23:23:23.931Z] [ 85%] Built target device-random [2022-10-24T23:23:23.931Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-10-24T23:23:23.931Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-10-24T23:23:23.931Z] [ 88%] Built target device-gyro [2022-10-24T23:23:23.931Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-10-24T23:23:23.931Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-10-24T23:23:23.931Z] [ 91%] Built target device-bitfields [2022-10-24T23:23:23.931Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-10-24T23:23:23.931Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-10-24T23:23:23.931Z] [ 94%] Built target template-discovery [2022-10-24T23:23:23.931Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-10-24T23:23:23.931Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-10-24T23:23:23.931Z] [ 97%] Built target device-file [2022-10-24T23:23:23.931Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-10-24T23:23:23.931Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-10-24T23:23:24.198Z] [100%] Built target device-terminal [2022-10-24T23:23:24.198Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2022-10-24T23:23:24.198Z] Install the project... [2022-10-24T23:23:24.198Z] -- Install configuration: "Release" [2022-10-24T23:23:24.198Z] -- Installing: /usr/local/lib/libcsdk.so [2022-10-24T23:23:24.198Z] -- Installing: /usr/local/include [2022-10-24T23:23:24.198Z] -- Installing: /usr/local/include/devsdk [2022-10-24T23:23:24.198Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2022-10-24T23:23:24.198Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2022-10-24T23:23:24.198Z] -- Installing: /usr/local/include/edgex [2022-10-24T23:23:24.198Z] -- Installing: /usr/local/include/edgex/rest-server.h [2022-10-24T23:23:24.198Z] -- Installing: /usr/local/include/edgex/edgex.h [2022-10-24T23:23:24.198Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2022-10-24T23:23:24.198Z] -- Installing: /usr/local/include/edgex/devices.h [2022-10-24T23:23:24.198Z] -- Installing: /usr/local/include/edgex/profiles.h [2022-10-24T23:23:24.198Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2022-10-24T23:23:24.198Z] -- Installing: /usr/local/include/iot [2022-10-24T23:23:24.198Z] -- Installing: /usr/local/include/iot/threadpool.h [2022-10-24T23:23:24.198Z] -- Installing: /usr/local/include/iot/defs.h [2022-10-24T23:23:24.198Z] -- Installing: /usr/local/include/iot/time.h [2022-10-24T23:23:24.198Z] -- Installing: /usr/local/include/iot/base64.h [2022-10-24T23:23:24.198Z] -- Installing: /usr/local/include/iot/component.h [2022-10-24T23:23:24.198Z] -- Installing: /usr/local/include/iot/scheduler.h [2022-10-24T23:23:24.198Z] -- Installing: /usr/local/include/iot/config.h [2022-10-24T23:23:24.198Z] -- Installing: /usr/local/include/iot/container.h [2022-10-24T23:23:24.198Z] -- Installing: /usr/local/include/iot/uuid.h [2022-10-24T23:23:24.198Z] -- Installing: /usr/local/include/iot/os.h [2022-10-24T23:23:24.198Z] -- Installing: /usr/local/include/iot/thread.h [2022-10-24T23:23:24.198Z] -- Installing: /usr/local/include/iot/data.h [2022-10-24T23:23:24.198Z] -- Installing: /usr/local/include/iot/typecode.h [2022-10-24T23:23:24.198Z] -- Installing: /usr/local/include/iot/hash.h [2022-10-24T23:23:24.198Z] -- Installing: /usr/local/include/iot/logger.h [2022-10-24T23:23:24.198Z] -- Installing: /usr/local/include/iot/os [2022-10-24T23:23:24.198Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2022-10-24T23:23:24.198Z] -- Installing: /usr/local/include/iot/os/macos.h [2022-10-24T23:23:24.198Z] -- Installing: /usr/local/include/iot/os/linux.h [2022-10-24T23:23:24.198Z] -- Installing: /usr/local/include/iot/json.h [2022-10-24T23:23:24.198Z] -- Installing: /usr/local/include/iot/iot.h [2022-10-24T23:23:24.198Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2022-10-24T23:23:24.198Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2022-10-24T23:23:24.198Z] make: Leaving directory '/tmp/sdk/build/release' [2022-10-24T23:23:26.150Z] Removing intermediate container 92c2f4522794 [2022-10-24T23:23:26.150Z] ---> b8d4cc405c4a [2022-10-24T23:23:26.150Z] Step 14/22 : FROM ${BASE} [2022-10-24T23:23:26.150Z] ---> f192a6432ac9 [2022-10-24T23:23:26.150Z] Step 15/22 : LABEL maintainer="IOTech " [2022-10-24T23:23:26.150Z] ---> Running in 90cb46eb2729 [2022-10-24T23:23:26.150Z] Removing intermediate container 90cb46eb2729 [2022-10-24T23:23:26.150Z] ---> 6d244edb5365 [2022-10-24T23:23:26.150Z] Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2022-10-24T23:23:26.150Z] ---> Running in edd8dd60e4e8 [2022-10-24T23:23:27.109Z] Connecting to iotech.jfrog.io (52.214.86.224:443) [2022-10-24T23:23:27.696Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-10-24T23:23:27.696Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-10-24T23:23:27.696Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-10-24T23:23:28.283Z] Removing intermediate container edd8dd60e4e8 [2022-10-24T23:23:28.283Z] ---> 78a30cb6417b [2022-10-24T23:23:28.283Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-10-24T23:23:28.283Z] ---> Running in 7ac961f721f8 [2022-10-24T23:23:30.227Z] Removing intermediate container 7ac961f721f8 [2022-10-24T23:23:30.227Z] ---> 040de6e8b382 [2022-10-24T23:23:30.227Z] Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 hiredis-dev [2022-10-24T23:23:30.227Z] ---> Running in 8d21ed439704 [2022-10-24T23:23:30.808Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-10-24T23:23:31.075Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-10-24T23:23:31.656Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-10-24T23:23:32.612Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-10-24T23:23:32.612Z] (1/6) Installing curl (7.80.0-r3) [2022-10-24T23:23:32.612Z] (2/6) Installing hiredis (1.0.2-r0) [2022-10-24T23:23:32.612Z] (3/6) Installing hiredis-dev (1.0.2-r0) [2022-10-24T23:23:32.612Z] (4/6) Installing libcbor (0.8.0-r0) [2022-10-24T23:23:32.612Z] (5/6) Installing libuuid (2.37.4-r0) [2022-10-24T23:23:32.612Z] (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.11-r0) [2022-10-24T23:23:33.568Z] Executing busybox-1.34.1-r7.trigger [2022-10-24T23:23:33.568Z] OK: 279 MiB in 83 packages [2022-10-24T23:23:34.539Z] Removing intermediate container 8d21ed439704 [2022-10-24T23:23:34.539Z] ---> 821bd53f47ba [2022-10-24T23:23:34.539Z] Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2022-10-24T23:23:35.498Z] ---> 75242fb29664 [2022-10-24T23:23:35.498Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2022-10-24T23:23:36.097Z] ---> 8705fcec7bc6 [2022-10-24T23:23:36.097Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2022-10-24T23:23:36.678Z] ---> 03d3b8b86f6c [2022-10-24T23:23:36.678Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2022-10-24T23:23:37.257Z] ---> 8baae7c203f4 [2022-10-24T23:23:37.257Z] Successfully built 8baae7c203f4 [2022-10-24T23:23:37.257Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T23:23:37.650Z] + docker inspect -f . ci-base-image-arm64 [2022-10-24T23:23:37.650Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T23:23:37.829Z] prd-ubuntu20.04-docker-arm64-4c-16g-51486 does not seem to be running inside a container [2022-10-24T23:23:37.891Z] $ docker run -t -d -u 1001:1001 -u 0:0 -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 ******** -e ******** ci-base-image-arm64 cat [2022-10-24T23:23:39.071Z] $ docker top 1d1f6d727225b9f0a3528ba94da91018d44c81ff27f47074a769eccea30a528f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T23:23:39.890Z] + make test [2022-10-24T23:23:39.890Z] echo "make test" [2022-10-24T23:23:39.890Z] make test [Pipeline] } [2022-10-24T23:23:39.914Z] $ docker stop --time=1 1d1f6d727225b9f0a3528ba94da91018d44c81ff27f47074a769eccea30a528f [2022-10-24T23:23:41.564Z] $ docker rm -f 1d1f6d727225b9f0a3528ba94da91018d44c81ff27f47074a769eccea30a528f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-24T23:23:42.119Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-24T23:23:42.435Z] + ls -al . [2022-10-24T23:23:42.435Z] total 204 [2022-10-24T23:23:42.435Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 23:20 . [2022-10-24T23:23:42.435Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 23:20 .. [2022-10-24T23:23:42.435Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 23:20 .git [2022-10-24T23:23:42.435Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 23:20 .github [2022-10-24T23:23:42.435Z] -rw-rw-r-- 1 jenkins jenkins 176 Oct 24 23:20 .gitignore [2022-10-24T23:23:42.435Z] -rw-rw-r-- 1 jenkins jenkins 3104 Oct 24 23:20 Attribution.txt [2022-10-24T23:23:42.435Z] -rw-rw-r-- 1 jenkins jenkins 8540 Oct 24 23:20 CHANGES [2022-10-24T23:23:42.435Z] -rw-rw-r-- 1 jenkins jenkins 108574 Oct 24 23:20 Doxyfile [2022-10-24T23:23:42.435Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 23:20 GOVERNANCE.md [2022-10-24T23:23:42.435Z] -rw-rw-r-- 1 jenkins jenkins 784 Oct 24 23:20 Jenkinsfile [2022-10-24T23:23:42.435Z] -rw-rw-r-- 1 jenkins jenkins 10174 Oct 24 23:20 LICENSE [2022-10-24T23:23:42.435Z] -rw-rw-r-- 1 jenkins jenkins 444 Oct 24 23:20 Makefile [2022-10-24T23:23:42.435Z] -rw-rw-r-- 1 jenkins jenkins 618 Oct 24 23:20 OWNERS.md [2022-10-24T23:23:42.435Z] -rw-rw-r-- 1 jenkins jenkins 4086 Oct 24 23:20 README.md [2022-10-24T23:23:42.435Z] -rw-rw-r-- 1 jenkins jenkins 7422 Oct 24 23:20 README.v2.md [2022-10-24T23:23:42.435Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 18:30 VERSION [2022-10-24T23:23:42.435Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 23:20 docs [2022-10-24T23:23:42.435Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 23:20 include [2022-10-24T23:23:42.435Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 23:20 scripts [2022-10-24T23:23:42.435Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 23:20 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T23:23:42.774Z] + docker build -t device-sdk-arm64 -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=21fe6df0b722a05385915154bcdc0a1e53a1162b --label arch=arm64 --label version=0.0.0 . [2022-10-24T23:23:43.041Z] Sending build context to Docker daemon 2.841MB [2022-10-24T23:23:43.041Z] Step 1/17 : ARG BASE=alpine:3.15 [2022-10-24T23:23:43.041Z] Step 2/17 : FROM ${BASE} [2022-10-24T23:23:43.041Z] ---> 8baae7c203f4 [2022-10-24T23:23:43.041Z] Step 3/17 : LABEL maintainer="IOTech " [2022-10-24T23:23:43.307Z] ---> Running in 29ee2b733e73 [2022-10-24T23:23:43.574Z] Removing intermediate container 29ee2b733e73 [2022-10-24T23:23:43.574Z] ---> ba45a228b6d5 [2022-10-24T23:23:43.574Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2022-10-24T23:23:43.574Z] ---> Running in e357bd9d5e00 [2022-10-24T23:23:44.530Z] Connecting to iotech.jfrog.io (52.16.228.165:443) [2022-10-24T23:23:44.794Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-10-24T23:23:44.794Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-10-24T23:23:44.794Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-10-24T23:23:45.762Z] Removing intermediate container e357bd9d5e00 [2022-10-24T23:23:45.763Z] ---> 11d755ed869d [2022-10-24T23:23:45.763Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-10-24T23:23:45.763Z] ---> Running in 1424fcb8777a [2022-10-24T23:23:47.172Z] Removing intermediate container 1424fcb8777a [2022-10-24T23:23:47.172Z] ---> 1b973ffc712d [2022-10-24T23:23:47.172Z] Step 6/17 : 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 hiredis-dev && mkdir -p /edgex-c-sdk/build [2022-10-24T23:23:47.172Z] ---> Running in e5f17a9394ec [2022-10-24T23:23:48.130Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-10-24T23:23:48.396Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-10-24T23:23:48.978Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-10-24T23:23:49.559Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-10-24T23:23:49.559Z] (1/26) Installing libcbor-dev (0.8.0-r0) [2022-10-24T23:23:49.559Z] (2/26) Installing ncurses-dev (6.3_p20211120-r1) [2022-10-24T23:23:49.559Z] (3/26) Installing util-linux (2.37.4-r0) [2022-10-24T23:23:49.559Z] (4/26) Installing libblkid (2.37.4-r0) [2022-10-24T23:23:49.825Z] (5/26) Installing libeconf (0.4.2-r0) [2022-10-24T23:23:49.825Z] (6/26) Installing libfdisk (2.37.4-r0) [2022-10-24T23:23:49.825Z] (7/26) Installing libmount (2.37.4-r0) [2022-10-24T23:23:49.825Z] (8/26) Installing libsmartcols (2.37.4-r0) [2022-10-24T23:23:49.825Z] (9/26) Installing util-linux-misc (2.37.4-r0) [2022-10-24T23:23:49.825Z] (10/26) Installing linux-pam (1.5.2-r0) [2022-10-24T23:23:49.825Z] (11/26) Installing runuser (2.37.4-r0) [2022-10-24T23:23:49.825Z] (12/26) Installing hexdump (2.37.4-r0) [2022-10-24T23:23:49.825Z] (13/26) Installing uuidgen (2.37.4-r0) [2022-10-24T23:23:49.825Z] (14/26) Installing blkid (2.37.4-r0) [2022-10-24T23:23:49.825Z] (15/26) Installing sfdisk (2.37.4-r0) [2022-10-24T23:23:49.825Z] (16/26) Installing mcookie (2.37.4-r0) [2022-10-24T23:23:49.825Z] (17/26) Installing wipefs (2.37.4-r0) [2022-10-24T23:23:50.094Z] (18/26) Installing cfdisk (2.37.4-r0) [2022-10-24T23:23:50.094Z] (19/26) Installing flock (2.37.4-r0) [2022-10-24T23:23:50.094Z] (20/26) Installing lsblk (2.37.4-r0) [2022-10-24T23:23:50.094Z] (21/26) Installing libcap-ng (0.8.2-r1) [2022-10-24T23:23:50.094Z] (22/26) Installing setpriv (2.37.4-r0) [2022-10-24T23:23:50.094Z] (23/26) Installing logger (2.37.4-r0) [2022-10-24T23:23:50.094Z] (24/26) Installing partx (2.37.4-r0) [2022-10-24T23:23:50.094Z] (25/26) Installing findmnt (2.37.4-r0) [2022-10-24T23:23:50.094Z] (26/26) Installing util-linux-dev (2.37.4-r0) [2022-10-24T23:23:50.094Z] Executing busybox-1.34.1-r7.trigger [2022-10-24T23:23:50.094Z] OK: 290 MiB in 109 packages [2022-10-24T23:23:51.498Z] Removing intermediate container e5f17a9394ec [2022-10-24T23:23:51.498Z] ---> c822abddf344 [2022-10-24T23:23:51.498Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2022-10-24T23:23:52.080Z] ---> 7c9b27fd7f83 [2022-10-24T23:23:52.080Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2022-10-24T23:23:52.662Z] ---> 326d1cb30ecb [2022-10-24T23:23:52.662Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2022-10-24T23:23:53.244Z] ---> 125d8c317f85 [2022-10-24T23:23:53.244Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2022-10-24T23:23:53.519Z] ---> 1563b029af4b [2022-10-24T23:23:53.519Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2022-10-24T23:23:54.102Z] ---> b37c1bc617f2 [2022-10-24T23:23:54.102Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2022-10-24T23:23:54.683Z] ---> ce9b4af900b1 [2022-10-24T23:23:54.683Z] Step 13/17 : WORKDIR /edgex-c-sdk [2022-10-24T23:23:54.683Z] ---> Running in 17655f5ebcbc [2022-10-24T23:23:54.949Z] Removing intermediate container 17655f5ebcbc [2022-10-24T23:23:54.949Z] ---> 70241af99c3f [2022-10-24T23:23:54.949Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2022-10-24T23:23:54.949Z] ---> Running in 198678c05174 [2022-10-24T23:23:55.215Z] Removing intermediate container 198678c05174 [2022-10-24T23:23:55.215Z] ---> 20e43ea16fa1 [2022-10-24T23:23:55.215Z] Step 15/17 : LABEL arch=arm64 [2022-10-24T23:23:55.215Z] ---> Running in 95c7f202c54e [2022-10-24T23:23:55.482Z] Removing intermediate container 95c7f202c54e [2022-10-24T23:23:55.482Z] ---> 1a64f0c6c363 [2022-10-24T23:23:55.482Z] Step 16/17 : LABEL git_sha=21fe6df0b722a05385915154bcdc0a1e53a1162b [2022-10-24T23:23:55.749Z] ---> Running in dcb2db1ec884 [2022-10-24T23:23:56.014Z] Removing intermediate container dcb2db1ec884 [2022-10-24T23:23:56.014Z] ---> 79f7b4126870 [2022-10-24T23:23:56.014Z] Step 17/17 : LABEL version=0.0.0 [2022-10-24T23:23:56.014Z] ---> Running in ffc4e1903c63 [2022-10-24T23:23:56.281Z] Removing intermediate container ffc4e1903c63 [2022-10-24T23:23:56.281Z] ---> b7fd62d05607 [2022-10-24T23:23:56.281Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-10-24T23:23:56.281Z] Successfully built b7fd62d05607 [2022-10-24T23:23:56.281Z] Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T23:23:56.686Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-24T23:23:56.686Z] [2022-10-24T23:23:56.686Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T23:23:57.014Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-24T23:23:57.015Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-24T23:23:57.015Z] 8998bd30e6a1: Pulling fs layer [2022-10-24T23:23:57.015Z] 04944245beec: Pulling fs layer [2022-10-24T23:23:57.015Z] 699f458cf7ca: Pulling fs layer [2022-10-24T23:23:57.015Z] 765212b225bb: Pulling fs layer [2022-10-24T23:23:57.015Z] f23df028b6ca: Pulling fs layer [2022-10-24T23:23:57.015Z] d65c8cfc05b1: Pulling fs layer [2022-10-24T23:23:57.015Z] 2437ff75d9bd: Pulling fs layer [2022-10-24T23:23:57.015Z] f23df028b6ca: Waiting [2022-10-24T23:23:57.015Z] d65c8cfc05b1: Waiting [2022-10-24T23:23:57.015Z] 2437ff75d9bd: Waiting [2022-10-24T23:23:57.015Z] 765212b225bb: Waiting [2022-10-24T23:23:57.281Z] 04944245beec: Verifying Checksum [2022-10-24T23:23:57.281Z] 04944245beec: Download complete [2022-10-24T23:23:57.281Z] 765212b225bb: Verifying Checksum [2022-10-24T23:23:57.281Z] 765212b225bb: Download complete [2022-10-24T23:23:57.281Z] f23df028b6ca: Download complete [2022-10-24T23:23:57.281Z] d65c8cfc05b1: Verifying Checksum [2022-10-24T23:23:57.281Z] d65c8cfc05b1: Download complete [2022-10-24T23:23:57.281Z] 699f458cf7ca: Verifying Checksum [2022-10-24T23:23:57.281Z] 699f458cf7ca: Download complete [2022-10-24T23:23:57.868Z] 8998bd30e6a1: Download complete [2022-10-24T23:23:59.808Z] 2437ff75d9bd: Verifying Checksum [2022-10-24T23:24:01.216Z] 8998bd30e6a1: Pull complete [2022-10-24T23:24:01.799Z] 04944245beec: Pull complete [2022-10-24T23:24:03.206Z] 699f458cf7ca: Pull complete [2022-10-24T23:24:03.206Z] 765212b225bb: Pull complete [2022-10-24T23:24:04.166Z] f23df028b6ca: Pull complete [2022-10-24T23:24:04.166Z] d65c8cfc05b1: Pull complete [2022-10-24T23:24:19.158Z] 2437ff75d9bd: Pull complete [2022-10-24T23:24:19.158Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-24T23:24:19.158Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-24T23:24:19.158Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T23:24:19.335Z] prd-ubuntu20.04-docker-arm64-4c-16g-51486 does not seem to be running inside a container [2022-10-24T23:24:19.396Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-24T23:24:22.029Z] $ docker top 53d2aa2159e89612e259c6990c4b3cedfd094ebf2a500e1065d2bb002f02323b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T23:24:22.523Z] ---> job-cost.sh [2022-10-24T23:24:22.788Z] lf-activate-venv: SKIPPING [2022-10-24T23:24:22.788Z] INFO: No Stack... [2022-10-24T23:24:23.367Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-24T23:24:23.946Z] INFO: Archiving Costs [Pipeline] sh [2022-10-24T23:24:24.264Z] + cut -d, -f6 [2022-10-24T23:24:24.264Z] + cat /w/workspace/device-sdk-c/2/archives/cost.csv [Pipeline] lock [2022-10-24T23:24:24.325Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-430-2-stack-cost] [2022-10-24T23:24:24.334Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-430-2-stack-cost] did not exist. Created. [2022-10-24T23:24:24.334Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-430-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-24T23:24:24.670Z] /w/workspace/device-sdk-c/2@tmp/durable-39aee36f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-24T23:24:24.999Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-24T23:24:25.020Z] Warning: overwriting stash ‘stack-cost’ [2022-10-24T23:24:25.379Z] Stashed 1 file(s) [Pipeline] } [2022-10-24T23:24:25.387Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-430-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-24T23:24:25.405Z] $ docker stop --time=1 53d2aa2159e89612e259c6990c4b3cedfd094ebf2a500e1065d2bb002f02323b [2022-10-24T23:24:26.934Z] $ docker rm -f 53d2aa2159e89612e259c6990c4b3cedfd094ebf2a500e1065d2bb002f02323b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-10-24T23:24:27.643Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-430/archives ] [2022-10-24T23:24:27.643Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-430/archives [2022-10-24T23:24:27.643Z] total 16 [2022-10-24T23:24:27.643Z] drwxr-xr-x 3 root root 4096 Oct 24 18:31 . [2022-10-24T23:24:27.643Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 18:31 .. [2022-10-24T23:24:27.643Z] drwxr-xr-x 2 root root 4096 Oct 24 18:31 cost [2022-10-24T23:24:27.643Z] -rw-r--r-- 1 root root 84 Oct 24 18:31 cost.csv [2022-10-24T23:24:27.643Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-430/archives [2022-10-24T23:24:27.643Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-430/archives [2022-10-24T23:24:27.643Z] total 16 [2022-10-24T23:24:27.643Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 18:31 . [2022-10-24T23:24:27.643Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 18:31 .. [2022-10-24T23:24:27.643Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 18:31 cost [2022-10-24T23:24:27.643Z] -rw-r--r-- 1 jenkins jenkins 84 Oct 24 18:31 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-24T23:24:27.934Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T23:24:28.790Z] ---> package-listing.sh [2022-10-24T23:24:28.790Z] ++ facter osfamily [2022-10-24T23:24:28.790Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-24T23:24:29.048Z] + OS_FAMILY=debian [2022-10-24T23:24:29.048Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-430 [2022-10-24T23:24:29.048Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-24T23:24:29.048Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-24T23:24:29.048Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-24T23:24:29.048Z] + PACKAGES=/tmp/packages_start.txt [2022-10-24T23:24:29.048Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-430 ']' [2022-10-24T23:24:29.048Z] + PACKAGES=/tmp/packages_end.txt [2022-10-24T23:24:29.048Z] + case "${OS_FAMILY}" in [2022-10-24T23:24:29.048Z] + dpkg -l [2022-10-24T23:24:29.048Z] + grep '^ii' [2022-10-24T23:24:29.048Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-24T23:24:29.048Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-24T23:24:29.048Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-24T23:24:29.048Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-430 ']' [2022-10-24T23:24:29.048Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-430/archives/ [2022-10-24T23:24:29.048Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-430/archives/ [Pipeline] echo [2022-10-24T23:24:29.059Z] 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-430/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-24T23:24:29.332Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T23:24:29.888Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T23:24:29.888Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T23:24:29.953Z] prd-ubuntu20.04-docker-8c-8g-21804 does not seem to be running inside a container [2022-10-24T23:24:29.986Z] $ 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-430/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-430 -v /w/workspace/edgexfoundry_device-sdk-c_PR-430:/w/workspace/edgexfoundry_device-sdk-c_PR-430:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-430@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-430@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 [2022-10-24T23:24:30.259Z] $ docker top 66dc12b8bca5373e952a39c0e0daa2d4d44172b38c4dff28becf57df91aa5c96 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T23:24:30.596Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-24T23:24:30.884Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-24T23:24:31.167Z] + ls /var/log/sa-host [2022-10-24T23:24:31.167Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-24T23:24:31.226Z] provisioning config files... [2022-10-24T23:24:31.234Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-430@tmp/config13750275961554560699tmp [Pipeline] { [Pipeline] echo [2022-10-24T23:24:31.249Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T23:24:31.531Z] ---> create-netrc.sh [Pipeline] } [2022-10-24T23:24:31.538Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-24T23:24:31.858Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-24T23:24:31.865Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T23:24:32.147Z] ---> sudo-logs.sh [2022-10-24T23:24:32.147Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-24T23:24:32.171Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T23:24:32.452Z] ---> job-cost.sh [2022-10-24T23:24:32.452Z] lf-activate-venv: SKIPPING [2022-10-24T23:24:32.452Z] DEBUG: total: 0.2199999988079071 [2022-10-24T23:24:32.452Z] INFO: Retrieving Stack Cost... [2022-10-24T23:24:33.019Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-24T23:24:33.278Z] INFO: Archiving Costs [Pipeline] echo [2022-10-24T23:24:33.288Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T23:24:33.570Z] ---> logs-deploy.sh [2022-10-24T23:24:33.570Z] lf-activate-venv: SKIPPING [2022-10-24T23:24:33.570Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-430/2 [2022-10-24T23:24:33.570Z] INFO: archiving workspace using pattern(s): [2022-10-24T23:24:34.506Z] Archives upload complete. [2022-10-24T23:24:34.506Z] INFO: archiving logs to Nexus