Pull request #426 opened 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 e63c7879a3bce4aed0d874b256ca7adbf4f34e4c+03b32cf45bc5b3e412caddeb5d4d63e048da2cad (5ad7918d84cb2f4e3fb32320bdde51e7647d9ba9) 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-ssh4198030552077573761.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-ssh6335608352178565609.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-426/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-426/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4033588725870643655.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-426/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14755603508649377303.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh10567165349237286522.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-426/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-426/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13107730126855848160.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e 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-20387 in /w/workspace/edgexfoundry_device-sdk-c_PR-426 [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-426 # 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 03b32cf45bc5b3e412caddeb5d4d63e048da2cad into PR head commit e63c7879a3bce4aed0d874b256ca7adbf4f34e4c Merge succeeded, producing e63c7879a3bce4aed0d874b256ca7adbf4f34e4c Checking out Revision e63c7879a3bce4aed0d874b256ca7adbf4f34e4c (PR-426) > 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/426/head:refs/remotes/origin/PR-426 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e63c7879a3bce4aed0d874b256ca7adbf4f34e4c # 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 03b32cf45bc5b3e412caddeb5d4d63e048da2cad # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e63c7879a3bce4aed0d874b256ca7adbf4f34e4c # timeout=10 Commit message: "feat: add ProtocolProperties validation (#402) refac: use new mallinfo() replacement if available fix: parse multi-status return from device create" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-18T10:07:03.823Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-18T10:07:03.982Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-18T10:07:04.078Z] ========================================================= [2022-07-18T10:07:04.078Z] EdgeX Global Pipelines Version Info [2022-07-18T10:07:04.078Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-18T10:07:04.894Z] ------------------- [2022-07-18T10:07:04.894Z] stable info: [2022-07-18T10:07:04.894Z] ------------------- [2022-07-18T10:07:04.894Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-18T10:07:04.894Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-18T10:07:04.894Z] Message: update stable to v1.0.238 [2022-07-18T10:07:05.472Z] ------------------- [2022-07-18T10:07:05.473Z] experimental info: [2022-07-18T10:07:05.473Z] ------------------- [2022-07-18T10:07:05.473Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-18T10:07:05.473Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-18T10:07:05.473Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-18T10:07:05.861Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2022-07-18T10:07:05.901Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2022-07-18T10:07:05.940Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-18T10:07:05.976Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-18T10:07:06.013Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-18T10:07:06.049Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2022-07-18T10:07:06.090Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2022-07-18T10:07:06.129Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-18T10:07:06.170Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-18T10:07:06.206Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2022-07-18T10:07:06.246Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-18T10:07:06.287Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-18T10:07:06.327Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-18T10:07:06.362Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-07-18T10:07:06.398Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-18T10:07:06.439Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-18T10:07:06.478Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-18T10:07:06.517Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-426 [Pipeline] echo [2022-07-18T10:07:06.559Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-426 [Pipeline] echo [2022-07-18T10:07:06.601Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-426 [Pipeline] echo [2022-07-18T10:07:06.646Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e63c7879a3bce4aed0d874b256ca7adbf4f34e4c [Pipeline] echo [2022-07-18T10:07:06.688Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e63c787 [Pipeline] echo [2022-07-18T10:07:06.729Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-18T10:07:06.849Z] provisioning config files... [2022-07-18T10:07:06.867Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-426@tmp/config8507401396440878152tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-18T10:07:07.211Z] ---> docker-login.sh [2022-07-18T10:07:07.212Z] nexus3.edgexfoundry.org:10001 [2022-07-18T10:07:07.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T10:07:07.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T10:07:07.737Z] Configure a credential helper to remove this warning. See [2022-07-18T10:07:07.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T10:07:07.737Z] [2022-07-18T10:07:07.737Z] Login Succeeded [2022-07-18T10:07:07.737Z] nexus3.edgexfoundry.org:10002 [2022-07-18T10:07:07.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T10:07:07.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T10:07:07.737Z] Configure a credential helper to remove this warning. See [2022-07-18T10:07:07.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T10:07:07.737Z] [2022-07-18T10:07:07.737Z] Login Succeeded [2022-07-18T10:07:07.737Z] nexus3.edgexfoundry.org:10003 [2022-07-18T10:07:08.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T10:07:08.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T10:07:08.000Z] Configure a credential helper to remove this warning. See [2022-07-18T10:07:08.000Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T10:07:08.000Z] [2022-07-18T10:07:08.000Z] Login Succeeded [2022-07-18T10:07:08.000Z] nexus3.edgexfoundry.org:10004 [2022-07-18T10:07:08.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T10:07:08.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T10:07:08.000Z] Configure a credential helper to remove this warning. See [2022-07-18T10:07:08.000Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T10:07:08.000Z] [2022-07-18T10:07:08.000Z] Login Succeeded [2022-07-18T10:07:08.000Z] docker.io [2022-07-18T10:07:08.263Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T10:07:08.527Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T10:07:08.527Z] Configure a credential helper to remove this warning. See [2022-07-18T10:07:08.527Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T10:07:08.527Z] [2022-07-18T10:07:08.527Z] Login Succeeded [2022-07-18T10:07:08.527Z] ---> docker-login.sh ends [Pipeline] } [2022-07-18T10:07:08.553Z] 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-18T10:07:09.182Z] + git rev-list -1 --merges e63c7879a3bce4aed0d874b256ca7adbf4f34e4c~1..e63c7879a3bce4aed0d874b256ca7adbf4f34e4c [Pipeline] echo [2022-07-18T10:07:09.235Z] -----------> git rev-list -1 --merges e63c7879a3bce4aed0d874b256ca7adbf4f34e4c~1..e63c7879a3bce4aed0d874b256ca7adbf4f34e4c e63c7879a3bce4aed0d874b256ca7adbf4f34e4c [false] [Pipeline] sh [2022-07-18T10:07:09.551Z] + git log --format=format:%s -1 e63c7879a3bce4aed0d874b256ca7adbf4f34e4c [Pipeline] echo [2022-07-18T10:07:09.593Z] ========================================================= [2022-07-18T10:07:09.593Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-18T10:07:09.593Z] ========================================================= 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-18T10:07:10.369Z] + git rev-list -1 --merges e63c7879a3bce4aed0d874b256ca7adbf4f34e4c~1..e63c7879a3bce4aed0d874b256ca7adbf4f34e4c [Pipeline] echo [2022-07-18T10:07:10.405Z] -----------> git rev-list -1 --merges e63c7879a3bce4aed0d874b256ca7adbf4f34e4c~1..e63c7879a3bce4aed0d874b256ca7adbf4f34e4c e63c7879a3bce4aed0d874b256ca7adbf4f34e4c [false] [Pipeline] sh [2022-07-18T10:07:10.723Z] + git log --format=format:%s -1 e63c7879a3bce4aed0d874b256ca7adbf4f34e4c [Pipeline] echo [2022-07-18T10:07:10.756Z] ========================================================= [2022-07-18T10:07:10.756Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-18T10:07:10.756Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2022-07-18T10:07:11.240Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-18T10:07:11.241Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-18T10:07:11.241Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-18T10:07:11.241Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-18T10:07:11.241Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ [2022-07-18T10:07:11.241Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-18T10:07:11.241Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T10:07:11.734Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-18T10:07:11.734Z] [2022-07-18T10:07:11.734Z] 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-18T10:07:12.120Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-18T10:07:12.120Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-18T10:07:12.121Z] b85a868b505f: Pulling fs layer [2022-07-18T10:07:12.121Z] e2be974225ed: Pulling fs layer [2022-07-18T10:07:12.121Z] 339a4e72a1f5: Pulling fs layer [2022-07-18T10:07:12.121Z] 988bab9f4d93: Pulling fs layer [2022-07-18T10:07:12.121Z] 1469e6f7b9e6: Pulling fs layer [2022-07-18T10:07:12.121Z] eaf3925da568: Pulling fs layer [2022-07-18T10:07:12.121Z] bab4dde63d76: Pulling fs layer [2022-07-18T10:07:12.121Z] bde34c3a00c8: Pulling fs layer [2022-07-18T10:07:12.121Z] 988bab9f4d93: Waiting [2022-07-18T10:07:12.121Z] bab4dde63d76: Waiting [2022-07-18T10:07:12.121Z] 1469e6f7b9e6: Waiting [2022-07-18T10:07:12.121Z] eaf3925da568: Waiting [2022-07-18T10:07:12.121Z] b352a97aabf1: Pulling fs layer [2022-07-18T10:07:12.121Z] 4872d77fe225: Pulling fs layer [2022-07-18T10:07:12.121Z] 5851b861e8e6: Pulling fs layer [2022-07-18T10:07:12.121Z] b352a97aabf1: Waiting [2022-07-18T10:07:12.121Z] 4872d77fe225: Waiting [2022-07-18T10:07:12.381Z] e2be974225ed: Download complete [2022-07-18T10:07:12.381Z] 988bab9f4d93: Download complete [2022-07-18T10:07:12.381Z] 1469e6f7b9e6: Verifying Checksum [2022-07-18T10:07:12.381Z] 1469e6f7b9e6: Download complete [2022-07-18T10:07:12.381Z] 339a4e72a1f5: Verifying Checksum [2022-07-18T10:07:12.381Z] 339a4e72a1f5: Download complete [2022-07-18T10:07:12.381Z] eaf3925da568: Verifying Checksum [2022-07-18T10:07:12.381Z] eaf3925da568: Download complete [2022-07-18T10:07:12.381Z] bde34c3a00c8: Verifying Checksum [2022-07-18T10:07:12.381Z] bde34c3a00c8: Download complete [2022-07-18T10:07:12.381Z] b352a97aabf1: Verifying Checksum [2022-07-18T10:07:12.381Z] b352a97aabf1: Download complete [2022-07-18T10:07:12.381Z] 4872d77fe225: Download complete [2022-07-18T10:07:12.381Z] 5851b861e8e6: Download complete [2022-07-18T10:07:12.381Z] b85a868b505f: Verifying Checksum [2022-07-18T10:07:12.381Z] b85a868b505f: Download complete [2022-07-18T10:07:12.954Z] bab4dde63d76: Download complete [2022-07-18T10:07:13.898Z] b85a868b505f: Pull complete [2022-07-18T10:07:14.161Z] e2be974225ed: Pull complete [2022-07-18T10:07:14.741Z] 339a4e72a1f5: Pull complete [2022-07-18T10:07:14.741Z] 988bab9f4d93: Pull complete [2022-07-18T10:07:15.004Z] 1469e6f7b9e6: Pull complete [2022-07-18T10:07:15.004Z] eaf3925da568: Pull complete [2022-07-18T10:07:17.556Z] bab4dde63d76: Pull complete [2022-07-18T10:07:17.556Z] bde34c3a00c8: Pull complete [2022-07-18T10:07:17.556Z] b352a97aabf1: Pull complete [2022-07-18T10:07:17.556Z] 4872d77fe225: Pull complete [2022-07-18T10:07:17.556Z] 5851b861e8e6: Pull complete [2022-07-18T10:07:17.556Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-18T10:07:17.556Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-18T10:07:17.556Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T10:07:17.812Z] prd-ubuntu20.04-docker-8c-8g-20387 does not seem to be running inside a container [2022-07-18T10:07:17.855Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-426 -v /w/workspace/edgexfoundry_device-sdk-c_PR-426:/w/workspace/edgexfoundry_device-sdk-c_PR-426:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-426@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-426@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-18T10:07:19.219Z] $ docker top 9cf36b99456294e89a4e5e32b6addbbddf5d9e8abc8ef5c41f1cc540f192030e -eo pid,comm [2022-07-18T10:07:19.297Z] 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-18T10:07:19.297Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-18T10:07:19.412Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-18T10:07:19.412Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-18T10:07:19.548Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-18T10:07:19.552Z] $ docker exec 9cf36b99456294e89a4e5e32b6addbbddf5d9e8abc8ef5c41f1cc540f192030e ssh-agent [2022-07-18T10:07:19.695Z] SSH_AUTH_SOCK=/tmp/ssh-2bsH975AbNFE/agent.32 [2022-07-18T10:07:19.695Z] SSH_AGENT_PID=38 [2022-07-18T10:07:19.702Z] Running ssh-add (command line suppressed) [2022-07-18T10:07:19.828Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-426@tmp/private_key_6642178186424877298.key (/w/workspace/edgexfoundry_device-sdk-c_PR-426@tmp/private_key_6642178186424877298.key) [2022-07-18T10:07:19.853Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-18T10:07:20.194Z] + git tag --points-at HEAD [Pipeline] } [2022-07-18T10:07:20.221Z] $ docker exec --env ******** --env ******** 9cf36b99456294e89a4e5e32b6addbbddf5d9e8abc8ef5c41f1cc540f192030e ssh-agent -k [2022-07-18T10:07:20.345Z] unset SSH_AUTH_SOCK; [2022-07-18T10:07:20.345Z] unset SSH_AGENT_PID; [2022-07-18T10:07:20.345Z] echo Agent pid 38 killed; [2022-07-18T10:07:20.357Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-18T10:07:20.441Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-18T10:07:20.441Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-18T10:07:20.600Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-18T10:07:20.604Z] $ docker exec 9cf36b99456294e89a4e5e32b6addbbddf5d9e8abc8ef5c41f1cc540f192030e ssh-agent [2022-07-18T10:07:20.738Z] SSH_AUTH_SOCK=/tmp/ssh-ddSO2LusujRp/agent.70 [2022-07-18T10:07:20.738Z] SSH_AGENT_PID=77 [2022-07-18T10:07:20.743Z] Running ssh-add (command line suppressed) [2022-07-18T10:07:20.867Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-426@tmp/private_key_6888081046316145330.key (/w/workspace/edgexfoundry_device-sdk-c_PR-426@tmp/private_key_6888081046316145330.key) [2022-07-18T10:07:20.887Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-18T10:07:21.227Z] + git semver init [2022-07-18T10:07:21.488Z] 2022-07-18 10:07:21,432 [run_init] DEBUG init version:0.0.0 force:False [2022-07-18T10:07:21.489Z] 2022-07-18 10:07:21,432 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-426/.semver [2022-07-18T10:07:21.489Z] 2022-07-18 10:07:21,433 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-426/.semver [2022-07-18T10:07:21.489Z] 2022-07-18 10:07:21,433 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-426/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-426, universal_newlines=False, shell=None, istream=None) [2022-07-18T10:07:22.433Z] 2022-07-18 10:07:22,164 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-426/.git/info/exclude [2022-07-18T10:07:22.433Z] 2022-07-18 10:07:22,165 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-426/.semver/PR-426 with force:False [2022-07-18T10:07:22.433Z] 2022-07-18 10:07:22,165 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-426/.semver/PR-426 [2022-07-18T10:07:22.433Z] 2022-07-18 10:07:22,169 [execute] INFO git cat-file --batch-check [2022-07-18T10:07:22.433Z] 2022-07-18 10:07:22,170 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-426/.semver, universal_newlines=False, shell=None, istream=) [2022-07-18T10:07:22.433Z] 2022-07-18 10:07:22,176 [execute] INFO git cat-file --batch [2022-07-18T10:07:22.433Z] 2022-07-18 10:07:22,177 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-426/.semver, universal_newlines=False, shell=None, istream=) [2022-07-18T10:07:22.433Z] 2022-07-18 10:07:22,183 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-426/.semver/PR-426 [2022-07-18T10:07:22.433Z] 0.0.0 [Pipeline] } [2022-07-18T10:07:22.460Z] $ docker exec --env ******** --env ******** 9cf36b99456294e89a4e5e32b6addbbddf5d9e8abc8ef5c41f1cc540f192030e ssh-agent -k [2022-07-18T10:07:22.590Z] unset SSH_AUTH_SOCK; [2022-07-18T10:07:22.591Z] unset SSH_AGENT_PID; [2022-07-18T10:07:22.591Z] echo Agent pid 77 killed; [2022-07-18T10:07:22.603Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-18T10:07:23.032Z] + git semver [Pipeline] } [2022-07-18T10:07:23.323Z] $ docker stop --time=1 9cf36b99456294e89a4e5e32b6addbbddf5d9e8abc8ef5c41f1cc540f192030e [2022-07-18T10:07:24.694Z] $ docker rm -f 9cf36b99456294e89a4e5e32b6addbbddf5d9e8abc8ef5c41f1cc540f192030e [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-18T10:07:25.128Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-18T10:07:25.446Z] Stashed 1 file(s) [Pipeline] echo [2022-07-18T10:07:25.463Z] [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-18T10:07:25.999Z] provisioning config files... [2022-07-18T10:07:26.010Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-426@tmp/config475240533798401263tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-18T10:07:26.358Z] ---> docker-login.sh [2022-07-18T10:07:26.358Z] nexus3.edgexfoundry.org:10001 [2022-07-18T10:07:26.358Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T10:07:26.358Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T10:07:26.358Z] Configure a credential helper to remove this warning. See [2022-07-18T10:07:26.358Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T10:07:26.358Z] [2022-07-18T10:07:26.358Z] Login Succeeded [2022-07-18T10:07:26.358Z] nexus3.edgexfoundry.org:10002 [2022-07-18T10:07:26.358Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T10:07:26.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T10:07:26.622Z] Configure a credential helper to remove this warning. See [2022-07-18T10:07:26.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T10:07:26.622Z] [2022-07-18T10:07:26.622Z] Login Succeeded [2022-07-18T10:07:26.622Z] nexus3.edgexfoundry.org:10003 [2022-07-18T10:07:26.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T10:07:26.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T10:07:26.622Z] Configure a credential helper to remove this warning. See [2022-07-18T10:07:26.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T10:07:26.622Z] [2022-07-18T10:07:26.622Z] Login Succeeded [2022-07-18T10:07:26.622Z] nexus3.edgexfoundry.org:10004 [2022-07-18T10:07:26.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T10:07:26.887Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T10:07:26.887Z] Configure a credential helper to remove this warning. See [2022-07-18T10:07:26.887Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T10:07:26.887Z] [2022-07-18T10:07:26.887Z] Login Succeeded [2022-07-18T10:07:26.887Z] docker.io [2022-07-18T10:07:26.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T10:07:27.149Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T10:07:27.149Z] Configure a credential helper to remove this warning. See [2022-07-18T10:07:27.149Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T10:07:27.149Z] [2022-07-18T10:07:27.149Z] Login Succeeded [2022-07-18T10:07:27.149Z] ---> docker-login.sh ends [Pipeline] } [2022-07-18T10:07:27.179Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-18T10:07:27.358Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-18T10:07:27.390Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2022-07-18T10:07:27.421Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-18T10:07:27.451Z] ========================================================= [2022-07-18T10:07:27.451Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2022-07-18T10:07:27.451Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T10:07:27.873Z] + 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-18T10:07:27.873Z] Sending build context to Docker daemon 4.625MB [2022-07-18T10:07:27.873Z] Step 1/22 : ARG BASE=alpine:3.15 [2022-07-18T10:07:27.873Z] Step 2/22 : FROM ${BASE} as builder [2022-07-18T10:07:27.873Z] latest: Pulling from edgex-devops/edgex-gcc-base [2022-07-18T10:07:27.873Z] df9b9388f04a: Pulling fs layer [2022-07-18T10:07:27.873Z] 62381f5d8449: Pulling fs layer [2022-07-18T10:07:28.136Z] df9b9388f04a: Verifying Checksum [2022-07-18T10:07:28.136Z] df9b9388f04a: Download complete [2022-07-18T10:07:28.136Z] df9b9388f04a: Pull complete [2022-07-18T10:07:28.711Z] 62381f5d8449: Download complete [2022-07-18T10:07:32.013Z] 62381f5d8449: Pull complete [2022-07-18T10:07:32.013Z] Digest: sha256:1dc51ee6678f53bb3891c65c2ca5ccd72630339357978017b6e7ab3884123c19 [2022-07-18T10:07:32.013Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2022-07-18T10:07:32.013Z] ---> 547c565c9e89 [2022-07-18T10:07:32.013Z] 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-18T10:07:32.276Z] ---> Running in ad483e8e6354 [2022-07-18T10:07:32.850Z] Connecting to iotech.jfrog.io (54.155.90.35:443) [2022-07-18T10:07:33.113Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-07-18T10:07:33.113Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-07-18T10:07:33.113Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-07-18T10:07:33.378Z] Removing intermediate container ad483e8e6354 [2022-07-18T10:07:33.378Z] ---> e4a5c29a6210 [2022-07-18T10:07:33.378Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-07-18T10:07:33.378Z] ---> Running in 329c510f7d78 [2022-07-18T10:07:33.950Z] Removing intermediate container 329c510f7d78 [2022-07-18T10:07:33.950Z] ---> c49ebfe28993 [2022-07-18T10:07:33.950Z] 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-18T10:07:33.950Z] ---> Running in 558e236c8f87 [2022-07-18T10:07:34.522Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-18T10:07:34.522Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-18T10:07:34.522Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-18T10:07:35.095Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-07-18T10:07:35.095Z] (1/33) Upgrading ncurses-terminfo-base (6.3_p20211120-r0 -> 6.3_p20211120-r1) [2022-07-18T10:07:35.095Z] (2/33) Upgrading ncurses-libs (6.3_p20211120-r0 -> 6.3_p20211120-r1) [2022-07-18T10:07:35.095Z] (3/33) Installing hiredis (1.0.2-r0) [2022-07-18T10:07:35.095Z] (4/33) Installing hiredis-dev (1.0.2-r0) [2022-07-18T10:07:35.095Z] (5/33) Installing libcbor (0.8.0-r0) [2022-07-18T10:07:35.095Z] (6/33) Installing libcbor-dev (0.8.0-r0) [2022-07-18T10:07:35.095Z] (7/33) Installing ncurses-dev (6.3_p20211120-r1) [2022-07-18T10:07:35.095Z] (8/33) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) [2022-07-18T10:07:36.040Z] (9/33) Installing util-linux (2.37.4-r0) [2022-07-18T10:07:36.040Z] (10/33) Installing libblkid (2.37.4-r0) [2022-07-18T10:07:36.040Z] (11/33) Installing libeconf (0.4.2-r0) [2022-07-18T10:07:36.040Z] (12/33) Installing libuuid (2.37.4-r0) [2022-07-18T10:07:36.040Z] (13/33) Installing libfdisk (2.37.4-r0) [2022-07-18T10:07:36.040Z] (14/33) Installing libmount (2.37.4-r0) [2022-07-18T10:07:36.040Z] (15/33) Installing libsmartcols (2.37.4-r0) [2022-07-18T10:07:36.040Z] (16/33) Installing util-linux-misc (2.37.4-r0) [2022-07-18T10:07:36.040Z] (17/33) Installing linux-pam (1.5.2-r0) [2022-07-18T10:07:36.040Z] (18/33) Installing runuser (2.37.4-r0) [2022-07-18T10:07:36.040Z] (19/33) Installing hexdump (2.37.4-r0) [2022-07-18T10:07:36.040Z] (20/33) Installing uuidgen (2.37.4-r0) [2022-07-18T10:07:36.040Z] (21/33) Installing blkid (2.37.4-r0) [2022-07-18T10:07:36.040Z] (22/33) Installing sfdisk (2.37.4-r0) [2022-07-18T10:07:36.040Z] (23/33) Installing mcookie (2.37.4-r0) [2022-07-18T10:07:36.040Z] (24/33) Installing wipefs (2.37.4-r0) [2022-07-18T10:07:36.040Z] (25/33) Installing cfdisk (2.37.4-r0) [2022-07-18T10:07:36.040Z] (26/33) Installing flock (2.37.4-r0) [2022-07-18T10:07:36.040Z] (27/33) Installing lsblk (2.37.4-r0) [2022-07-18T10:07:36.040Z] (28/33) Installing libcap-ng (0.8.2-r1) [2022-07-18T10:07:36.040Z] (29/33) Installing setpriv (2.37.4-r0) [2022-07-18T10:07:36.040Z] (30/33) Installing logger (2.37.4-r0) [2022-07-18T10:07:36.040Z] (31/33) Installing partx (2.37.4-r0) [2022-07-18T10:07:36.040Z] (32/33) Installing findmnt (2.37.4-r0) [2022-07-18T10:07:36.040Z] (33/33) Installing util-linux-dev (2.37.4-r0) [2022-07-18T10:07:36.040Z] Executing busybox-1.34.1-r5.trigger [2022-07-18T10:07:36.040Z] OK: 293 MiB in 108 packages [2022-07-18T10:07:36.612Z] Removing intermediate container 558e236c8f87 [2022-07-18T10:07:36.612Z] ---> 4a6f46d2a86f [2022-07-18T10:07:36.612Z] Step 6/22 : RUN mkdir /tmp/sdk [2022-07-18T10:07:36.612Z] ---> Running in 6f03e07e7447 [2022-07-18T10:07:37.557Z] Removing intermediate container 6f03e07e7447 [2022-07-18T10:07:37.557Z] ---> 75eb47f5d381 [2022-07-18T10:07:37.557Z] Step 7/22 : COPY VERSION /tmp/sdk [2022-07-18T10:07:37.557Z] ---> 9a5e69bf22ce [2022-07-18T10:07:37.557Z] Step 8/22 : COPY src /tmp/sdk/src [2022-07-18T10:07:37.818Z] ---> 3f90df83022a [2022-07-18T10:07:37.818Z] Step 9/22 : COPY include /tmp/sdk/include [2022-07-18T10:07:38.081Z] ---> 9e544c649bf7 [2022-07-18T10:07:38.081Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2022-07-18T10:07:38.082Z] ---> a30d25e1ac6e [2022-07-18T10:07:38.082Z] Step 11/22 : COPY LICENSE /tmp/sdk [2022-07-18T10:07:38.345Z] ---> 153110e24666 [2022-07-18T10:07:38.345Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2022-07-18T10:07:38.605Z] ---> 23aae1ef75b7 [2022-07-18T10:07:38.605Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2022-07-18T10:07:38.605Z] ---> Running in b9fc12381986 [2022-07-18T10:07:38.868Z] + CPPCHECK=false [2022-07-18T10:07:38.868Z] + DOCGEN=false [2022-07-18T10:07:38.869Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2022-07-18T10:07:38.869Z] + TOMLVER=SDK-0.2 [2022-07-18T10:07:38.869Z] + CUTILVER=1.2.2 [2022-07-18T10:07:38.869Z] + '[' 0 -gt 0 ] [2022-07-18T10:07:38.869Z] + readlink -f ./scripts/build.sh [2022-07-18T10:07:38.869Z] + dirname /tmp/sdk/scripts/build.sh [2022-07-18T10:07:38.869Z] + dirname /tmp/sdk/scripts [2022-07-18T10:07:38.869Z] + ROOT=/tmp/sdk [2022-07-18T10:07:38.869Z] + cd /tmp/sdk [2022-07-18T10:07:38.869Z] + '[' '!' -d deps ] [2022-07-18T10:07:38.869Z] + mkdir deps [2022-07-18T10:07:38.869Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-07-18T10:07:38.869Z] + tar -C deps -z -x -f - [2022-07-18T10:07:38.869Z] Connecting to github.com (140.82.113.4:443) [2022-07-18T10:07:39.131Z] Connecting to codeload.github.com (140.82.113.9:443) [2022-07-18T10:07:39.131Z] writing to stdout [2022-07-18T10:07:39.131Z] - 100% |********************************| 16451 0:00:00 ETA [2022-07-18T10:07:39.131Z] written to stdout [2022-07-18T10:07:39.131Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2022-07-18T10:07:39.131Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2022-07-18T10:07:39.131Z] + tar -C deps -z -x -f - [2022-07-18T10:07:39.131Z] Connecting to github.com (140.82.113.4:443) [2022-07-18T10:07:39.398Z] Connecting to codeload.github.com (140.82.113.9:443) [2022-07-18T10:07:39.662Z] writing to stdout [2022-07-18T10:07:39.662Z] - 100% |********************************| 189k 0:00:00 ETA [2022-07-18T10:07:39.662Z] written to stdout [2022-07-18T10:07:39.662Z] + mkdir -p src/c/iot [2022-07-18T10:07:39.662Z] + 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-18T10:07:39.662Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2022-07-18T10:07:39.662Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2022-07-18T10:07:39.662Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2022-07-18T10:07:39.662Z] + mkdir -p include/iot [2022-07-18T10:07:39.662Z] + 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-18T10:07:39.662Z] + mkdir -p include/iot/os [2022-07-18T10:07:39.662Z] + 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-18T10:07:39.662Z] + mkdir -p /tmp/sdk/build/release [2022-07-18T10:07:39.662Z] + cd /tmp/sdk/build/release [2022-07-18T10:07:39.662Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2022-07-18T10:07:39.662Z] -- The C compiler identification is GNU 10.3.1 [2022-07-18T10:07:39.662Z] -- Detecting C compiler ABI info [2022-07-18T10:07:39.924Z] -- Detecting C compiler ABI info - done [2022-07-18T10:07:39.924Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-07-18T10:07:39.924Z] -- Detecting C compile features [2022-07-18T10:07:39.924Z] -- Detecting C compile features - done [2022-07-18T10:07:39.924Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-07-18T10:07:39.924Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-07-18T10:07:39.924Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-07-18T10:07:39.924Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-07-18T10:07:39.924Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-07-18T10:07:39.924Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-07-18T10:07:39.924Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-07-18T10:07:39.924Z] -- C SDK 0.0.0 for Linux [2022-07-18T10:07:39.924Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-07-18T10:07:39.924Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-07-18T10:07:39.924Z] -- Found Curses: /usr/lib/libcurses.so [2022-07-18T10:07:40.187Z] -- Configuring done [2022-07-18T10:07:40.187Z] -- Generating done [2022-07-18T10:07:40.187Z] -- Build files have been written to: /tmp/sdk/build/release [2022-07-18T10:07:40.187Z] + make all package [2022-07-18T10:07:40.187Z] + tee release.log [2022-07-18T10:07:40.187Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-07-18T10:07:40.187Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-07-18T10:07:40.450Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-07-18T10:07:40.711Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-07-18T10:07:40.825Z] Still waiting to schedule task [2022-07-18T10:07:40.825Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-07-18T10:07:40.974Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-07-18T10:07:40.974Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-07-18T10:07:41.237Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-07-18T10:07:41.237Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-07-18T10:07:41.500Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-07-18T10:07:41.763Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-07-18T10:07:42.025Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-07-18T10:07:42.025Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-07-18T10:07:42.287Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-07-18T10:07:42.287Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-07-18T10:07:42.550Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-07-18T10:07:42.550Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-07-18T10:07:42.550Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-07-18T10:07:43.126Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-07-18T10:07:43.126Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-07-18T10:07:43.388Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-07-18T10:07:43.388Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-07-18T10:07:43.388Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-07-18T10:07:43.650Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-07-18T10:07:43.650Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-07-18T10:07:43.650Z] 275 | const iot_component_factory_t * factory; [2022-07-18T10:07:43.650Z] | ^~~~~~~ [2022-07-18T10:07:43.650Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-07-18T10:07:44.594Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-07-18T10:07:44.594Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-07-18T10:07:44.594Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-07-18T10:07:44.855Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-07-18T10:07:44.855Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-07-18T10:07:44.855Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-07-18T10:07:45.115Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-07-18T10:07:45.115Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-07-18T10:07:45.376Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-07-18T10:07:45.376Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-07-18T10:07:45.636Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-07-18T10:07:45.897Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-07-18T10:07:45.897Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-07-18T10:07:46.157Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-07-18T10:07:46.157Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-07-18T10:07:47.100Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-07-18T10:07:47.100Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-07-18T10:07:47.360Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-07-18T10:07:47.360Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-07-18T10:07:47.622Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-07-18T10:07:48.193Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-07-18T10:07:48.193Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-07-18T10:07:48.193Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-07-18T10:07:48.193Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-07-18T10:07:48.769Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-07-18T10:07:49.712Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-07-18T10:07:49.712Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2022-07-18T10:07:49.712Z] [ 75%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-07-18T10:07:49.712Z] [ 76%] Linking C shared library libcsdk.so [2022-07-18T10:07:49.972Z] [ 76%] Built target csdk [2022-07-18T10:07:49.972Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-07-18T10:07:49.972Z] [ 79%] Linking C executable template [2022-07-18T10:07:49.972Z] [ 79%] Built target template [2022-07-18T10:07:50.232Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-07-18T10:07:50.232Z] [ 82%] Linking C executable device-counter [2022-07-18T10:07:50.232Z] [ 82%] Built target device-counter [2022-07-18T10:07:50.232Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-07-18T10:07:50.493Z] [ 85%] Linking C executable device-random [2022-07-18T10:07:50.493Z] [ 85%] Built target device-random [2022-07-18T10:07:50.493Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-07-18T10:07:50.493Z] [ 88%] Linking C executable device-gyro [2022-07-18T10:07:50.755Z] [ 88%] Built target device-gyro [2022-07-18T10:07:50.755Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-07-18T10:07:50.755Z] [ 91%] Linking C executable device-bitfields [2022-07-18T10:07:50.755Z] [ 91%] Built target device-bitfields [2022-07-18T10:07:50.755Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-07-18T10:07:51.016Z] [ 94%] Linking C executable template-discovery [2022-07-18T10:07:51.016Z] [ 94%] Built target template-discovery [2022-07-18T10:07:51.016Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-07-18T10:07:51.277Z] [ 97%] Linking C executable device-file [2022-07-18T10:07:51.277Z] [ 97%] Built target device-file [2022-07-18T10:07:51.277Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-07-18T10:07:51.539Z] [100%] Linking C executable device-terminal [2022-07-18T10:07:51.539Z] [100%] Built target device-terminal [2022-07-18T10:07:51.539Z] Run CPack packaging tool... [2022-07-18T10:07:51.539Z] CPack: Create package using TGZ [2022-07-18T10:07:51.539Z] CPack: Install projects [2022-07-18T10:07:51.539Z] CPack: - Run preinstall target for: Csdk [2022-07-18T10:07:51.801Z] CPack: - Install project: Csdk [] [2022-07-18T10:07:51.801Z] CPack: Create package [2022-07-18T10:07:51.801Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2022-07-18T10:07:51.801Z] + '[' false '=' true ] [2022-07-18T10:07:51.801Z] + '[' false '=' true ] [2022-07-18T10:07:51.801Z] + mkdir -p /tmp/sdk/build/debug [2022-07-18T10:07:51.801Z] + cd /tmp/sdk/build/debug [2022-07-18T10:07:51.801Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2022-07-18T10:07:52.062Z] -- The C compiler identification is GNU 10.3.1 [2022-07-18T10:07:52.062Z] -- Detecting C compiler ABI info [2022-07-18T10:07:52.062Z] -- Detecting C compiler ABI info - done [2022-07-18T10:07:52.062Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-07-18T10:07:52.062Z] -- Detecting C compile features [2022-07-18T10:07:52.062Z] -- Detecting C compile features - done [2022-07-18T10:07:52.062Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-07-18T10:07:52.062Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-07-18T10:07:52.062Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-07-18T10:07:52.062Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-07-18T10:07:52.062Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-07-18T10:07:52.062Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-07-18T10:07:52.062Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-07-18T10:07:52.062Z] -- C SDK 0.0.0 for Linux [2022-07-18T10:07:52.062Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-07-18T10:07:52.324Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-07-18T10:07:52.324Z] -- Found Curses: /usr/lib/libcurses.so [2022-07-18T10:07:52.324Z] -- Configuring done [2022-07-18T10:07:52.324Z] -- Generating done [2022-07-18T10:07:52.324Z] -- Build files have been written to: /tmp/sdk/build/debug [2022-07-18T10:07:52.324Z] + make [2022-07-18T10:07:52.324Z] + tee debug.log [2022-07-18T10:07:52.324Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-07-18T10:07:52.324Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-07-18T10:07:52.585Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-07-18T10:07:52.585Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-07-18T10:07:52.846Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-07-18T10:07:52.846Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-07-18T10:07:52.846Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-07-18T10:07:52.846Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-07-18T10:07:53.107Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-07-18T10:07:53.107Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-07-18T10:07:53.368Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-07-18T10:07:53.368Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-07-18T10:07:53.368Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-07-18T10:07:53.368Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-07-18T10:07:53.627Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-07-18T10:07:53.627Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-07-18T10:07:53.627Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-07-18T10:07:53.889Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-07-18T10:07:53.889Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-07-18T10:07:53.889Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-07-18T10:07:54.150Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-07-18T10:07:54.150Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-07-18T10:07:54.150Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-07-18T10:07:54.150Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-07-18T10:07:54.150Z] 275 | const iot_component_factory_t * factory; [2022-07-18T10:07:54.150Z] | ^~~~~~~ [2022-07-18T10:07:54.150Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-07-18T10:07:54.412Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-07-18T10:07:54.412Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-07-18T10:07:54.412Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-07-18T10:07:54.676Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-07-18T10:07:54.676Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-07-18T10:07:54.676Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-07-18T10:07:54.676Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-07-18T10:07:54.937Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-07-18T10:07:54.937Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-07-18T10:07:54.937Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-07-18T10:07:54.937Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-07-18T10:07:55.228Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-07-18T10:07:55.228Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-07-18T10:07:55.228Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-07-18T10:07:55.228Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-07-18T10:07:55.496Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-07-18T10:07:55.787Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-07-18T10:07:55.787Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-07-18T10:07:55.787Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-07-18T10:07:55.787Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-07-18T10:07:56.089Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-07-18T10:07:56.089Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-07-18T10:07:56.362Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-07-18T10:07:56.362Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-07-18T10:07:56.362Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-07-18T10:07:56.646Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-07-18T10:07:56.646Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2022-07-18T10:07:56.646Z] [ 75%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-07-18T10:07:56.944Z] [ 76%] Linking C shared library libcsdk.so [2022-07-18T10:07:56.945Z] [ 76%] Built target csdk [2022-07-18T10:07:56.945Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-07-18T10:07:56.945Z] [ 79%] Linking C executable template [2022-07-18T10:07:56.945Z] [ 79%] Built target template [2022-07-18T10:07:57.205Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-07-18T10:07:57.205Z] [ 82%] Linking C executable device-counter [2022-07-18T10:07:57.205Z] [ 82%] Built target device-counter [2022-07-18T10:07:57.205Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-07-18T10:07:57.205Z] [ 85%] Linking C executable device-random [2022-07-18T10:07:57.467Z] [ 85%] Built target device-random [2022-07-18T10:07:57.467Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-07-18T10:07:57.467Z] [ 88%] Linking C executable device-gyro [2022-07-18T10:07:57.467Z] [ 88%] Built target device-gyro [2022-07-18T10:07:57.467Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-07-18T10:07:57.467Z] [ 91%] Linking C executable device-bitfields [2022-07-18T10:07:57.726Z] [ 91%] Built target device-bitfields [2022-07-18T10:07:57.726Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-07-18T10:07:57.726Z] [ 94%] Linking C executable template-discovery [2022-07-18T10:07:57.726Z] [ 94%] Built target template-discovery [2022-07-18T10:07:57.726Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-07-18T10:07:57.987Z] [ 97%] Linking C executable device-file [2022-07-18T10:07:57.987Z] [ 97%] Built target device-file [2022-07-18T10:07:57.987Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-07-18T10:07:57.987Z] [100%] Linking C executable device-terminal [2022-07-18T10:07:58.249Z] [100%] Built target device-terminal [2022-07-18T10:07:58.249Z] make: Entering directory '/tmp/sdk/build/release' [2022-07-18T10:07:58.249Z] make[1]: Entering directory '/tmp/sdk/build/release' [2022-07-18T10:07:58.249Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-18T10:07:58.249Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-18T10:07:58.249Z] [ 76%] Built target csdk [2022-07-18T10:07:58.250Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-18T10:07:58.250Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-18T10:07:58.250Z] [ 79%] Built target template [2022-07-18T10:07:58.250Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-18T10:07:58.250Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-18T10:07:58.250Z] [ 82%] Built target device-counter [2022-07-18T10:07:58.250Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-18T10:07:58.250Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-18T10:07:58.250Z] [ 85%] Built target device-random [2022-07-18T10:07:58.250Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-18T10:07:58.250Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-18T10:07:58.250Z] [ 88%] Built target device-gyro [2022-07-18T10:07:58.250Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-18T10:07:58.250Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-18T10:07:58.250Z] [ 91%] Built target device-bitfields [2022-07-18T10:07:58.250Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-18T10:07:58.250Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-18T10:07:58.250Z] [ 94%] Built target template-discovery [2022-07-18T10:07:58.250Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-18T10:07:58.250Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-18T10:07:58.250Z] [ 97%] Built target device-file [2022-07-18T10:07:58.250Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-18T10:07:58.250Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-18T10:07:58.250Z] [100%] Built target device-terminal [2022-07-18T10:07:58.250Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2022-07-18T10:07:58.250Z] Install the project... [2022-07-18T10:07:58.512Z] -- Install configuration: "Release" [2022-07-18T10:07:58.512Z] -- Installing: /usr/local/lib/libcsdk.so [2022-07-18T10:07:58.512Z] -- Installing: /usr/local/include [2022-07-18T10:07:58.512Z] -- Installing: /usr/local/include/edgex [2022-07-18T10:07:58.512Z] -- Installing: /usr/local/include/edgex/profiles.h [2022-07-18T10:07:58.512Z] -- Installing: /usr/local/include/edgex/edgex.h [2022-07-18T10:07:58.512Z] -- Installing: /usr/local/include/edgex/rest-server.h [2022-07-18T10:07:58.512Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2022-07-18T10:07:58.512Z] -- Installing: /usr/local/include/edgex/devices.h [2022-07-18T10:07:58.512Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2022-07-18T10:07:58.512Z] -- Installing: /usr/local/include/devsdk [2022-07-18T10:07:58.512Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2022-07-18T10:07:58.512Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2022-07-18T10:07:58.512Z] -- Installing: /usr/local/include/iot [2022-07-18T10:07:58.512Z] -- Installing: /usr/local/include/iot/thread.h [2022-07-18T10:07:58.512Z] -- Installing: /usr/local/include/iot/hash.h [2022-07-18T10:07:58.512Z] -- Installing: /usr/local/include/iot/typecode.h [2022-07-18T10:07:58.512Z] -- Installing: /usr/local/include/iot/threadpool.h [2022-07-18T10:07:58.512Z] -- Installing: /usr/local/include/iot/uuid.h [2022-07-18T10:07:58.512Z] -- Installing: /usr/local/include/iot/logger.h [2022-07-18T10:07:58.512Z] -- Installing: /usr/local/include/iot/config.h [2022-07-18T10:07:58.512Z] -- Installing: /usr/local/include/iot/os.h [2022-07-18T10:07:58.512Z] -- Installing: /usr/local/include/iot/container.h [2022-07-18T10:07:58.512Z] -- Installing: /usr/local/include/iot/scheduler.h [2022-07-18T10:07:58.512Z] -- Installing: /usr/local/include/iot/defs.h [2022-07-18T10:07:58.512Z] -- Installing: /usr/local/include/iot/iot.h [2022-07-18T10:07:58.512Z] -- Installing: /usr/local/include/iot/component.h [2022-07-18T10:07:58.512Z] -- Installing: /usr/local/include/iot/os [2022-07-18T10:07:58.512Z] -- Installing: /usr/local/include/iot/os/linux.h [2022-07-18T10:07:58.512Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2022-07-18T10:07:58.512Z] -- Installing: /usr/local/include/iot/os/macos.h [2022-07-18T10:07:58.512Z] -- Installing: /usr/local/include/iot/base64.h [2022-07-18T10:07:58.512Z] -- Installing: /usr/local/include/iot/time.h [2022-07-18T10:07:58.512Z] -- Installing: /usr/local/include/iot/data.h [2022-07-18T10:07:58.512Z] -- Installing: /usr/local/include/iot/json.h [2022-07-18T10:07:58.512Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2022-07-18T10:07:58.512Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2022-07-18T10:07:58.512Z] make: Leaving directory '/tmp/sdk/build/release' [2022-07-18T10:07:59.082Z] Removing intermediate container b9fc12381986 [2022-07-18T10:07:59.082Z] ---> 9d41d40595d4 [2022-07-18T10:07:59.082Z] Step 14/22 : FROM ${BASE} [2022-07-18T10:07:59.082Z] ---> 547c565c9e89 [2022-07-18T10:07:59.082Z] Step 15/22 : LABEL maintainer="IOTech " [2022-07-18T10:07:59.082Z] ---> Running in 7c9a161e4306 [2022-07-18T10:07:59.345Z] Removing intermediate container 7c9a161e4306 [2022-07-18T10:07:59.345Z] ---> 1818e7a104a2 [2022-07-18T10:07:59.345Z] 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-18T10:07:59.345Z] ---> Running in 1eba5d728c1c [2022-07-18T10:07:59.605Z] Connecting to iotech.jfrog.io (63.32.116.203:443) [2022-07-18T10:08:00.178Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-07-18T10:08:00.178Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-07-18T10:08:00.178Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-07-18T10:08:00.442Z] Removing intermediate container 1eba5d728c1c [2022-07-18T10:08:00.442Z] ---> 5f10e3664825 [2022-07-18T10:08:00.442Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-07-18T10:08:00.442Z] ---> Running in a1ba00273fd2 [2022-07-18T10:08:01.014Z] Removing intermediate container a1ba00273fd2 [2022-07-18T10:08:01.014Z] ---> f3566ebb427f [2022-07-18T10:08:01.014Z] 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-18T10:08:01.014Z] ---> Running in f99d2b9e35f6 [2022-07-18T10:08:01.274Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-18T10:08:01.274Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-18T10:08:01.536Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-18T10:08:02.109Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-07-18T10:08:02.109Z] (1/6) Installing curl (7.80.0-r2) [2022-07-18T10:08:02.109Z] (2/6) Installing hiredis (1.0.2-r0) [2022-07-18T10:08:02.109Z] (3/6) Installing hiredis-dev (1.0.2-r0) [2022-07-18T10:08:02.109Z] (4/6) Installing libcbor (0.8.0-r0) [2022-07-18T10:08:02.109Z] (5/6) Installing libuuid (2.37.4-r0) [2022-07-18T10:08:02.109Z] (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) [2022-07-18T10:08:02.681Z] Executing busybox-1.34.1-r5.trigger [2022-07-18T10:08:02.681Z] OK: 283 MiB in 83 packages [2022-07-18T10:08:03.251Z] Removing intermediate container f99d2b9e35f6 [2022-07-18T10:08:03.251Z] ---> 4ae157ed6415 [2022-07-18T10:08:03.251Z] Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2022-07-18T10:08:03.251Z] ---> aa88bcb7b06a [2022-07-18T10:08:03.251Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2022-07-18T10:08:03.512Z] ---> 0d5a558f4f12 [2022-07-18T10:08:03.512Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2022-07-18T10:08:03.776Z] ---> b684d935f273 [2022-07-18T10:08:03.776Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2022-07-18T10:08:03.776Z] ---> f20ef954161d [2022-07-18T10:08:03.776Z] Successfully built f20ef954161d [2022-07-18T10:08:03.776Z] 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-18T10:08:04.446Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-18T10:08:04.446Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T10:08:04.606Z] prd-ubuntu20.04-docker-8c-8g-20387 does not seem to be running inside a container [2022-07-18T10:08:04.644Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-426 -v /w/workspace/edgexfoundry_device-sdk-c_PR-426:/w/workspace/edgexfoundry_device-sdk-c_PR-426:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-426@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-426@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 ******** ci-base-image-x86_64 cat [2022-07-18T10:08:05.034Z] $ docker top 176d11cc044b432d4400078e94bcc3afefbcab32562dc16e6a45762e5bdff64c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-18T10:08:05.438Z] + make test [2022-07-18T10:08:05.438Z] echo "make test" [2022-07-18T10:08:05.438Z] make test [Pipeline] } [2022-07-18T10:08:05.476Z] $ docker stop --time=1 176d11cc044b432d4400078e94bcc3afefbcab32562dc16e6a45762e5bdff64c [2022-07-18T10:08:06.814Z] $ docker rm -f 176d11cc044b432d4400078e94bcc3afefbcab32562dc16e6a45762e5bdff64c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-18T10:08:07.670Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-18T10:08:07.997Z] + ls -al . [2022-07-18T10:08:07.997Z] total 208 [2022-07-18T10:08:07.997Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 18 10:07 . [2022-07-18T10:08:07.997Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 10:06 .. [2022-07-18T10:08:07.997Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 10:07 .git [2022-07-18T10:08:07.997Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 10:06 .github [2022-07-18T10:08:07.997Z] -rw-rw-r-- 1 jenkins jenkins 176 Jul 18 10:06 .gitignore [2022-07-18T10:08:07.997Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 10:07 .semver [2022-07-18T10:08:07.997Z] -rw-rw-r-- 1 jenkins jenkins 3104 Jul 18 10:06 Attribution.txt [2022-07-18T10:08:07.997Z] -rw-rw-r-- 1 jenkins jenkins 8420 Jul 18 10:06 CHANGES [2022-07-18T10:08:07.997Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jul 18 10:06 Doxyfile [2022-07-18T10:08:07.997Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 18 10:06 GOVERNANCE.md [2022-07-18T10:08:07.997Z] -rw-rw-r-- 1 jenkins jenkins 784 Jul 18 10:06 Jenkinsfile [2022-07-18T10:08:07.997Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jul 18 10:06 LICENSE [2022-07-18T10:08:07.997Z] -rw-rw-r-- 1 jenkins jenkins 444 Jul 18 10:06 Makefile [2022-07-18T10:08:07.997Z] -rw-rw-r-- 1 jenkins jenkins 618 Jul 18 10:06 OWNERS.md [2022-07-18T10:08:07.997Z] -rw-rw-r-- 1 jenkins jenkins 4086 Jul 18 10:06 README.md [2022-07-18T10:08:07.997Z] -rw-rw-r-- 1 jenkins jenkins 7422 Jul 18 10:06 README.v2.md [2022-07-18T10:08:07.997Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 18 10:07 VERSION [2022-07-18T10:08:07.997Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 10:06 docs [2022-07-18T10:08:07.997Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 10:06 include [2022-07-18T10:08:07.997Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 10:06 scripts [2022-07-18T10:08:07.997Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 10:06 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T10:08:08.386Z] + 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=e63c7879a3bce4aed0d874b256ca7adbf4f34e4c --label arch=amd64 --label version=0.0.0 . [2022-07-18T10:08:08.386Z] Sending build context to Docker daemon 4.625MB [2022-07-18T10:08:08.386Z] Step 1/17 : ARG BASE=alpine:3.15 [2022-07-18T10:08:08.386Z] Step 2/17 : FROM ${BASE} [2022-07-18T10:08:08.386Z] ---> f20ef954161d [2022-07-18T10:08:08.387Z] Step 3/17 : LABEL maintainer="IOTech " [2022-07-18T10:08:08.387Z] ---> Running in a7c0efdd8506 [2022-07-18T10:08:08.650Z] Removing intermediate container a7c0efdd8506 [2022-07-18T10:08:08.650Z] ---> e9fa4b124ac5 [2022-07-18T10:08:08.650Z] 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-18T10:08:08.650Z] ---> Running in 5d5f21fce6f2 [2022-07-18T10:08:08.919Z] Connecting to iotech.jfrog.io (3.248.137.73:443) [2022-07-18T10:08:09.501Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-07-18T10:08:09.501Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-07-18T10:08:09.501Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-07-18T10:08:09.501Z] Removing intermediate container 5d5f21fce6f2 [2022-07-18T10:08:09.501Z] ---> 8bb98277308b [2022-07-18T10:08:09.501Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-07-18T10:08:09.767Z] ---> Running in 870b98657bdc [2022-07-18T10:08:10.346Z] Removing intermediate container 870b98657bdc [2022-07-18T10:08:10.346Z] ---> 5ceac9ad05a7 [2022-07-18T10:08:10.346Z] 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-18T10:08:10.346Z] ---> Running in cb008013591e [2022-07-18T10:08:10.608Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-18T10:08:10.875Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-18T10:08:11.138Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-18T10:08:11.709Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-07-18T10:08:11.709Z] (1/28) Upgrading ncurses-terminfo-base (6.3_p20211120-r0 -> 6.3_p20211120-r1) [2022-07-18T10:08:11.709Z] (2/28) Upgrading ncurses-libs (6.3_p20211120-r0 -> 6.3_p20211120-r1) [2022-07-18T10:08:11.709Z] (3/28) Installing libcbor-dev (0.8.0-r0) [2022-07-18T10:08:11.709Z] (4/28) Installing ncurses-dev (6.3_p20211120-r1) [2022-07-18T10:08:11.709Z] (5/28) Installing util-linux (2.37.4-r0) [2022-07-18T10:08:11.709Z] (6/28) Installing libblkid (2.37.4-r0) [2022-07-18T10:08:11.709Z] (7/28) Installing libeconf (0.4.2-r0) [2022-07-18T10:08:11.709Z] (8/28) Installing libfdisk (2.37.4-r0) [2022-07-18T10:08:11.709Z] (9/28) Installing libmount (2.37.4-r0) [2022-07-18T10:08:11.709Z] (10/28) Installing libsmartcols (2.37.4-r0) [2022-07-18T10:08:11.709Z] (11/28) Installing util-linux-misc (2.37.4-r0) [2022-07-18T10:08:11.709Z] (12/28) Installing linux-pam (1.5.2-r0) [2022-07-18T10:08:11.709Z] (13/28) Installing runuser (2.37.4-r0) [2022-07-18T10:08:11.710Z] (14/28) Installing hexdump (2.37.4-r0) [2022-07-18T10:08:11.710Z] (15/28) Installing uuidgen (2.37.4-r0) [2022-07-18T10:08:11.710Z] (16/28) Installing blkid (2.37.4-r0) [2022-07-18T10:08:11.710Z] (17/28) Installing sfdisk (2.37.4-r0) [2022-07-18T10:08:11.710Z] (18/28) Installing mcookie (2.37.4-r0) [2022-07-18T10:08:11.710Z] (19/28) Installing wipefs (2.37.4-r0) [2022-07-18T10:08:11.710Z] (20/28) Installing cfdisk (2.37.4-r0) [2022-07-18T10:08:11.710Z] (21/28) Installing flock (2.37.4-r0) [2022-07-18T10:08:11.710Z] (22/28) Installing lsblk (2.37.4-r0) [2022-07-18T10:08:11.710Z] (23/28) Installing libcap-ng (0.8.2-r1) [2022-07-18T10:08:11.710Z] (24/28) Installing setpriv (2.37.4-r0) [2022-07-18T10:08:11.710Z] (25/28) Installing logger (2.37.4-r0) [2022-07-18T10:08:11.710Z] (26/28) Installing partx (2.37.4-r0) [2022-07-18T10:08:11.710Z] (27/28) Installing findmnt (2.37.4-r0) [2022-07-18T10:08:11.710Z] (28/28) Installing util-linux-dev (2.37.4-r0) [2022-07-18T10:08:11.710Z] Executing busybox-1.34.1-r5.trigger [2022-07-18T10:08:11.710Z] OK: 294 MiB in 109 packages [2022-07-18T10:08:12.662Z] Removing intermediate container cb008013591e [2022-07-18T10:08:12.662Z] ---> 041a4e059b7d [2022-07-18T10:08:12.662Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2022-07-18T10:08:12.662Z] ---> 4ba43af7cab1 [2022-07-18T10:08:12.662Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2022-07-18T10:08:12.923Z] ---> a0438a8f3c47 [2022-07-18T10:08:12.923Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2022-07-18T10:08:12.923Z] ---> b6419859f0d6 [2022-07-18T10:08:12.923Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2022-07-18T10:08:13.183Z] ---> e54f85118597 [2022-07-18T10:08:13.183Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2022-07-18T10:08:13.445Z] ---> ef83b3db6c00 [2022-07-18T10:08:13.445Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2022-07-18T10:08:13.445Z] ---> 4c931a41ea82 [2022-07-18T10:08:13.445Z] Step 13/17 : WORKDIR /edgex-c-sdk [2022-07-18T10:08:13.445Z] ---> Running in 825c52a22e58 [2022-07-18T10:08:13.706Z] Removing intermediate container 825c52a22e58 [2022-07-18T10:08:13.706Z] ---> 8a8d9d9a42c0 [2022-07-18T10:08:13.706Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2022-07-18T10:08:13.706Z] ---> Running in 1819067307cb [2022-07-18T10:08:13.706Z] Removing intermediate container 1819067307cb [2022-07-18T10:08:13.706Z] ---> a892d8989818 [2022-07-18T10:08:13.706Z] Step 15/17 : LABEL arch=amd64 [2022-07-18T10:08:13.706Z] ---> Running in 34cfcda98d4c [2022-07-18T10:08:13.971Z] Removing intermediate container 34cfcda98d4c [2022-07-18T10:08:13.971Z] ---> 66066314866e [2022-07-18T10:08:13.971Z] Step 16/17 : LABEL git_sha=e63c7879a3bce4aed0d874b256ca7adbf4f34e4c [2022-07-18T10:08:13.971Z] ---> Running in a457400dc6a7 [2022-07-18T10:08:13.971Z] Removing intermediate container a457400dc6a7 [2022-07-18T10:08:13.971Z] ---> 1bc76a35f187 [2022-07-18T10:08:13.971Z] Step 17/17 : LABEL version=0.0.0 [2022-07-18T10:08:13.971Z] ---> Running in 2b59e8d17f39 [2022-07-18T10:08:14.239Z] Removing intermediate container 2b59e8d17f39 [2022-07-18T10:08:14.239Z] ---> e51d713fee0b [2022-07-18T10:08:14.239Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-07-18T10:08:14.239Z] Successfully built e51d713fee0b [2022-07-18T10:08:14.239Z] 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-18T10:08:15.182Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-18T10:08:15.182Z] [2022-07-18T10:08:15.182Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T10:08:15.564Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-18T10:08:15.564Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-18T10:08:15.564Z] 5eb5b503b376: Pulling fs layer [2022-07-18T10:08:15.564Z] 5c69ac0246d0: Pulling fs layer [2022-07-18T10:08:15.564Z] ec43610c2a17: Pulling fs layer [2022-07-18T10:08:15.564Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-18T10:08:15.564Z] 33b1e0a273af: Pulling fs layer [2022-07-18T10:08:15.564Z] 3a2ae6a8a46f: Waiting [2022-07-18T10:08:15.564Z] 5d3b04190fa2: Pulling fs layer [2022-07-18T10:08:15.564Z] 2f39f015ded8: Pulling fs layer [2022-07-18T10:08:15.564Z] 5d3b04190fa2: Waiting [2022-07-18T10:08:15.564Z] 2f39f015ded8: Waiting [2022-07-18T10:08:15.564Z] 5c69ac0246d0: Verifying Checksum [2022-07-18T10:08:15.564Z] 5c69ac0246d0: Download complete [2022-07-18T10:08:15.564Z] 3a2ae6a8a46f: Download complete [2022-07-18T10:08:15.564Z] ec43610c2a17: Verifying Checksum [2022-07-18T10:08:15.564Z] ec43610c2a17: Download complete [2022-07-18T10:08:15.827Z] 33b1e0a273af: Verifying Checksum [2022-07-18T10:08:15.827Z] 33b1e0a273af: Download complete [2022-07-18T10:08:15.827Z] 5d3b04190fa2: Download complete [2022-07-18T10:08:15.827Z] 5eb5b503b376: Verifying Checksum [2022-07-18T10:08:15.827Z] 5eb5b503b376: Download complete [2022-07-18T10:08:16.395Z] 2f39f015ded8: Verifying Checksum [2022-07-18T10:08:16.395Z] 2f39f015ded8: Download complete [2022-07-18T10:08:17.335Z] 5eb5b503b376: Pull complete [2022-07-18T10:08:17.335Z] 5c69ac0246d0: Pull complete [2022-07-18T10:08:17.906Z] ec43610c2a17: Pull complete [2022-07-18T10:08:17.906Z] 3a2ae6a8a46f: Pull complete [2022-07-18T10:08:18.167Z] 33b1e0a273af: Pull complete [2022-07-18T10:08:18.167Z] 5d3b04190fa2: Pull complete [2022-07-18T10:08:23.458Z] 2f39f015ded8: Pull complete [2022-07-18T10:08:23.458Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-18T10:08:23.458Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-18T10:08:23.458Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T10:08:23.683Z] prd-ubuntu20.04-docker-8c-8g-20387 does not seem to be running inside a container [2022-07-18T10:08:23.717Z] $ 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-426 -v /w/workspace/edgexfoundry_device-sdk-c_PR-426:/w/workspace/edgexfoundry_device-sdk-c_PR-426:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-426@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-426@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-lftools-log-publisher:latest cat [2022-07-18T10:08:25.304Z] $ docker top b1e3149b51420c552de21a14df77dc063b3e2fb97c410a7076502d49868cae92 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-18T10:08:25.782Z] ---> job-cost.sh [2022-07-18T10:08:25.782Z] lf-activate-venv: SKIPPING [2022-07-18T10:08:25.782Z] INFO: No Stack... [2022-07-18T10:08:26.356Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-18T10:08:26.619Z] INFO: Archiving Costs [Pipeline] sh [2022-07-18T10:08:26.935Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-426/archives/cost.csv [2022-07-18T10:08:26.935Z] + cut -d, -f6 [Pipeline] lock [2022-07-18T10:08:26.979Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-426-1-stack-cost] [2022-07-18T10:08:26.984Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-426-1-stack-cost] did not exist. Created. [2022-07-18T10:08:26.984Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-426-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-18T10:08:27.387Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-18T10:08:27.448Z] Stashed 1 file(s) [Pipeline] } [2022-07-18T10:08:27.468Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-426-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-18T10:08:27.548Z] $ docker stop --time=1 b1e3149b51420c552de21a14df77dc063b3e2fb97c410a7076502d49868cae92 [2022-07-18T10:08:28.730Z] $ docker rm -f b1e3149b51420c552de21a14df77dc063b3e2fb97c410a7076502d49868cae92 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-18T10:09:22.014Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20388 in /w/workspace/edgexfoundry_device-sdk-c_PR-426 [Pipeline] { [Pipeline] ws [2022-07-18T10:09:22.059Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2022-07-18T10:09:22.158Z] Selected Git installation does not exist. Using Default [2022-07-18T10:09:22.158Z] The recommended git tool is: NONE [2022-07-18T10:09:27.677Z] using credential edgex-jenkins-ssh [2022-07-18T10:09:27.696Z] Cloning the remote Git repository [2022-07-18T10:09:27.759Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2022-07-18T10:09:27.905Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2022-07-18T10:09:28.042Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2022-07-18T10:09:28.043Z] > git --version # timeout=10 [2022-07-18T10:09:28.064Z] > git --version # 'git version 2.25.1' [2022-07-18T10:09:28.066Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-18T10:09:28.154Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-18T10:09:29.767Z] Merging remotes/origin/main commit 03b32cf45bc5b3e412caddeb5d4d63e048da2cad into PR head commit e63c7879a3bce4aed0d874b256ca7adbf4f34e4c [2022-07-18T10:09:29.146Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2022-07-18T10:09:29.170Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-18T10:09:29.201Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2022-07-18T10:09:29.252Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2022-07-18T10:09:29.253Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-18T10:09:29.266Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/426/head:refs/remotes/origin/PR-426 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-18T10:09:29.790Z] > git config core.sparsecheckout # timeout=10 [2022-07-18T10:09:29.808Z] > git checkout -f e63c7879a3bce4aed0d874b256ca7adbf4f34e4c # timeout=10 [2022-07-18T10:09:29.933Z] > git remote # timeout=10 [2022-07-18T10:09:30.038Z] Merge succeeded, producing e63c7879a3bce4aed0d874b256ca7adbf4f34e4c [2022-07-18T10:09:30.038Z] Checking out Revision e63c7879a3bce4aed0d874b256ca7adbf4f34e4c (PR-426) [2022-07-18T10:09:29.959Z] > git config --get remote.origin.url # timeout=10 [2022-07-18T10:09:29.983Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-18T10:09:29.996Z] > git merge 03b32cf45bc5b3e412caddeb5d4d63e048da2cad # timeout=10 [2022-07-18T10:09:30.024Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-18T10:09:30.053Z] > git config core.sparsecheckout # timeout=10 [2022-07-18T10:09:30.074Z] > git checkout -f e63c7879a3bce4aed0d874b256ca7adbf4f34e4c # timeout=10 [2022-07-18T10:09:34.296Z] Commit message: "feat: add ProtocolProperties validation (#402) refac: use new mallinfo() replacement if available fix: parse multi-status return from device create" [2022-07-18T10:09:34.353Z] > git --version # timeout=10 [2022-07-18T10:09:34.366Z] > git --version # 'git version 2.25.1' [2022-07-18T10:09:34.377Z] fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-18T10:09:35.432Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-18T10:09:35.432Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-18T10:09:35.432Z] Dload Upload Total Spent Left Speed [2022-07-18T10:09:35.432Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 87460 0 --:--:-- --:--:-- --:--:-- 88085 [Pipeline] sh [2022-07-18T10:09:36.513Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-18T10:09:36.866Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-18T10:09:36.866Z] + sudo tee /etc/docker/daemon.new [2022-07-18T10:09:36.866Z] { [2022-07-18T10:09:36.866Z] "registry-mirrors": [ [2022-07-18T10:09:36.866Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-18T10:09:36.866Z] ], [2022-07-18T10:09:36.866Z] "bip": "10.250.0.254/24", [2022-07-18T10:09:36.866Z] "hosts": [ [2022-07-18T10:09:36.866Z] "tcp://0.0.0.0:5555", [2022-07-18T10:09:36.866Z] "unix:///var/run/docker.sock" [2022-07-18T10:09:36.866Z] ], [2022-07-18T10:09:36.866Z] "mtu": 1458, [2022-07-18T10:09:36.866Z] "selinux-enabled": true, [2022-07-18T10:09:36.866Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-18T10:09:36.866Z] } [Pipeline] sh [2022-07-18T10:09:37.228Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-18T10:09:37.585Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-18T10:09:55.992Z] provisioning config files... [2022-07-18T10:09:56.019Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config8404398287788601735tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-18T10:09:56.419Z] ---> docker-login.sh [2022-07-18T10:09:56.419Z] nexus3.edgexfoundry.org:10001 [2022-07-18T10:09:57.019Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T10:09:57.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T10:09:57.295Z] Configure a credential helper to remove this warning. See [2022-07-18T10:09:57.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T10:09:57.295Z] [2022-07-18T10:09:57.295Z] Login Succeeded [2022-07-18T10:09:57.295Z] nexus3.edgexfoundry.org:10002 [2022-07-18T10:09:57.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T10:09:57.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T10:09:57.856Z] Configure a credential helper to remove this warning. See [2022-07-18T10:09:57.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T10:09:57.856Z] [2022-07-18T10:09:57.856Z] Login Succeeded [2022-07-18T10:09:57.856Z] nexus3.edgexfoundry.org:10003 [2022-07-18T10:09:58.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T10:09:58.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T10:09:58.143Z] Configure a credential helper to remove this warning. See [2022-07-18T10:09:58.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T10:09:58.143Z] [2022-07-18T10:09:58.143Z] Login Succeeded [2022-07-18T10:09:58.143Z] nexus3.edgexfoundry.org:10004 [2022-07-18T10:09:58.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T10:09:58.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T10:09:58.749Z] Configure a credential helper to remove this warning. See [2022-07-18T10:09:58.749Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T10:09:58.749Z] [2022-07-18T10:09:58.749Z] Login Succeeded [2022-07-18T10:09:58.749Z] docker.io [2022-07-18T10:09:59.028Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T10:09:59.312Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T10:09:59.312Z] Configure a credential helper to remove this warning. See [2022-07-18T10:09:59.312Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T10:09:59.312Z] [2022-07-18T10:09:59.312Z] Login Succeeded [2022-07-18T10:09:59.312Z] ---> docker-login.sh ends [Pipeline] } [2022-07-18T10:09:59.352Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-18T10:09:59.768Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-18T10:09:59.803Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2022-07-18T10:09:59.838Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-18T10:09:59.868Z] ========================================================= [2022-07-18T10:09:59.868Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2022-07-18T10:09:59.868Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T10:10:00.325Z] + 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-18T10:10:00.604Z] Sending build context to Docker daemon 2.812MB [2022-07-18T10:10:00.883Z] Step 1/22 : ARG BASE=alpine:3.15 [2022-07-18T10:10:00.883Z] Step 2/22 : FROM ${BASE} as builder [2022-07-18T10:10:00.883Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2022-07-18T10:10:00.883Z] 9981e73032c8: Pulling fs layer [2022-07-18T10:10:00.883Z] 735ca4d71f2f: Pulling fs layer [2022-07-18T10:10:01.164Z] 9981e73032c8: Verifying Checksum [2022-07-18T10:10:01.164Z] 9981e73032c8: Download complete [2022-07-18T10:10:01.780Z] 9981e73032c8: Pull complete [2022-07-18T10:10:03.221Z] 735ca4d71f2f: Download complete [2022-07-18T10:10:11.521Z] 735ca4d71f2f: Pull complete [2022-07-18T10:10:11.521Z] Digest: sha256:64a8cfb6b63eb8334e03faf33c26f2878668258f25af41e1fb2a2cad40f91f89 [2022-07-18T10:10:11.521Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2022-07-18T10:10:11.521Z] ---> aede2dddcadd [2022-07-18T10:10:11.521Z] 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-18T10:10:12.505Z] ---> Running in 934569743b0b [2022-07-18T10:10:13.486Z] Connecting to iotech.jfrog.io (52.51.149.127:443) [2022-07-18T10:10:14.103Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-07-18T10:10:14.103Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-07-18T10:10:14.103Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-07-18T10:10:14.704Z] Removing intermediate container 934569743b0b [2022-07-18T10:10:14.704Z] ---> c138b95b0d2e [2022-07-18T10:10:14.704Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-07-18T10:10:14.704Z] ---> Running in 6709c7a04c59 [2022-07-18T10:10:16.146Z] Removing intermediate container 6709c7a04c59 [2022-07-18T10:10:16.146Z] ---> d1c646825117 [2022-07-18T10:10:16.146Z] 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-18T10:10:16.433Z] ---> Running in 90975ab0410b [2022-07-18T10:10:17.417Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-18T10:10:17.417Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-18T10:10:18.018Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-18T10:10:18.616Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-07-18T10:10:18.616Z] (1/33) Upgrading ncurses-terminfo-base (6.3_p20211120-r0 -> 6.3_p20211120-r1) [2022-07-18T10:10:18.616Z] (2/33) Upgrading ncurses-libs (6.3_p20211120-r0 -> 6.3_p20211120-r1) [2022-07-18T10:10:18.616Z] (3/33) Installing hiredis (1.0.2-r0) [2022-07-18T10:10:18.616Z] (4/33) Installing hiredis-dev (1.0.2-r0) [2022-07-18T10:10:18.616Z] (5/33) Installing libcbor (0.8.0-r0) [2022-07-18T10:10:18.890Z] (6/33) Installing libcbor-dev (0.8.0-r0) [2022-07-18T10:10:18.890Z] (7/33) Installing ncurses-dev (6.3_p20211120-r1) [2022-07-18T10:10:18.890Z] (8/33) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) [2022-07-18T10:10:19.488Z] (9/33) Installing util-linux (2.37.4-r0) [2022-07-18T10:10:19.488Z] (10/33) Installing libblkid (2.37.4-r0) [2022-07-18T10:10:19.488Z] (11/33) Installing libeconf (0.4.2-r0) [2022-07-18T10:10:19.488Z] (12/33) Installing libuuid (2.37.4-r0) [2022-07-18T10:10:19.488Z] (13/33) Installing libfdisk (2.37.4-r0) [2022-07-18T10:10:19.488Z] (14/33) Installing libmount (2.37.4-r0) [2022-07-18T10:10:19.763Z] (15/33) Installing libsmartcols (2.37.4-r0) [2022-07-18T10:10:19.763Z] (16/33) Installing util-linux-misc (2.37.4-r0) [2022-07-18T10:10:19.763Z] (17/33) Installing linux-pam (1.5.2-r0) [2022-07-18T10:10:19.763Z] (18/33) Installing runuser (2.37.4-r0) [2022-07-18T10:10:19.763Z] (19/33) Installing hexdump (2.37.4-r0) [2022-07-18T10:10:19.763Z] (20/33) Installing uuidgen (2.37.4-r0) [2022-07-18T10:10:19.763Z] (21/33) Installing blkid (2.37.4-r0) [2022-07-18T10:10:19.763Z] (22/33) Installing sfdisk (2.37.4-r0) [2022-07-18T10:10:19.763Z] (23/33) Installing mcookie (2.37.4-r0) [2022-07-18T10:10:19.763Z] (24/33) Installing wipefs (2.37.4-r0) [2022-07-18T10:10:19.763Z] (25/33) Installing cfdisk (2.37.4-r0) [2022-07-18T10:10:19.763Z] (26/33) Installing flock (2.37.4-r0) [2022-07-18T10:10:19.763Z] (27/33) Installing lsblk (2.37.4-r0) [2022-07-18T10:10:19.763Z] (28/33) Installing libcap-ng (0.8.2-r1) [2022-07-18T10:10:19.763Z] (29/33) Installing setpriv (2.37.4-r0) [2022-07-18T10:10:20.046Z] (30/33) Installing logger (2.37.4-r0) [2022-07-18T10:10:20.046Z] (31/33) Installing partx (2.37.4-r0) [2022-07-18T10:10:20.046Z] (32/33) Installing findmnt (2.37.4-r0) [2022-07-18T10:10:20.046Z] (33/33) Installing util-linux-dev (2.37.4-r0) [2022-07-18T10:10:20.046Z] Executing busybox-1.34.1-r5.trigger [2022-07-18T10:10:20.046Z] OK: 290 MiB in 108 packages [2022-07-18T10:10:21.489Z] Removing intermediate container 90975ab0410b [2022-07-18T10:10:21.489Z] ---> 157ef3313cc4 [2022-07-18T10:10:21.489Z] Step 6/22 : RUN mkdir /tmp/sdk [2022-07-18T10:10:21.489Z] ---> Running in 55f2d977e462 [2022-07-18T10:10:23.478Z] Removing intermediate container 55f2d977e462 [2022-07-18T10:10:23.478Z] ---> 90c933ac7b75 [2022-07-18T10:10:23.478Z] Step 7/22 : COPY VERSION /tmp/sdk [2022-07-18T10:10:23.753Z] ---> 81c6cdb5e09e [2022-07-18T10:10:23.753Z] Step 8/22 : COPY src /tmp/sdk/src [2022-07-18T10:10:24.367Z] ---> b569282db613 [2022-07-18T10:10:24.368Z] Step 9/22 : COPY include /tmp/sdk/include [2022-07-18T10:10:24.971Z] ---> 955a5221d977 [2022-07-18T10:10:24.971Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2022-07-18T10:10:26.965Z] ---> a36d4753319d [2022-07-18T10:10:26.965Z] Step 11/22 : COPY LICENSE /tmp/sdk [2022-07-18T10:10:27.249Z] ---> aa708543411b [2022-07-18T10:10:27.249Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2022-07-18T10:10:27.866Z] ---> 6163cbd2c443 [2022-07-18T10:10:27.866Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2022-07-18T10:10:27.866Z] ---> Running in 4b145bcf72c4 [2022-07-18T10:10:28.858Z] + CPPCHECK=false [2022-07-18T10:10:28.858Z] + DOCGEN=false [2022-07-18T10:10:28.858Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2022-07-18T10:10:28.858Z] + TOMLVER=SDK-0.2 [2022-07-18T10:10:28.858Z] + CUTILVER=1.2.2 [2022-07-18T10:10:28.858Z] + '[' 0 -gt 0 ] [2022-07-18T10:10:28.858Z] + readlink -f ./scripts/build.sh [2022-07-18T10:10:28.858Z] + dirname /tmp/sdk/scripts/build.sh [2022-07-18T10:10:28.858Z] + dirname /tmp/sdk/scripts [2022-07-18T10:10:28.858Z] + ROOT=/tmp/sdk [2022-07-18T10:10:28.858Z] + cd /tmp/sdk [2022-07-18T10:10:28.858Z] + '[' '!' -d deps ] [2022-07-18T10:10:28.858Z] + mkdir deps [2022-07-18T10:10:28.858Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-07-18T10:10:28.858Z] + tar -C deps -z -x -f - [2022-07-18T10:10:28.858Z] Connecting to github.com (140.82.114.4:443) [2022-07-18T10:10:29.138Z] Connecting to codeload.github.com (140.82.113.9:443) [2022-07-18T10:10:29.138Z] writing to stdout [2022-07-18T10:10:29.138Z] - 100% |********************************| 16451 0:00:00 ETA [2022-07-18T10:10:29.138Z] written to stdout [2022-07-18T10:10:29.413Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2022-07-18T10:10:29.413Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2022-07-18T10:10:29.413Z] + tar -C deps -z -x -f - [2022-07-18T10:10:29.413Z] Connecting to github.com (140.82.114.4:443) [2022-07-18T10:10:29.413Z] Connecting to codeload.github.com (140.82.113.9:443) [2022-07-18T10:10:29.686Z] writing to stdout [2022-07-18T10:10:29.686Z] - 100% |********************************| 189k 0:00:00 ETA [2022-07-18T10:10:29.686Z] written to stdout [2022-07-18T10:10:29.960Z] + mkdir -p src/c/iot [2022-07-18T10:10:29.960Z] + 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-18T10:10:29.960Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2022-07-18T10:10:29.960Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2022-07-18T10:10:29.960Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2022-07-18T10:10:29.960Z] + mkdir -p include/iot [2022-07-18T10:10:29.960Z] + 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-18T10:10:29.960Z] + mkdir -p include/iot/os [2022-07-18T10:10:29.960Z] + 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-18T10:10:29.960Z] + mkdir -p /tmp/sdk/build/release [2022-07-18T10:10:29.960Z] + cd /tmp/sdk/build/release [2022-07-18T10:10:29.960Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2022-07-18T10:10:30.234Z] -- The C compiler identification is GNU 10.3.1 [2022-07-18T10:10:30.234Z] -- Detecting C compiler ABI info [2022-07-18T10:10:30.508Z] -- Detecting C compiler ABI info - done [2022-07-18T10:10:30.508Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-07-18T10:10:30.508Z] -- Detecting C compile features [2022-07-18T10:10:30.508Z] -- Detecting C compile features - done [2022-07-18T10:10:30.508Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-07-18T10:10:30.782Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-07-18T10:10:30.782Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-07-18T10:10:30.782Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-07-18T10:10:30.782Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-07-18T10:10:30.782Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-07-18T10:10:30.782Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-07-18T10:10:30.782Z] -- C SDK 0.0.0 for Linux [2022-07-18T10:10:30.782Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-07-18T10:10:31.059Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-07-18T10:10:31.333Z] -- Found Curses: /usr/lib/libcurses.so [2022-07-18T10:10:31.607Z] -- Configuring done [2022-07-18T10:10:31.607Z] -- Generating done [2022-07-18T10:10:31.882Z] -- Build files have been written to: /tmp/sdk/build/release [2022-07-18T10:10:31.882Z] + + maketee all release.log package [2022-07-18T10:10:31.882Z] [2022-07-18T10:10:31.882Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-07-18T10:10:32.479Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-07-18T10:10:33.459Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-07-18T10:10:36.121Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-07-18T10:10:36.722Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-07-18T10:10:36.996Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-07-18T10:10:37.981Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-07-18T10:10:38.722Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-07-18T10:10:38.722Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-07-18T10:10:40.160Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-07-18T10:10:42.775Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-07-18T10:10:43.049Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-07-18T10:10:44.019Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-07-18T10:10:44.610Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-07-18T10:10:45.214Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-07-18T10:10:45.214Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-07-18T10:10:45.816Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-07-18T10:10:49.187Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-07-18T10:10:49.187Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-07-18T10:10:49.459Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-07-18T10:10:50.048Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-07-18T10:10:50.648Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-07-18T10:10:50.919Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-07-18T10:10:50.919Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-07-18T10:10:50.919Z] 275 | const iot_component_factory_t * factory; [2022-07-18T10:10:50.919Z] | ^~~~~~~ [2022-07-18T10:10:51.510Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-07-18T10:10:56.896Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-07-18T10:10:56.896Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-07-18T10:10:56.896Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-07-18T10:10:57.500Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-07-18T10:10:58.477Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-07-18T10:10:58.477Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-07-18T10:10:59.909Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-07-18T10:11:00.180Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-07-18T10:11:01.156Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-07-18T10:11:01.426Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-07-18T10:11:01.700Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-07-18T10:11:04.313Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-07-18T10:11:04.904Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-07-18T10:11:05.876Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-07-18T10:11:06.149Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-07-18T10:11:11.529Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-07-18T10:11:11.802Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-07-18T10:11:12.072Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-07-18T10:11:12.666Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-07-18T10:11:14.090Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-07-18T10:11:16.697Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-07-18T10:11:16.697Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-07-18T10:11:17.290Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-07-18T10:11:17.880Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-07-18T10:11:20.488Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-07-18T10:11:24.769Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-07-18T10:11:25.361Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2022-07-18T10:11:25.633Z] [ 75%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-07-18T10:11:26.228Z] [ 76%] Linking C shared library libcsdk.so [2022-07-18T10:11:26.505Z] [ 76%] Built target csdk [2022-07-18T10:11:26.505Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-07-18T10:11:27.487Z] [ 79%] Linking C executable template [2022-07-18T10:11:27.760Z] [ 79%] Built target template [2022-07-18T10:11:27.760Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-07-18T10:11:28.354Z] [ 82%] Linking C executable device-counter [2022-07-18T10:11:28.628Z] [ 82%] Built target device-counter [2022-07-18T10:11:28.628Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-07-18T10:11:29.220Z] [ 85%] Linking C executable device-random [2022-07-18T10:11:29.220Z] [ 85%] Built target device-random [2022-07-18T10:11:29.492Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-07-18T10:11:29.765Z] [ 88%] Linking C executable device-gyro [2022-07-18T10:11:30.036Z] [ 88%] Built target device-gyro [2022-07-18T10:11:30.309Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-07-18T10:11:30.584Z] [ 91%] Linking C executable device-bitfields [2022-07-18T10:11:31.177Z] [ 91%] Built target device-bitfields [2022-07-18T10:11:31.177Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-07-18T10:11:31.771Z] [ 94%] Linking C executable template-discovery [2022-07-18T10:11:32.046Z] [ 94%] Built target template-discovery [2022-07-18T10:11:32.320Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-07-18T10:11:32.913Z] [ 97%] Linking C executable device-file [2022-07-18T10:11:33.188Z] [ 97%] Built target device-file [2022-07-18T10:11:33.188Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-07-18T10:11:34.164Z] [100%] Linking C executable device-terminal [2022-07-18T10:11:34.164Z] [100%] Built target device-terminal [2022-07-18T10:11:34.164Z] Run CPack packaging tool... [2022-07-18T10:11:34.442Z] CPack: Create package using TGZ [2022-07-18T10:11:34.442Z] CPack: Install projects [2022-07-18T10:11:34.442Z] CPack: - Run preinstall target for: Csdk [2022-07-18T10:11:35.034Z] CPack: - Install project: Csdk [] [2022-07-18T10:11:35.034Z] CPack: Create package [2022-07-18T10:11:35.306Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2022-07-18T10:11:35.306Z] + '[' false '=' true ] [2022-07-18T10:11:35.306Z] + '[' false '=' true ] [2022-07-18T10:11:35.306Z] + mkdir -p /tmp/sdk/build/debug [2022-07-18T10:11:35.306Z] + cd /tmp/sdk/build/debug [2022-07-18T10:11:35.306Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2022-07-18T10:11:35.579Z] -- The C compiler identification is GNU 10.3.1 [2022-07-18T10:11:35.579Z] -- Detecting C compiler ABI info [2022-07-18T10:11:35.853Z] -- Detecting C compiler ABI info - done [2022-07-18T10:11:35.853Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-07-18T10:11:35.853Z] -- Detecting C compile features [2022-07-18T10:11:35.853Z] -- Detecting C compile features - done [2022-07-18T10:11:36.127Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-07-18T10:11:36.127Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-07-18T10:11:36.127Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-07-18T10:11:36.127Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-07-18T10:11:36.127Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-07-18T10:11:36.127Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-07-18T10:11:36.403Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-07-18T10:11:36.403Z] -- C SDK 0.0.0 for Linux [2022-07-18T10:11:36.403Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-07-18T10:11:36.678Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-07-18T10:11:36.678Z] -- Found Curses: /usr/lib/libcurses.so [2022-07-18T10:11:36.951Z] -- Configuring done [2022-07-18T10:11:37.226Z] -- Generating done [2022-07-18T10:11:37.226Z] -- Build files have been written to: /tmp/sdk/build/debug [2022-07-18T10:11:37.226Z] + + maketee [2022-07-18T10:11:37.226Z] debug.log [2022-07-18T10:11:37.226Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-07-18T10:11:37.828Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-07-18T10:11:38.102Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-07-18T10:11:38.705Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-07-18T10:11:39.302Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-07-18T10:11:39.302Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-07-18T10:11:39.906Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-07-18T10:11:40.183Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-07-18T10:11:40.183Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-07-18T10:11:40.781Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-07-18T10:11:41.376Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-07-18T10:11:41.976Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-07-18T10:11:42.252Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-07-18T10:11:42.526Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-07-18T10:11:42.810Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-07-18T10:11:43.087Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-07-18T10:11:43.364Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-07-18T10:11:44.347Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-07-18T10:11:44.347Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-07-18T10:11:44.622Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-07-18T10:11:44.897Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-07-18T10:11:45.173Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-07-18T10:11:45.447Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-07-18T10:11:45.447Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-07-18T10:11:45.447Z] 275 | const iot_component_factory_t * factory; [2022-07-18T10:11:45.447Z] | ^~~~~~~ [2022-07-18T10:11:45.722Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-07-18T10:11:46.704Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-07-18T10:11:46.987Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-07-18T10:11:47.265Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-07-18T10:11:47.540Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-07-18T10:11:47.814Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-07-18T10:11:48.090Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-07-18T10:11:48.364Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-07-18T10:11:48.637Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-07-18T10:11:48.911Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-07-18T10:11:49.185Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-07-18T10:11:49.457Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-07-18T10:11:49.730Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-07-18T10:11:50.006Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-07-18T10:11:50.604Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-07-18T10:11:50.879Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-07-18T10:11:52.315Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-07-18T10:11:52.315Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-07-18T10:11:52.591Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-07-18T10:11:53.187Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-07-18T10:11:53.465Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-07-18T10:11:55.445Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-07-18T10:11:55.445Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-07-18T10:11:55.718Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-07-18T10:11:55.994Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-07-18T10:11:56.589Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-07-18T10:11:57.567Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-07-18T10:11:57.841Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2022-07-18T10:11:58.116Z] [ 75%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-07-18T10:11:58.391Z] [ 76%] Linking C shared library libcsdk.so [2022-07-18T10:11:58.665Z] [ 76%] Built target csdk [2022-07-18T10:11:58.949Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-07-18T10:11:59.224Z] [ 79%] Linking C executable template [2022-07-18T10:11:59.496Z] [ 79%] Built target template [2022-07-18T10:11:59.496Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-07-18T10:11:59.770Z] [ 82%] Linking C executable device-counter [2022-07-18T10:12:00.045Z] [ 82%] Built target device-counter [2022-07-18T10:12:00.046Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-07-18T10:12:00.318Z] [ 85%] Linking C executable device-random [2022-07-18T10:12:00.594Z] [ 85%] Built target device-random [2022-07-18T10:12:00.594Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-07-18T10:12:00.868Z] [ 88%] Linking C executable device-gyro [2022-07-18T10:12:01.143Z] [ 88%] Built target device-gyro [2022-07-18T10:12:01.143Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-07-18T10:12:01.741Z] [ 91%] Linking C executable device-bitfields [2022-07-18T10:12:01.741Z] [ 91%] Built target device-bitfields [2022-07-18T10:12:02.014Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-07-18T10:12:02.287Z] [ 94%] Linking C executable template-discovery [2022-07-18T10:12:02.560Z] [ 94%] Built target template-discovery [2022-07-18T10:12:02.560Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-07-18T10:12:02.834Z] [ 97%] Linking C executable device-file [2022-07-18T10:12:03.108Z] [ 97%] Built target device-file [2022-07-18T10:12:03.108Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-07-18T10:12:03.710Z] [100%] Linking C executable device-terminal [2022-07-18T10:12:03.982Z] [100%] Built target device-terminal [2022-07-18T10:12:03.982Z] make: Entering directory '/tmp/sdk/build/release' [2022-07-18T10:12:03.982Z] make[1]: Entering directory '/tmp/sdk/build/release' [2022-07-18T10:12:03.982Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-18T10:12:03.982Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-18T10:12:03.982Z] [ 76%] Built target csdk [2022-07-18T10:12:03.982Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-18T10:12:04.255Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-18T10:12:04.255Z] [ 79%] Built target template [2022-07-18T10:12:04.255Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-18T10:12:04.255Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-18T10:12:04.255Z] [ 82%] Built target device-counter [2022-07-18T10:12:04.255Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-18T10:12:04.255Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-18T10:12:04.255Z] [ 85%] Built target device-random [2022-07-18T10:12:04.255Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-18T10:12:04.255Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-18T10:12:04.255Z] [ 88%] Built target device-gyro [2022-07-18T10:12:04.255Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-18T10:12:04.255Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-18T10:12:04.255Z] [ 91%] Built target device-bitfields [2022-07-18T10:12:04.255Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-18T10:12:04.255Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-18T10:12:04.529Z] [ 94%] Built target template-discovery [2022-07-18T10:12:04.529Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-18T10:12:04.529Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-18T10:12:04.529Z] [ 97%] Built target device-file [2022-07-18T10:12:04.529Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-18T10:12:04.529Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-18T10:12:04.529Z] [100%] Built target device-terminal [2022-07-18T10:12:04.529Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2022-07-18T10:12:04.529Z] Install the project... [2022-07-18T10:12:04.529Z] -- Install configuration: "Release" [2022-07-18T10:12:04.529Z] -- Installing: /usr/local/lib/libcsdk.so [2022-07-18T10:12:04.529Z] -- Installing: /usr/local/include [2022-07-18T10:12:04.529Z] -- Installing: /usr/local/include/devsdk [2022-07-18T10:12:04.529Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2022-07-18T10:12:04.529Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2022-07-18T10:12:04.529Z] -- Installing: /usr/local/include/edgex [2022-07-18T10:12:04.529Z] -- Installing: /usr/local/include/edgex/rest-server.h [2022-07-18T10:12:04.529Z] -- Installing: /usr/local/include/edgex/edgex.h [2022-07-18T10:12:04.529Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2022-07-18T10:12:04.529Z] -- Installing: /usr/local/include/edgex/devices.h [2022-07-18T10:12:04.529Z] -- Installing: /usr/local/include/edgex/profiles.h [2022-07-18T10:12:04.529Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2022-07-18T10:12:04.529Z] -- Installing: /usr/local/include/iot [2022-07-18T10:12:04.529Z] -- Installing: /usr/local/include/iot/threadpool.h [2022-07-18T10:12:04.529Z] -- Installing: /usr/local/include/iot/defs.h [2022-07-18T10:12:04.529Z] -- Installing: /usr/local/include/iot/time.h [2022-07-18T10:12:04.529Z] -- Installing: /usr/local/include/iot/base64.h [2022-07-18T10:12:04.529Z] -- Installing: /usr/local/include/iot/component.h [2022-07-18T10:12:04.529Z] -- Installing: /usr/local/include/iot/scheduler.h [2022-07-18T10:12:04.529Z] -- Installing: /usr/local/include/iot/config.h [2022-07-18T10:12:04.529Z] -- Installing: /usr/local/include/iot/container.h [2022-07-18T10:12:04.529Z] -- Installing: /usr/local/include/iot/uuid.h [2022-07-18T10:12:04.529Z] -- Installing: /usr/local/include/iot/os.h [2022-07-18T10:12:04.529Z] -- Installing: /usr/local/include/iot/thread.h [2022-07-18T10:12:04.529Z] -- Installing: /usr/local/include/iot/data.h [2022-07-18T10:12:04.529Z] -- Installing: /usr/local/include/iot/typecode.h [2022-07-18T10:12:04.529Z] -- Installing: /usr/local/include/iot/hash.h [2022-07-18T10:12:04.529Z] -- Installing: /usr/local/include/iot/logger.h [2022-07-18T10:12:04.529Z] -- Installing: /usr/local/include/iot/os [2022-07-18T10:12:04.529Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2022-07-18T10:12:04.529Z] -- Installing: /usr/local/include/iot/os/macos.h [2022-07-18T10:12:04.529Z] -- Installing: /usr/local/include/iot/os/linux.h [2022-07-18T10:12:04.529Z] -- Installing: /usr/local/include/iot/json.h [2022-07-18T10:12:04.529Z] -- Installing: /usr/local/include/iot/iot.h [2022-07-18T10:12:04.529Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2022-07-18T10:12:04.529Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2022-07-18T10:12:04.529Z] make: Leaving directory '/tmp/sdk/build/release' [2022-07-18T10:12:06.531Z] Removing intermediate container 4b145bcf72c4 [2022-07-18T10:12:06.531Z] ---> e1f8665df36f [2022-07-18T10:12:06.531Z] Step 14/22 : FROM ${BASE} [2022-07-18T10:12:06.531Z] ---> aede2dddcadd [2022-07-18T10:12:06.531Z] Step 15/22 : LABEL maintainer="IOTech " [2022-07-18T10:12:06.531Z] ---> Running in ee9a4e749786 [2022-07-18T10:12:06.531Z] Removing intermediate container ee9a4e749786 [2022-07-18T10:12:06.531Z] ---> 26c57e6b02ec [2022-07-18T10:12:06.531Z] 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-18T10:12:06.809Z] ---> Running in ba6333d75eb6 [2022-07-18T10:12:07.804Z] Connecting to iotech.jfrog.io (34.248.37.48:443) [2022-07-18T10:12:08.081Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-07-18T10:12:08.081Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-07-18T10:12:08.081Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-07-18T10:12:08.676Z] Removing intermediate container ba6333d75eb6 [2022-07-18T10:12:08.676Z] ---> ba86db911a8c [2022-07-18T10:12:08.676Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-07-18T10:12:08.676Z] ---> Running in d0242a9f37ae [2022-07-18T10:12:10.667Z] Removing intermediate container d0242a9f37ae [2022-07-18T10:12:10.667Z] ---> 8229fca7b9c2 [2022-07-18T10:12:10.667Z] 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-18T10:12:10.667Z] ---> Running in 37e786efefc0 [2022-07-18T10:12:11.271Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-18T10:12:11.544Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-18T10:12:12.144Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-18T10:12:13.122Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-07-18T10:12:13.122Z] (1/6) Installing curl (7.80.0-r2) [2022-07-18T10:12:13.122Z] (2/6) Installing hiredis (1.0.2-r0) [2022-07-18T10:12:13.122Z] (3/6) Installing hiredis-dev (1.0.2-r0) [2022-07-18T10:12:13.122Z] (4/6) Installing libcbor (0.8.0-r0) [2022-07-18T10:12:13.122Z] (5/6) Installing libuuid (2.37.4-r0) [2022-07-18T10:12:13.122Z] (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) [2022-07-18T10:12:13.719Z] Executing busybox-1.34.1-r5.trigger [2022-07-18T10:12:13.719Z] OK: 278 MiB in 83 packages [2022-07-18T10:12:14.702Z] Removing intermediate container 37e786efefc0 [2022-07-18T10:12:14.702Z] ---> bfdf30e478f1 [2022-07-18T10:12:14.702Z] Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2022-07-18T10:12:15.302Z] ---> 70a52f999089 [2022-07-18T10:12:15.302Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2022-07-18T10:12:15.900Z] ---> 4d618a4da921 [2022-07-18T10:12:15.900Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2022-07-18T10:12:16.500Z] ---> fd44f6552218 [2022-07-18T10:12:16.501Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2022-07-18T10:12:17.099Z] ---> c628f9ebdbca [2022-07-18T10:12:17.099Z] Successfully built c628f9ebdbca [2022-07-18T10:12:17.099Z] 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-18T10:12:17.831Z] + docker inspect -f . ci-base-image-arm64 [2022-07-18T10:12:17.831Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T10:12:18.141Z] prd-ubuntu20.04-docker-arm64-4c-16g-20388 does not seem to be running inside a container [2022-07-18T10:12:18.248Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@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 ******** ci-base-image-arm64 cat [2022-07-18T10:12:19.485Z] $ docker top 72814196aa3935d5cd744cd9f4def16e501826987051e866487b20fa9348ec7e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-18T10:12:20.448Z] + make test [2022-07-18T10:12:20.448Z] echo "make test" [2022-07-18T10:12:20.448Z] make test [Pipeline] } [2022-07-18T10:12:20.492Z] $ docker stop --time=1 72814196aa3935d5cd744cd9f4def16e501826987051e866487b20fa9348ec7e [2022-07-18T10:12:22.128Z] $ docker rm -f 72814196aa3935d5cd744cd9f4def16e501826987051e866487b20fa9348ec7e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-18T10:12:22.975Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-18T10:12:23.330Z] + ls -al . [2022-07-18T10:12:23.330Z] total 204 [2022-07-18T10:12:23.330Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 10:09 . [2022-07-18T10:12:23.330Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 10:09 .. [2022-07-18T10:12:23.330Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 10:09 .git [2022-07-18T10:12:23.330Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 10:09 .github [2022-07-18T10:12:23.330Z] -rw-rw-r-- 1 jenkins jenkins 176 Jul 18 10:09 .gitignore [2022-07-18T10:12:23.330Z] -rw-rw-r-- 1 jenkins jenkins 3104 Jul 18 10:09 Attribution.txt [2022-07-18T10:12:23.330Z] -rw-rw-r-- 1 jenkins jenkins 8420 Jul 18 10:09 CHANGES [2022-07-18T10:12:23.330Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jul 18 10:09 Doxyfile [2022-07-18T10:12:23.330Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 18 10:09 GOVERNANCE.md [2022-07-18T10:12:23.330Z] -rw-rw-r-- 1 jenkins jenkins 784 Jul 18 10:09 Jenkinsfile [2022-07-18T10:12:23.330Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jul 18 10:09 LICENSE [2022-07-18T10:12:23.330Z] -rw-rw-r-- 1 jenkins jenkins 444 Jul 18 10:09 Makefile [2022-07-18T10:12:23.330Z] -rw-rw-r-- 1 jenkins jenkins 618 Jul 18 10:09 OWNERS.md [2022-07-18T10:12:23.330Z] -rw-rw-r-- 1 jenkins jenkins 4086 Jul 18 10:09 README.md [2022-07-18T10:12:23.330Z] -rw-rw-r-- 1 jenkins jenkins 7422 Jul 18 10:09 README.v2.md [2022-07-18T10:12:23.330Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 18 10:07 VERSION [2022-07-18T10:12:23.330Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 10:09 docs [2022-07-18T10:12:23.330Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 10:09 include [2022-07-18T10:12:23.330Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 10:09 scripts [2022-07-18T10:12:23.330Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 10:09 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T10:12:23.768Z] + 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=e63c7879a3bce4aed0d874b256ca7adbf4f34e4c --label arch=arm64 --label version=0.0.0 . [2022-07-18T10:12:24.042Z] Sending build context to Docker daemon 2.812MB [2022-07-18T10:12:24.318Z] Step 1/17 : ARG BASE=alpine:3.15 [2022-07-18T10:12:24.318Z] Step 2/17 : FROM ${BASE} [2022-07-18T10:12:24.318Z] ---> c628f9ebdbca [2022-07-18T10:12:24.318Z] Step 3/17 : LABEL maintainer="IOTech " [2022-07-18T10:12:24.318Z] ---> Running in 791d38967089 [2022-07-18T10:12:24.593Z] Removing intermediate container 791d38967089 [2022-07-18T10:12:24.593Z] ---> e37fed63744e [2022-07-18T10:12:24.593Z] 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-18T10:12:24.593Z] ---> Running in ad7d8c4a1ade [2022-07-18T10:12:25.804Z] Connecting to iotech.jfrog.io (3.248.164.40:443) [2022-07-18T10:12:26.080Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-07-18T10:12:26.080Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-07-18T10:12:26.080Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-07-18T10:12:26.678Z] Removing intermediate container ad7d8c4a1ade [2022-07-18T10:12:26.678Z] ---> 8b0da8b86d76 [2022-07-18T10:12:26.678Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-07-18T10:12:26.678Z] ---> Running in 3772c5790416 [2022-07-18T10:12:28.128Z] Removing intermediate container 3772c5790416 [2022-07-18T10:12:28.128Z] ---> 0f17838b3b41 [2022-07-18T10:12:28.128Z] 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-18T10:12:28.128Z] ---> Running in 683a7bec9dac [2022-07-18T10:12:29.114Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-18T10:12:29.713Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-18T10:12:29.989Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-18T10:12:30.967Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-07-18T10:12:30.967Z] (1/28) Upgrading ncurses-terminfo-base (6.3_p20211120-r0 -> 6.3_p20211120-r1) [2022-07-18T10:12:30.967Z] (2/28) Upgrading ncurses-libs (6.3_p20211120-r0 -> 6.3_p20211120-r1) [2022-07-18T10:12:30.967Z] (3/28) Installing libcbor-dev (0.8.0-r0) [2022-07-18T10:12:30.967Z] (4/28) Installing ncurses-dev (6.3_p20211120-r1) [2022-07-18T10:12:30.967Z] (5/28) Installing util-linux (2.37.4-r0) [2022-07-18T10:12:30.967Z] (6/28) Installing libblkid (2.37.4-r0) [2022-07-18T10:12:30.967Z] (7/28) Installing libeconf (0.4.2-r0) [2022-07-18T10:12:30.967Z] (8/28) Installing libfdisk (2.37.4-r0) [2022-07-18T10:12:30.967Z] (9/28) Installing libmount (2.37.4-r0) [2022-07-18T10:12:30.967Z] (10/28) Installing libsmartcols (2.37.4-r0) [2022-07-18T10:12:30.967Z] (11/28) Installing util-linux-misc (2.37.4-r0) [2022-07-18T10:12:30.967Z] (12/28) Installing linux-pam (1.5.2-r0) [2022-07-18T10:12:30.967Z] (13/28) Installing runuser (2.37.4-r0) [2022-07-18T10:12:30.967Z] (14/28) Installing hexdump (2.37.4-r0) [2022-07-18T10:12:30.967Z] (15/28) Installing uuidgen (2.37.4-r0) [2022-07-18T10:12:30.967Z] (16/28) Installing blkid (2.37.4-r0) [2022-07-18T10:12:31.242Z] (17/28) Installing sfdisk (2.37.4-r0) [2022-07-18T10:12:31.242Z] (18/28) Installing mcookie (2.37.4-r0) [2022-07-18T10:12:31.242Z] (19/28) Installing wipefs (2.37.4-r0) [2022-07-18T10:12:31.242Z] (20/28) Installing cfdisk (2.37.4-r0) [2022-07-18T10:12:31.242Z] (21/28) Installing flock (2.37.4-r0) [2022-07-18T10:12:31.242Z] (22/28) Installing lsblk (2.37.4-r0) [2022-07-18T10:12:31.242Z] (23/28) Installing libcap-ng (0.8.2-r1) [2022-07-18T10:12:31.242Z] (24/28) Installing setpriv (2.37.4-r0) [2022-07-18T10:12:31.242Z] (25/28) Installing logger (2.37.4-r0) [2022-07-18T10:12:31.242Z] (26/28) Installing partx (2.37.4-r0) [2022-07-18T10:12:31.242Z] (27/28) Installing findmnt (2.37.4-r0) [2022-07-18T10:12:31.242Z] (28/28) Installing util-linux-dev (2.37.4-r0) [2022-07-18T10:12:31.242Z] Executing busybox-1.34.1-r5.trigger [2022-07-18T10:12:31.242Z] OK: 290 MiB in 109 packages [2022-07-18T10:12:32.686Z] Removing intermediate container 683a7bec9dac [2022-07-18T10:12:32.686Z] ---> e2e11cbd2b5b [2022-07-18T10:12:32.686Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2022-07-18T10:12:33.287Z] ---> de322b4848f7 [2022-07-18T10:12:33.287Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2022-07-18T10:12:33.883Z] ---> 1d597f46497c [2022-07-18T10:12:33.883Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2022-07-18T10:12:34.481Z] ---> ff04474e5611 [2022-07-18T10:12:34.481Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2022-07-18T10:12:35.077Z] ---> e8b7dcf348d2 [2022-07-18T10:12:35.077Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2022-07-18T10:12:35.350Z] ---> a6ff7f2e2a88 [2022-07-18T10:12:35.350Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2022-07-18T10:12:35.947Z] ---> db6f93859214 [2022-07-18T10:12:35.947Z] Step 13/17 : WORKDIR /edgex-c-sdk [2022-07-18T10:12:35.947Z] ---> Running in a1f863404e60 [2022-07-18T10:12:36.225Z] Removing intermediate container a1f863404e60 [2022-07-18T10:12:36.225Z] ---> 3d1a8000b4c3 [2022-07-18T10:12:36.225Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2022-07-18T10:12:36.498Z] ---> Running in d629ec927f1e [2022-07-18T10:12:36.770Z] Removing intermediate container d629ec927f1e [2022-07-18T10:12:36.770Z] ---> d1e3f5e68e26 [2022-07-18T10:12:36.770Z] Step 15/17 : LABEL arch=arm64 [2022-07-18T10:12:36.770Z] ---> Running in df8d5069c4b8 [2022-07-18T10:12:37.047Z] Removing intermediate container df8d5069c4b8 [2022-07-18T10:12:37.047Z] ---> 524a97299783 [2022-07-18T10:12:37.047Z] Step 16/17 : LABEL git_sha=e63c7879a3bce4aed0d874b256ca7adbf4f34e4c [2022-07-18T10:12:37.047Z] ---> Running in a7a2bbb144be [2022-07-18T10:12:37.326Z] Removing intermediate container a7a2bbb144be [2022-07-18T10:12:37.326Z] ---> 7759403322b4 [2022-07-18T10:12:37.326Z] Step 17/17 : LABEL version=0.0.0 [2022-07-18T10:12:37.326Z] ---> Running in 721bf59724f2 [2022-07-18T10:12:37.599Z] Removing intermediate container 721bf59724f2 [2022-07-18T10:12:37.599Z] ---> 72cfb3f7e310 [2022-07-18T10:12:37.599Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-07-18T10:12:37.871Z] Successfully built 72cfb3f7e310 [2022-07-18T10:12:37.871Z] 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-18T10:12:38.703Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-18T10:12:38.703Z] [2022-07-18T10:12:38.703Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T10:12:39.119Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-18T10:12:39.394Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-18T10:12:39.394Z] 8998bd30e6a1: Pulling fs layer [2022-07-18T10:12:39.394Z] 04944245beec: Pulling fs layer [2022-07-18T10:12:39.394Z] 699f458cf7ca: Pulling fs layer [2022-07-18T10:12:39.394Z] 765212b225bb: Pulling fs layer [2022-07-18T10:12:39.394Z] f23df028b6ca: Pulling fs layer [2022-07-18T10:12:39.394Z] d65c8cfc05b1: Pulling fs layer [2022-07-18T10:12:39.394Z] 2437ff75d9bd: Pulling fs layer [2022-07-18T10:12:39.394Z] 765212b225bb: Waiting [2022-07-18T10:12:39.394Z] f23df028b6ca: Waiting [2022-07-18T10:12:39.394Z] d65c8cfc05b1: Waiting [2022-07-18T10:12:39.394Z] 2437ff75d9bd: Waiting [2022-07-18T10:12:39.394Z] 04944245beec: Verifying Checksum [2022-07-18T10:12:39.394Z] 04944245beec: Download complete [2022-07-18T10:12:39.394Z] 765212b225bb: Verifying Checksum [2022-07-18T10:12:39.394Z] 765212b225bb: Download complete [2022-07-18T10:12:39.669Z] f23df028b6ca: Verifying Checksum [2022-07-18T10:12:39.669Z] f23df028b6ca: Download complete [2022-07-18T10:12:39.669Z] d65c8cfc05b1: Verifying Checksum [2022-07-18T10:12:39.669Z] d65c8cfc05b1: Download complete [2022-07-18T10:12:39.669Z] 699f458cf7ca: Verifying Checksum [2022-07-18T10:12:39.669Z] 699f458cf7ca: Download complete [2022-07-18T10:12:40.270Z] 8998bd30e6a1: Verifying Checksum [2022-07-18T10:12:40.270Z] 8998bd30e6a1: Download complete [2022-07-18T10:12:42.256Z] 2437ff75d9bd: Download complete [2022-07-18T10:12:44.240Z] 8998bd30e6a1: Pull complete [2022-07-18T10:12:44.838Z] 04944245beec: Pull complete [2022-07-18T10:12:46.281Z] 699f458cf7ca: Pull complete [2022-07-18T10:12:46.281Z] 765212b225bb: Pull complete [2022-07-18T10:12:47.273Z] f23df028b6ca: Pull complete [2022-07-18T10:12:47.552Z] d65c8cfc05b1: Pull complete [2022-07-18T10:13:06.009Z] 2437ff75d9bd: Pull complete [2022-07-18T10:13:06.009Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-18T10:13:06.009Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-18T10:13:06.009Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T10:13:06.435Z] prd-ubuntu20.04-docker-arm64-4c-16g-20388 does not seem to be running inside a container [2022-07-18T10:13:06.525Z] $ 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/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@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-lftools-log-publisher:arm64 cat [2022-07-18T10:13:08.960Z] $ docker top 5c85e9020e2be31ccf059dcc67f7c4cfdec4e6e1ee4e2d2a2fc5760d799d7240 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-18T10:13:09.960Z] ---> job-cost.sh [2022-07-18T10:13:09.960Z] lf-activate-venv: SKIPPING [2022-07-18T10:13:09.960Z] INFO: No Stack... [2022-07-18T10:13:10.241Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-18T10:13:11.228Z] INFO: Archiving Costs [Pipeline] sh [2022-07-18T10:13:11.899Z] + cat /w/workspace/device-sdk-c/1/archives/cost.csv [2022-07-18T10:13:11.899Z] + cut -d, -f6 [Pipeline] lock [2022-07-18T10:13:11.973Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-426-1-stack-cost] [2022-07-18T10:13:11.979Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-426-1-stack-cost] did not exist. Created. [2022-07-18T10:13:11.979Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-426-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-18T10:13:12.706Z] /w/workspace/device-sdk-c/1@tmp/durable-bce9963f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-18T10:13:13.387Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-18T10:13:13.422Z] Warning: overwriting stash ‘stack-cost’ [2022-07-18T10:13:13.875Z] Stashed 1 file(s) [Pipeline] } [2022-07-18T10:13:13.900Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-426-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-18T10:13:13.981Z] $ docker stop --time=1 5c85e9020e2be31ccf059dcc67f7c4cfdec4e6e1ee4e2d2a2fc5760d799d7240 [2022-07-18T10:13:15.444Z] $ docker rm -f 5c85e9020e2be31ccf059dcc67f7c4cfdec4e6e1ee4e2d2a2fc5760d799d7240 [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-18T10:13:17.139Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-426/archives ] [2022-07-18T10:13:17.139Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-426/archives [2022-07-18T10:13:17.139Z] total 16 [2022-07-18T10:13:17.139Z] drwxr-xr-x 3 root root 4096 Jul 18 10:08 . [2022-07-18T10:13:17.139Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 18 10:08 .. [2022-07-18T10:13:17.139Z] drwxr-xr-x 2 root root 4096 Jul 18 10:08 cost [2022-07-18T10:13:17.139Z] -rw-r--r-- 1 root root 83 Jul 18 10:08 cost.csv [2022-07-18T10:13:17.139Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-426/archives [2022-07-18T10:13:17.139Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-426/archives [2022-07-18T10:13:17.139Z] total 16 [2022-07-18T10:13:17.139Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 10:08 . [2022-07-18T10:13:17.139Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 18 10:08 .. [2022-07-18T10:13:17.139Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 18 10:08 cost [2022-07-18T10:13:17.139Z] -rw-r--r-- 1 jenkins jenkins 83 Jul 18 10:08 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-18T10:13:17.471Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-18T10:13:18.369Z] ---> package-listing.sh [2022-07-18T10:13:18.369Z] ++ facter osfamily [2022-07-18T10:13:18.369Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-18T10:13:18.631Z] + OS_FAMILY=debian [2022-07-18T10:13:18.631Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-426 [2022-07-18T10:13:18.631Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-18T10:13:18.631Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-18T10:13:18.631Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-18T10:13:18.631Z] + PACKAGES=/tmp/packages_start.txt [2022-07-18T10:13:18.631Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-426 ']' [2022-07-18T10:13:18.631Z] + PACKAGES=/tmp/packages_end.txt [2022-07-18T10:13:18.631Z] + case "${OS_FAMILY}" in [2022-07-18T10:13:18.631Z] + dpkg -l [2022-07-18T10:13:18.631Z] + grep '^ii' [2022-07-18T10:13:18.631Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-18T10:13:18.631Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-18T10:13:18.631Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-18T10:13:18.631Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-426 ']' [2022-07-18T10:13:18.631Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-426/archives/ [2022-07-18T10:13:18.631Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-426/archives/ [Pipeline] echo [2022-07-18T10:13:18.663Z] 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-426/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-18T10:13:18.961Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T10:13:19.594Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-18T10:13:19.594Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T10:13:19.755Z] prd-ubuntu20.04-docker-8c-8g-20387 does not seem to be running inside a container [2022-07-18T10:13:19.796Z] $ 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-426/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-426 -v /w/workspace/edgexfoundry_device-sdk-c_PR-426:/w/workspace/edgexfoundry_device-sdk-c_PR-426:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-426@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-426@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-18T10:13:20.058Z] $ docker top f7bd794e83a877360ff2b0a253080d8fd943f3f9db9e34c876e7a64b64e1ef73 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-18T10:13:20.471Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-18T10:13:20.784Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-18T10:13:21.100Z] + ls /var/log/sa-host [2022-07-18T10:13:21.100Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-18T10:13:21.307Z] provisioning config files... [2022-07-18T10:13:21.317Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-426@tmp/config4587061314177049522tmp [Pipeline] { [Pipeline] echo [2022-07-18T10:13:21.366Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-18T10:13:21.680Z] ---> create-netrc.sh [Pipeline] } [2022-07-18T10:13:21.711Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-18T10:13:22.125Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-18T10:13:22.159Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-18T10:13:22.476Z] ---> sudo-logs.sh [2022-07-18T10:13:22.477Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-18T10:13:22.557Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-18T10:13:22.870Z] ---> job-cost.sh [2022-07-18T10:13:22.870Z] lf-activate-venv: SKIPPING [2022-07-18T10:13:22.870Z] DEBUG: total: 0.2199999988079071 [2022-07-18T10:13:22.870Z] INFO: Retrieving Stack Cost... [2022-07-18T10:13:23.130Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-18T10:13:23.702Z] INFO: Archiving Costs [Pipeline] echo [2022-07-18T10:13:23.744Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-18T10:13:24.061Z] ---> logs-deploy.sh [2022-07-18T10:13:24.061Z] lf-activate-venv: SKIPPING [2022-07-18T10:13:24.061Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-426/1 [2022-07-18T10:13:24.061Z] INFO: archiving workspace using pattern(s): [2022-07-18T10:13:25.001Z] Archives upload complete. [2022-07-18T10:13:25.261Z] INFO: archiving logs to Nexus