Pull request #427 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 3a5d1ddb97f8ecfbc0e929fe8f447054e328cf6b+3414d0279792f3e48f3ae73a80499089b78126ca (a913cddf269f0a79009744af37f5395759c930fd) 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-ssh4353037716701569840.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh3850026673589418345.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-427/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-427/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5961210222902087469.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh10190039417196396794.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-427/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-427/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3520531247057998384.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-20677 in /w/workspace/edgexfoundry_device-sdk-c_PR-427 [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-427 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 3414d0279792f3e48f3ae73a80499089b78126ca into PR head commit 3a5d1ddb97f8ecfbc0e929fe8f447054e328cf6b Merge succeeded, producing 3a5d1ddb97f8ecfbc0e929fe8f447054e328cf6b Checking out Revision 3a5d1ddb97f8ecfbc0e929fe8f447054e328cf6b (PR-427) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/427/head:refs/remotes/origin/PR-427 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3a5d1ddb97f8ecfbc0e929fe8f447054e328cf6b # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 3414d0279792f3e48f3ae73a80499089b78126ca # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3a5d1ddb97f8ecfbc0e929fe8f447054e328cf6b # timeout=10 Commit message: "feat: renew vault tokens before they expire" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-21T14:06:27.284Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-21T14:06:27.353Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-21T14:06:27.368Z] ========================================================= [2022-07-21T14:06:27.368Z] EdgeX Global Pipelines Version Info [2022-07-21T14:06:27.368Z] ========================================================= > git rev-list --no-walk 95f264ea296da9579d75e464e42e3355eeaaa3c8 # timeout=10 [Pipeline] libraryResource [Pipeline] sh [2022-07-21T14:06:28.177Z] ------------------- [2022-07-21T14:06:28.177Z] stable info: [2022-07-21T14:06:28.177Z] ------------------- [2022-07-21T14:06:28.177Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-21T14:06:28.177Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-21T14:06:28.177Z] Message: update stable to v1.0.238 [2022-07-21T14:06:28.752Z] ------------------- [2022-07-21T14:06:28.752Z] experimental info: [2022-07-21T14:06:28.752Z] ------------------- [2022-07-21T14:06:28.752Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-21T14:06:28.752Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-21T14:06:28.752Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-21T14:06:28.927Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2022-07-21T14:06:28.937Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2022-07-21T14:06:28.949Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-21T14:06:28.961Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-21T14:06:28.971Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-21T14:06:28.982Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2022-07-21T14:06:28.993Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2022-07-21T14:06:29.003Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-21T14:06:29.014Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-21T14:06:29.024Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2022-07-21T14:06:29.036Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-21T14:06:29.046Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-21T14:06:29.056Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-21T14:06:29.067Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-07-21T14:06:29.077Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-21T14:06:29.088Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-21T14:06:29.098Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-21T14:06:29.109Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-427 [Pipeline] echo [2022-07-21T14:06:29.124Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-427 [Pipeline] echo [2022-07-21T14:06:29.133Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-427 [Pipeline] echo [2022-07-21T14:06:29.143Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3a5d1ddb97f8ecfbc0e929fe8f447054e328cf6b [Pipeline] echo [2022-07-21T14:06:29.153Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3a5d1dd [Pipeline] echo [2022-07-21T14:06:29.163Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-21T14:06:29.204Z] provisioning config files... [2022-07-21T14:06:29.220Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-427@tmp/config3036717047070192814tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-21T14:06:29.543Z] ---> docker-login.sh [2022-07-21T14:06:29.543Z] nexus3.edgexfoundry.org:10001 [2022-07-21T14:06:29.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T14:06:30.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T14:06:30.073Z] Configure a credential helper to remove this warning. See [2022-07-21T14:06:30.073Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T14:06:30.073Z] [2022-07-21T14:06:30.073Z] Login Succeeded [2022-07-21T14:06:30.073Z] nexus3.edgexfoundry.org:10002 [2022-07-21T14:06:30.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T14:06:30.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T14:06:30.073Z] Configure a credential helper to remove this warning. See [2022-07-21T14:06:30.073Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T14:06:30.073Z] [2022-07-21T14:06:30.073Z] Login Succeeded [2022-07-21T14:06:30.073Z] nexus3.edgexfoundry.org:10003 [2022-07-21T14:06:30.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T14:06:30.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T14:06:30.335Z] Configure a credential helper to remove this warning. See [2022-07-21T14:06:30.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T14:06:30.335Z] [2022-07-21T14:06:30.335Z] Login Succeeded [2022-07-21T14:06:30.335Z] nexus3.edgexfoundry.org:10004 [2022-07-21T14:06:30.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T14:06:30.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T14:06:30.598Z] Configure a credential helper to remove this warning. See [2022-07-21T14:06:30.598Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T14:06:30.598Z] [2022-07-21T14:06:30.598Z] Login Succeeded [2022-07-21T14:06:30.598Z] docker.io [2022-07-21T14:06:30.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T14:06:30.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T14:06:30.861Z] Configure a credential helper to remove this warning. See [2022-07-21T14:06:30.861Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T14:06:30.861Z] [2022-07-21T14:06:30.861Z] Login Succeeded [2022-07-21T14:06:30.861Z] ---> docker-login.sh ends [Pipeline] } [2022-07-21T14:06:30.870Z] 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-07-21T14:06:31.258Z] + git rev-list -1 --merges 3a5d1ddb97f8ecfbc0e929fe8f447054e328cf6b~1..3a5d1ddb97f8ecfbc0e929fe8f447054e328cf6b [Pipeline] echo [2022-07-21T14:06:31.297Z] -----------> git rev-list -1 --merges 3a5d1ddb97f8ecfbc0e929fe8f447054e328cf6b~1..3a5d1ddb97f8ecfbc0e929fe8f447054e328cf6b 3a5d1ddb97f8ecfbc0e929fe8f447054e328cf6b [false] [Pipeline] sh [2022-07-21T14:06:31.595Z] + git log --format=format:%s -1 3a5d1ddb97f8ecfbc0e929fe8f447054e328cf6b [Pipeline] echo [2022-07-21T14:06:31.612Z] ========================================================= [2022-07-21T14:06:31.612Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-21T14:06:31.612Z] ========================================================= 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-07-21T14:06:31.984Z] + git rev-list -1 --merges 3a5d1ddb97f8ecfbc0e929fe8f447054e328cf6b~1..3a5d1ddb97f8ecfbc0e929fe8f447054e328cf6b [Pipeline] echo [2022-07-21T14:06:31.998Z] -----------> git rev-list -1 --merges 3a5d1ddb97f8ecfbc0e929fe8f447054e328cf6b~1..3a5d1ddb97f8ecfbc0e929fe8f447054e328cf6b 3a5d1ddb97f8ecfbc0e929fe8f447054e328cf6b [false] [Pipeline] sh [2022-07-21T14:06:32.295Z] + git log --format=format:%s -1 3a5d1ddb97f8ecfbc0e929fe8f447054e328cf6b [Pipeline] echo [2022-07-21T14:06:32.311Z] ========================================================= [2022-07-21T14:06:32.311Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-21T14:06:32.311Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2022-07-21T14:06:32.743Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-21T14:06:32.743Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-21T14:06:32.743Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-21T14:06:32.743Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-21T14:06:32.743Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-21T14:06:32.743Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-21T14:06:32.743Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T14:06:33.169Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-21T14:06:33.169Z] [2022-07-21T14:06:33.169Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T14:06:33.475Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-21T14:06:33.475Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-21T14:06:33.475Z] b85a868b505f: Pulling fs layer [2022-07-21T14:06:33.475Z] e2be974225ed: Pulling fs layer [2022-07-21T14:06:33.475Z] 339a4e72a1f5: Pulling fs layer [2022-07-21T14:06:33.475Z] 988bab9f4d93: Pulling fs layer [2022-07-21T14:06:33.475Z] 1469e6f7b9e6: Pulling fs layer [2022-07-21T14:06:33.475Z] eaf3925da568: Pulling fs layer [2022-07-21T14:06:33.475Z] bab4dde63d76: Pulling fs layer [2022-07-21T14:06:33.475Z] bde34c3a00c8: Pulling fs layer [2022-07-21T14:06:33.475Z] b352a97aabf1: Pulling fs layer [2022-07-21T14:06:33.475Z] 4872d77fe225: Pulling fs layer [2022-07-21T14:06:33.475Z] 5851b861e8e6: Pulling fs layer [2022-07-21T14:06:33.475Z] bab4dde63d76: Waiting [2022-07-21T14:06:33.475Z] 5851b861e8e6: Waiting [2022-07-21T14:06:33.475Z] 4872d77fe225: Waiting [2022-07-21T14:06:33.475Z] bde34c3a00c8: Waiting [2022-07-21T14:06:33.475Z] 1469e6f7b9e6: Waiting [2022-07-21T14:06:33.475Z] eaf3925da568: Waiting [2022-07-21T14:06:33.475Z] e2be974225ed: Verifying Checksum [2022-07-21T14:06:33.475Z] e2be974225ed: Download complete [2022-07-21T14:06:33.475Z] 988bab9f4d93: Download complete [2022-07-21T14:06:33.736Z] 339a4e72a1f5: Verifying Checksum [2022-07-21T14:06:33.736Z] 339a4e72a1f5: Download complete [2022-07-21T14:06:33.736Z] eaf3925da568: Download complete [2022-07-21T14:06:33.736Z] 1469e6f7b9e6: Verifying Checksum [2022-07-21T14:06:33.736Z] 1469e6f7b9e6: Download complete [2022-07-21T14:06:33.736Z] bde34c3a00c8: Download complete [2022-07-21T14:06:33.736Z] b352a97aabf1: Verifying Checksum [2022-07-21T14:06:33.736Z] b352a97aabf1: Download complete [2022-07-21T14:06:33.736Z] 4872d77fe225: Verifying Checksum [2022-07-21T14:06:33.737Z] 4872d77fe225: Download complete [2022-07-21T14:06:33.737Z] 5851b861e8e6: Verifying Checksum [2022-07-21T14:06:33.737Z] 5851b861e8e6: Download complete [2022-07-21T14:06:33.737Z] b85a868b505f: Verifying Checksum [2022-07-21T14:06:33.737Z] b85a868b505f: Download complete [2022-07-21T14:06:33.999Z] bab4dde63d76: Verifying Checksum [2022-07-21T14:06:33.999Z] bab4dde63d76: Download complete [2022-07-21T14:06:35.383Z] b85a868b505f: Pull complete [2022-07-21T14:06:35.383Z] e2be974225ed: Pull complete [2022-07-21T14:06:35.955Z] 339a4e72a1f5: Pull complete [2022-07-21T14:06:35.955Z] 988bab9f4d93: Pull complete [2022-07-21T14:06:36.218Z] 1469e6f7b9e6: Pull complete [2022-07-21T14:06:36.218Z] eaf3925da568: Pull complete [2022-07-21T14:06:38.132Z] bab4dde63d76: Pull complete [2022-07-21T14:06:38.132Z] bde34c3a00c8: Pull complete [2022-07-21T14:06:38.392Z] b352a97aabf1: Pull complete [2022-07-21T14:06:38.392Z] 4872d77fe225: Pull complete [2022-07-21T14:06:38.654Z] 5851b861e8e6: Pull complete [2022-07-21T14:06:38.654Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-21T14:06:38.654Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-21T14:06:38.654Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-21T14:06:38.759Z] prd-ubuntu20.04-docker-8c-8g-20677 does not seem to be running inside a container [2022-07-21T14:06:38.801Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-427 -v /w/workspace/edgexfoundry_device-sdk-c_PR-427:/w/workspace/edgexfoundry_device-sdk-c_PR-427:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-427@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-427@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-07-21T14:06:40.207Z] $ docker top 87987c1b8e1f0b432bc36ca7636f607ecf415902cd55f6aed03eaa3f4d90c011 -eo pid,comm [2022-07-21T14:06:40.278Z] 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-07-21T14:06:40.278Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-21T14:06:40.314Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-21T14:06:40.314Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-21T14:06:40.457Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-21T14:06:40.461Z] $ docker exec 87987c1b8e1f0b432bc36ca7636f607ecf415902cd55f6aed03eaa3f4d90c011 ssh-agent [2022-07-21T14:06:40.600Z] SSH_AUTH_SOCK=/tmp/ssh-LtarMfwDALPN/agent.32 [2022-07-21T14:06:40.600Z] SSH_AGENT_PID=38 [2022-07-21T14:06:40.608Z] Running ssh-add (command line suppressed) [2022-07-21T14:06:40.732Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-427@tmp/private_key_7093542744774094178.key (/w/workspace/edgexfoundry_device-sdk-c_PR-427@tmp/private_key_7093542744774094178.key) [2022-07-21T14:06:40.749Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-21T14:06:41.050Z] + git tag --points-at HEAD [Pipeline] } [2022-07-21T14:06:41.066Z] $ docker exec --env ******** --env ******** 87987c1b8e1f0b432bc36ca7636f607ecf415902cd55f6aed03eaa3f4d90c011 ssh-agent -k [2022-07-21T14:06:41.188Z] unset SSH_AUTH_SOCK; [2022-07-21T14:06:41.188Z] unset SSH_AGENT_PID; [2022-07-21T14:06:41.188Z] echo Agent pid 38 killed; [2022-07-21T14:06:41.202Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-21T14:06:41.227Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-21T14:06:41.227Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-21T14:06:41.366Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-21T14:06:41.368Z] $ docker exec 87987c1b8e1f0b432bc36ca7636f607ecf415902cd55f6aed03eaa3f4d90c011 ssh-agent [2022-07-21T14:06:41.504Z] SSH_AUTH_SOCK=/tmp/ssh-Re6zO6dm6sCh/agent.70 [2022-07-21T14:06:41.504Z] SSH_AGENT_PID=77 [2022-07-21T14:06:41.510Z] Running ssh-add (command line suppressed) [2022-07-21T14:06:41.629Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-427@tmp/private_key_1566134259139838361.key (/w/workspace/edgexfoundry_device-sdk-c_PR-427@tmp/private_key_1566134259139838361.key) [2022-07-21T14:06:41.647Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-21T14:06:41.940Z] + git semver init [2022-07-21T14:06:42.203Z] 2022-07-21 14:06:42,150 [run_init] DEBUG init version:0.0.0 force:False [2022-07-21T14:06:42.203Z] 2022-07-21 14:06:42,151 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-427/.semver [2022-07-21T14:06:42.203Z] 2022-07-21 14:06:42,151 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-427/.semver [2022-07-21T14:06:42.203Z] 2022-07-21 14:06:42,151 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-427/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-427, universal_newlines=False, shell=None, istream=None) [2022-07-21T14:06:43.156Z] 2022-07-21 14:06:42,880 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-427/.git/info/exclude [2022-07-21T14:06:43.156Z] 2022-07-21 14:06:42,881 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-427/.semver/PR-427 with force:False [2022-07-21T14:06:43.156Z] 2022-07-21 14:06:42,881 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-427/.semver/PR-427 [2022-07-21T14:06:43.156Z] 2022-07-21 14:06:42,885 [execute] INFO git cat-file --batch-check [2022-07-21T14:06:43.156Z] 2022-07-21 14:06:42,885 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-427/.semver, universal_newlines=False, shell=None, istream=) [2022-07-21T14:06:43.156Z] 2022-07-21 14:06:42,890 [execute] INFO git cat-file --batch [2022-07-21T14:06:43.156Z] 2022-07-21 14:06:42,891 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-427/.semver, universal_newlines=False, shell=None, istream=) [2022-07-21T14:06:43.156Z] 2022-07-21 14:06:42,895 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-427/.semver/PR-427 [2022-07-21T14:06:43.156Z] 0.0.0 [Pipeline] } [2022-07-21T14:06:43.167Z] $ docker exec --env ******** --env ******** 87987c1b8e1f0b432bc36ca7636f607ecf415902cd55f6aed03eaa3f4d90c011 ssh-agent -k [2022-07-21T14:06:43.273Z] unset SSH_AUTH_SOCK; [2022-07-21T14:06:43.273Z] unset SSH_AGENT_PID; [2022-07-21T14:06:43.273Z] echo Agent pid 77 killed; [2022-07-21T14:06:43.286Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-21T14:06:43.597Z] + git semver [Pipeline] } [2022-07-21T14:06:43.873Z] $ docker stop --time=1 87987c1b8e1f0b432bc36ca7636f607ecf415902cd55f6aed03eaa3f4d90c011 [2022-07-21T14:06:45.215Z] $ docker rm -f 87987c1b8e1f0b432bc36ca7636f607ecf415902cd55f6aed03eaa3f4d90c011 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-21T14:06:45.568Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-21T14:06:45.830Z] Stashed 1 file(s) [Pipeline] echo [2022-07-21T14:06:45.832Z] [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-07-21T14:06:45.970Z] provisioning config files... [2022-07-21T14:06:45.980Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-427@tmp/config7669505388331794790tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-21T14:06:46.282Z] ---> docker-login.sh [2022-07-21T14:06:46.282Z] nexus3.edgexfoundry.org:10001 [2022-07-21T14:06:46.282Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T14:06:46.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T14:06:46.282Z] Configure a credential helper to remove this warning. See [2022-07-21T14:06:46.282Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T14:06:46.282Z] [2022-07-21T14:06:46.282Z] Login Succeeded [2022-07-21T14:06:46.282Z] nexus3.edgexfoundry.org:10002 [2022-07-21T14:06:46.282Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T14:06:46.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T14:06:46.544Z] Configure a credential helper to remove this warning. See [2022-07-21T14:06:46.544Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T14:06:46.544Z] [2022-07-21T14:06:46.544Z] Login Succeeded [2022-07-21T14:06:46.544Z] nexus3.edgexfoundry.org:10003 [2022-07-21T14:06:46.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T14:06:46.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T14:06:46.544Z] Configure a credential helper to remove this warning. See [2022-07-21T14:06:46.544Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T14:06:46.544Z] [2022-07-21T14:06:46.544Z] Login Succeeded [2022-07-21T14:06:46.544Z] nexus3.edgexfoundry.org:10004 [2022-07-21T14:06:46.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T14:06:46.805Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T14:06:46.806Z] Configure a credential helper to remove this warning. See [2022-07-21T14:06:46.806Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T14:06:46.806Z] [2022-07-21T14:06:46.806Z] Login Succeeded [2022-07-21T14:06:46.806Z] docker.io [2022-07-21T14:06:46.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T14:06:47.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T14:06:47.067Z] Configure a credential helper to remove this warning. See [2022-07-21T14:06:47.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T14:06:47.067Z] [2022-07-21T14:06:47.067Z] Login Succeeded [2022-07-21T14:06:47.067Z] ---> docker-login.sh ends [Pipeline] } [2022-07-21T14:06:47.075Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-21T14:06:47.134Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-21T14:06:47.142Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2022-07-21T14:06:47.150Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-21T14:06:47.156Z] ========================================================= [2022-07-21T14:06:47.156Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2022-07-21T14:06:47.156Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T14:06:47.462Z] + 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-07-21T14:06:47.462Z] Sending build context to Docker daemon 4.641MB [2022-07-21T14:06:47.462Z] Step 1/22 : ARG BASE=alpine:3.15 [2022-07-21T14:06:47.462Z] Step 2/22 : FROM ${BASE} as builder [2022-07-21T14:06:47.462Z] latest: Pulling from edgex-devops/edgex-gcc-base [2022-07-21T14:06:47.462Z] df9b9388f04a: Pulling fs layer [2022-07-21T14:06:47.462Z] 62381f5d8449: Pulling fs layer [2022-07-21T14:06:47.723Z] df9b9388f04a: Download complete [2022-07-21T14:06:47.723Z] df9b9388f04a: Pull complete [2022-07-21T14:06:48.295Z] 62381f5d8449: Verifying Checksum [2022-07-21T14:06:48.295Z] 62381f5d8449: Download complete [2022-07-21T14:06:51.630Z] 62381f5d8449: Pull complete [2022-07-21T14:06:51.630Z] Digest: sha256:1dc51ee6678f53bb3891c65c2ca5ccd72630339357978017b6e7ab3884123c19 [2022-07-21T14:06:51.630Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2022-07-21T14:06:51.630Z] ---> 547c565c9e89 [2022-07-21T14:06:51.630Z] 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-07-21T14:06:51.893Z] ---> Running in 9671fff679a9 [2022-07-21T14:06:52.154Z] Connecting to iotech.jfrog.io (3.248.137.73:443) [2022-07-21T14:06:52.727Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-07-21T14:06:52.727Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-07-21T14:06:52.727Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-07-21T14:06:52.988Z] Removing intermediate container 9671fff679a9 [2022-07-21T14:06:52.988Z] ---> 2c8432d26fbe [2022-07-21T14:06:52.988Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-07-21T14:06:52.988Z] ---> Running in 84a04357fbfc [2022-07-21T14:06:53.559Z] Removing intermediate container 84a04357fbfc [2022-07-21T14:06:53.559Z] ---> 5551c8ce20fa [2022-07-21T14:06:53.559Z] 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-07-21T14:06:53.559Z] ---> Running in 114b63ade312 [2022-07-21T14:06:53.820Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-21T14:06:54.080Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-21T14:06:54.080Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-21T14:06:54.652Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-07-21T14:06:54.652Z] (1/33) Upgrading ncurses-terminfo-base (6.3_p20211120-r0 -> 6.3_p20211120-r1) [2022-07-21T14:06:54.652Z] (2/33) Upgrading ncurses-libs (6.3_p20211120-r0 -> 6.3_p20211120-r1) [2022-07-21T14:06:54.652Z] (3/33) Installing hiredis (1.0.2-r0) [2022-07-21T14:06:54.652Z] (4/33) Installing hiredis-dev (1.0.2-r0) [2022-07-21T14:06:54.652Z] (5/33) Installing libcbor (0.8.0-r0) [2022-07-21T14:06:54.652Z] (6/33) Installing libcbor-dev (0.8.0-r0) [2022-07-21T14:06:54.652Z] (7/33) Installing ncurses-dev (6.3_p20211120-r1) [2022-07-21T14:06:54.652Z] (8/33) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) [2022-07-21T14:06:55.596Z] (9/33) Installing util-linux (2.37.4-r0) [2022-07-21T14:06:55.596Z] (10/33) Installing libblkid (2.37.4-r0) [2022-07-21T14:06:55.596Z] (11/33) Installing libeconf (0.4.2-r0) [2022-07-21T14:06:55.596Z] (12/33) Installing libuuid (2.37.4-r0) [2022-07-21T14:06:55.596Z] (13/33) Installing libfdisk (2.37.4-r0) [2022-07-21T14:06:55.596Z] (14/33) Installing libmount (2.37.4-r0) [2022-07-21T14:06:55.596Z] (15/33) Installing libsmartcols (2.37.4-r0) [2022-07-21T14:06:55.596Z] (16/33) Installing util-linux-misc (2.37.4-r0) [2022-07-21T14:06:55.596Z] (17/33) Installing linux-pam (1.5.2-r0) [2022-07-21T14:06:55.596Z] (18/33) Installing runuser (2.37.4-r0) [2022-07-21T14:06:55.596Z] (19/33) Installing hexdump (2.37.4-r0) [2022-07-21T14:06:55.596Z] (20/33) Installing uuidgen (2.37.4-r0) [2022-07-21T14:06:55.596Z] (21/33) Installing blkid (2.37.4-r0) [2022-07-21T14:06:55.596Z] (22/33) Installing sfdisk (2.37.4-r0) [2022-07-21T14:06:55.596Z] (23/33) Installing mcookie (2.37.4-r0) [2022-07-21T14:06:55.596Z] (24/33) Installing wipefs (2.37.4-r0) [2022-07-21T14:06:55.596Z] (25/33) Installing cfdisk (2.37.4-r0) [2022-07-21T14:06:55.596Z] (26/33) Installing flock (2.37.4-r0) [2022-07-21T14:06:55.596Z] (27/33) Installing lsblk (2.37.4-r0) [2022-07-21T14:06:55.596Z] (28/33) Installing libcap-ng (0.8.2-r1) [2022-07-21T14:06:55.596Z] (29/33) Installing setpriv (2.37.4-r0) [2022-07-21T14:06:55.596Z] (30/33) Installing logger (2.37.4-r0) [2022-07-21T14:06:55.596Z] (31/33) Installing partx (2.37.4-r0) [2022-07-21T14:06:55.596Z] (32/33) Installing findmnt (2.37.4-r0) [2022-07-21T14:06:55.596Z] (33/33) Installing util-linux-dev (2.37.4-r0) [2022-07-21T14:06:55.596Z] Executing busybox-1.34.1-r5.trigger [2022-07-21T14:06:55.596Z] OK: 293 MiB in 108 packages [2022-07-21T14:06:56.168Z] Removing intermediate container 114b63ade312 [2022-07-21T14:06:56.168Z] ---> 797eb642d14f [2022-07-21T14:06:56.168Z] Step 6/22 : RUN mkdir /tmp/sdk [2022-07-21T14:06:56.430Z] ---> Running in f2be92d9f1c8 [2022-07-21T14:06:57.002Z] Removing intermediate container f2be92d9f1c8 [2022-07-21T14:06:57.002Z] ---> 26ef9d4e8286 [2022-07-21T14:06:57.002Z] Step 7/22 : COPY VERSION /tmp/sdk [2022-07-21T14:06:57.002Z] ---> a930c145ce10 [2022-07-21T14:06:57.002Z] Step 8/22 : COPY src /tmp/sdk/src [2022-07-21T14:06:57.264Z] ---> 6bbb09b53e64 [2022-07-21T14:06:57.264Z] Step 9/22 : COPY include /tmp/sdk/include [2022-07-21T14:06:57.264Z] ---> bf6386b2a87f [2022-07-21T14:06:57.264Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2022-07-21T14:06:57.534Z] ---> 1456c7063b48 [2022-07-21T14:06:57.534Z] Step 11/22 : COPY LICENSE /tmp/sdk [2022-07-21T14:06:57.796Z] ---> 0168fac4ccbc [2022-07-21T14:06:57.796Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2022-07-21T14:06:57.796Z] ---> 97f2cd4b3d3a [2022-07-21T14:06:57.796Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2022-07-21T14:06:57.796Z] ---> Running in ee95fe0218e9 [2022-07-21T14:06:58.056Z] + CPPCHECK=false [2022-07-21T14:06:58.056Z] + DOCGEN=false [2022-07-21T14:06:58.056Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2022-07-21T14:06:58.056Z] + TOMLVER=SDK-0.2 [2022-07-21T14:06:58.056Z] + CUTILVER=1.2.2 [2022-07-21T14:06:58.056Z] + '[' 0 -gt 0 ] [2022-07-21T14:06:58.056Z] + readlink -f ./scripts/build.sh [2022-07-21T14:06:58.056Z] + dirname /tmp/sdk/scripts/build.sh [2022-07-21T14:06:58.056Z] + dirname /tmp/sdk/scripts [2022-07-21T14:06:58.056Z] + ROOT=/tmp/sdk [2022-07-21T14:06:58.056Z] + cd /tmp/sdk [2022-07-21T14:06:58.056Z] + '[' '!' -d deps ] [2022-07-21T14:06:58.056Z] + mkdir deps [2022-07-21T14:06:58.056Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-07-21T14:06:58.056Z] + tar -C deps -z -x -f - [2022-07-21T14:06:58.056Z] Connecting to github.com (140.82.112.4:443) [2022-07-21T14:06:58.315Z] Connecting to codeload.github.com (140.82.114.9:443) [2022-07-21T14:06:58.576Z] writing to stdout [2022-07-21T14:06:58.576Z] - 100% |********************************| 16451 0:00:00 ETA [2022-07-21T14:06:58.576Z] written to stdout [2022-07-21T14:06:58.576Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2022-07-21T14:06:58.576Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2022-07-21T14:06:58.576Z] + tar -C deps -z -x -f - [2022-07-21T14:06:58.576Z] Connecting to github.com (140.82.112.4:443) [2022-07-21T14:06:58.837Z] Connecting to codeload.github.com (140.82.114.9:443) [2022-07-21T14:06:58.837Z] writing to stdout [2022-07-21T14:06:58.837Z] - 100% |********************************| 189k 0:00:00 ETA [2022-07-21T14:06:58.837Z] written to stdout [2022-07-21T14:06:58.837Z] + mkdir -p src/c/iot [2022-07-21T14:06:58.837Z] + 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-07-21T14:06:58.837Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2022-07-21T14:06:58.837Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2022-07-21T14:06:58.837Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2022-07-21T14:06:58.838Z] + mkdir -p include/iot [2022-07-21T14:06:58.838Z] + 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-07-21T14:06:58.838Z] + mkdir -p include/iot/os [2022-07-21T14:06:59.099Z] + 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-07-21T14:06:59.099Z] + mkdir -p /tmp/sdk/build/release [2022-07-21T14:06:59.099Z] + cd /tmp/sdk/build/release [2022-07-21T14:06:59.099Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2022-07-21T14:06:59.099Z] -- The C compiler identification is GNU 10.3.1 [2022-07-21T14:06:59.099Z] -- Detecting C compiler ABI info [2022-07-21T14:06:59.099Z] -- Detecting C compiler ABI info - done [2022-07-21T14:06:59.099Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-07-21T14:06:59.099Z] -- Detecting C compile features [2022-07-21T14:06:59.099Z] -- Detecting C compile features - done [2022-07-21T14:06:59.099Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-07-21T14:06:59.360Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-07-21T14:06:59.360Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-07-21T14:06:59.360Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-07-21T14:06:59.360Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-07-21T14:06:59.360Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-07-21T14:06:59.360Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-07-21T14:06:59.360Z] -- C SDK 0.0.0 for Linux [2022-07-21T14:06:59.360Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-07-21T14:06:59.360Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-07-21T14:06:59.360Z] -- Found Curses: /usr/lib/libcurses.so [2022-07-21T14:06:59.360Z] -- Configuring done [2022-07-21T14:06:59.360Z] -- Generating done [2022-07-21T14:06:59.360Z] -- Build files have been written to: /tmp/sdk/build/release [2022-07-21T14:06:59.360Z] + make all package [2022-07-21T14:06:59.360Z] + tee release.log [2022-07-21T14:06:59.620Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-07-21T14:06:59.620Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-07-21T14:06:59.881Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-07-21T14:07:00.142Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-07-21T14:07:00.404Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-07-21T14:07:00.405Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-07-21T14:07:00.665Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-07-21T14:07:00.665Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-07-21T14:07:00.665Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-07-21T14:07:00.926Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-07-21T14:07:00.926Z] Still waiting to schedule task [2022-07-21T14:07:00.926Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-07-21T14:07:01.500Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-07-21T14:07:01.500Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-07-21T14:07:01.762Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-07-21T14:07:01.762Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-07-21T14:07:02.025Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-07-21T14:07:02.025Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-07-21T14:07:02.025Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-07-21T14:07:02.597Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-07-21T14:07:02.597Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-07-21T14:07:02.597Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-07-21T14:07:02.857Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-07-21T14:07:02.857Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-07-21T14:07:02.857Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-07-21T14:07:02.857Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-07-21T14:07:02.857Z] 275 | const iot_component_factory_t * factory; [2022-07-21T14:07:02.857Z] | ^~~~~~~ [2022-07-21T14:07:03.131Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-07-21T14:07:03.704Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-07-21T14:07:03.964Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-07-21T14:07:03.964Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-07-21T14:07:03.964Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-07-21T14:07:04.225Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-07-21T14:07:04.225Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-07-21T14:07:04.487Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-07-21T14:07:04.487Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-07-21T14:07:04.749Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-07-21T14:07:04.749Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-07-21T14:07:04.749Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-07-21T14:07:05.323Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-07-21T14:07:05.323Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-07-21T14:07:05.585Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-07-21T14:07:05.585Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-07-21T14:07:06.532Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-07-21T14:07:06.532Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-07-21T14:07:06.532Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-07-21T14:07:06.798Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-07-21T14:07:07.060Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-07-21T14:07:07.322Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-07-21T14:07:07.322Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-07-21T14:07:07.584Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-07-21T14:07:07.584Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-07-21T14:07:08.157Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-07-21T14:07:08.729Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-07-21T14:07:08.990Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2022-07-21T14:07:08.990Z] [ 75%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-07-21T14:07:09.252Z] [ 76%] Linking C shared library libcsdk.so [2022-07-21T14:07:09.252Z] [ 76%] Built target csdk [2022-07-21T14:07:09.252Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-07-21T14:07:09.515Z] [ 79%] Linking C executable template [2022-07-21T14:07:09.515Z] [ 79%] Built target template [2022-07-21T14:07:09.515Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-07-21T14:07:09.515Z] [ 82%] Linking C executable device-counter [2022-07-21T14:07:09.777Z] [ 82%] Built target device-counter [2022-07-21T14:07:09.777Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-07-21T14:07:09.777Z] [ 85%] Linking C executable device-random [2022-07-21T14:07:09.777Z] [ 85%] Built target device-random [2022-07-21T14:07:09.777Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-07-21T14:07:10.038Z] [ 88%] Linking C executable device-gyro [2022-07-21T14:07:10.038Z] [ 88%] Built target device-gyro [2022-07-21T14:07:10.038Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-07-21T14:07:10.038Z] [ 91%] Linking C executable device-bitfields [2022-07-21T14:07:10.301Z] [ 91%] Built target device-bitfields [2022-07-21T14:07:10.301Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-07-21T14:07:10.301Z] [ 94%] Linking C executable template-discovery [2022-07-21T14:07:10.563Z] [ 94%] Built target template-discovery [2022-07-21T14:07:10.563Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-07-21T14:07:10.563Z] [ 97%] Linking C executable device-file [2022-07-21T14:07:10.563Z] [ 97%] Built target device-file [2022-07-21T14:07:10.831Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-07-21T14:07:10.831Z] [100%] Linking C executable device-terminal [2022-07-21T14:07:10.831Z] [100%] Built target device-terminal [2022-07-21T14:07:10.831Z] Run CPack packaging tool... [2022-07-21T14:07:10.831Z] CPack: Create package using TGZ [2022-07-21T14:07:10.831Z] CPack: Install projects [2022-07-21T14:07:10.831Z] CPack: - Run preinstall target for: Csdk [2022-07-21T14:07:11.094Z] CPack: - Install project: Csdk [] [2022-07-21T14:07:11.094Z] CPack: Create package [2022-07-21T14:07:11.356Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2022-07-21T14:07:11.356Z] + '[' false '=' true ] [2022-07-21T14:07:11.356Z] + '[' false '=' true ] [2022-07-21T14:07:11.356Z] + mkdir -p /tmp/sdk/build/debug [2022-07-21T14:07:11.356Z] + cd /tmp/sdk/build/debug [2022-07-21T14:07:11.356Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2022-07-21T14:07:11.356Z] -- The C compiler identification is GNU 10.3.1 [2022-07-21T14:07:11.356Z] -- Detecting C compiler ABI info [2022-07-21T14:07:11.356Z] -- Detecting C compiler ABI info - done [2022-07-21T14:07:11.356Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-07-21T14:07:11.356Z] -- Detecting C compile features [2022-07-21T14:07:11.356Z] -- Detecting C compile features - done [2022-07-21T14:07:11.356Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-07-21T14:07:11.617Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-07-21T14:07:11.617Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-07-21T14:07:11.617Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-07-21T14:07:11.617Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-07-21T14:07:11.617Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-07-21T14:07:11.617Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-07-21T14:07:11.617Z] -- C SDK 0.0.0 for Linux [2022-07-21T14:07:11.617Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-07-21T14:07:11.617Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-07-21T14:07:11.617Z] -- Found Curses: /usr/lib/libcurses.so [2022-07-21T14:07:11.617Z] -- Configuring done [2022-07-21T14:07:11.617Z] -- Generating done [2022-07-21T14:07:11.617Z] -- Build files have been written to: /tmp/sdk/build/debug [2022-07-21T14:07:11.617Z] + make [2022-07-21T14:07:11.617Z] + tee debug.log [2022-07-21T14:07:11.879Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-07-21T14:07:11.879Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-07-21T14:07:11.879Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-07-21T14:07:12.140Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-07-21T14:07:12.140Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-07-21T14:07:12.140Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-07-21T14:07:12.402Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-07-21T14:07:12.402Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-07-21T14:07:12.402Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-07-21T14:07:12.666Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-07-21T14:07:12.666Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-07-21T14:07:12.666Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-07-21T14:07:12.927Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-07-21T14:07:12.927Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-07-21T14:07:12.927Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-07-21T14:07:13.187Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-07-21T14:07:13.187Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-07-21T14:07:13.187Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-07-21T14:07:13.448Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-07-21T14:07:13.448Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-07-21T14:07:13.448Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-07-21T14:07:13.448Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-07-21T14:07:13.448Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-07-21T14:07:13.448Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-07-21T14:07:13.448Z] 275 | const iot_component_factory_t * factory; [2022-07-21T14:07:13.448Z] | ^~~~~~~ [2022-07-21T14:07:13.710Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-07-21T14:07:13.970Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-07-21T14:07:13.970Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-07-21T14:07:13.970Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-07-21T14:07:13.970Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-07-21T14:07:13.970Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-07-21T14:07:14.232Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-07-21T14:07:14.232Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-07-21T14:07:14.232Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-07-21T14:07:14.232Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-07-21T14:07:14.494Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-07-21T14:07:14.494Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-07-21T14:07:14.494Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-07-21T14:07:14.494Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-07-21T14:07:14.754Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-07-21T14:07:14.754Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-07-21T14:07:15.014Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-07-21T14:07:15.014Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-07-21T14:07:15.014Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-07-21T14:07:15.277Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-07-21T14:07:15.277Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-07-21T14:07:15.536Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-07-21T14:07:15.536Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-07-21T14:07:15.536Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-07-21T14:07:15.825Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-07-21T14:07:15.825Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-07-21T14:07:16.087Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-07-21T14:07:16.087Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2022-07-21T14:07:16.087Z] [ 75%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-07-21T14:07:16.087Z] [ 76%] Linking C shared library libcsdk.so [2022-07-21T14:07:16.378Z] [ 76%] Built target csdk [2022-07-21T14:07:16.378Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-07-21T14:07:16.378Z] [ 79%] Linking C executable template [2022-07-21T14:07:16.378Z] [ 79%] Built target template [2022-07-21T14:07:16.378Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-07-21T14:07:16.699Z] [ 82%] Linking C executable device-counter [2022-07-21T14:07:16.699Z] [ 82%] Built target device-counter [2022-07-21T14:07:16.699Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-07-21T14:07:16.699Z] [ 85%] Linking C executable device-random [2022-07-21T14:07:16.699Z] [ 85%] Built target device-random [2022-07-21T14:07:16.699Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-07-21T14:07:16.699Z] [ 88%] Linking C executable device-gyro [2022-07-21T14:07:16.975Z] [ 88%] Built target device-gyro [2022-07-21T14:07:16.975Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-07-21T14:07:16.975Z] [ 91%] Linking C executable device-bitfields [2022-07-21T14:07:16.975Z] [ 91%] Built target device-bitfields [2022-07-21T14:07:16.975Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-07-21T14:07:16.975Z] [ 94%] Linking C executable template-discovery [2022-07-21T14:07:17.258Z] [ 94%] Built target template-discovery [2022-07-21T14:07:17.258Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-07-21T14:07:17.258Z] [ 97%] Linking C executable device-file [2022-07-21T14:07:17.258Z] [ 97%] Built target device-file [2022-07-21T14:07:17.258Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-07-21T14:07:17.520Z] [100%] Linking C executable device-terminal [2022-07-21T14:07:17.520Z] [100%] Built target device-terminal [2022-07-21T14:07:17.520Z] make: Entering directory '/tmp/sdk/build/release' [2022-07-21T14:07:17.520Z] make[1]: Entering directory '/tmp/sdk/build/release' [2022-07-21T14:07:17.520Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-21T14:07:17.520Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-21T14:07:17.520Z] [ 76%] Built target csdk [2022-07-21T14:07:17.520Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-21T14:07:17.520Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-21T14:07:17.520Z] [ 79%] Built target template [2022-07-21T14:07:17.520Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-21T14:07:17.520Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-21T14:07:17.520Z] [ 82%] Built target device-counter [2022-07-21T14:07:17.520Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-21T14:07:17.520Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-21T14:07:17.520Z] [ 85%] Built target device-random [2022-07-21T14:07:17.520Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-21T14:07:17.520Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-21T14:07:17.520Z] [ 88%] Built target device-gyro [2022-07-21T14:07:17.520Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-21T14:07:17.520Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-21T14:07:17.781Z] [ 91%] Built target device-bitfields [2022-07-21T14:07:17.781Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-21T14:07:17.781Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-21T14:07:17.781Z] [ 94%] Built target template-discovery [2022-07-21T14:07:17.781Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-21T14:07:17.781Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-21T14:07:17.781Z] [ 97%] Built target device-file [2022-07-21T14:07:17.781Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-21T14:07:17.781Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-21T14:07:17.781Z] [100%] Built target device-terminal [2022-07-21T14:07:17.781Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2022-07-21T14:07:17.781Z] Install the project... [2022-07-21T14:07:17.781Z] -- Install configuration: "Release" [2022-07-21T14:07:17.781Z] -- Installing: /usr/local/lib/libcsdk.so [2022-07-21T14:07:17.781Z] -- Installing: /usr/local/include [2022-07-21T14:07:17.781Z] -- Installing: /usr/local/include/edgex [2022-07-21T14:07:17.781Z] -- Installing: /usr/local/include/edgex/profiles.h [2022-07-21T14:07:17.781Z] -- Installing: /usr/local/include/edgex/edgex.h [2022-07-21T14:07:17.781Z] -- Installing: /usr/local/include/edgex/rest-server.h [2022-07-21T14:07:17.781Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2022-07-21T14:07:17.781Z] -- Installing: /usr/local/include/edgex/devices.h [2022-07-21T14:07:17.781Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2022-07-21T14:07:17.781Z] -- Installing: /usr/local/include/devsdk [2022-07-21T14:07:17.781Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2022-07-21T14:07:17.781Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2022-07-21T14:07:17.781Z] -- Installing: /usr/local/include/iot [2022-07-21T14:07:17.781Z] -- Installing: /usr/local/include/iot/thread.h [2022-07-21T14:07:17.781Z] -- Installing: /usr/local/include/iot/hash.h [2022-07-21T14:07:17.781Z] -- Installing: /usr/local/include/iot/typecode.h [2022-07-21T14:07:17.781Z] -- Installing: /usr/local/include/iot/threadpool.h [2022-07-21T14:07:17.781Z] -- Installing: /usr/local/include/iot/uuid.h [2022-07-21T14:07:17.781Z] -- Installing: /usr/local/include/iot/logger.h [2022-07-21T14:07:17.781Z] -- Installing: /usr/local/include/iot/config.h [2022-07-21T14:07:17.781Z] -- Installing: /usr/local/include/iot/os.h [2022-07-21T14:07:17.781Z] -- Installing: /usr/local/include/iot/container.h [2022-07-21T14:07:17.781Z] -- Installing: /usr/local/include/iot/scheduler.h [2022-07-21T14:07:17.781Z] -- Installing: /usr/local/include/iot/defs.h [2022-07-21T14:07:17.781Z] -- Installing: /usr/local/include/iot/iot.h [2022-07-21T14:07:17.781Z] -- Installing: /usr/local/include/iot/component.h [2022-07-21T14:07:17.781Z] -- Installing: /usr/local/include/iot/os [2022-07-21T14:07:17.781Z] -- Installing: /usr/local/include/iot/os/linux.h [2022-07-21T14:07:17.781Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2022-07-21T14:07:17.781Z] -- Installing: /usr/local/include/iot/os/macos.h [2022-07-21T14:07:17.781Z] -- Installing: /usr/local/include/iot/base64.h [2022-07-21T14:07:17.781Z] -- Installing: /usr/local/include/iot/time.h [2022-07-21T14:07:17.781Z] -- Installing: /usr/local/include/iot/data.h [2022-07-21T14:07:17.781Z] -- Installing: /usr/local/include/iot/json.h [2022-07-21T14:07:17.781Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2022-07-21T14:07:17.781Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2022-07-21T14:07:17.781Z] make: Leaving directory '/tmp/sdk/build/release' [2022-07-21T14:07:18.728Z] Removing intermediate container ee95fe0218e9 [2022-07-21T14:07:18.728Z] ---> 38cdea4a80f8 [2022-07-21T14:07:18.728Z] Step 14/22 : FROM ${BASE} [2022-07-21T14:07:18.728Z] ---> 547c565c9e89 [2022-07-21T14:07:18.728Z] Step 15/22 : LABEL maintainer="IOTech " [2022-07-21T14:07:18.728Z] ---> Running in 0c0267496794 [2022-07-21T14:07:18.728Z] Removing intermediate container 0c0267496794 [2022-07-21T14:07:18.728Z] ---> 5c8dcbe12939 [2022-07-21T14:07:18.728Z] 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-07-21T14:07:18.728Z] ---> Running in 2b8f8a146647 [2022-07-21T14:07:18.988Z] Connecting to iotech.jfrog.io (34.248.37.48:443) [2022-07-21T14:07:19.249Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-07-21T14:07:19.249Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-07-21T14:07:19.249Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-07-21T14:07:19.820Z] Removing intermediate container 2b8f8a146647 [2022-07-21T14:07:19.820Z] ---> e83650c7b588 [2022-07-21T14:07:19.820Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-07-21T14:07:19.820Z] ---> Running in 57168967de2f [2022-07-21T14:07:20.392Z] Removing intermediate container 57168967de2f [2022-07-21T14:07:20.392Z] ---> adb4ec9040c4 [2022-07-21T14:07:20.392Z] 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-07-21T14:07:20.392Z] ---> Running in 716dfdd28516 [2022-07-21T14:07:20.653Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-21T14:07:20.653Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-21T14:07:20.915Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-21T14:07:21.177Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-07-21T14:07:21.177Z] (1/6) Installing curl (7.80.0-r2) [2022-07-21T14:07:21.438Z] (2/6) Installing hiredis (1.0.2-r0) [2022-07-21T14:07:21.438Z] (3/6) Installing hiredis-dev (1.0.2-r0) [2022-07-21T14:07:21.438Z] (4/6) Installing libcbor (0.8.0-r0) [2022-07-21T14:07:21.438Z] (5/6) Installing libuuid (2.37.4-r0) [2022-07-21T14:07:21.438Z] (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) [2022-07-21T14:07:22.010Z] Executing busybox-1.34.1-r5.trigger [2022-07-21T14:07:22.010Z] OK: 283 MiB in 83 packages [2022-07-21T14:07:22.580Z] Removing intermediate container 716dfdd28516 [2022-07-21T14:07:22.580Z] ---> 811b96ab529d [2022-07-21T14:07:22.580Z] Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2022-07-21T14:07:22.580Z] ---> 7e2e8ad8c651 [2022-07-21T14:07:22.580Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2022-07-21T14:07:22.841Z] ---> b2815edf16d2 [2022-07-21T14:07:22.841Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2022-07-21T14:07:23.102Z] ---> e05b85620968 [2022-07-21T14:07:23.102Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2022-07-21T14:07:23.102Z] ---> c2b6dd0f9a58 [2022-07-21T14:07:23.102Z] Successfully built c2b6dd0f9a58 [2022-07-21T14:07:23.102Z] 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-07-21T14:07:23.467Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-21T14:07:23.467Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-21T14:07:23.545Z] prd-ubuntu20.04-docker-8c-8g-20677 does not seem to be running inside a container [2022-07-21T14:07:23.586Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-427 -v /w/workspace/edgexfoundry_device-sdk-c_PR-427:/w/workspace/edgexfoundry_device-sdk-c_PR-427:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-427@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-427@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-07-21T14:07:23.984Z] $ docker top 96a01fb33b0b49495766697c8aef1fdbcfeb3391bd319c3b0fcd7729a1241b25 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-21T14:07:24.341Z] + make test [2022-07-21T14:07:24.341Z] echo "make test" [2022-07-21T14:07:24.341Z] make test [Pipeline] } [2022-07-21T14:07:24.358Z] $ docker stop --time=1 96a01fb33b0b49495766697c8aef1fdbcfeb3391bd319c3b0fcd7729a1241b25 [2022-07-21T14:07:25.657Z] $ docker rm -f 96a01fb33b0b49495766697c8aef1fdbcfeb3391bd319c3b0fcd7729a1241b25 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-21T14:07:26.264Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-21T14:07:26.559Z] + ls -al . [2022-07-21T14:07:26.559Z] total 208 [2022-07-21T14:07:26.559Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 21 14:06 . [2022-07-21T14:07:26.559Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 14:06 .. [2022-07-21T14:07:26.559Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 21 14:06 .git [2022-07-21T14:07:26.559Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 21 14:06 .github [2022-07-21T14:07:26.559Z] -rw-rw-r-- 1 jenkins jenkins 176 Jul 21 14:06 .gitignore [2022-07-21T14:07:26.559Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 21 14:06 .semver [2022-07-21T14:07:26.559Z] -rw-rw-r-- 1 jenkins jenkins 3104 Jul 21 14:06 Attribution.txt [2022-07-21T14:07:26.559Z] -rw-rw-r-- 1 jenkins jenkins 8420 Jul 21 14:06 CHANGES [2022-07-21T14:07:26.559Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jul 21 14:06 Doxyfile [2022-07-21T14:07:26.559Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 21 14:06 GOVERNANCE.md [2022-07-21T14:07:26.559Z] -rw-rw-r-- 1 jenkins jenkins 784 Jul 21 14:06 Jenkinsfile [2022-07-21T14:07:26.559Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jul 21 14:06 LICENSE [2022-07-21T14:07:26.559Z] -rw-rw-r-- 1 jenkins jenkins 444 Jul 21 14:06 Makefile [2022-07-21T14:07:26.559Z] -rw-rw-r-- 1 jenkins jenkins 618 Jul 21 14:06 OWNERS.md [2022-07-21T14:07:26.559Z] -rw-rw-r-- 1 jenkins jenkins 4086 Jul 21 14:06 README.md [2022-07-21T14:07:26.559Z] -rw-rw-r-- 1 jenkins jenkins 7422 Jul 21 14:06 README.v2.md [2022-07-21T14:07:26.559Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 21 14:06 VERSION [2022-07-21T14:07:26.559Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 21 14:06 docs [2022-07-21T14:07:26.559Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 14:06 include [2022-07-21T14:07:26.559Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 21 14:06 scripts [2022-07-21T14:07:26.559Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 14:06 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T14:07:26.870Z] + 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=3a5d1ddb97f8ecfbc0e929fe8f447054e328cf6b --label arch=amd64 --label version=0.0.0 . [2022-07-21T14:07:26.870Z] Sending build context to Docker daemon 4.641MB [2022-07-21T14:07:26.870Z] Step 1/17 : ARG BASE=alpine:3.15 [2022-07-21T14:07:26.870Z] Step 2/17 : FROM ${BASE} [2022-07-21T14:07:26.870Z] ---> c2b6dd0f9a58 [2022-07-21T14:07:26.870Z] Step 3/17 : LABEL maintainer="IOTech " [2022-07-21T14:07:26.870Z] ---> Running in 8e3707be36d5 [2022-07-21T14:07:27.131Z] Removing intermediate container 8e3707be36d5 [2022-07-21T14:07:27.131Z] ---> 0e5cc82f61c2 [2022-07-21T14:07:27.131Z] 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-07-21T14:07:27.131Z] ---> Running in 90cc23286d6c [2022-07-21T14:07:27.395Z] Connecting to iotech.jfrog.io (63.32.116.203:443) [2022-07-21T14:07:27.972Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-07-21T14:07:27.972Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-07-21T14:07:27.972Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-07-21T14:07:27.972Z] Removing intermediate container 90cc23286d6c [2022-07-21T14:07:27.972Z] ---> a11a4104589c [2022-07-21T14:07:27.972Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-07-21T14:07:28.234Z] ---> Running in a3bdadfa6ace [2022-07-21T14:07:28.806Z] Removing intermediate container a3bdadfa6ace [2022-07-21T14:07:28.806Z] ---> da1994424851 [2022-07-21T14:07:28.806Z] 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-07-21T14:07:28.806Z] ---> Running in e770c835f6d5 [2022-07-21T14:07:29.066Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-21T14:07:29.066Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-21T14:07:29.325Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-21T14:07:29.587Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-07-21T14:07:29.587Z] (1/28) Upgrading ncurses-terminfo-base (6.3_p20211120-r0 -> 6.3_p20211120-r1) [2022-07-21T14:07:29.587Z] (2/28) Upgrading ncurses-libs (6.3_p20211120-r0 -> 6.3_p20211120-r1) [2022-07-21T14:07:29.847Z] (3/28) Installing libcbor-dev (0.8.0-r0) [2022-07-21T14:07:29.847Z] (4/28) Installing ncurses-dev (6.3_p20211120-r1) [2022-07-21T14:07:29.847Z] (5/28) Installing util-linux (2.37.4-r0) [2022-07-21T14:07:29.847Z] (6/28) Installing libblkid (2.37.4-r0) [2022-07-21T14:07:29.847Z] (7/28) Installing libeconf (0.4.2-r0) [2022-07-21T14:07:29.847Z] (8/28) Installing libfdisk (2.37.4-r0) [2022-07-21T14:07:29.847Z] (9/28) Installing libmount (2.37.4-r0) [2022-07-21T14:07:29.847Z] (10/28) Installing libsmartcols (2.37.4-r0) [2022-07-21T14:07:29.847Z] (11/28) Installing util-linux-misc (2.37.4-r0) [2022-07-21T14:07:29.847Z] (12/28) Installing linux-pam (1.5.2-r0) [2022-07-21T14:07:29.848Z] (13/28) Installing runuser (2.37.4-r0) [2022-07-21T14:07:29.848Z] (14/28) Installing hexdump (2.37.4-r0) [2022-07-21T14:07:29.848Z] (15/28) Installing uuidgen (2.37.4-r0) [2022-07-21T14:07:29.848Z] (16/28) Installing blkid (2.37.4-r0) [2022-07-21T14:07:29.848Z] (17/28) Installing sfdisk (2.37.4-r0) [2022-07-21T14:07:29.848Z] (18/28) Installing mcookie (2.37.4-r0) [2022-07-21T14:07:29.848Z] (19/28) Installing wipefs (2.37.4-r0) [2022-07-21T14:07:29.848Z] (20/28) Installing cfdisk (2.37.4-r0) [2022-07-21T14:07:29.848Z] (21/28) Installing flock (2.37.4-r0) [2022-07-21T14:07:29.848Z] (22/28) Installing lsblk (2.37.4-r0) [2022-07-21T14:07:29.848Z] (23/28) Installing libcap-ng (0.8.2-r1) [2022-07-21T14:07:29.848Z] (24/28) Installing setpriv (2.37.4-r0) [2022-07-21T14:07:29.848Z] (25/28) Installing logger (2.37.4-r0) [2022-07-21T14:07:29.848Z] (26/28) Installing partx (2.37.4-r0) [2022-07-21T14:07:29.848Z] (27/28) Installing findmnt (2.37.4-r0) [2022-07-21T14:07:29.848Z] (28/28) Installing util-linux-dev (2.37.4-r0) [2022-07-21T14:07:29.848Z] Executing busybox-1.34.1-r5.trigger [2022-07-21T14:07:29.848Z] OK: 294 MiB in 109 packages [2022-07-21T14:07:30.800Z] Removing intermediate container e770c835f6d5 [2022-07-21T14:07:30.801Z] ---> 478b99815dde [2022-07-21T14:07:30.801Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2022-07-21T14:07:30.801Z] ---> db4b7a3096db [2022-07-21T14:07:30.801Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2022-07-21T14:07:31.068Z] ---> 250b09e4b4cf [2022-07-21T14:07:31.068Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2022-07-21T14:07:31.344Z] ---> caba822fff13 [2022-07-21T14:07:31.344Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2022-07-21T14:07:31.344Z] ---> 644b862623f3 [2022-07-21T14:07:31.344Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2022-07-21T14:07:31.606Z] ---> 35ae756eef4f [2022-07-21T14:07:31.606Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2022-07-21T14:07:31.606Z] ---> e924a9227409 [2022-07-21T14:07:31.606Z] Step 13/17 : WORKDIR /edgex-c-sdk [2022-07-21T14:07:31.606Z] ---> Running in 7dc2ea944294 [2022-07-21T14:07:31.867Z] Removing intermediate container 7dc2ea944294 [2022-07-21T14:07:31.867Z] ---> 6420a795393a [2022-07-21T14:07:31.867Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2022-07-21T14:07:31.867Z] ---> Running in ac4feb168bb5 [2022-07-21T14:07:31.867Z] Removing intermediate container ac4feb168bb5 [2022-07-21T14:07:31.867Z] ---> 9f59c7212907 [2022-07-21T14:07:31.867Z] Step 15/17 : LABEL arch=amd64 [2022-07-21T14:07:31.867Z] ---> Running in e725318cd5b5 [2022-07-21T14:07:32.128Z] Removing intermediate container e725318cd5b5 [2022-07-21T14:07:32.128Z] ---> 70f749c147e1 [2022-07-21T14:07:32.128Z] Step 16/17 : LABEL git_sha=3a5d1ddb97f8ecfbc0e929fe8f447054e328cf6b [2022-07-21T14:07:32.128Z] ---> Running in d824de19827a [2022-07-21T14:07:32.128Z] Removing intermediate container d824de19827a [2022-07-21T14:07:32.128Z] ---> 1fa1f81554af [2022-07-21T14:07:32.128Z] Step 17/17 : LABEL version=0.0.0 [2022-07-21T14:07:32.128Z] ---> Running in dec8e408e110 [2022-07-21T14:07:32.388Z] Removing intermediate container dec8e408e110 [2022-07-21T14:07:32.388Z] ---> 9381452e9016 [2022-07-21T14:07:32.388Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2022-07-21T14:07:32.388Z] Successfully built 9381452e9016 [2022-07-21T14:07:32.388Z] 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-07-21T14:07:32.805Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-21T14:07:32.805Z] [2022-07-21T14:07:32.805Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T14:07:33.111Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-21T14:07:33.111Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-21T14:07:33.111Z] 5eb5b503b376: Pulling fs layer [2022-07-21T14:07:33.111Z] 5c69ac0246d0: Pulling fs layer [2022-07-21T14:07:33.111Z] ec43610c2a17: Pulling fs layer [2022-07-21T14:07:33.111Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-21T14:07:33.111Z] 33b1e0a273af: Pulling fs layer [2022-07-21T14:07:33.111Z] 5d3b04190fa2: Pulling fs layer [2022-07-21T14:07:33.111Z] 2f39f015ded8: Pulling fs layer [2022-07-21T14:07:33.111Z] 2f39f015ded8: Waiting [2022-07-21T14:07:33.111Z] 5d3b04190fa2: Waiting [2022-07-21T14:07:33.111Z] 3a2ae6a8a46f: Waiting [2022-07-21T14:07:33.111Z] 33b1e0a273af: Waiting [2022-07-21T14:07:33.111Z] 5c69ac0246d0: Verifying Checksum [2022-07-21T14:07:33.111Z] 5c69ac0246d0: Download complete [2022-07-21T14:07:33.111Z] 3a2ae6a8a46f: Download complete [2022-07-21T14:07:33.371Z] 33b1e0a273af: Verifying Checksum [2022-07-21T14:07:33.371Z] 33b1e0a273af: Download complete [2022-07-21T14:07:33.371Z] ec43610c2a17: Download complete [2022-07-21T14:07:33.371Z] 5d3b04190fa2: Verifying Checksum [2022-07-21T14:07:33.371Z] 5d3b04190fa2: Download complete [2022-07-21T14:07:33.371Z] 5eb5b503b376: Verifying Checksum [2022-07-21T14:07:33.371Z] 5eb5b503b376: Download complete [2022-07-21T14:07:33.941Z] 2f39f015ded8: Verifying Checksum [2022-07-21T14:07:33.941Z] 2f39f015ded8: Download complete [2022-07-21T14:07:34.881Z] 5eb5b503b376: Pull complete [2022-07-21T14:07:34.881Z] 5c69ac0246d0: Pull complete [2022-07-21T14:07:35.451Z] ec43610c2a17: Pull complete [2022-07-21T14:07:35.451Z] 3a2ae6a8a46f: Pull complete [2022-07-21T14:07:35.712Z] 33b1e0a273af: Pull complete [2022-07-21T14:07:35.712Z] 5d3b04190fa2: Pull complete [2022-07-21T14:07:40.990Z] 2f39f015ded8: Pull complete [2022-07-21T14:07:40.990Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-21T14:07:40.990Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-21T14:07:40.991Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-21T14:07:41.080Z] prd-ubuntu20.04-docker-8c-8g-20677 does not seem to be running inside a container [2022-07-21T14:07:41.122Z] $ 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-427 -v /w/workspace/edgexfoundry_device-sdk-c_PR-427:/w/workspace/edgexfoundry_device-sdk-c_PR-427:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-427@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-427@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-07-21T14:07:42.913Z] $ docker top f67a01869bdf9b7c0803c30c76b1e36b2c130715c11d8db6bf459c206d5ededf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-21T14:07:43.315Z] ---> job-cost.sh [2022-07-21T14:07:43.315Z] lf-activate-venv: SKIPPING [2022-07-21T14:07:43.315Z] INFO: No Stack... [2022-07-21T14:07:43.576Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-21T14:07:44.148Z] INFO: Archiving Costs [Pipeline] sh [2022-07-21T14:07:44.442Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-427/archives/cost.csv [2022-07-21T14:07:44.442Z] + cut -d, -f6 [Pipeline] lock [2022-07-21T14:07:44.458Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-427-2-stack-cost] [2022-07-21T14:07:44.467Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-427-2-stack-cost] did not exist. Created. [2022-07-21T14:07:44.467Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-427-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-21T14:07:44.777Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-21T14:07:44.814Z] Stashed 1 file(s) [Pipeline] } [2022-07-21T14:07:44.821Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-427-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-21T14:07:44.846Z] $ docker stop --time=1 f67a01869bdf9b7c0803c30c76b1e36b2c130715c11d8db6bf459c206d5ededf [2022-07-21T14:07:46.024Z] $ docker rm -f f67a01869bdf9b7c0803c30c76b1e36b2c130715c11d8db6bf459c206d5ededf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-21T14:08:37.438Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20678 in /w/workspace/edgexfoundry_device-sdk-c_PR-427 [Pipeline] { [Pipeline] ws [2022-07-21T14:08:37.449Z] Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout [2022-07-21T14:08:37.490Z] Selected Git installation does not exist. Using Default [2022-07-21T14:08:37.490Z] The recommended git tool is: NONE [2022-07-21T14:08:44.376Z] using credential edgex-jenkins-ssh [2022-07-21T14:08:44.394Z] Cloning the remote Git repository [2022-07-21T14:08:44.460Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2022-07-21T14:08:44.543Z] > git init /w/workspace/device-sdk-c/2 # timeout=10 [2022-07-21T14:08:44.617Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2022-07-21T14:08:44.617Z] > git --version # timeout=10 [2022-07-21T14:08:44.633Z] > git --version # 'git version 2.25.1' [2022-07-21T14:08:44.635Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-21T14:08:44.793Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-21T14:08:46.480Z] Merging remotes/origin/main commit 3414d0279792f3e48f3ae73a80499089b78126ca into PR head commit 3a5d1ddb97f8ecfbc0e929fe8f447054e328cf6b [2022-07-21T14:08:46.753Z] Merge succeeded, producing 3a5d1ddb97f8ecfbc0e929fe8f447054e328cf6b [2022-07-21T14:08:46.753Z] Checking out Revision 3a5d1ddb97f8ecfbc0e929fe8f447054e328cf6b (PR-427) [2022-07-21T14:08:45.834Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2022-07-21T14:08:45.854Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-21T14:08:45.880Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2022-07-21T14:08:45.925Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2022-07-21T14:08:45.926Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-21T14:08:45.942Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/427/head:refs/remotes/origin/PR-427 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-21T14:08:46.505Z] > git config core.sparsecheckout # timeout=10 [2022-07-21T14:08:46.526Z] > git checkout -f 3a5d1ddb97f8ecfbc0e929fe8f447054e328cf6b # timeout=10 [2022-07-21T14:08:46.655Z] > git remote # timeout=10 [2022-07-21T14:08:46.672Z] > git config --get remote.origin.url # timeout=10 [2022-07-21T14:08:46.700Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-21T14:08:46.713Z] > git merge 3414d0279792f3e48f3ae73a80499089b78126ca # timeout=10 [2022-07-21T14:08:46.741Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-21T14:08:46.765Z] > git config core.sparsecheckout # timeout=10 [2022-07-21T14:08:46.783Z] > git checkout -f 3a5d1ddb97f8ecfbc0e929fe8f447054e328cf6b # timeout=10 [2022-07-21T14:08:50.927Z] Commit message: "feat: renew vault tokens before they expire" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-21T14:08:51.835Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-21T14:08:51.835Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-21T14:08:51.835Z] Dload Upload Total Spent Left Speed [2022-07-21T14:08:51.835Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 73844 0 --:--:-- --:--:-- --:--:-- 74289 [Pipeline] sh [2022-07-21T14:08:52.605Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-21T14:08:52.946Z] + sudo tee /etc/docker/daemon.new [2022-07-21T14:08:52.946Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-21T14:08:52.946Z] { [2022-07-21T14:08:52.946Z] "registry-mirrors": [ [2022-07-21T14:08:52.946Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-21T14:08:52.946Z] ], [2022-07-21T14:08:52.946Z] "bip": "10.250.0.254/24", [2022-07-21T14:08:52.946Z] "hosts": [ [2022-07-21T14:08:52.946Z] "tcp://0.0.0.0:5555", [2022-07-21T14:08:52.946Z] "unix:///var/run/docker.sock" [2022-07-21T14:08:52.946Z] ], [2022-07-21T14:08:52.946Z] "mtu": 1458, [2022-07-21T14:08:52.946Z] "selinux-enabled": true, [2022-07-21T14:08:52.946Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-21T14:08:52.946Z] } [Pipeline] sh [2022-07-21T14:08:53.297Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-21T14:08:53.634Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-21T14:09:11.976Z] provisioning config files... [2022-07-21T14:09:11.999Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config1898963063979966051tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-21T14:09:12.360Z] ---> docker-login.sh [2022-07-21T14:09:12.360Z] nexus3.edgexfoundry.org:10001 [2022-07-21T14:09:12.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T14:09:13.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T14:09:13.234Z] Configure a credential helper to remove this warning. See [2022-07-21T14:09:13.234Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T14:09:13.234Z] [2022-07-21T14:09:13.234Z] Login Succeeded [2022-07-21T14:09:13.234Z] nexus3.edgexfoundry.org:10002 [2022-07-21T14:09:13.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T14:09:13.785Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T14:09:13.785Z] Configure a credential helper to remove this warning. See [2022-07-21T14:09:13.785Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T14:09:13.785Z] [2022-07-21T14:09:13.785Z] Login Succeeded [2022-07-21T14:09:13.785Z] nexus3.edgexfoundry.org:10003 [2022-07-21T14:09:14.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T14:09:14.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T14:09:14.340Z] Configure a credential helper to remove this warning. See [2022-07-21T14:09:14.340Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T14:09:14.340Z] [2022-07-21T14:09:14.340Z] Login Succeeded [2022-07-21T14:09:14.340Z] nexus3.edgexfoundry.org:10004 [2022-07-21T14:09:14.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T14:09:14.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T14:09:14.619Z] Configure a credential helper to remove this warning. See [2022-07-21T14:09:14.619Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T14:09:14.619Z] [2022-07-21T14:09:14.619Z] Login Succeeded [2022-07-21T14:09:14.619Z] docker.io [2022-07-21T14:09:14.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-21T14:09:15.489Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-21T14:09:15.489Z] Configure a credential helper to remove this warning. See [2022-07-21T14:09:15.489Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-21T14:09:15.489Z] [2022-07-21T14:09:15.489Z] Login Succeeded [2022-07-21T14:09:15.489Z] ---> docker-login.sh ends [Pipeline] } [2022-07-21T14:09:15.508Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-21T14:09:16.087Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-21T14:09:16.097Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2022-07-21T14:09:16.109Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-21T14:09:16.118Z] ========================================================= [2022-07-21T14:09:16.118Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2022-07-21T14:09:16.118Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T14:09:16.472Z] + 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-07-21T14:09:16.745Z] Sending build context to Docker daemon 2.821MB [2022-07-21T14:09:17.021Z] Step 1/22 : ARG BASE=alpine:3.15 [2022-07-21T14:09:17.021Z] Step 2/22 : FROM ${BASE} as builder [2022-07-21T14:09:17.021Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2022-07-21T14:09:17.021Z] 9981e73032c8: Pulling fs layer [2022-07-21T14:09:17.021Z] 735ca4d71f2f: Pulling fs layer [2022-07-21T14:09:17.306Z] 9981e73032c8: Download complete [2022-07-21T14:09:17.908Z] 9981e73032c8: Pull complete [2022-07-21T14:09:19.348Z] 735ca4d71f2f: Download complete [2022-07-21T14:09:27.641Z] 735ca4d71f2f: Pull complete [2022-07-21T14:09:27.641Z] Digest: sha256:64a8cfb6b63eb8334e03faf33c26f2878668258f25af41e1fb2a2cad40f91f89 [2022-07-21T14:09:27.914Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2022-07-21T14:09:27.914Z] ---> aede2dddcadd [2022-07-21T14:09:27.914Z] 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-07-21T14:09:28.519Z] ---> Running in 6c03e54c297c [2022-07-21T14:09:29.954Z] Connecting to iotech.jfrog.io (52.17.55.65:443) [2022-07-21T14:09:30.229Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-07-21T14:09:30.229Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-07-21T14:09:30.229Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-07-21T14:09:30.833Z] Removing intermediate container 6c03e54c297c [2022-07-21T14:09:30.833Z] ---> bc800f539c38 [2022-07-21T14:09:30.833Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-07-21T14:09:30.833Z] ---> Running in c0504f11e973 [2022-07-21T14:09:32.834Z] Removing intermediate container c0504f11e973 [2022-07-21T14:09:32.834Z] ---> 0ea487ad416b [2022-07-21T14:09:32.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-07-21T14:09:32.834Z] ---> Running in 6bd2d3872e6a [2022-07-21T14:09:33.827Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-21T14:09:33.827Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-21T14:09:34.428Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-21T14:09:35.025Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-07-21T14:09:35.025Z] (1/33) Upgrading ncurses-terminfo-base (6.3_p20211120-r0 -> 6.3_p20211120-r1) [2022-07-21T14:09:35.025Z] (2/33) Upgrading ncurses-libs (6.3_p20211120-r0 -> 6.3_p20211120-r1) [2022-07-21T14:09:35.025Z] (3/33) Installing hiredis (1.0.2-r0) [2022-07-21T14:09:35.025Z] (4/33) Installing hiredis-dev (1.0.2-r0) [2022-07-21T14:09:35.025Z] (5/33) Installing libcbor (0.8.0-r0) [2022-07-21T14:09:35.025Z] (6/33) Installing libcbor-dev (0.8.0-r0) [2022-07-21T14:09:35.025Z] (7/33) Installing ncurses-dev (6.3_p20211120-r1) [2022-07-21T14:09:35.025Z] (8/33) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) [2022-07-21T14:09:35.999Z] (9/33) Installing util-linux (2.37.4-r0) [2022-07-21T14:09:35.999Z] (10/33) Installing libblkid (2.37.4-r0) [2022-07-21T14:09:35.999Z] (11/33) Installing libeconf (0.4.2-r0) [2022-07-21T14:09:35.999Z] (12/33) Installing libuuid (2.37.4-r0) [2022-07-21T14:09:35.999Z] (13/33) Installing libfdisk (2.37.4-r0) [2022-07-21T14:09:35.999Z] (14/33) Installing libmount (2.37.4-r0) [2022-07-21T14:09:35.999Z] (15/33) Installing libsmartcols (2.37.4-r0) [2022-07-21T14:09:35.999Z] (16/33) Installing util-linux-misc (2.37.4-r0) [2022-07-21T14:09:35.999Z] (17/33) Installing linux-pam (1.5.2-r0) [2022-07-21T14:09:36.276Z] (18/33) Installing runuser (2.37.4-r0) [2022-07-21T14:09:36.276Z] (19/33) Installing hexdump (2.37.4-r0) [2022-07-21T14:09:36.276Z] (20/33) Installing uuidgen (2.37.4-r0) [2022-07-21T14:09:36.276Z] (21/33) Installing blkid (2.37.4-r0) [2022-07-21T14:09:36.276Z] (22/33) Installing sfdisk (2.37.4-r0) [2022-07-21T14:09:36.276Z] (23/33) Installing mcookie (2.37.4-r0) [2022-07-21T14:09:36.276Z] (24/33) Installing wipefs (2.37.4-r0) [2022-07-21T14:09:36.276Z] (25/33) Installing cfdisk (2.37.4-r0) [2022-07-21T14:09:36.276Z] (26/33) Installing flock (2.37.4-r0) [2022-07-21T14:09:36.276Z] (27/33) Installing lsblk (2.37.4-r0) [2022-07-21T14:09:36.276Z] (28/33) Installing libcap-ng (0.8.2-r1) [2022-07-21T14:09:36.276Z] (29/33) Installing setpriv (2.37.4-r0) [2022-07-21T14:09:36.276Z] (30/33) Installing logger (2.37.4-r0) [2022-07-21T14:09:36.276Z] (31/33) Installing partx (2.37.4-r0) [2022-07-21T14:09:36.276Z] (32/33) Installing findmnt (2.37.4-r0) [2022-07-21T14:09:36.276Z] (33/33) Installing util-linux-dev (2.37.4-r0) [2022-07-21T14:09:36.276Z] Executing busybox-1.34.1-r5.trigger [2022-07-21T14:09:36.276Z] OK: 290 MiB in 108 packages [2022-07-21T14:09:37.736Z] Removing intermediate container 6bd2d3872e6a [2022-07-21T14:09:37.736Z] ---> 0e9c6736d256 [2022-07-21T14:09:37.736Z] Step 6/22 : RUN mkdir /tmp/sdk [2022-07-21T14:09:38.012Z] ---> Running in 94d0bfbf42e9 [2022-07-21T14:09:39.458Z] Removing intermediate container 94d0bfbf42e9 [2022-07-21T14:09:39.458Z] ---> 42b6660a42b4 [2022-07-21T14:09:39.458Z] Step 7/22 : COPY VERSION /tmp/sdk [2022-07-21T14:09:40.058Z] ---> 2425e85ed4bf [2022-07-21T14:09:40.058Z] Step 8/22 : COPY src /tmp/sdk/src [2022-07-21T14:09:41.047Z] ---> 3111111a3033 [2022-07-21T14:09:41.047Z] Step 9/22 : COPY include /tmp/sdk/include [2022-07-21T14:09:41.321Z] ---> 5958f2b1c865 [2022-07-21T14:09:41.321Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2022-07-21T14:09:41.916Z] ---> 60d6f6d7157a [2022-07-21T14:09:41.916Z] Step 11/22 : COPY LICENSE /tmp/sdk [2022-07-21T14:09:42.515Z] ---> 99dc39e11ec0 [2022-07-21T14:09:42.515Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2022-07-21T14:09:43.115Z] ---> 62c275d4a099 [2022-07-21T14:09:43.115Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2022-07-21T14:09:43.115Z] ---> Running in 8c6bbb426743 [2022-07-21T14:09:44.105Z] + CPPCHECK=false [2022-07-21T14:09:44.105Z] + DOCGEN=false [2022-07-21T14:09:44.105Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2022-07-21T14:09:44.105Z] + TOMLVER=SDK-0.2 [2022-07-21T14:09:44.105Z] + CUTILVER=1.2.2 [2022-07-21T14:09:44.105Z] + '[' 0 -gt 0 ] [2022-07-21T14:09:44.105Z] + readlink -f ./scripts/build.sh [2022-07-21T14:09:44.105Z] + dirname /tmp/sdk/scripts/build.sh [2022-07-21T14:09:44.105Z] + dirname /tmp/sdk/scripts [2022-07-21T14:09:44.105Z] + ROOT=/tmp/sdk [2022-07-21T14:09:44.105Z] + cd /tmp/sdk [2022-07-21T14:09:44.105Z] + '[' '!' -d deps ] [2022-07-21T14:09:44.105Z] + mkdir deps [2022-07-21T14:09:44.105Z] + wget -O+ tar -C deps -z -x -f - [2022-07-21T14:09:44.105Z]  - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-07-21T14:09:44.105Z] Connecting to github.com (140.82.114.3:443) [2022-07-21T14:09:44.380Z] Connecting to codeload.github.com (140.82.113.10:443) [2022-07-21T14:09:44.653Z] writing to stdout [2022-07-21T14:09:44.653Z] - 100% |********************************| 16451 0:00:00 ETA [2022-07-21T14:09:44.653Z] written to stdout [2022-07-21T14:09:44.653Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2022-07-21T14:09:44.653Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2022-07-21T14:09:44.653Z] + tar -C deps -z -x -f - [2022-07-21T14:09:44.653Z] Connecting to github.com (140.82.114.3:443) [2022-07-21T14:09:44.935Z] Connecting to codeload.github.com (140.82.113.10:443) [2022-07-21T14:09:44.935Z] writing to stdout [2022-07-21T14:09:45.211Z] - 100% |********************************| 189k 0:00:00 ETA [2022-07-21T14:09:45.211Z] written to stdout [2022-07-21T14:09:45.211Z] + mkdir -p src/c/iot [2022-07-21T14:09:45.211Z] + 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-07-21T14:09:45.211Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2022-07-21T14:09:45.211Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2022-07-21T14:09:45.211Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2022-07-21T14:09:45.211Z] + mkdir -p include/iot [2022-07-21T14:09:45.211Z] + 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-07-21T14:09:45.211Z] + mkdir -p include/iot/os [2022-07-21T14:09:45.211Z] + 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-07-21T14:09:45.211Z] + mkdir -p /tmp/sdk/build/release [2022-07-21T14:09:45.211Z] + cd /tmp/sdk/build/release [2022-07-21T14:09:45.211Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2022-07-21T14:09:45.815Z] -- The C compiler identification is GNU 10.3.1 [2022-07-21T14:09:45.815Z] -- Detecting C compiler ABI info [2022-07-21T14:09:46.092Z] -- Detecting C compiler ABI info - done [2022-07-21T14:09:46.092Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-07-21T14:09:46.092Z] -- Detecting C compile features [2022-07-21T14:09:46.092Z] -- Detecting C compile features - done [2022-07-21T14:09:46.092Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-07-21T14:09:46.377Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-07-21T14:09:46.377Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-07-21T14:09:46.377Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-07-21T14:09:46.377Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-07-21T14:09:46.377Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-07-21T14:09:46.377Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-07-21T14:09:46.377Z] -- C SDK 0.0.0 for Linux [2022-07-21T14:09:46.377Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-07-21T14:09:46.653Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-07-21T14:09:46.931Z] -- Found Curses: /usr/lib/libcurses.so [2022-07-21T14:09:46.931Z] -- Configuring done [2022-07-21T14:09:47.208Z] -- Generating done [2022-07-21T14:09:47.208Z] -- Build files have been written to: /tmp/sdk/build/release [2022-07-21T14:09:47.485Z] + make all package [2022-07-21T14:09:47.485Z] + tee release.log [2022-07-21T14:09:47.485Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-07-21T14:09:48.084Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-07-21T14:09:49.076Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-07-21T14:09:51.697Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-07-21T14:09:52.301Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-07-21T14:09:52.575Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-07-21T14:09:53.551Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-07-21T14:09:54.155Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-07-21T14:09:54.428Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-07-21T14:09:55.858Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-07-21T14:09:57.825Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-07-21T14:09:58.418Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-07-21T14:09:59.389Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-07-21T14:10:00.365Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-07-21T14:10:00.637Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-07-21T14:10:00.908Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-07-21T14:10:01.182Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-07-21T14:10:04.571Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-07-21T14:10:04.571Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-07-21T14:10:05.163Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-07-21T14:10:05.432Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-07-21T14:10:06.417Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-07-21T14:10:06.417Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-07-21T14:10:06.417Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-07-21T14:10:06.417Z] 275 | const iot_component_factory_t * factory; [2022-07-21T14:10:06.417Z] | ^~~~~~~ [2022-07-21T14:10:07.015Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-07-21T14:10:12.418Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-07-21T14:10:12.418Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-07-21T14:10:12.418Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-07-21T14:10:13.398Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-07-21T14:10:13.997Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-07-21T14:10:13.997Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-07-21T14:10:15.432Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-07-21T14:10:15.706Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-07-21T14:10:16.689Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-07-21T14:10:16.963Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-07-21T14:10:17.561Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-07-21T14:10:20.180Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-07-21T14:10:20.452Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-07-21T14:10:21.435Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-07-21T14:10:22.033Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-07-21T14:10:27.422Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-07-21T14:10:27.422Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-07-21T14:10:27.693Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-07-21T14:10:28.287Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-07-21T14:10:29.709Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-07-21T14:10:32.322Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-07-21T14:10:32.322Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-07-21T14:10:32.915Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-07-21T14:10:33.507Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-07-21T14:10:36.119Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-07-21T14:10:40.406Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-07-21T14:10:40.999Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2022-07-21T14:10:41.271Z] [ 75%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-07-21T14:10:41.862Z] [ 76%] Linking C shared library libcsdk.so [2022-07-21T14:10:42.134Z] [ 76%] Built target csdk [2022-07-21T14:10:42.134Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-07-21T14:10:43.102Z] [ 79%] Linking C executable template [2022-07-21T14:10:43.373Z] [ 79%] Built target template [2022-07-21T14:10:43.373Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-07-21T14:10:43.966Z] [ 82%] Linking C executable device-counter [2022-07-21T14:10:44.238Z] [ 82%] Built target device-counter [2022-07-21T14:10:44.238Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-07-21T14:10:44.828Z] [ 85%] Linking C executable device-random [2022-07-21T14:10:45.099Z] [ 85%] Built target device-random [2022-07-21T14:10:45.099Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-07-21T14:10:45.369Z] [ 88%] Linking C executable device-gyro [2022-07-21T14:10:45.640Z] [ 88%] Built target device-gyro [2022-07-21T14:10:45.910Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-07-21T14:10:46.503Z] [ 91%] Linking C executable device-bitfields [2022-07-21T14:10:46.503Z] [ 91%] Built target device-bitfields [2022-07-21T14:10:46.773Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-07-21T14:10:47.368Z] [ 94%] Linking C executable template-discovery [2022-07-21T14:10:47.640Z] [ 94%] Built target template-discovery [2022-07-21T14:10:47.912Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-07-21T14:10:48.506Z] [ 97%] Linking C executable device-file [2022-07-21T14:10:48.777Z] [ 97%] Built target device-file [2022-07-21T14:10:48.777Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-07-21T14:10:49.366Z] [100%] Linking C executable device-terminal [2022-07-21T14:10:49.639Z] [100%] Built target device-terminal [2022-07-21T14:10:49.917Z] Run CPack packaging tool... [2022-07-21T14:10:49.917Z] CPack: Create package using TGZ [2022-07-21T14:10:49.917Z] CPack: Install projects [2022-07-21T14:10:49.917Z] CPack: - Run preinstall target for: Csdk [2022-07-21T14:10:50.506Z] CPack: - Install project: Csdk [] [2022-07-21T14:10:50.778Z] CPack: Create package [2022-07-21T14:10:50.778Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2022-07-21T14:10:50.778Z] + '[' false '=' true ] [2022-07-21T14:10:50.778Z] + '[' false '=' true ] [2022-07-21T14:10:50.778Z] + mkdir -p /tmp/sdk/build/debug [2022-07-21T14:10:50.778Z] + cd /tmp/sdk/build/debug [2022-07-21T14:10:50.778Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2022-07-21T14:10:51.047Z] -- The C compiler identification is GNU 10.3.1 [2022-07-21T14:10:51.047Z] -- Detecting C compiler ABI info [2022-07-21T14:10:51.317Z] -- Detecting C compiler ABI info - done [2022-07-21T14:10:51.588Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-07-21T14:10:51.588Z] -- Detecting C compile features [2022-07-21T14:10:51.588Z] -- Detecting C compile features - done [2022-07-21T14:10:51.588Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-07-21T14:10:51.588Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-07-21T14:10:51.588Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-07-21T14:10:51.588Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-07-21T14:10:51.588Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-07-21T14:10:51.859Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-07-21T14:10:51.859Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-07-21T14:10:51.859Z] -- C SDK 0.0.0 for Linux [2022-07-21T14:10:51.859Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-07-21T14:10:52.129Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-07-21T14:10:52.129Z] -- Found Curses: /usr/lib/libcurses.so [2022-07-21T14:10:52.399Z] -- Configuring done [2022-07-21T14:10:52.669Z] -- Generating done [2022-07-21T14:10:52.669Z] -- Build files have been written to: /tmp/sdk/build/debug [2022-07-21T14:10:52.669Z] + make [2022-07-21T14:10:52.669Z] + tee debug.log [2022-07-21T14:10:52.669Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-07-21T14:10:52.940Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-07-21T14:10:53.533Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-07-21T14:10:54.123Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-07-21T14:10:54.715Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-07-21T14:10:54.715Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-07-21T14:10:55.305Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-07-21T14:10:55.582Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-07-21T14:10:55.582Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-07-21T14:10:56.190Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-07-21T14:10:56.786Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-07-21T14:10:57.060Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-07-21T14:10:57.655Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-07-21T14:10:57.927Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-07-21T14:10:58.208Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-07-21T14:10:58.479Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-07-21T14:10:58.755Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-07-21T14:10:59.735Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-07-21T14:10:59.735Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-07-21T14:11:00.005Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-07-21T14:11:00.275Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-07-21T14:11:00.546Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-07-21T14:11:00.819Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-07-21T14:11:00.819Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-07-21T14:11:00.819Z] 275 | const iot_component_factory_t * factory; [2022-07-21T14:11:00.819Z] | ^~~~~~~ [2022-07-21T14:11:00.819Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-07-21T14:11:02.252Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-07-21T14:11:02.252Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-07-21T14:11:02.541Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-07-21T14:11:02.813Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-07-21T14:11:03.084Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-07-21T14:11:03.355Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-07-21T14:11:03.628Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-07-21T14:11:03.899Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-07-21T14:11:04.173Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-07-21T14:11:04.446Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-07-21T14:11:04.718Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-07-21T14:11:05.314Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-07-21T14:11:05.314Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-07-21T14:11:05.911Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-07-21T14:11:06.184Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-07-21T14:11:07.606Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-07-21T14:11:07.876Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-07-21T14:11:08.147Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-07-21T14:11:08.417Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-07-21T14:11:09.014Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-07-21T14:11:10.456Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-07-21T14:11:10.728Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-07-21T14:11:11.000Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-07-21T14:11:11.271Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-07-21T14:11:12.244Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-07-21T14:11:13.222Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-07-21T14:11:13.222Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2022-07-21T14:11:13.496Z] [ 75%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-07-21T14:11:13.769Z] [ 76%] Linking C shared library libcsdk.so [2022-07-21T14:11:14.044Z] [ 76%] Built target csdk [2022-07-21T14:11:14.317Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-07-21T14:11:14.592Z] [ 79%] Linking C executable template [2022-07-21T14:11:14.867Z] [ 79%] Built target template [2022-07-21T14:11:14.867Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-07-21T14:11:15.141Z] [ 82%] Linking C executable device-counter [2022-07-21T14:11:15.415Z] [ 82%] Built target device-counter [2022-07-21T14:11:15.415Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-07-21T14:11:15.690Z] [ 85%] Linking C executable device-random [2022-07-21T14:11:15.964Z] [ 85%] Built target device-random [2022-07-21T14:11:15.964Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-07-21T14:11:16.239Z] [ 88%] Linking C executable device-gyro [2022-07-21T14:11:16.514Z] [ 88%] Built target device-gyro [2022-07-21T14:11:16.788Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-07-21T14:11:17.062Z] [ 91%] Linking C executable device-bitfields [2022-07-21T14:11:17.334Z] [ 91%] Built target device-bitfields [2022-07-21T14:11:17.334Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-07-21T14:11:17.607Z] [ 94%] Linking C executable template-discovery [2022-07-21T14:11:17.884Z] [ 94%] Built target template-discovery [2022-07-21T14:11:17.884Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-07-21T14:11:18.161Z] [ 97%] Linking C executable device-file [2022-07-21T14:11:18.439Z] [ 97%] Built target device-file [2022-07-21T14:11:18.712Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-07-21T14:11:18.987Z] [100%] Linking C executable device-terminal [2022-07-21T14:11:19.263Z] [100%] Built target device-terminal [2022-07-21T14:11:19.263Z] make: Entering directory '/tmp/sdk/build/release' [2022-07-21T14:11:19.263Z] make[1]: Entering directory '/tmp/sdk/build/release' [2022-07-21T14:11:19.263Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-21T14:11:19.538Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-21T14:11:19.538Z] [ 76%] Built target csdk [2022-07-21T14:11:19.538Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-21T14:11:19.538Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-21T14:11:19.538Z] [ 79%] Built target template [2022-07-21T14:11:19.538Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-21T14:11:19.538Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-21T14:11:19.538Z] [ 82%] Built target device-counter [2022-07-21T14:11:19.538Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-21T14:11:19.538Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-21T14:11:19.538Z] [ 85%] Built target device-random [2022-07-21T14:11:19.538Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-21T14:11:19.538Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-21T14:11:19.814Z] [ 88%] Built target device-gyro [2022-07-21T14:11:19.814Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-21T14:11:19.814Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-21T14:11:19.814Z] [ 91%] Built target device-bitfields [2022-07-21T14:11:19.814Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-21T14:11:19.814Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-21T14:11:19.814Z] [ 94%] Built target template-discovery [2022-07-21T14:11:19.814Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-21T14:11:19.814Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-21T14:11:19.814Z] [ 97%] Built target device-file [2022-07-21T14:11:19.814Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-21T14:11:19.814Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-21T14:11:19.814Z] [100%] Built target device-terminal [2022-07-21T14:11:19.814Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2022-07-21T14:11:19.814Z] Install the project... [2022-07-21T14:11:20.092Z] -- Install configuration: "Release" [2022-07-21T14:11:20.092Z] -- Installing: /usr/local/lib/libcsdk.so [2022-07-21T14:11:20.092Z] -- Installing: /usr/local/include [2022-07-21T14:11:20.092Z] -- Installing: /usr/local/include/devsdk [2022-07-21T14:11:20.092Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2022-07-21T14:11:20.092Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2022-07-21T14:11:20.092Z] -- Installing: /usr/local/include/edgex [2022-07-21T14:11:20.092Z] -- Installing: /usr/local/include/edgex/rest-server.h [2022-07-21T14:11:20.092Z] -- Installing: /usr/local/include/edgex/edgex.h [2022-07-21T14:11:20.092Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2022-07-21T14:11:20.092Z] -- Installing: /usr/local/include/edgex/devices.h [2022-07-21T14:11:20.092Z] -- Installing: /usr/local/include/edgex/profiles.h [2022-07-21T14:11:20.092Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2022-07-21T14:11:20.092Z] -- Installing: /usr/local/include/iot [2022-07-21T14:11:20.092Z] -- Installing: /usr/local/include/iot/threadpool.h [2022-07-21T14:11:20.092Z] -- Installing: /usr/local/include/iot/defs.h [2022-07-21T14:11:20.092Z] -- Installing: /usr/local/include/iot/time.h [2022-07-21T14:11:20.092Z] -- Installing: /usr/local/include/iot/base64.h [2022-07-21T14:11:20.092Z] -- Installing: /usr/local/include/iot/component.h [2022-07-21T14:11:20.092Z] -- Installing: /usr/local/include/iot/scheduler.h [2022-07-21T14:11:20.092Z] -- Installing: /usr/local/include/iot/config.h [2022-07-21T14:11:20.092Z] -- Installing: /usr/local/include/iot/container.h [2022-07-21T14:11:20.092Z] -- Installing: /usr/local/include/iot/uuid.h [2022-07-21T14:11:20.092Z] -- Installing: /usr/local/include/iot/os.h [2022-07-21T14:11:20.092Z] -- Installing: /usr/local/include/iot/thread.h [2022-07-21T14:11:20.092Z] -- Installing: /usr/local/include/iot/data.h [2022-07-21T14:11:20.092Z] -- Installing: /usr/local/include/iot/typecode.h [2022-07-21T14:11:20.092Z] -- Installing: /usr/local/include/iot/hash.h [2022-07-21T14:11:20.092Z] -- Installing: /usr/local/include/iot/logger.h [2022-07-21T14:11:20.092Z] -- Installing: /usr/local/include/iot/os [2022-07-21T14:11:20.092Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2022-07-21T14:11:20.092Z] -- Installing: /usr/local/include/iot/os/macos.h [2022-07-21T14:11:20.092Z] -- Installing: /usr/local/include/iot/os/linux.h [2022-07-21T14:11:20.092Z] -- Installing: /usr/local/include/iot/json.h [2022-07-21T14:11:20.092Z] -- Installing: /usr/local/include/iot/iot.h [2022-07-21T14:11:20.092Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2022-07-21T14:11:20.092Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2022-07-21T14:11:20.092Z] make: Leaving directory '/tmp/sdk/build/release' [2022-07-21T14:11:22.077Z] Removing intermediate container 8c6bbb426743 [2022-07-21T14:11:22.077Z] ---> 30c290eb4978 [2022-07-21T14:11:22.077Z] Step 14/22 : FROM ${BASE} [2022-07-21T14:11:22.077Z] ---> aede2dddcadd [2022-07-21T14:11:22.077Z] Step 15/22 : LABEL maintainer="IOTech " [2022-07-21T14:11:22.077Z] ---> Running in 0718da2e80eb [2022-07-21T14:11:22.077Z] Removing intermediate container 0718da2e80eb [2022-07-21T14:11:22.077Z] ---> 11ae8ce8bc72 [2022-07-21T14:11:22.077Z] 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-07-21T14:11:22.077Z] ---> Running in fd304de8037e [2022-07-21T14:11:23.061Z] Connecting to iotech.jfrog.io (52.209.16.248:443) [2022-07-21T14:11:23.663Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-07-21T14:11:23.663Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-07-21T14:11:23.663Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-07-21T14:11:24.264Z] Removing intermediate container fd304de8037e [2022-07-21T14:11:24.264Z] ---> 656f7376d02c [2022-07-21T14:11:24.264Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-07-21T14:11:24.264Z] ---> Running in df298e1e6067 [2022-07-21T14:11:26.244Z] Removing intermediate container df298e1e6067 [2022-07-21T14:11:26.244Z] ---> 25804923f20b [2022-07-21T14:11:26.244Z] 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-07-21T14:11:26.244Z] ---> Running in ff457906d43c [2022-07-21T14:11:26.842Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-21T14:11:27.117Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-21T14:11:27.393Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-21T14:11:28.368Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-07-21T14:11:28.368Z] (1/6) Installing curl (7.80.0-r2) [2022-07-21T14:11:28.368Z] (2/6) Installing hiredis (1.0.2-r0) [2022-07-21T14:11:28.368Z] (3/6) Installing hiredis-dev (1.0.2-r0) [2022-07-21T14:11:28.368Z] (4/6) Installing libcbor (0.8.0-r0) [2022-07-21T14:11:28.368Z] (5/6) Installing libuuid (2.37.4-r0) [2022-07-21T14:11:28.368Z] (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) [2022-07-21T14:11:29.343Z] Executing busybox-1.34.1-r5.trigger [2022-07-21T14:11:29.343Z] OK: 278 MiB in 83 packages [2022-07-21T14:11:29.945Z] Removing intermediate container ff457906d43c [2022-07-21T14:11:29.945Z] ---> 224d9bdb29f8 [2022-07-21T14:11:29.945Z] Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2022-07-21T14:11:30.548Z] ---> c4e1f171fedb [2022-07-21T14:11:30.548Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2022-07-21T14:11:31.145Z] ---> 9af425712653 [2022-07-21T14:11:31.145Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2022-07-21T14:11:31.741Z] ---> 0a2c1bff1fef [2022-07-21T14:11:31.741Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2022-07-21T14:11:32.336Z] ---> e3b6f254dbd9 [2022-07-21T14:11:32.336Z] Successfully built e3b6f254dbd9 [2022-07-21T14:11:32.336Z] 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-07-21T14:11:32.749Z] + docker inspect -f . ci-base-image-arm64 [2022-07-21T14:11:32.749Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-21T14:11:32.987Z] prd-ubuntu20.04-docker-arm64-4c-16g-20678 does not seem to be running inside a container [2022-07-21T14:11:33.076Z] $ 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-07-21T14:11:34.337Z] $ docker top 3806b63e6f38647b1105a72159f104d8912d2b1a1e2a7c224fc238f056c48064 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-21T14:11:35.260Z] + make test [2022-07-21T14:11:35.260Z] echo "make test" [2022-07-21T14:11:35.260Z] make test [Pipeline] } [2022-07-21T14:11:35.288Z] $ docker stop --time=1 3806b63e6f38647b1105a72159f104d8912d2b1a1e2a7c224fc238f056c48064 [2022-07-21T14:11:36.918Z] $ docker rm -f 3806b63e6f38647b1105a72159f104d8912d2b1a1e2a7c224fc238f056c48064 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-21T14:11:37.530Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-21T14:11:37.869Z] + ls -al . [2022-07-21T14:11:37.869Z] total 204 [2022-07-21T14:11:37.869Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 21 14:08 . [2022-07-21T14:11:37.869Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 14:08 .. [2022-07-21T14:11:37.869Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 21 14:08 .git [2022-07-21T14:11:37.869Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 21 14:08 .github [2022-07-21T14:11:37.869Z] -rw-rw-r-- 1 jenkins jenkins 176 Jul 21 14:08 .gitignore [2022-07-21T14:11:37.869Z] -rw-rw-r-- 1 jenkins jenkins 3104 Jul 21 14:08 Attribution.txt [2022-07-21T14:11:37.869Z] -rw-rw-r-- 1 jenkins jenkins 8420 Jul 21 14:08 CHANGES [2022-07-21T14:11:37.869Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jul 21 14:08 Doxyfile [2022-07-21T14:11:37.869Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 21 14:08 GOVERNANCE.md [2022-07-21T14:11:37.869Z] -rw-rw-r-- 1 jenkins jenkins 784 Jul 21 14:08 Jenkinsfile [2022-07-21T14:11:37.869Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jul 21 14:08 LICENSE [2022-07-21T14:11:37.869Z] -rw-rw-r-- 1 jenkins jenkins 444 Jul 21 14:08 Makefile [2022-07-21T14:11:37.869Z] -rw-rw-r-- 1 jenkins jenkins 618 Jul 21 14:08 OWNERS.md [2022-07-21T14:11:37.869Z] -rw-rw-r-- 1 jenkins jenkins 4086 Jul 21 14:08 README.md [2022-07-21T14:11:37.869Z] -rw-rw-r-- 1 jenkins jenkins 7422 Jul 21 14:08 README.v2.md [2022-07-21T14:11:37.869Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 21 14:06 VERSION [2022-07-21T14:11:37.869Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 21 14:08 docs [2022-07-21T14:11:37.869Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 14:08 include [2022-07-21T14:11:37.869Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 21 14:08 scripts [2022-07-21T14:11:37.869Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 14:08 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T14:11:38.227Z] + 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=3a5d1ddb97f8ecfbc0e929fe8f447054e328cf6b --label arch=arm64 --label version=0.0.0 . [2022-07-21T14:11:38.500Z] Sending build context to Docker daemon 2.821MB [2022-07-21T14:11:38.775Z] Step 1/17 : ARG BASE=alpine:3.15 [2022-07-21T14:11:38.775Z] Step 2/17 : FROM ${BASE} [2022-07-21T14:11:38.775Z] ---> e3b6f254dbd9 [2022-07-21T14:11:38.775Z] Step 3/17 : LABEL maintainer="IOTech " [2022-07-21T14:11:38.775Z] ---> Running in d87374ebf74a [2022-07-21T14:11:39.050Z] Removing intermediate container d87374ebf74a [2022-07-21T14:11:39.050Z] ---> b377ba4cb1bf [2022-07-21T14:11:39.050Z] 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-07-21T14:11:39.050Z] ---> Running in 40e9462771be [2022-07-21T14:11:40.034Z] Connecting to iotech.jfrog.io (52.209.90.94:443) [2022-07-21T14:11:40.634Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-07-21T14:11:40.634Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-07-21T14:11:40.634Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-07-21T14:11:41.250Z] Removing intermediate container 40e9462771be [2022-07-21T14:11:41.250Z] ---> f43ad839cc9b [2022-07-21T14:11:41.250Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-07-21T14:11:41.250Z] ---> Running in 826d455d3033 [2022-07-21T14:11:42.686Z] Removing intermediate container 826d455d3033 [2022-07-21T14:11:42.686Z] ---> a2c2937d8fd0 [2022-07-21T14:11:42.686Z] 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-07-21T14:11:42.963Z] ---> Running in 1b7f62c76b89 [2022-07-21T14:11:43.954Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-21T14:11:44.232Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-21T14:11:44.507Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-21T14:11:45.490Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-07-21T14:11:45.490Z] (1/28) Upgrading ncurses-terminfo-base (6.3_p20211120-r0 -> 6.3_p20211120-r1) [2022-07-21T14:11:45.490Z] (2/28) Upgrading ncurses-libs (6.3_p20211120-r0 -> 6.3_p20211120-r1) [2022-07-21T14:11:45.490Z] (3/28) Installing libcbor-dev (0.8.0-r0) [2022-07-21T14:11:45.490Z] (4/28) Installing ncurses-dev (6.3_p20211120-r1) [2022-07-21T14:11:45.490Z] (5/28) Installing util-linux (2.37.4-r0) [2022-07-21T14:11:45.490Z] (6/28) Installing libblkid (2.37.4-r0) [2022-07-21T14:11:45.490Z] (7/28) Installing libeconf (0.4.2-r0) [2022-07-21T14:11:45.490Z] (8/28) Installing libfdisk (2.37.4-r0) [2022-07-21T14:11:45.490Z] (9/28) Installing libmount (2.37.4-r0) [2022-07-21T14:11:45.490Z] (10/28) Installing libsmartcols (2.37.4-r0) [2022-07-21T14:11:45.490Z] (11/28) Installing util-linux-misc (2.37.4-r0) [2022-07-21T14:11:45.490Z] (12/28) Installing linux-pam (1.5.2-r0) [2022-07-21T14:11:45.490Z] (13/28) Installing runuser (2.37.4-r0) [2022-07-21T14:11:45.490Z] (14/28) Installing hexdump (2.37.4-r0) [2022-07-21T14:11:45.490Z] (15/28) Installing uuidgen (2.37.4-r0) [2022-07-21T14:11:45.490Z] (16/28) Installing blkid (2.37.4-r0) [2022-07-21T14:11:45.490Z] (17/28) Installing sfdisk (2.37.4-r0) [2022-07-21T14:11:45.766Z] (18/28) Installing mcookie (2.37.4-r0) [2022-07-21T14:11:45.766Z] (19/28) Installing wipefs (2.37.4-r0) [2022-07-21T14:11:45.766Z] (20/28) Installing cfdisk (2.37.4-r0) [2022-07-21T14:11:45.766Z] (21/28) Installing flock (2.37.4-r0) [2022-07-21T14:11:45.766Z] (22/28) Installing lsblk (2.37.4-r0) [2022-07-21T14:11:45.766Z] (23/28) Installing libcap-ng (0.8.2-r1) [2022-07-21T14:11:45.766Z] (24/28) Installing setpriv (2.37.4-r0) [2022-07-21T14:11:45.766Z] (25/28) Installing logger (2.37.4-r0) [2022-07-21T14:11:45.766Z] (26/28) Installing partx (2.37.4-r0) [2022-07-21T14:11:45.766Z] (27/28) Installing findmnt (2.37.4-r0) [2022-07-21T14:11:45.766Z] (28/28) Installing util-linux-dev (2.37.4-r0) [2022-07-21T14:11:45.766Z] Executing busybox-1.34.1-r5.trigger [2022-07-21T14:11:45.766Z] OK: 290 MiB in 109 packages [2022-07-21T14:11:47.208Z] Removing intermediate container 1b7f62c76b89 [2022-07-21T14:11:47.208Z] ---> 20138da5ba96 [2022-07-21T14:11:47.208Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2022-07-21T14:11:47.808Z] ---> 1badecf5e795 [2022-07-21T14:11:47.808Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2022-07-21T14:11:48.791Z] ---> 7f640138c529 [2022-07-21T14:11:48.792Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2022-07-21T14:11:49.065Z] ---> 415476f8e2e2 [2022-07-21T14:11:49.065Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2022-07-21T14:11:49.665Z] ---> 01eebb87857b [2022-07-21T14:11:49.665Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2022-07-21T14:11:50.262Z] ---> 01a1e0426beb [2022-07-21T14:11:50.262Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2022-07-21T14:11:50.536Z] ---> 7fe6c16dc400 [2022-07-21T14:11:50.536Z] Step 13/17 : WORKDIR /edgex-c-sdk [2022-07-21T14:11:50.811Z] ---> Running in 4279f3420a4a [2022-07-21T14:11:51.088Z] Removing intermediate container 4279f3420a4a [2022-07-21T14:11:51.088Z] ---> b6572d718f20 [2022-07-21T14:11:51.088Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2022-07-21T14:11:51.088Z] ---> Running in 5d9fe42f6bcd [2022-07-21T14:11:51.367Z] Removing intermediate container 5d9fe42f6bcd [2022-07-21T14:11:51.367Z] ---> a60b9e59b845 [2022-07-21T14:11:51.367Z] Step 15/17 : LABEL arch=arm64 [2022-07-21T14:11:51.367Z] ---> Running in 6c09004f18c8 [2022-07-21T14:11:51.652Z] Removing intermediate container 6c09004f18c8 [2022-07-21T14:11:51.652Z] ---> 0daac85983c1 [2022-07-21T14:11:51.652Z] Step 16/17 : LABEL git_sha=3a5d1ddb97f8ecfbc0e929fe8f447054e328cf6b [2022-07-21T14:11:51.925Z] ---> Running in 8a4fcc4791bd [2022-07-21T14:11:52.197Z] Removing intermediate container 8a4fcc4791bd [2022-07-21T14:11:52.197Z] ---> 200b43b25357 [2022-07-21T14:11:52.197Z] Step 17/17 : LABEL version=0.0.0 [2022-07-21T14:11:52.197Z] ---> Running in 8e0ca3af5a84 [2022-07-21T14:11:52.472Z] Removing intermediate container 8e0ca3af5a84 [2022-07-21T14:11:52.472Z] ---> a2595567ed4d [2022-07-21T14:11:52.472Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2022-07-21T14:11:52.472Z] Successfully built a2595567ed4d [2022-07-21T14:11:52.472Z] 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-07-21T14:11:52.929Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-21T14:11:52.929Z] [2022-07-21T14:11:52.929Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T14:11:53.285Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-21T14:11:53.562Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-21T14:11:53.562Z] 8998bd30e6a1: Pulling fs layer [2022-07-21T14:11:53.562Z] 04944245beec: Pulling fs layer [2022-07-21T14:11:53.562Z] 699f458cf7ca: Pulling fs layer [2022-07-21T14:11:53.562Z] 765212b225bb: Pulling fs layer [2022-07-21T14:11:53.562Z] f23df028b6ca: Pulling fs layer [2022-07-21T14:11:53.562Z] d65c8cfc05b1: Pulling fs layer [2022-07-21T14:11:53.562Z] 2437ff75d9bd: Pulling fs layer [2022-07-21T14:11:53.562Z] 765212b225bb: Waiting [2022-07-21T14:11:53.562Z] f23df028b6ca: Waiting [2022-07-21T14:11:53.562Z] d65c8cfc05b1: Waiting [2022-07-21T14:11:53.562Z] 04944245beec: Verifying Checksum [2022-07-21T14:11:53.562Z] 04944245beec: Download complete [2022-07-21T14:11:53.562Z] 765212b225bb: Verifying Checksum [2022-07-21T14:11:53.837Z] f23df028b6ca: Verifying Checksum [2022-07-21T14:11:53.837Z] f23df028b6ca: Download complete [2022-07-21T14:11:53.837Z] d65c8cfc05b1: Verifying Checksum [2022-07-21T14:11:53.837Z] d65c8cfc05b1: Download complete [2022-07-21T14:11:53.837Z] 699f458cf7ca: Verifying Checksum [2022-07-21T14:11:53.837Z] 699f458cf7ca: Download complete [2022-07-21T14:11:54.114Z] 8998bd30e6a1: Verifying Checksum [2022-07-21T14:11:54.114Z] 8998bd30e6a1: Download complete [2022-07-21T14:11:56.752Z] 2437ff75d9bd: Verifying Checksum [2022-07-21T14:11:56.752Z] 2437ff75d9bd: Download complete [2022-07-21T14:11:58.756Z] 8998bd30e6a1: Pull complete [2022-07-21T14:11:59.034Z] 04944245beec: Pull complete [2022-07-21T14:12:00.475Z] 699f458cf7ca: Pull complete [2022-07-21T14:12:00.752Z] 765212b225bb: Pull complete [2022-07-21T14:12:01.351Z] f23df028b6ca: Pull complete [2022-07-21T14:12:01.632Z] d65c8cfc05b1: Pull complete [2022-07-21T14:12:16.741Z] 2437ff75d9bd: Pull complete [2022-07-21T14:12:16.741Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-21T14:12:16.741Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-21T14:12:16.741Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-21T14:12:16.984Z] prd-ubuntu20.04-docker-arm64-4c-16g-20678 does not seem to be running inside a container [2022-07-21T14:12:17.078Z] $ 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-07-21T14:12:19.466Z] $ docker top 4eaa7538b0e71438425abf9f01f9564f88b97b36d5d3d2a2250cd2c6bc11c52d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-21T14:12:20.374Z] ---> job-cost.sh [2022-07-21T14:12:20.374Z] lf-activate-venv: SKIPPING [2022-07-21T14:12:20.374Z] INFO: No Stack... [2022-07-21T14:12:20.647Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-21T14:12:21.625Z] INFO: Archiving Costs [Pipeline] sh [2022-07-21T14:12:22.286Z] + cut -d, -f6 [2022-07-21T14:12:22.286Z] + cat /w/workspace/device-sdk-c/2/archives/cost.csv [Pipeline] lock [2022-07-21T14:12:22.393Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-427-2-stack-cost] [2022-07-21T14:12:22.399Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-427-2-stack-cost] did not exist. Created. [2022-07-21T14:12:22.399Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-427-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-21T14:12:23.145Z] /w/workspace/device-sdk-c/2@tmp/durable-bcee1a21/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-21T14:12:23.841Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-21T14:12:23.862Z] Warning: overwriting stash ‘stack-cost’ [2022-07-21T14:12:24.509Z] Stashed 1 file(s) [Pipeline] } [2022-07-21T14:12:24.515Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-427-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-21T14:12:24.542Z] $ docker stop --time=1 4eaa7538b0e71438425abf9f01f9564f88b97b36d5d3d2a2250cd2c6bc11c52d [2022-07-21T14:12:26.041Z] $ docker rm -f 4eaa7538b0e71438425abf9f01f9564f88b97b36d5d3d2a2250cd2c6bc11c52d [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-07-21T14:12:26.899Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-427/archives ] [2022-07-21T14:12:26.899Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-427/archives [2022-07-21T14:12:26.899Z] total 16 [2022-07-21T14:12:26.899Z] drwxr-xr-x 3 root root 4096 Jul 21 14:07 . [2022-07-21T14:12:26.899Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 21 14:07 .. [2022-07-21T14:12:26.899Z] drwxr-xr-x 2 root root 4096 Jul 21 14:07 cost [2022-07-21T14:12:26.899Z] -rw-r--r-- 1 root root 83 Jul 21 14:07 cost.csv [2022-07-21T14:12:26.899Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-427/archives [2022-07-21T14:12:26.899Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-427/archives [2022-07-21T14:12:26.899Z] total 16 [2022-07-21T14:12:26.899Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 21 14:07 . [2022-07-21T14:12:26.899Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 21 14:07 .. [2022-07-21T14:12:26.899Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 21 14:07 cost [2022-07-21T14:12:26.899Z] -rw-r--r-- 1 jenkins jenkins 83 Jul 21 14:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-21T14:12:27.195Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-21T14:12:28.063Z] ---> package-listing.sh [2022-07-21T14:12:28.063Z] ++ facter osfamily [2022-07-21T14:12:28.063Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-21T14:12:28.324Z] + OS_FAMILY=debian [2022-07-21T14:12:28.324Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-427 [2022-07-21T14:12:28.324Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-21T14:12:28.324Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-21T14:12:28.324Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-21T14:12:28.324Z] + PACKAGES=/tmp/packages_start.txt [2022-07-21T14:12:28.324Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-427 ']' [2022-07-21T14:12:28.324Z] + PACKAGES=/tmp/packages_end.txt [2022-07-21T14:12:28.324Z] + case "${OS_FAMILY}" in [2022-07-21T14:12:28.324Z] + dpkg -l [2022-07-21T14:12:28.324Z] + grep '^ii' [2022-07-21T14:12:28.324Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-21T14:12:28.324Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-21T14:12:28.324Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-21T14:12:28.324Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-427 ']' [2022-07-21T14:12:28.324Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-427/archives/ [2022-07-21T14:12:28.324Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-427/archives/ [Pipeline] echo [2022-07-21T14:12:28.337Z] 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-427/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-21T14:12:28.632Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-21T14:12:28.936Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-21T14:12:28.937Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-21T14:12:29.044Z] prd-ubuntu20.04-docker-8c-8g-20677 does not seem to be running inside a container [2022-07-21T14:12:29.129Z] $ 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-427/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-427 -v /w/workspace/edgexfoundry_device-sdk-c_PR-427:/w/workspace/edgexfoundry_device-sdk-c_PR-427:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-427@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-427@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-07-21T14:12:29.399Z] $ docker top ed98366c87ad7582a41925d556c555a419af356f92f4c178eacef27c8fccfd75 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-21T14:12:29.746Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-21T14:12:30.038Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-21T14:12:30.327Z] + ls /var/log/sa-host [2022-07-21T14:12:30.327Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-21T14:12:30.454Z] provisioning config files... [2022-07-21T14:12:30.462Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-427@tmp/config385126192736681441tmp [Pipeline] { [Pipeline] echo [2022-07-21T14:12:30.472Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-21T14:12:30.752Z] ---> create-netrc.sh [Pipeline] } [2022-07-21T14:12:30.759Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-21T14:12:31.090Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-21T14:12:31.099Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-21T14:12:31.386Z] ---> sudo-logs.sh [2022-07-21T14:12:31.386Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-21T14:12:31.408Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-21T14:12:31.695Z] ---> job-cost.sh [2022-07-21T14:12:31.695Z] lf-activate-venv: SKIPPING [2022-07-21T14:12:31.695Z] DEBUG: total: 0.2199999988079071 [2022-07-21T14:12:31.695Z] INFO: Retrieving Stack Cost... [2022-07-21T14:12:32.267Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-21T14:12:32.528Z] INFO: Archiving Costs [Pipeline] echo [2022-07-21T14:12:32.540Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-21T14:12:32.823Z] ---> logs-deploy.sh [2022-07-21T14:12:32.823Z] lf-activate-venv: SKIPPING [2022-07-21T14:12:32.823Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-427/2 [2022-07-21T14:12:32.823Z] INFO: archiving workspace using pattern(s): [2022-07-21T14:12:33.765Z] Archives upload complete. [2022-07-21T14:12:33.765Z] INFO: archiving logs to Nexus