Pull request #401 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 e16c89daf6826d526ada798cd830d9ad1f5db0fd+02161a6b4618232bfcf286377d256226a622bc2b (25f11f492b4f128b3f88d98ff1baedcc4c037c71) 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-ssh17133434347639254094.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-ssh18327920874136969418.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 efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-401/workspace@libs/edgex-global-pipelines # 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-401/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh121041277190178252.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-401/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh18018838830673770079.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f efdbc04638cc485a1a2a98c60e49a0e43cac6f53 # timeout=10 Commit message: "Merge pull request #376 from ernestojeda/add-ireland-release-stream" > 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 shared 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-ssh766949230705266701.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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-401/workspace@libs/lf-pipelines # 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-401/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1533336880798418406.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 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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 efdbc04638cc485a1a2a98c60e49a0e43cac6f53 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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: [[centos7-docker-4c-2g, ubuntu18.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 ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-5643 in /w/workspace/edgexfoundry_device-sdk-c_PR-401 [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-401 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.24.4' 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 /w/workspace/edgexfoundry_device-sdk-c_PR-401@tmp/jenkins-gitclient-ssh3881574822742906027.key > 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 02161a6b4618232bfcf286377d256226a622bc2b into PR head commit e16c89daf6826d526ada798cd830d9ad1f5db0fd Merge succeeded, producing e16c89daf6826d526ada798cd830d9ad1f5db0fd Checking out Revision e16c89daf6826d526ada798cd830d9ad1f5db0fd (PR-401) > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-401@tmp/jenkins-gitclient-ssh6987788092949713846.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/401/head:refs/remotes/origin/PR-401 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e16c89daf6826d526ada798cd830d9ad1f5db0fd # timeout=10 > git remote # timeout=10 > 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 /w/workspace/edgexfoundry_device-sdk-c_PR-401@tmp/jenkins-gitclient-ssh3131099749100727266.key > git merge 02161a6b4618232bfcf286377d256226a622bc2b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e16c89daf6826d526ada798cd830d9ad1f5db0fd # timeout=10 Commit message: "build(deps): bump Alpine to 3.15" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-02-18T15:37:41.584Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-02-18T15:37:41.746Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-02-18T15:37:41.839Z] ========================================================= [2022-02-18T15:37:41.839Z] EdgeX Global Pipelines Version Info [2022-02-18T15:37:41.839Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-02-18T15:37:43.008Z] ------------------- [2022-02-18T15:37:43.008Z] stable info: [2022-02-18T15:37:43.008Z] ------------------- [2022-02-18T15:37:43.008Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-18T15:37:43.008Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-18T15:37:43.008Z] Message: update stable to v1.0.220 [2022-02-18T15:37:43.580Z] ------------------- [2022-02-18T15:37:43.580Z] experimental info: [2022-02-18T15:37:43.580Z] ------------------- [2022-02-18T15:37:43.580Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-18T15:37:43.580Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-18T15:37:43.580Z] Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-02-18T15:37:43.842Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2022-02-18T15:37:43.883Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2022-02-18T15:37:43.925Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-02-18T15:37:43.968Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-02-18T15:37:44.013Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-02-18T15:37:44.051Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2022-02-18T15:37:44.097Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2022-02-18T15:37:44.142Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-02-18T15:37:44.182Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-02-18T15:37:44.226Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2022-02-18T15:37:44.267Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-02-18T15:37:44.313Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-02-18T15:37:44.357Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-02-18T15:37:44.401Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-02-18T15:37:44.443Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-02-18T15:37:44.482Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-02-18T15:37:44.523Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-02-18T15:37:44.567Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-401 [Pipeline] echo [2022-02-18T15:37:44.610Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-401 [Pipeline] echo [2022-02-18T15:37:44.653Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-401 [Pipeline] echo [2022-02-18T15:37:44.697Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e16c89daf6826d526ada798cd830d9ad1f5db0fd [Pipeline] echo [2022-02-18T15:37:44.741Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e16c89d [Pipeline] echo [2022-02-18T15:37:44.783Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-18T15:37:44.903Z] provisioning config files... [2022-02-18T15:37:44.918Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-401@tmp/config8375322257461049861tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-18T15:37:45.288Z] ---> docker-login.sh [2022-02-18T15:37:45.288Z] nexus3.edgexfoundry.org:10001 [2022-02-18T15:37:45.288Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-18T15:37:45.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-18T15:37:45.550Z] Configure a credential helper to remove this warning. See [2022-02-18T15:37:45.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-18T15:37:45.550Z] [2022-02-18T15:37:45.550Z] Login Succeeded [2022-02-18T15:37:45.550Z] nexus3.edgexfoundry.org:10002 [2022-02-18T15:37:45.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-18T15:37:45.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-18T15:37:45.550Z] Configure a credential helper to remove this warning. See [2022-02-18T15:37:45.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-18T15:37:45.550Z] [2022-02-18T15:37:45.550Z] Login Succeeded [2022-02-18T15:37:45.550Z] nexus3.edgexfoundry.org:10003 [2022-02-18T15:37:45.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-18T15:37:45.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-18T15:37:45.550Z] Configure a credential helper to remove this warning. See [2022-02-18T15:37:45.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-18T15:37:45.550Z] [2022-02-18T15:37:45.550Z] Login Succeeded [2022-02-18T15:37:45.550Z] nexus3.edgexfoundry.org:10004 [2022-02-18T15:37:45.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-18T15:37:45.813Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-18T15:37:45.813Z] Configure a credential helper to remove this warning. See [2022-02-18T15:37:45.813Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-18T15:37:45.813Z] [2022-02-18T15:37:45.813Z] Login Succeeded [2022-02-18T15:37:45.813Z] docker.io [2022-02-18T15:37:45.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-18T15:37:46.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-18T15:37:46.076Z] Configure a credential helper to remove this warning. See [2022-02-18T15:37:46.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-18T15:37:46.076Z] [2022-02-18T15:37:46.076Z] Login Succeeded [2022-02-18T15:37:46.076Z] ---> docker-login.sh ends [Pipeline] } [2022-02-18T15:37:46.102Z] 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-02-18T15:37:46.770Z] + git rev-list -1 --merges e16c89daf6826d526ada798cd830d9ad1f5db0fd~1..e16c89daf6826d526ada798cd830d9ad1f5db0fd [Pipeline] echo [2022-02-18T15:37:46.818Z] -----------> git rev-list -1 --merges e16c89daf6826d526ada798cd830d9ad1f5db0fd~1..e16c89daf6826d526ada798cd830d9ad1f5db0fd e16c89daf6826d526ada798cd830d9ad1f5db0fd [false] [Pipeline] sh [2022-02-18T15:37:47.136Z] + git log --format=format:%s -1 e16c89daf6826d526ada798cd830d9ad1f5db0fd [Pipeline] echo [2022-02-18T15:37:47.176Z] ========================================================= [2022-02-18T15:37:47.176Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-02-18T15:37:47.176Z] ========================================================= 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-02-18T15:37:48.002Z] + git rev-list -1 --merges e16c89daf6826d526ada798cd830d9ad1f5db0fd~1..e16c89daf6826d526ada798cd830d9ad1f5db0fd [Pipeline] echo [2022-02-18T15:37:48.035Z] -----------> git rev-list -1 --merges e16c89daf6826d526ada798cd830d9ad1f5db0fd~1..e16c89daf6826d526ada798cd830d9ad1f5db0fd e16c89daf6826d526ada798cd830d9ad1f5db0fd [false] [Pipeline] sh [2022-02-18T15:37:48.360Z] + git log --format=format:%s -1 e16c89daf6826d526ada798cd830d9ad1f5db0fd [Pipeline] echo [2022-02-18T15:37:48.402Z] ========================================================= [2022-02-18T15:37:48.402Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-02-18T15:37:48.402Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2022-02-18T15:37:49.007Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-02-18T15:37:49.007Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-02-18T15:37:49.007Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-02-18T15:37:49.007Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-02-18T15:37:49.007Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-02-18T15:37:49.007Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-02-18T15:37:49.007Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-02-18T15:37:49.467Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-18T15:37:49.467Z] [2022-02-18T15:37:49.467Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-02-18T15:37:49.820Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-18T15:37:49.820Z] latest: Pulling from edgex-devops/git-semver [2022-02-18T15:37:49.820Z] a0d0a0d46f8b: Pulling fs layer [2022-02-18T15:37:49.820Z] 3e5f54012d9b: Pulling fs layer [2022-02-18T15:37:49.820Z] 4c7163046ea9: Pulling fs layer [2022-02-18T15:37:49.820Z] 0c2d73faf560: Pulling fs layer [2022-02-18T15:37:49.820Z] 0c2d73faf560: Waiting [2022-02-18T15:37:49.820Z] 3e5f54012d9b: Verifying Checksum [2022-02-18T15:37:49.820Z] 3e5f54012d9b: Download complete [2022-02-18T15:37:49.820Z] a0d0a0d46f8b: Verifying Checksum [2022-02-18T15:37:49.820Z] a0d0a0d46f8b: Download complete [2022-02-18T15:37:49.820Z] 4c7163046ea9: Verifying Checksum [2022-02-18T15:37:49.820Z] 4c7163046ea9: Download complete [2022-02-18T15:37:49.820Z] 0c2d73faf560: Verifying Checksum [2022-02-18T15:37:49.820Z] 0c2d73faf560: Download complete [2022-02-18T15:37:50.090Z] a0d0a0d46f8b: Pull complete [2022-02-18T15:37:50.090Z] 3e5f54012d9b: Pull complete [2022-02-18T15:37:50.364Z] 4c7163046ea9: Pull complete [2022-02-18T15:37:50.627Z] 0c2d73faf560: Pull complete [2022-02-18T15:37:50.627Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-02-18T15:37:50.627Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-18T15:37:50.627Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-02-18T15:37:50.728Z] prd-centos7-docker-4c-2g-5643 does not seem to be running inside a container [2022-02-18T15:37:50.766Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-401 -v /w/workspace/edgexfoundry_device-sdk-c_PR-401:/w/workspace/edgexfoundry_device-sdk-c_PR-401:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-401@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-401@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:10004/edgex-devops/git-semver:latest cat [2022-02-18T15:37:51.354Z] $ docker top a31e1a1cf9d960b496324c814f759bd3d0f711c1751997e681a32d4a4635392b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-02-18T15:37:51.550Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-18T15:37:51.550Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-18T15:37:51.671Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-18T15:37:51.673Z] $ docker exec a31e1a1cf9d960b496324c814f759bd3d0f711c1751997e681a32d4a4635392b ssh-agent [2022-02-18T15:37:51.802Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLiALDg/agent.14 [2022-02-18T15:37:51.802Z] SSH_AGENT_PID=20 [2022-02-18T15:37:51.814Z] Running ssh-add (command line suppressed) [2022-02-18T15:37:51.943Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-401@tmp/private_key_4793169427401007031.key (/w/workspace/edgexfoundry_device-sdk-c_PR-401@tmp/private_key_4793169427401007031.key) [2022-02-18T15:37:51.963Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-18T15:37:52.329Z] + git tag --points-at HEAD [Pipeline] } [2022-02-18T15:37:52.358Z] $ docker exec --env ******** --env ******** a31e1a1cf9d960b496324c814f759bd3d0f711c1751997e681a32d4a4635392b ssh-agent -k [2022-02-18T15:37:52.451Z] unset SSH_AUTH_SOCK; [2022-02-18T15:37:52.452Z] unset SSH_AGENT_PID; [2022-02-18T15:37:52.452Z] echo Agent pid 20 killed; [2022-02-18T15:37:52.463Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-02-18T15:37:52.553Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-18T15:37:52.553Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-18T15:37:52.674Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-18T15:37:52.676Z] $ docker exec a31e1a1cf9d960b496324c814f759bd3d0f711c1751997e681a32d4a4635392b ssh-agent [2022-02-18T15:37:52.777Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHfCAfG/agent.54 [2022-02-18T15:37:52.777Z] SSH_AGENT_PID=60 [2022-02-18T15:37:52.783Z] Running ssh-add (command line suppressed) [2022-02-18T15:37:52.885Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-401@tmp/private_key_2975201360550373007.key (/w/workspace/edgexfoundry_device-sdk-c_PR-401@tmp/private_key_2975201360550373007.key) [2022-02-18T15:37:52.899Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-18T15:37:53.242Z] + git semver init [2022-02-18T15:37:53.242Z] # -> Open(): unable to determine branch for HEAD [2022-02-18T15:37:53.242Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-401/.git [2022-02-18T15:37:53.242Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-401 [2022-02-18T15:37:53.242Z] # $SEMVER_REMOTE_NAME = origin [2022-02-18T15:37:53.242Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-02-18T15:37:53.242Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-02-18T15:37:53.242Z] # $SEMVER_BRANCH = PR-401 [2022-02-18T15:37:53.242Z] # $SEMVER_TEMP = /tmp/semver-280291790 [2022-02-18T15:37:53.242Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2022-02-18T15:37:54.187Z] # '/tmp/semver-280291790' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-401/.semver' [2022-02-18T15:37:54.187Z] # -> Force: false [2022-02-18T15:37:54.187Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-401/.semver [Pipeline] } [2022-02-18T15:37:54.216Z] $ docker exec --env ******** --env ******** a31e1a1cf9d960b496324c814f759bd3d0f711c1751997e681a32d4a4635392b ssh-agent -k [2022-02-18T15:37:54.328Z] unset SSH_AUTH_SOCK; [2022-02-18T15:37:54.328Z] unset SSH_AGENT_PID; [2022-02-18T15:37:54.328Z] echo Agent pid 60 killed; [2022-02-18T15:37:54.336Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-02-18T15:37:54.777Z] + git semver [Pipeline] } [2022-02-18T15:37:54.810Z] $ docker stop --time=1 a31e1a1cf9d960b496324c814f759bd3d0f711c1751997e681a32d4a4635392b [2022-02-18T15:37:56.017Z] $ docker rm -f a31e1a1cf9d960b496324c814f759bd3d0f711c1751997e681a32d4a4635392b [Pipeline] // withDockerContainer [Pipeline] sh [2022-02-18T15:37:56.446Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-02-18T15:37:56.768Z] Stashed 1 file(s) [Pipeline] echo [2022-02-18T15:37:56.788Z] [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-02-18T15:37:57.339Z] provisioning config files... [2022-02-18T15:37:57.355Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-401@tmp/config4208588542654138937tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-18T15:37:57.710Z] ---> docker-login.sh [2022-02-18T15:37:57.710Z] nexus3.edgexfoundry.org:10001 [2022-02-18T15:37:57.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-18T15:37:57.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-18T15:37:57.710Z] Configure a credential helper to remove this warning. See [2022-02-18T15:37:57.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-18T15:37:57.710Z] [2022-02-18T15:37:57.710Z] Login Succeeded [2022-02-18T15:37:57.710Z] nexus3.edgexfoundry.org:10002 [2022-02-18T15:37:57.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-18T15:37:57.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-18T15:37:57.973Z] Configure a credential helper to remove this warning. See [2022-02-18T15:37:57.973Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-18T15:37:57.973Z] [2022-02-18T15:37:57.973Z] Login Succeeded [2022-02-18T15:37:57.973Z] nexus3.edgexfoundry.org:10003 [2022-02-18T15:37:57.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-18T15:37:57.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-18T15:37:57.973Z] Configure a credential helper to remove this warning. See [2022-02-18T15:37:57.973Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-18T15:37:57.973Z] [2022-02-18T15:37:57.973Z] Login Succeeded [2022-02-18T15:37:57.973Z] nexus3.edgexfoundry.org:10004 [2022-02-18T15:37:57.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-18T15:37:58.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-18T15:37:58.234Z] Configure a credential helper to remove this warning. See [2022-02-18T15:37:58.234Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-18T15:37:58.234Z] [2022-02-18T15:37:58.234Z] Login Succeeded [2022-02-18T15:37:58.234Z] docker.io [2022-02-18T15:37:58.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-18T15:37:58.495Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-18T15:37:58.495Z] Configure a credential helper to remove this warning. See [2022-02-18T15:37:58.495Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-18T15:37:58.495Z] [2022-02-18T15:37:58.495Z] Login Succeeded [2022-02-18T15:37:58.495Z] ---> docker-login.sh ends [Pipeline] } [2022-02-18T15:37:58.525Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-02-18T15:37:58.721Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-18T15:37:58.754Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2022-02-18T15:37:58.789Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-18T15:37:58.822Z] ========================================================= [2022-02-18T15:37:58.822Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2022-02-18T15:37:58.822Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-02-18T15:37:59.181Z] + 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-02-18T15:37:59.181Z] Sending build context to Docker daemon 4.507MB [2022-02-18T15:37:59.181Z] Step 1/22 : ARG BASE=alpine:3.15 [2022-02-18T15:37:59.181Z] Step 2/22 : FROM ${BASE} as builder [2022-02-18T15:37:59.448Z] latest: Pulling from edgex-devops/edgex-gcc-base [2022-02-18T15:37:59.448Z] 59bf1c3509f3: Pulling fs layer [2022-02-18T15:37:59.448Z] c743a93c8381: Pulling fs layer [2022-02-18T15:37:59.448Z] a2ad9f71ba65: Pulling fs layer [2022-02-18T15:37:59.448Z] c743a93c8381: Verifying Checksum [2022-02-18T15:37:59.448Z] c743a93c8381: Download complete [2022-02-18T15:37:59.448Z] 59bf1c3509f3: Verifying Checksum [2022-02-18T15:37:59.448Z] 59bf1c3509f3: Download complete [2022-02-18T15:37:59.710Z] 59bf1c3509f3: Pull complete [2022-02-18T15:37:59.710Z] c743a93c8381: Pull complete [2022-02-18T15:37:59.978Z] a2ad9f71ba65: Verifying Checksum [2022-02-18T15:37:59.978Z] a2ad9f71ba65: Download complete [2022-02-18T15:38:03.351Z] a2ad9f71ba65: Pull complete [2022-02-18T15:38:03.351Z] Digest: sha256:1add200577aa6f30a3653c04583074abbdfe99a16f60a8a3474aeff88a149476 [2022-02-18T15:38:03.351Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2022-02-18T15:38:03.351Z] ---> c9e13ccc37c5 [2022-02-18T15:38:03.351Z] 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-02-18T15:38:04.299Z] ---> Running in 4f5e79da65d4 [2022-02-18T15:38:04.299Z] Connecting to iotech.jfrog.io (34.243.182.113:443) [2022-02-18T15:38:04.875Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-02-18T15:38:04.875Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-02-18T15:38:04.875Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-02-18T15:38:04.875Z] Removing intermediate container 4f5e79da65d4 [2022-02-18T15:38:04.875Z] ---> 50d7f7e0ed2e [2022-02-18T15:38:04.875Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-02-18T15:38:05.140Z] ---> Running in 52892b2b52d1 [2022-02-18T15:38:05.400Z] Removing intermediate container 52892b2b52d1 [2022-02-18T15:38:05.400Z] ---> 8732d0e5b9d5 [2022-02-18T15:38:05.400Z] Step 5/22 : RUN apk add --update --no-cache build-base git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev [2022-02-18T15:38:05.400Z] ---> Running in f4c678cd4488 [2022-02-18T15:38:05.660Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-02-18T15:38:06.602Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-02-18T15:38:07.172Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-02-18T15:38:07.434Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-02-18T15:38:07.434Z] (1/31) Installing hiredis (1.0.2-r0) [2022-02-18T15:38:07.698Z] (2/31) Installing hiredis-dev (1.0.2-r0) [2022-02-18T15:38:07.698Z] (3/31) Installing libcbor (0.8.0-r0) [2022-02-18T15:38:07.698Z] (4/31) Installing libcbor-dev (0.8.0-r0) [2022-02-18T15:38:07.959Z] (5/31) Installing ncurses-dev (6.3_p20211120-r0) [2022-02-18T15:38:07.959Z] (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-02-18T15:38:08.899Z] (7/31) Installing util-linux (2.37.4-r0) [2022-02-18T15:38:08.899Z] (8/31) Installing libblkid (2.37.4-r0) [2022-02-18T15:38:08.899Z] (9/31) Installing libeconf (0.4.2-r0) [2022-02-18T15:38:09.160Z] (10/31) Installing libuuid (2.37.4-r0) [2022-02-18T15:38:09.160Z] (11/31) Installing libfdisk (2.37.4-r0) [2022-02-18T15:38:09.160Z] (12/31) Installing libmount (2.37.4-r0) [2022-02-18T15:38:09.423Z] (13/31) Installing libsmartcols (2.37.4-r0) [2022-02-18T15:38:09.423Z] (14/31) Installing util-linux-misc (2.37.4-r0) [2022-02-18T15:38:09.685Z] (15/31) Installing linux-pam (1.5.2-r0) [2022-02-18T15:38:09.949Z] (16/31) Installing runuser (2.37.4-r0) [2022-02-18T15:38:09.949Z] (17/31) Installing hexdump (2.37.4-r0) [2022-02-18T15:38:09.949Z] (18/31) Installing uuidgen (2.37.4-r0) [2022-02-18T15:38:10.212Z] (19/31) Installing blkid (2.37.4-r0) [2022-02-18T15:38:10.212Z] (20/31) Installing sfdisk (2.37.4-r0) [2022-02-18T15:38:10.212Z] (21/31) Installing mcookie (2.37.4-r0) [2022-02-18T15:38:10.474Z] (22/31) Installing wipefs (2.37.4-r0) [2022-02-18T15:38:10.474Z] (23/31) Installing cfdisk (2.37.4-r0) [2022-02-18T15:38:10.734Z] (24/31) Installing flock (2.37.4-r0) [2022-02-18T15:38:10.734Z] (25/31) Installing lsblk (2.37.4-r0) [2022-02-18T15:38:10.734Z] (26/31) Installing libcap-ng (0.8.2-r1) [2022-02-18T15:38:10.996Z] (27/31) Installing setpriv (2.37.4-r0) [2022-02-18T15:38:10.996Z] (28/31) Installing logger (2.37.4-r0) [2022-02-18T15:38:10.996Z] (29/31) Installing partx (2.37.4-r0) [2022-02-18T15:38:11.262Z] (30/31) Installing findmnt (2.37.4-r0) [2022-02-18T15:38:11.262Z] (31/31) Installing util-linux-dev (2.37.4-r0) [2022-02-18T15:38:11.262Z] Executing busybox-1.34.1-r3.trigger [2022-02-18T15:38:11.262Z] OK: 293 MiB in 108 packages [2022-02-18T15:38:11.849Z] Removing intermediate container f4c678cd4488 [2022-02-18T15:38:11.849Z] ---> c3c7c77000a5 [2022-02-18T15:38:11.849Z] Step 6/22 : RUN mkdir /tmp/sdk [2022-02-18T15:38:11.849Z] ---> Running in ec253f71d2ea [2022-02-18T15:38:12.146Z] Still waiting to schedule task [2022-02-18T15:38:12.147Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-02-18T15:38:12.430Z] Removing intermediate container ec253f71d2ea [2022-02-18T15:38:12.430Z] ---> 8706eb69c8bf [2022-02-18T15:38:12.430Z] Step 7/22 : COPY VERSION /tmp/sdk [2022-02-18T15:38:12.430Z] ---> dbebf09d42bb [2022-02-18T15:38:12.430Z] Step 8/22 : COPY src /tmp/sdk/src [2022-02-18T15:38:12.693Z] ---> 1d1f4a1d681e [2022-02-18T15:38:12.693Z] Step 9/22 : COPY include /tmp/sdk/include [2022-02-18T15:38:12.693Z] ---> e27c8012f3a8 [2022-02-18T15:38:12.693Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2022-02-18T15:38:12.954Z] ---> 623d84d5e323 [2022-02-18T15:38:12.954Z] Step 11/22 : COPY LICENSE /tmp/sdk [2022-02-18T15:38:13.215Z] ---> f37641669330 [2022-02-18T15:38:13.215Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2022-02-18T15:38:13.215Z] ---> fe5fb843ec3f [2022-02-18T15:38:13.215Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2022-02-18T15:38:13.215Z] ---> Running in d319047d1ce8 [2022-02-18T15:38:13.477Z] + CPPCHECK=false [2022-02-18T15:38:13.477Z] + DOCGEN=false [2022-02-18T15:38:13.477Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2022-02-18T15:38:13.477Z] + TOMLVER=SDK-0.2 [2022-02-18T15:38:13.477Z] + CUTILVER=1.2.2 [2022-02-18T15:38:13.477Z] + '[' 0 -gt 0 ] [2022-02-18T15:38:13.477Z] + readlink -f ./scripts/build.sh [2022-02-18T15:38:13.477Z] + dirname /tmp/sdk/scripts/build.sh [2022-02-18T15:38:13.477Z] + dirname /tmp/sdk/scripts [2022-02-18T15:38:13.477Z] + ROOT=/tmp/sdk [2022-02-18T15:38:13.477Z] + cd /tmp/sdk [2022-02-18T15:38:13.477Z] + '[' '!' -d deps ] [2022-02-18T15:38:13.477Z] + mkdir deps [2022-02-18T15:38:13.477Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-02-18T15:38:13.477Z] + tar -C deps -z -x -f - [2022-02-18T15:38:13.477Z] Connecting to github.com (140.82.114.3:443) [2022-02-18T15:38:13.738Z] Connecting to codeload.github.com (140.82.114.10:443) [2022-02-18T15:38:14.000Z] writing to stdout [2022-02-18T15:38:14.000Z] - 100% |********************************| 16451 0:00:00 ETA [2022-02-18T15:38:14.000Z] written to stdout [2022-02-18T15:38:14.000Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2022-02-18T15:38:14.000Z] + + tar -C deps -zwget -x -f - -O [2022-02-18T15:38:14.000Z] - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2022-02-18T15:38:14.000Z] Connecting to github.com (140.82.114.3:443) [2022-02-18T15:38:14.262Z] Connecting to codeload.github.com (140.82.114.10:443) [2022-02-18T15:38:14.262Z] writing to stdout [2022-02-18T15:38:14.521Z] - 100% |********************************| 189k 0:00:00 ETA [2022-02-18T15:38:14.521Z] written to stdout [2022-02-18T15:38:14.521Z] + mkdir -p src/c/iot [2022-02-18T15:38:14.521Z] + 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-02-18T15:38:14.521Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2022-02-18T15:38:14.521Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2022-02-18T15:38:14.521Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2022-02-18T15:38:14.521Z] + mkdir -p include/iot [2022-02-18T15:38:14.521Z] + 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-02-18T15:38:14.521Z] + mkdir -p include/iot/os [2022-02-18T15:38:14.521Z] + 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-02-18T15:38:14.521Z] + mkdir -p /tmp/sdk/build/release [2022-02-18T15:38:14.521Z] + cd /tmp/sdk/build/release [2022-02-18T15:38:14.521Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2022-02-18T15:38:14.521Z] -- The C compiler identification is GNU 10.3.1 [2022-02-18T15:38:14.521Z] -- Detecting C compiler ABI info [2022-02-18T15:38:14.521Z] -- Detecting C compiler ABI info - done [2022-02-18T15:38:14.521Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-02-18T15:38:14.521Z] -- Detecting C compile features [2022-02-18T15:38:14.521Z] -- Detecting C compile features - done [2022-02-18T15:38:14.521Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-02-18T15:38:14.521Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-02-18T15:38:14.521Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-02-18T15:38:14.782Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-02-18T15:38:14.782Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-02-18T15:38:14.782Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-02-18T15:38:14.782Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-02-18T15:38:14.782Z] -- C SDK 0.0.0 for Linux [2022-02-18T15:38:14.782Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-02-18T15:38:14.782Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-02-18T15:38:14.782Z] -- Found Curses: /usr/lib/libcurses.so [2022-02-18T15:38:14.783Z] -- Configuring done [2022-02-18T15:38:14.783Z] -- Generating done [2022-02-18T15:38:14.783Z] -- Build files have been written to: /tmp/sdk/build/release [2022-02-18T15:38:14.783Z] + make all package [2022-02-18T15:38:14.783Z] + tee release.log [2022-02-18T15:38:14.783Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-02-18T15:38:15.044Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-02-18T15:38:15.044Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-02-18T15:38:15.626Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-02-18T15:38:15.626Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-02-18T15:38:15.626Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-02-18T15:38:15.898Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-02-18T15:38:15.898Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-02-18T15:38:15.898Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-02-18T15:38:16.164Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-02-18T15:38:16.744Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-02-18T15:38:16.744Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-02-18T15:38:16.744Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-02-18T15:38:17.009Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-02-18T15:38:17.009Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-02-18T15:38:17.009Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-02-18T15:38:17.273Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-02-18T15:38:17.542Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-02-18T15:38:17.802Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-02-18T15:38:17.802Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-02-18T15:38:17.802Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-02-18T15:38:18.068Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-02-18T15:38:18.068Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-02-18T15:38:18.068Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-02-18T15:38:18.068Z] 275 | const iot_component_factory_t * factory; [2022-02-18T15:38:18.068Z] | ^~~~~~~ [2022-02-18T15:38:18.068Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-02-18T15:38:19.026Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-02-18T15:38:19.026Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-02-18T15:38:19.026Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-02-18T15:38:19.289Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-02-18T15:38:19.289Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-02-18T15:38:19.289Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-02-18T15:38:19.551Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-02-18T15:38:19.551Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-02-18T15:38:19.815Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-02-18T15:38:19.815Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-02-18T15:38:19.815Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-02-18T15:38:20.395Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-02-18T15:38:20.395Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-02-18T15:38:20.662Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-02-18T15:38:20.662Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-02-18T15:38:21.621Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-02-18T15:38:21.621Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-02-18T15:38:21.882Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-02-18T15:38:21.882Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-02-18T15:38:21.882Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-02-18T15:38:21.882Z] /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] [2022-02-18T15:38:21.882Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-02-18T15:38:21.882Z] | ^~~~~~~~~~~~~ [2022-02-18T15:38:21.882Z] | | [2022-02-18T15:38:21.882Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-02-18T15:38:21.882Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-18T15:38:21.882Z] /usr/include/microhttpd.h:2784:49: note: expected 'MHD_KeyValueIterator' {aka 'enum MHD_Result (*)(void *, enum MHD_ValueKind, const char *, const char *)'} but argument is of type 'int (*)(void *, enum MHD_ValueKind, const char *, const char *)' [2022-02-18T15:38:21.882Z] 2784 | MHD_KeyValueIterator iterator, [2022-02-18T15:38:21.882Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-02-18T15:38:21.882Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-02-18T15:38:21.882Z] /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-02-18T15:38:21.882Z] 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-02-18T15:38:21.882Z] | ^~~~~~~~~~~~ [2022-02-18T15:38:21.882Z] | | [2022-02-18T15:38:21.882Z] | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} [2022-02-18T15:38:21.882Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-18T15:38:21.882Z] /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} [2022-02-18T15:38:21.882Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-02-18T15:38:21.882Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-02-18T15:38:21.882Z] /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-02-18T15:38:21.882Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-02-18T15:38:21.882Z] | ^~~~~~~~~~~~ [2022-02-18T15:38:21.882Z] | | [2022-02-18T15:38:21.882Z] | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} [2022-02-18T15:38:21.882Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-18T15:38:21.882Z] /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} [2022-02-18T15:38:21.882Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-02-18T15:38:21.882Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-02-18T15:38:22.143Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-02-18T15:38:22.405Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-02-18T15:38:22.405Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-02-18T15:38:22.672Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-02-18T15:38:22.672Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-02-18T15:38:23.245Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-02-18T15:38:23.822Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-02-18T15:38:23.822Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-02-18T15:38:24.089Z] [ 76%] Linking C shared library libcsdk.so [2022-02-18T15:38:24.089Z] [ 76%] Built target csdk [2022-02-18T15:38:24.089Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-02-18T15:38:24.350Z] [ 79%] Linking C executable template [2022-02-18T15:38:24.350Z] [ 79%] Built target template [2022-02-18T15:38:24.350Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-02-18T15:38:24.350Z] [ 82%] Linking C executable device-counter [2022-02-18T15:38:24.611Z] [ 82%] Built target device-counter [2022-02-18T15:38:24.611Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-02-18T15:38:24.611Z] [ 85%] Linking C executable device-random [2022-02-18T15:38:24.611Z] [ 85%] Built target device-random [2022-02-18T15:38:24.611Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-02-18T15:38:24.874Z] [ 88%] Linking C executable device-gyro [2022-02-18T15:38:24.874Z] [ 88%] Built target device-gyro [2022-02-18T15:38:24.874Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-02-18T15:38:24.874Z] [ 91%] Linking C executable device-bitfields [2022-02-18T15:38:25.139Z] [ 91%] Built target device-bitfields [2022-02-18T15:38:25.139Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-02-18T15:38:25.139Z] [ 94%] Linking C executable template-discovery [2022-02-18T15:38:25.139Z] [ 94%] Built target template-discovery [2022-02-18T15:38:25.139Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-02-18T15:38:25.402Z] [ 97%] Linking C executable device-file [2022-02-18T15:38:25.402Z] [ 97%] Built target device-file [2022-02-18T15:38:25.402Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-02-18T15:38:25.668Z] [100%] Linking C executable device-terminal [2022-02-18T15:38:25.668Z] [100%] Built target device-terminal [2022-02-18T15:38:25.668Z] Run CPack packaging tool... [2022-02-18T15:38:25.668Z] CPack: Create package using TGZ [2022-02-18T15:38:25.668Z] CPack: Install projects [2022-02-18T15:38:25.668Z] CPack: - Run preinstall target for: Csdk [2022-02-18T15:38:25.928Z] CPack: - Install project: Csdk [] [2022-02-18T15:38:25.928Z] CPack: Create package [2022-02-18T15:38:25.928Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2022-02-18T15:38:25.928Z] + '[' false '=' true ] [2022-02-18T15:38:25.928Z] + '[' false '=' true ] [2022-02-18T15:38:25.928Z] + mkdir -p /tmp/sdk/build/debug [2022-02-18T15:38:25.929Z] + cd /tmp/sdk/build/debug [2022-02-18T15:38:25.929Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2022-02-18T15:38:25.929Z] -- The C compiler identification is GNU 10.3.1 [2022-02-18T15:38:25.929Z] -- Detecting C compiler ABI info [2022-02-18T15:38:25.929Z] -- Detecting C compiler ABI info - done [2022-02-18T15:38:25.929Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-02-18T15:38:25.929Z] -- Detecting C compile features [2022-02-18T15:38:25.929Z] -- Detecting C compile features - done [2022-02-18T15:38:25.929Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-02-18T15:38:26.191Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-02-18T15:38:26.191Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-02-18T15:38:26.191Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-02-18T15:38:26.191Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-02-18T15:38:26.191Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-02-18T15:38:26.191Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-02-18T15:38:26.191Z] -- C SDK 0.0.0 for Linux [2022-02-18T15:38:26.192Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-02-18T15:38:26.192Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-02-18T15:38:26.192Z] -- Found Curses: /usr/lib/libcurses.so [2022-02-18T15:38:26.192Z] -- Configuring done [2022-02-18T15:38:26.192Z] -- Generating done [2022-02-18T15:38:26.192Z] -- Build files have been written to: /tmp/sdk/build/debug [2022-02-18T15:38:26.192Z] + tee debug.log [2022-02-18T15:38:26.192Z] + make [2022-02-18T15:38:26.192Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-02-18T15:38:26.456Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-02-18T15:38:26.456Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-02-18T15:38:26.717Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-02-18T15:38:26.717Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-02-18T15:38:26.717Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-02-18T15:38:26.717Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-02-18T15:38:26.717Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-02-18T15:38:26.979Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-02-18T15:38:26.979Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-02-18T15:38:26.979Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-02-18T15:38:27.243Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-02-18T15:38:27.243Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-02-18T15:38:27.243Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-02-18T15:38:27.508Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-02-18T15:38:27.508Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-02-18T15:38:27.508Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-02-18T15:38:27.770Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-02-18T15:38:27.770Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-02-18T15:38:27.770Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-02-18T15:38:27.770Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-02-18T15:38:27.770Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-02-18T15:38:27.770Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-02-18T15:38:27.770Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-02-18T15:38:27.770Z] 275 | const iot_component_factory_t * factory; [2022-02-18T15:38:27.770Z] | ^~~~~~~ [2022-02-18T15:38:28.036Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-02-18T15:38:28.298Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-02-18T15:38:28.298Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-02-18T15:38:28.298Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-02-18T15:38:28.298Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-02-18T15:38:28.298Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-02-18T15:38:28.562Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-02-18T15:38:28.562Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-02-18T15:38:28.562Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-02-18T15:38:28.562Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-02-18T15:38:28.563Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-02-18T15:38:28.826Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-02-18T15:38:28.826Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-02-18T15:38:28.826Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-02-18T15:38:29.094Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-02-18T15:38:29.094Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-02-18T15:38:29.359Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-02-18T15:38:29.359Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-02-18T15:38:29.359Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-02-18T15:38:29.359Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-02-18T15:38:29.623Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-02-18T15:38:29.623Z] /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] [2022-02-18T15:38:29.623Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-02-18T15:38:29.623Z] | ^~~~~~~~~~~~~ [2022-02-18T15:38:29.623Z] | | [2022-02-18T15:38:29.623Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-02-18T15:38:29.623Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-18T15:38:29.623Z] /usr/include/microhttpd.h:2784:49: note: expected 'MHD_KeyValueIterator' {aka 'enum MHD_Result (*)(void *, enum MHD_ValueKind, const char *, const char *)'} but argument is of type 'int (*)(void *, enum MHD_ValueKind, const char *, const char *)' [2022-02-18T15:38:29.623Z] 2784 | MHD_KeyValueIterator iterator, [2022-02-18T15:38:29.623Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-02-18T15:38:29.623Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-02-18T15:38:29.623Z] /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-02-18T15:38:29.623Z] 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-02-18T15:38:29.623Z] | ^~~~~~~~~~~~ [2022-02-18T15:38:29.623Z] | | [2022-02-18T15:38:29.623Z] | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} [2022-02-18T15:38:29.623Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-18T15:38:29.623Z] /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} [2022-02-18T15:38:29.623Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-02-18T15:38:29.623Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-02-18T15:38:29.623Z] /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-02-18T15:38:29.623Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-02-18T15:38:29.623Z] | ^~~~~~~~~~~~ [2022-02-18T15:38:29.623Z] | | [2022-02-18T15:38:29.623Z] | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} [2022-02-18T15:38:29.623Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-18T15:38:29.623Z] /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} [2022-02-18T15:38:29.623Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-02-18T15:38:29.623Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-02-18T15:38:29.623Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-02-18T15:38:29.891Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-02-18T15:38:29.892Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-02-18T15:38:29.892Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-02-18T15:38:29.892Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-02-18T15:38:30.154Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-02-18T15:38:30.416Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-02-18T15:38:30.416Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-02-18T15:38:30.416Z] [ 76%] Linking C shared library libcsdk.so [2022-02-18T15:38:30.416Z] [ 76%] Built target csdk [2022-02-18T15:38:30.416Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-02-18T15:38:30.677Z] [ 79%] Linking C executable template [2022-02-18T15:38:30.677Z] [ 79%] Built target template [2022-02-18T15:38:30.677Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-02-18T15:38:30.677Z] [ 82%] Linking C executable device-counter [2022-02-18T15:38:30.677Z] [ 82%] Built target device-counter [2022-02-18T15:38:30.677Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-02-18T15:38:30.937Z] [ 85%] Linking C executable device-random [2022-02-18T15:38:30.937Z] [ 85%] Built target device-random [2022-02-18T15:38:30.937Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-02-18T15:38:30.937Z] [ 88%] Linking C executable device-gyro [2022-02-18T15:38:30.937Z] [ 88%] Built target device-gyro [2022-02-18T15:38:30.937Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-02-18T15:38:31.203Z] [ 91%] Linking C executable device-bitfields [2022-02-18T15:38:31.203Z] [ 91%] Built target device-bitfields [2022-02-18T15:38:31.203Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-02-18T15:38:31.203Z] [ 94%] Linking C executable template-discovery [2022-02-18T15:38:31.203Z] [ 94%] Built target template-discovery [2022-02-18T15:38:31.203Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-02-18T15:38:31.463Z] [ 97%] Linking C executable device-file [2022-02-18T15:38:31.463Z] [ 97%] Built target device-file [2022-02-18T15:38:31.463Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-02-18T15:38:31.463Z] [100%] Linking C executable device-terminal [2022-02-18T15:38:31.724Z] [100%] Built target device-terminal [2022-02-18T15:38:31.724Z] make: Entering directory '/tmp/sdk/build/release' [2022-02-18T15:38:31.724Z] make[1]: Entering directory '/tmp/sdk/build/release' [2022-02-18T15:38:31.724Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-18T15:38:31.724Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-18T15:38:31.724Z] [ 76%] Built target csdk [2022-02-18T15:38:31.724Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-18T15:38:31.724Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-18T15:38:31.724Z] [ 79%] Built target template [2022-02-18T15:38:31.724Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-18T15:38:31.724Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-18T15:38:31.724Z] [ 82%] Built target device-counter [2022-02-18T15:38:31.724Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-18T15:38:31.724Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-18T15:38:31.724Z] [ 85%] Built target device-random [2022-02-18T15:38:31.724Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-18T15:38:31.724Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-18T15:38:31.724Z] [ 88%] Built target device-gyro [2022-02-18T15:38:31.724Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-18T15:38:31.724Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-18T15:38:31.724Z] [ 91%] Built target device-bitfields [2022-02-18T15:38:31.724Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-18T15:38:31.724Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-18T15:38:31.724Z] [ 94%] Built target template-discovery [2022-02-18T15:38:31.724Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-18T15:38:31.724Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-18T15:38:31.724Z] [ 97%] Built target device-file [2022-02-18T15:38:31.724Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-18T15:38:31.724Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-18T15:38:31.724Z] [100%] Built target device-terminal [2022-02-18T15:38:31.724Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2022-02-18T15:38:31.724Z] Install the project... [2022-02-18T15:38:31.724Z] -- Install configuration: "Release" [2022-02-18T15:38:31.724Z] -- Installing: /usr/local/lib/libcsdk.so [2022-02-18T15:38:31.724Z] -- Installing: /usr/local/include [2022-02-18T15:38:31.724Z] -- Installing: /usr/local/include/devsdk [2022-02-18T15:38:31.724Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2022-02-18T15:38:31.724Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2022-02-18T15:38:31.724Z] -- Installing: /usr/local/include/edgex [2022-02-18T15:38:31.724Z] -- Installing: /usr/local/include/edgex/devices.h [2022-02-18T15:38:31.724Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2022-02-18T15:38:31.724Z] -- Installing: /usr/local/include/edgex/edgex.h [2022-02-18T15:38:31.724Z] -- Installing: /usr/local/include/edgex/profiles.h [2022-02-18T15:38:31.724Z] -- Installing: /usr/local/include/edgex/rest-server.h [2022-02-18T15:38:31.724Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2022-02-18T15:38:31.724Z] -- Installing: /usr/local/include/iot [2022-02-18T15:38:31.724Z] -- Installing: /usr/local/include/iot/base64.h [2022-02-18T15:38:31.724Z] -- Installing: /usr/local/include/iot/component.h [2022-02-18T15:38:31.724Z] -- Installing: /usr/local/include/iot/config.h [2022-02-18T15:38:31.724Z] -- Installing: /usr/local/include/iot/container.h [2022-02-18T15:38:31.724Z] -- Installing: /usr/local/include/iot/data.h [2022-02-18T15:38:31.724Z] -- Installing: /usr/local/include/iot/hash.h [2022-02-18T15:38:31.724Z] -- Installing: /usr/local/include/iot/iot.h [2022-02-18T15:38:31.724Z] -- Installing: /usr/local/include/iot/json.h [2022-02-18T15:38:31.724Z] -- Installing: /usr/local/include/iot/logger.h [2022-02-18T15:38:31.724Z] -- Installing: /usr/local/include/iot/os.h [2022-02-18T15:38:31.724Z] -- Installing: /usr/local/include/iot/scheduler.h [2022-02-18T15:38:31.724Z] -- Installing: /usr/local/include/iot/thread.h [2022-02-18T15:38:31.724Z] -- Installing: /usr/local/include/iot/threadpool.h [2022-02-18T15:38:31.986Z] -- Installing: /usr/local/include/iot/time.h [2022-02-18T15:38:31.986Z] -- Installing: /usr/local/include/iot/typecode.h [2022-02-18T15:38:31.986Z] -- Installing: /usr/local/include/iot/uuid.h [2022-02-18T15:38:31.986Z] -- Installing: /usr/local/include/iot/os [2022-02-18T15:38:31.986Z] -- Installing: /usr/local/include/iot/os/linux.h [2022-02-18T15:38:31.986Z] -- Installing: /usr/local/include/iot/os/macos.h [2022-02-18T15:38:31.986Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2022-02-18T15:38:31.986Z] -- Installing: /usr/local/include/iot/defs.h [2022-02-18T15:38:31.986Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2022-02-18T15:38:31.986Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2022-02-18T15:38:31.986Z] make: Leaving directory '/tmp/sdk/build/release' [2022-02-18T15:38:32.564Z] Removing intermediate container d319047d1ce8 [2022-02-18T15:38:32.564Z] ---> 43464e3f29bc [2022-02-18T15:38:32.564Z] Step 14/22 : FROM ${BASE} [2022-02-18T15:38:32.564Z] ---> c9e13ccc37c5 [2022-02-18T15:38:32.564Z] Step 15/22 : LABEL maintainer="IOTech " [2022-02-18T15:38:32.564Z] ---> Running in 888d9e76c32a [2022-02-18T15:38:32.564Z] Removing intermediate container 888d9e76c32a [2022-02-18T15:38:32.564Z] ---> 6230cd0e0c5f [2022-02-18T15:38:32.564Z] 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-02-18T15:38:32.564Z] ---> Running in 8da5cbc4ef5f [2022-02-18T15:38:32.828Z] Connecting to iotech.jfrog.io (34.243.182.113:443) [2022-02-18T15:38:33.091Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-02-18T15:38:33.091Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-02-18T15:38:33.091Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-02-18T15:38:33.356Z] Removing intermediate container 8da5cbc4ef5f [2022-02-18T15:38:33.356Z] ---> 880637e0c5a3 [2022-02-18T15:38:33.356Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-02-18T15:38:33.356Z] ---> Running in 9d27a0a19a99 [2022-02-18T15:38:33.927Z] Removing intermediate container 9d27a0a19a99 [2022-02-18T15:38:33.927Z] ---> 888db21ccc39 [2022-02-18T15:38:33.927Z] Step 18/22 : RUN apk add --update --no-cache build-base git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 hiredis-dev [2022-02-18T15:38:33.927Z] ---> Running in d8d38b88ba33 [2022-02-18T15:38:34.187Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-02-18T15:38:35.128Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-02-18T15:38:35.387Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-02-18T15:38:35.960Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-02-18T15:38:35.960Z] (1/6) Installing curl (7.80.0-r0) [2022-02-18T15:38:35.960Z] (2/6) Installing hiredis (1.0.2-r0) [2022-02-18T15:38:35.960Z] (3/6) Installing hiredis-dev (1.0.2-r0) [2022-02-18T15:38:36.222Z] (4/6) Installing libcbor (0.8.0-r0) [2022-02-18T15:38:36.223Z] (5/6) Installing libuuid (2.37.4-r0) [2022-02-18T15:38:36.223Z] (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-02-18T15:38:37.170Z] Executing busybox-1.34.1-r3.trigger [2022-02-18T15:38:37.170Z] OK: 283 MiB in 83 packages [2022-02-18T15:38:37.438Z] Removing intermediate container d8d38b88ba33 [2022-02-18T15:38:37.438Z] ---> 2b4ce584da41 [2022-02-18T15:38:37.438Z] Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2022-02-18T15:38:37.438Z] ---> cd71972f4ded [2022-02-18T15:38:37.438Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2022-02-18T15:38:37.700Z] ---> eb29f07c68ee [2022-02-18T15:38:37.700Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2022-02-18T15:38:37.700Z] ---> 7fa1a75108c6 [2022-02-18T15:38:37.700Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2022-02-18T15:38:37.961Z] ---> 56e2d8aef035 [2022-02-18T15:38:37.961Z] Successfully built 56e2d8aef035 [2022-02-18T15:38:37.961Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-18T15:38:38.562Z] + docker inspect -f . ci-base-image-x86_64 [2022-02-18T15:38:38.562Z] . [Pipeline] withDockerContainer [2022-02-18T15:38:38.654Z] prd-centos7-docker-4c-2g-5643 does not seem to be running inside a container [2022-02-18T15:38:38.684Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-401 -v /w/workspace/edgexfoundry_device-sdk-c_PR-401:/w/workspace/edgexfoundry_device-sdk-c_PR-401:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-401@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-401@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-02-18T15:38:39.043Z] $ docker top 883fe561acaf0def20a3a1570867901d5c30866f22c4294d04246884a611a8b0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-18T15:38:39.442Z] + make test [2022-02-18T15:38:39.442Z] echo "make test" [2022-02-18T15:38:39.442Z] make test [Pipeline] } [2022-02-18T15:38:39.473Z] $ docker stop --time=1 883fe561acaf0def20a3a1570867901d5c30866f22c4294d04246884a611a8b0 [2022-02-18T15:38:40.653Z] $ docker rm -f 883fe561acaf0def20a3a1570867901d5c30866f22c4294d04246884a611a8b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-18T15:38:42.107Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-02-18T15:38:42.425Z] + ls -al . [2022-02-18T15:38:42.425Z] total 176 [2022-02-18T15:38:42.425Z] drwxrwxr-x. 9 jenkins jenkins 4096 Feb 18 15:37 . [2022-02-18T15:38:42.425Z] drwxrwxr-x. 4 jenkins jenkins 112 Feb 18 15:37 .. [2022-02-18T15:38:42.425Z] -rw-rw-r--. 1 jenkins jenkins 3104 Feb 18 15:37 Attribution.txt [2022-02-18T15:38:42.425Z] -rw-rw-r--. 1 jenkins jenkins 8222 Feb 18 15:37 CHANGES [2022-02-18T15:38:42.425Z] drwxrwxr-x. 2 jenkins jenkins 121 Feb 18 15:37 docs [2022-02-18T15:38:42.425Z] -rw-rw-r--. 1 jenkins jenkins 108574 Feb 18 15:37 Doxyfile [2022-02-18T15:38:42.425Z] drwxrwxr-x. 8 jenkins jenkins 179 Feb 18 15:37 .git [2022-02-18T15:38:42.425Z] drwxrwxr-x. 3 jenkins jenkins 103 Feb 18 15:37 .github [2022-02-18T15:38:42.425Z] -rw-rw-r--. 1 jenkins jenkins 176 Feb 18 15:37 .gitignore [2022-02-18T15:38:42.425Z] -rw-rw-r--. 1 jenkins jenkins 677 Feb 18 15:37 GOVERNANCE.md [2022-02-18T15:38:42.425Z] drwxrwxr-x. 4 jenkins jenkins 33 Feb 18 15:37 include [2022-02-18T15:38:42.425Z] -rw-rw-r--. 1 jenkins jenkins 784 Feb 18 15:37 Jenkinsfile [2022-02-18T15:38:42.425Z] -rw-rw-r--. 1 jenkins jenkins 10174 Feb 18 15:37 LICENSE [2022-02-18T15:38:42.425Z] -rw-rw-r--. 1 jenkins jenkins 444 Feb 18 15:37 Makefile [2022-02-18T15:38:42.425Z] -rw-rw-r--. 1 jenkins jenkins 618 Feb 18 15:37 OWNERS.md [2022-02-18T15:38:42.425Z] -rw-rw-r--. 1 jenkins jenkins 4086 Feb 18 15:37 README.md [2022-02-18T15:38:42.425Z] -rw-rw-r--. 1 jenkins jenkins 7422 Feb 18 15:37 README.v2.md [2022-02-18T15:38:42.425Z] drwxrwxr-x. 2 jenkins jenkins 98 Feb 18 15:37 scripts [2022-02-18T15:38:42.425Z] drwx------. 3 jenkins jenkins 85 Feb 18 15:37 .semver [2022-02-18T15:38:42.425Z] drwxrwxr-x. 4 jenkins jenkins 50 Feb 18 15:37 src [2022-02-18T15:38:42.425Z] -rw-rw-r--. 1 jenkins jenkins 5 Feb 18 15:37 VERSION [Pipeline] isUnix [Pipeline] sh [2022-02-18T15:38:42.760Z] + 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=e16c89daf6826d526ada798cd830d9ad1f5db0fd --label arch=amd64 --label version=0.0.0 . [2022-02-18T15:38:42.760Z] Sending build context to Docker daemon 4.507MB [2022-02-18T15:38:42.760Z] Step 1/17 : ARG BASE=alpine:3.15 [2022-02-18T15:38:42.760Z] Step 2/17 : FROM ${BASE} [2022-02-18T15:38:42.760Z] ---> 56e2d8aef035 [2022-02-18T15:38:42.760Z] Step 3/17 : LABEL maintainer="IOTech " [2022-02-18T15:38:42.760Z] ---> Running in 2b32f718585b [2022-02-18T15:38:43.025Z] Removing intermediate container 2b32f718585b [2022-02-18T15:38:43.025Z] ---> 3bb307aa5895 [2022-02-18T15:38:43.025Z] 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-02-18T15:38:43.025Z] ---> Running in 8aaac6bb12f3 [2022-02-18T15:38:43.025Z] Connecting to iotech.jfrog.io (34.243.182.113:443) [2022-02-18T15:38:43.596Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-02-18T15:38:43.596Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-02-18T15:38:43.596Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-02-18T15:38:43.596Z] Removing intermediate container 8aaac6bb12f3 [2022-02-18T15:38:43.596Z] ---> b28a5260b80f [2022-02-18T15:38:43.596Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-02-18T15:38:43.856Z] ---> Running in 461bd70927cd [2022-02-18T15:38:44.117Z] Removing intermediate container 461bd70927cd [2022-02-18T15:38:44.117Z] ---> 131f329103de [2022-02-18T15:38:44.117Z] Step 6/17 : RUN apk add --update --no-cache build-base 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-02-18T15:38:44.117Z] ---> Running in 975d3c6b554a [2022-02-18T15:38:44.377Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-02-18T15:38:45.315Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-02-18T15:38:45.576Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-02-18T15:38:46.149Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-02-18T15:38:46.149Z] (1/26) Installing libcbor-dev (0.8.0-r0) [2022-02-18T15:38:46.149Z] (2/26) Installing ncurses-dev (6.3_p20211120-r0) [2022-02-18T15:38:46.149Z] (3/26) Installing util-linux (2.37.4-r0) [2022-02-18T15:38:46.149Z] (4/26) Installing libblkid (2.37.4-r0) [2022-02-18T15:38:46.410Z] (5/26) Installing libeconf (0.4.2-r0) [2022-02-18T15:38:46.410Z] (6/26) Installing libfdisk (2.37.4-r0) [2022-02-18T15:38:46.672Z] (7/26) Installing libmount (2.37.4-r0) [2022-02-18T15:38:46.672Z] (8/26) Installing libsmartcols (2.37.4-r0) [2022-02-18T15:38:46.672Z] (9/26) Installing util-linux-misc (2.37.4-r0) [2022-02-18T15:38:46.933Z] (10/26) Installing linux-pam (1.5.2-r0) [2022-02-18T15:38:46.933Z] (11/26) Installing runuser (2.37.4-r0) [2022-02-18T15:38:47.195Z] (12/26) Installing hexdump (2.37.4-r0) [2022-02-18T15:38:47.195Z] (13/26) Installing uuidgen (2.37.4-r0) [2022-02-18T15:38:47.195Z] (14/26) Installing blkid (2.37.4-r0) [2022-02-18T15:38:47.456Z] (15/26) Installing sfdisk (2.37.4-r0) [2022-02-18T15:38:47.456Z] (16/26) Installing mcookie (2.37.4-r0) [2022-02-18T15:38:47.456Z] (17/26) Installing wipefs (2.37.4-r0) [2022-02-18T15:38:47.717Z] (18/26) Installing cfdisk (2.37.4-r0) [2022-02-18T15:38:47.717Z] (19/26) Installing flock (2.37.4-r0) [2022-02-18T15:38:47.717Z] (20/26) Installing lsblk (2.37.4-r0) [2022-02-18T15:38:47.978Z] (21/26) Installing libcap-ng (0.8.2-r1) [2022-02-18T15:38:47.978Z] (22/26) Installing setpriv (2.37.4-r0) [2022-02-18T15:38:47.978Z] (23/26) Installing logger (2.37.4-r0) [2022-02-18T15:38:48.238Z] (24/26) Installing partx (2.37.4-r0) [2022-02-18T15:38:48.238Z] (25/26) Installing findmnt (2.37.4-r0) [2022-02-18T15:38:48.500Z] (26/26) Installing util-linux-dev (2.37.4-r0) [2022-02-18T15:38:48.500Z] Executing busybox-1.34.1-r3.trigger [2022-02-18T15:38:48.500Z] OK: 294 MiB in 109 packages [2022-02-18T15:38:49.080Z] Removing intermediate container 975d3c6b554a [2022-02-18T15:38:49.080Z] ---> 4cc69f0bb5e8 [2022-02-18T15:38:49.080Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2022-02-18T15:38:49.080Z] ---> cb4172ab1841 [2022-02-18T15:38:49.080Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2022-02-18T15:38:49.345Z] ---> cdb832304c33 [2022-02-18T15:38:49.345Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2022-02-18T15:38:49.345Z] ---> 6e1a5fe76588 [2022-02-18T15:38:49.345Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2022-02-18T15:38:49.607Z] ---> 8f9b6ca03912 [2022-02-18T15:38:49.607Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2022-02-18T15:38:49.607Z] ---> 5e6060f3b32f [2022-02-18T15:38:49.607Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2022-02-18T15:38:49.873Z] ---> 5288d7808aca [2022-02-18T15:38:49.873Z] Step 13/17 : WORKDIR /edgex-c-sdk [2022-02-18T15:38:49.873Z] ---> Running in 8d0f80da5a94 [2022-02-18T15:38:49.873Z] Removing intermediate container 8d0f80da5a94 [2022-02-18T15:38:49.873Z] ---> a8c7a4d7d8e5 [2022-02-18T15:38:49.873Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2022-02-18T15:38:49.873Z] ---> Running in b997064a9f18 [2022-02-18T15:38:49.873Z] Removing intermediate container b997064a9f18 [2022-02-18T15:38:49.873Z] ---> dd69c11b0a9a [2022-02-18T15:38:49.873Z] Step 15/17 : LABEL arch=amd64 [2022-02-18T15:38:50.135Z] ---> Running in 59f7f1283d31 [2022-02-18T15:38:50.135Z] Removing intermediate container 59f7f1283d31 [2022-02-18T15:38:50.135Z] ---> 259fc54dcad1 [2022-02-18T15:38:50.135Z] Step 16/17 : LABEL git_sha=e16c89daf6826d526ada798cd830d9ad1f5db0fd [2022-02-18T15:38:50.135Z] ---> Running in 404237d28032 [2022-02-18T15:38:50.135Z] Removing intermediate container 404237d28032 [2022-02-18T15:38:50.135Z] ---> a84b16335fe0 [2022-02-18T15:38:50.135Z] Step 17/17 : LABEL version=0.0.0 [2022-02-18T15:38:50.135Z] ---> Running in e6587aa1e000 [2022-02-18T15:38:50.396Z] Removing intermediate container e6587aa1e000 [2022-02-18T15:38:50.396Z] ---> 81be373fe255 [2022-02-18T15:38:50.396Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-02-18T15:38:50.396Z] Successfully built 81be373fe255 [2022-02-18T15:38:50.396Z] Successfully tagged device-sdk:latest [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] sh [2022-02-18T15:38:51.214Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-18T15:38:51.214Z] [2022-02-18T15:38:51.214Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-02-18T15:38:51.570Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-18T15:38:51.570Z] latest: Pulling from edgex-lftools-log-publisher [2022-02-18T15:38:51.570Z] b4d181a07f80: Pulling fs layer [2022-02-18T15:38:51.570Z] a1111a8f2ec3: Pulling fs layer [2022-02-18T15:38:51.570Z] ed53099fbce6: Pulling fs layer [2022-02-18T15:38:51.570Z] dc539afda2c1: Pulling fs layer [2022-02-18T15:38:51.570Z] 77bc0d833cb6: Pulling fs layer [2022-02-18T15:38:51.570Z] 9065ff56babe: Pulling fs layer [2022-02-18T15:38:51.570Z] d287ab97295c: Pulling fs layer [2022-02-18T15:38:51.570Z] dc539afda2c1: Waiting [2022-02-18T15:38:51.571Z] 77bc0d833cb6: Waiting [2022-02-18T15:38:51.571Z] 9065ff56babe: Waiting [2022-02-18T15:38:51.571Z] d287ab97295c: Waiting [2022-02-18T15:38:51.571Z] a1111a8f2ec3: Verifying Checksum [2022-02-18T15:38:51.571Z] a1111a8f2ec3: Download complete [2022-02-18T15:38:51.571Z] dc539afda2c1: Verifying Checksum [2022-02-18T15:38:51.571Z] dc539afda2c1: Download complete [2022-02-18T15:38:51.846Z] ed53099fbce6: Verifying Checksum [2022-02-18T15:38:51.846Z] ed53099fbce6: Download complete [2022-02-18T15:38:51.846Z] 77bc0d833cb6: Verifying Checksum [2022-02-18T15:38:51.846Z] 77bc0d833cb6: Download complete [2022-02-18T15:38:51.846Z] 9065ff56babe: Verifying Checksum [2022-02-18T15:38:51.846Z] 9065ff56babe: Download complete [2022-02-18T15:38:51.846Z] b4d181a07f80: Verifying Checksum [2022-02-18T15:38:51.846Z] b4d181a07f80: Download complete [2022-02-18T15:38:52.426Z] d287ab97295c: Verifying Checksum [2022-02-18T15:38:52.426Z] d287ab97295c: Download complete [2022-02-18T15:38:53.385Z] b4d181a07f80: Pull complete [2022-02-18T15:38:53.385Z] a1111a8f2ec3: Pull complete [2022-02-18T15:38:53.965Z] ed53099fbce6: Pull complete [2022-02-18T15:38:53.965Z] dc539afda2c1: Pull complete [2022-02-18T15:38:54.228Z] 77bc0d833cb6: Pull complete [2022-02-18T15:38:54.228Z] 9065ff56babe: Pull complete [2022-02-18T15:38:59.572Z] d287ab97295c: Pull complete [2022-02-18T15:38:59.572Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-02-18T15:38:59.572Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-18T15:38:59.572Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-02-18T15:38:59.669Z] prd-centos7-docker-4c-2g-5643 does not seem to be running inside a container [2022-02-18T15:38:59.701Z] $ 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-401 -v /w/workspace/edgexfoundry_device-sdk-c_PR-401:/w/workspace/edgexfoundry_device-sdk-c_PR-401:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-401@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-401@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-02-18T15:39:01.941Z] $ docker top 33ce486cd0f92fff66ee25cbe70b4434778d008ad3191bf7fe3886dc4e21f9d8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-18T15:39:02.443Z] ---> job-cost.sh [2022-02-18T15:39:02.443Z] lf-activate-venv: SKIPPING [2022-02-18T15:39:02.443Z] INFO: No Stack... [2022-02-18T15:39:02.705Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-18T15:39:02.966Z] INFO: Archiving Costs [Pipeline] sh [2022-02-18T15:39:03.292Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-401/archives/cost.csv [2022-02-18T15:39:03.292Z] + cut -d, -f6 [Pipeline] lock [2022-02-18T15:39:03.335Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-401-1-stack-cost] [2022-02-18T15:39:03.340Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-401-1-stack-cost] did not exist. Created. [2022-02-18T15:39:03.340Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-401-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-18T15:39:03.738Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-02-18T15:39:03.809Z] Stashed 1 file(s) [Pipeline] } [2022-02-18T15:39:03.825Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-401-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-18T15:39:03.909Z] $ docker stop --time=1 33ce486cd0f92fff66ee25cbe70b4434778d008ad3191bf7fe3886dc4e21f9d8 [2022-02-18T15:39:05.053Z] $ docker rm -f 33ce486cd0f92fff66ee25cbe70b4434778d008ad3191bf7fe3886dc4e21f9d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-02-18T15:39:36.303Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5644 in /w/workspace/edgexfoundry_device-sdk-c_PR-401 [Pipeline] { [Pipeline] ws [2022-02-18T15:39:36.346Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2022-02-18T15:39:36.632Z] Selected Git installation does not exist. Using Default [2022-02-18T15:39:36.633Z] The recommended git tool is: NONE [2022-02-18T15:39:41.220Z] using credential edgex-jenkins-ssh [2022-02-18T15:39:41.237Z] Cloning the remote Git repository [2022-02-18T15:39:41.300Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2022-02-18T15:39:41.373Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2022-02-18T15:39:41.468Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2022-02-18T15:39:41.469Z] > git --version # timeout=10 [2022-02-18T15:39:41.490Z] > git --version # 'git version 2.17.1' [2022-02-18T15:39:41.492Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-18T15:39:41.574Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-18T15:39:42.610Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2022-02-18T15:39:42.673Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-18T15:39:43.528Z] Merging remotes/origin/main commit 02161a6b4618232bfcf286377d256226a622bc2b into PR head commit e16c89daf6826d526ada798cd830d9ad1f5db0fd [2022-02-18T15:39:43.777Z] Merge succeeded, producing e16c89daf6826d526ada798cd830d9ad1f5db0fd [2022-02-18T15:39:43.777Z] Checking out Revision e16c89daf6826d526ada798cd830d9ad1f5db0fd (PR-401) [2022-02-18T15:39:42.737Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2022-02-18T15:39:42.802Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2022-02-18T15:39:42.812Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-18T15:39:42.842Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/401/head:refs/remotes/origin/PR-401 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-02-18T15:39:43.545Z] > git config core.sparsecheckout # timeout=10 [2022-02-18T15:39:43.563Z] > git checkout -f e16c89daf6826d526ada798cd830d9ad1f5db0fd # timeout=10 [2022-02-18T15:39:43.678Z] > git remote # timeout=10 [2022-02-18T15:39:43.694Z] > git config --get remote.origin.url # timeout=10 [2022-02-18T15:39:43.714Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-18T15:39:43.725Z] > git merge 02161a6b4618232bfcf286377d256226a622bc2b # timeout=10 [2022-02-18T15:39:43.747Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-02-18T15:39:43.781Z] > git config core.sparsecheckout # timeout=10 [2022-02-18T15:39:43.793Z] > git checkout -f e16c89daf6826d526ada798cd830d9ad1f5db0fd # timeout=10 [2022-02-18T15:39:47.900Z] Commit message: "build(deps): bump Alpine to 3.15" [2022-02-18T15:39:47.950Z] > git --version # timeout=10 [2022-02-18T15:39:47.959Z] > git --version # 'git version 2.17.1' [2022-02-18T15:39:47.974Z] fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-18T15:39:49.114Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-02-18T15:39:49.114Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-02-18T15:39:49.114Z] Dload Upload Total Spent Left Speed [2022-02-18T15:39:49.114Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 88380 0 --:--:-- --:--:-- --:--:-- 88380 [Pipeline] sh [2022-02-18T15:39:49.635Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-02-18T15:39:50.034Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-02-18T15:39:50.034Z] + sudo tee /etc/docker/daemon.new [2022-02-18T15:39:50.034Z] { [2022-02-18T15:39:50.034Z] "registry-mirrors": [ [2022-02-18T15:39:50.034Z] "https://nexus3.edgexfoundry.org:10001" [2022-02-18T15:39:50.034Z] ], [2022-02-18T15:39:50.034Z] "bip": "10.250.0.254/24", [2022-02-18T15:39:50.034Z] "hosts": [ [2022-02-18T15:39:50.034Z] "tcp://0.0.0.0:5555", [2022-02-18T15:39:50.034Z] "unix:///var/run/docker.sock" [2022-02-18T15:39:50.034Z] ], [2022-02-18T15:39:50.034Z] "mtu": 1458, [2022-02-18T15:39:50.034Z] "selinux-enabled": true, [2022-02-18T15:39:50.034Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-02-18T15:39:50.034Z] } [Pipeline] sh [2022-02-18T15:39:50.413Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-02-18T15:39:50.768Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-18T15:40:09.135Z] provisioning config files... [2022-02-18T15:40:09.157Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config9162449228035280052tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-18T15:40:09.547Z] ---> docker-login.sh [2022-02-18T15:40:09.547Z] nexus3.edgexfoundry.org:10001 [2022-02-18T15:40:10.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-18T15:40:10.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-18T15:40:10.413Z] Configure a credential helper to remove this warning. See [2022-02-18T15:40:10.413Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-18T15:40:10.413Z] [2022-02-18T15:40:10.413Z] Login Succeeded [2022-02-18T15:40:10.413Z] nexus3.edgexfoundry.org:10002 [2022-02-18T15:40:10.686Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-18T15:40:10.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-18T15:40:10.686Z] Configure a credential helper to remove this warning. See [2022-02-18T15:40:10.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-18T15:40:10.686Z] [2022-02-18T15:40:10.686Z] Login Succeeded [2022-02-18T15:40:10.686Z] nexus3.edgexfoundry.org:10003 [2022-02-18T15:40:10.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-18T15:40:10.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-18T15:40:10.959Z] Configure a credential helper to remove this warning. See [2022-02-18T15:40:10.959Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-18T15:40:10.959Z] [2022-02-18T15:40:10.959Z] Login Succeeded [2022-02-18T15:40:10.959Z] nexus3.edgexfoundry.org:10004 [2022-02-18T15:40:11.237Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-18T15:40:11.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-18T15:40:11.507Z] Configure a credential helper to remove this warning. See [2022-02-18T15:40:11.507Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-18T15:40:11.507Z] [2022-02-18T15:40:11.507Z] Login Succeeded [2022-02-18T15:40:11.507Z] docker.io [2022-02-18T15:40:11.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-18T15:40:12.046Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-18T15:40:12.046Z] Configure a credential helper to remove this warning. See [2022-02-18T15:40:12.046Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-18T15:40:12.046Z] [2022-02-18T15:40:12.046Z] Login Succeeded [2022-02-18T15:40:12.046Z] ---> docker-login.sh ends [Pipeline] } [2022-02-18T15:40:12.076Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-02-18T15:40:12.655Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-18T15:40:12.686Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2022-02-18T15:40:12.719Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-18T15:40:12.750Z] ========================================================= [2022-02-18T15:40:12.750Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2022-02-18T15:40:12.750Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-02-18T15:40:13.139Z] + 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-02-18T15:40:13.409Z] Sending build context to Docker daemon 2.746MB [2022-02-18T15:40:13.409Z] Step 1/22 : ARG BASE=alpine:3.15 [2022-02-18T15:40:13.409Z] Step 2/22 : FROM ${BASE} as builder [2022-02-18T15:40:13.687Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2022-02-18T15:40:13.687Z] 9b3977197b4f: Pulling fs layer [2022-02-18T15:40:13.687Z] 2a93055cfd06: Pulling fs layer [2022-02-18T15:40:13.687Z] ff5fdaca7850: Pulling fs layer [2022-02-18T15:40:13.687Z] 2a93055cfd06: Verifying Checksum [2022-02-18T15:40:13.687Z] 2a93055cfd06: Download complete [2022-02-18T15:40:13.687Z] 9b3977197b4f: Verifying Checksum [2022-02-18T15:40:13.687Z] 9b3977197b4f: Download complete [2022-02-18T15:40:14.301Z] 9b3977197b4f: Pull complete [2022-02-18T15:40:14.574Z] 2a93055cfd06: Pull complete [2022-02-18T15:40:15.555Z] ff5fdaca7850: Verifying Checksum [2022-02-18T15:40:15.555Z] ff5fdaca7850: Download complete [2022-02-18T15:40:23.818Z] ff5fdaca7850: Pull complete [2022-02-18T15:40:23.818Z] Digest: sha256:bf249b2a65b15776358c73a8f9886e573022f6b9ba75e542fbdefbaa4c9006da [2022-02-18T15:40:23.818Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2022-02-18T15:40:23.818Z] ---> 0af3d9908a83 [2022-02-18T15:40:23.818Z] 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-02-18T15:40:24.412Z] ---> Running in 3683c0192efa [2022-02-18T15:40:25.844Z] Connecting to iotech.jfrog.io (54.170.66.44:443) [2022-02-18T15:40:25.844Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-02-18T15:40:25.844Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-02-18T15:40:25.844Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-02-18T15:40:26.831Z] Removing intermediate container 3683c0192efa [2022-02-18T15:40:26.831Z] ---> 8fc343bbbd42 [2022-02-18T15:40:26.831Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-02-18T15:40:26.831Z] ---> Running in 81c3679d4a76 [2022-02-18T15:40:28.263Z] Removing intermediate container 81c3679d4a76 [2022-02-18T15:40:28.263Z] ---> 3857130ae96f [2022-02-18T15:40:28.263Z] Step 5/22 : RUN apk add --update --no-cache build-base git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev [2022-02-18T15:40:28.539Z] ---> Running in 7a9c78dbc653 [2022-02-18T15:40:29.530Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-02-18T15:40:30.503Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-02-18T15:40:30.779Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-02-18T15:40:31.751Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-02-18T15:40:31.751Z] (1/31) Installing hiredis (1.0.2-r0) [2022-02-18T15:40:31.751Z] (2/31) Installing hiredis-dev (1.0.2-r0) [2022-02-18T15:40:31.751Z] (3/31) Installing libcbor (0.8.0-r0) [2022-02-18T15:40:31.751Z] (4/31) Installing libcbor-dev (0.8.0-r0) [2022-02-18T15:40:32.021Z] (5/31) Installing ncurses-dev (6.3_p20211120-r0) [2022-02-18T15:40:32.021Z] (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-02-18T15:40:32.988Z] (7/31) Installing util-linux (2.37.4-r0) [2022-02-18T15:40:32.988Z] (8/31) Installing libblkid (2.37.4-r0) [2022-02-18T15:40:33.257Z] (9/31) Installing libeconf (0.4.2-r0) [2022-02-18T15:40:33.527Z] (10/31) Installing libuuid (2.37.4-r0) [2022-02-18T15:40:33.527Z] (11/31) Installing libfdisk (2.37.4-r0) [2022-02-18T15:40:33.527Z] (12/31) Installing libmount (2.37.4-r0) [2022-02-18T15:40:33.796Z] (13/31) Installing libsmartcols (2.37.4-r0) [2022-02-18T15:40:33.796Z] (14/31) Installing util-linux-misc (2.37.4-r0) [2022-02-18T15:40:34.066Z] (15/31) Installing linux-pam (1.5.2-r0) [2022-02-18T15:40:34.335Z] (16/31) Installing runuser (2.37.4-r0) [2022-02-18T15:40:34.335Z] (17/31) Installing hexdump (2.37.4-r0) [2022-02-18T15:40:34.335Z] (18/31) Installing uuidgen (2.37.4-r0) [2022-02-18T15:40:34.605Z] (19/31) Installing blkid (2.37.4-r0) [2022-02-18T15:40:34.605Z] (20/31) Installing sfdisk (2.37.4-r0) [2022-02-18T15:40:34.605Z] (21/31) Installing mcookie (2.37.4-r0) [2022-02-18T15:40:34.873Z] (22/31) Installing wipefs (2.37.4-r0) [2022-02-18T15:40:34.873Z] (23/31) Installing cfdisk (2.37.4-r0) [2022-02-18T15:40:34.873Z] (24/31) Installing flock (2.37.4-r0) [2022-02-18T15:40:35.144Z] (25/31) Installing lsblk (2.37.4-r0) [2022-02-18T15:40:35.144Z] (26/31) Installing libcap-ng (0.8.2-r1) [2022-02-18T15:40:35.144Z] (27/31) Installing setpriv (2.37.4-r0) [2022-02-18T15:40:35.412Z] (28/31) Installing logger (2.37.4-r0) [2022-02-18T15:40:35.412Z] (29/31) Installing partx (2.37.4-r0) [2022-02-18T15:40:35.412Z] (30/31) Installing findmnt (2.37.4-r0) [2022-02-18T15:40:35.686Z] (31/31) Installing util-linux-dev (2.37.4-r0) [2022-02-18T15:40:35.686Z] Executing busybox-1.34.1-r3.trigger [2022-02-18T15:40:35.686Z] OK: 289 MiB in 108 packages [2022-02-18T15:40:37.115Z] Removing intermediate container 7a9c78dbc653 [2022-02-18T15:40:37.115Z] ---> 6f260a4d4429 [2022-02-18T15:40:37.115Z] Step 6/22 : RUN mkdir /tmp/sdk [2022-02-18T15:40:37.389Z] ---> Running in 44583ef5da34 [2022-02-18T15:40:38.817Z] Removing intermediate container 44583ef5da34 [2022-02-18T15:40:38.817Z] ---> dd872bc81fb7 [2022-02-18T15:40:38.817Z] Step 7/22 : COPY VERSION /tmp/sdk [2022-02-18T15:40:39.408Z] ---> ee45a8b55bae [2022-02-18T15:40:39.408Z] Step 8/22 : COPY src /tmp/sdk/src [2022-02-18T15:40:40.397Z] ---> ad8266270de2 [2022-02-18T15:40:40.397Z] Step 9/22 : COPY include /tmp/sdk/include [2022-02-18T15:40:40.992Z] ---> 4b4caccae6c5 [2022-02-18T15:40:40.992Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2022-02-18T15:40:41.593Z] ---> d0fc809c38b3 [2022-02-18T15:40:41.593Z] Step 11/22 : COPY LICENSE /tmp/sdk [2022-02-18T15:40:42.187Z] ---> 7d3c91bd314e [2022-02-18T15:40:42.187Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2022-02-18T15:40:42.782Z] ---> ea1534a279cd [2022-02-18T15:40:42.782Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2022-02-18T15:40:42.782Z] ---> Running in 9091b8e5955a [2022-02-18T15:40:43.759Z] + CPPCHECK=false [2022-02-18T15:40:43.759Z] + DOCGEN=false [2022-02-18T15:40:43.759Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2022-02-18T15:40:43.759Z] + TOMLVER=SDK-0.2 [2022-02-18T15:40:43.759Z] + CUTILVER=1.2.2 [2022-02-18T15:40:43.759Z] + '[' 0 -gt 0 ] [2022-02-18T15:40:43.759Z] + readlink -f ./scripts/build.sh [2022-02-18T15:40:43.759Z] + dirname /tmp/sdk/scripts/build.sh [2022-02-18T15:40:43.759Z] + dirname /tmp/sdk/scripts [2022-02-18T15:40:43.759Z] + ROOT=/tmp/sdk [2022-02-18T15:40:43.759Z] + cd /tmp/sdk [2022-02-18T15:40:43.759Z] + '[' '!' -d deps ] [2022-02-18T15:40:43.759Z] + mkdir deps [2022-02-18T15:40:43.759Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-02-18T15:40:43.759Z] + tar -C deps -z -x -f - [2022-02-18T15:40:43.759Z] Connecting to github.com (140.82.113.3:443) [2022-02-18T15:40:44.029Z] Connecting to codeload.github.com (140.82.112.9:443) [2022-02-18T15:40:44.300Z] writing to stdout [2022-02-18T15:40:44.300Z] - 100% |********************************| 16451 0:00:00 ETA [2022-02-18T15:40:44.300Z] written to stdout [2022-02-18T15:40:44.300Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2022-02-18T15:40:44.300Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2022-02-18T15:40:44.300Z] + tar -C deps -z -x -f - [2022-02-18T15:40:44.300Z] Connecting to github.com (140.82.113.3:443) [2022-02-18T15:40:44.570Z] Connecting to codeload.github.com (140.82.112.9:443) [2022-02-18T15:40:44.841Z] writing to stdout [2022-02-18T15:40:44.841Z] - 13031 --:--:-- ETA [2022-02-18T15:40:44.841Z] - 100% |********************************|  189k 0:00:00 ETA [2022-02-18T15:40:44.841Z] written to stdout [2022-02-18T15:40:44.841Z] + mkdir -p src/c/iot [2022-02-18T15:40:44.841Z] + 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-02-18T15:40:44.841Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2022-02-18T15:40:44.841Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2022-02-18T15:40:44.841Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2022-02-18T15:40:44.841Z] + mkdir -p include/iot [2022-02-18T15:40:44.841Z] + 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-02-18T15:40:44.841Z] + mkdir -p include/iot/os [2022-02-18T15:40:44.842Z] + 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-02-18T15:40:44.842Z] + mkdir -p /tmp/sdk/build/release [2022-02-18T15:40:44.842Z] + cd /tmp/sdk/build/release [2022-02-18T15:40:44.842Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2022-02-18T15:40:45.113Z] -- The C compiler identification is GNU 10.3.1 [2022-02-18T15:40:45.113Z] -- Detecting C compiler ABI info [2022-02-18T15:40:45.386Z] -- Detecting C compiler ABI info - done [2022-02-18T15:40:45.661Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-02-18T15:40:45.661Z] -- Detecting C compile features [2022-02-18T15:40:45.661Z] -- Detecting C compile features - done [2022-02-18T15:40:45.661Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-02-18T15:40:45.661Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-02-18T15:40:45.661Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-02-18T15:40:45.661Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-02-18T15:40:45.661Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-02-18T15:40:45.661Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-02-18T15:40:45.936Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-02-18T15:40:45.936Z] -- C SDK 0.0.0 for Linux [2022-02-18T15:40:45.936Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-02-18T15:40:45.936Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-02-18T15:40:46.208Z] -- Found Curses: /usr/lib/libcurses.so [2022-02-18T15:40:46.208Z] -- Configuring done [2022-02-18T15:40:46.479Z] -- Generating done [2022-02-18T15:40:46.479Z] -- Build files have been written to: /tmp/sdk/build/release [2022-02-18T15:40:46.479Z] + + teemake release.log all [2022-02-18T15:40:46.479Z] package [2022-02-18T15:40:46.753Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-02-18T15:40:47.348Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-02-18T15:40:47.940Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-02-18T15:40:50.561Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-02-18T15:40:50.835Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-02-18T15:40:51.106Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-02-18T15:40:52.075Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-02-18T15:40:52.669Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-02-18T15:40:52.941Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-02-18T15:40:54.369Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-02-18T15:40:56.327Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-02-18T15:40:56.599Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-02-18T15:40:57.574Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-02-18T15:40:58.167Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-02-18T15:40:58.439Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-02-18T15:40:58.711Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-02-18T15:40:58.984Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-02-18T15:41:02.363Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-02-18T15:41:02.363Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-02-18T15:41:02.955Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-02-18T15:41:03.226Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-02-18T15:41:03.818Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-02-18T15:41:04.089Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-02-18T15:41:04.089Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-02-18T15:41:04.089Z] 275 | const iot_component_factory_t * factory; [2022-02-18T15:41:04.089Z] | ^~~~~~~ [2022-02-18T15:41:04.681Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-02-18T15:41:10.057Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-02-18T15:41:10.057Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-02-18T15:41:10.057Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-02-18T15:41:10.330Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-02-18T15:41:10.923Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-02-18T15:41:11.195Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-02-18T15:41:12.628Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-02-18T15:41:12.628Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-02-18T15:41:13.601Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-02-18T15:41:13.873Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-02-18T15:41:14.464Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-02-18T15:41:16.429Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-02-18T15:41:17.021Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-02-18T15:41:18.462Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-02-18T15:41:18.462Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-02-18T15:41:23.841Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-02-18T15:41:23.841Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-02-18T15:41:24.114Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-02-18T15:41:24.704Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-02-18T15:41:24.977Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-02-18T15:41:24.977Z] /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] [2022-02-18T15:41:24.977Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-02-18T15:41:24.977Z] | ^~~~~~~~~~~~~ [2022-02-18T15:41:24.977Z] | | [2022-02-18T15:41:24.977Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-02-18T15:41:24.977Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-18T15:41:24.977Z] /usr/include/microhttpd.h:2784:49: note: expected 'MHD_KeyValueIterator' {aka 'enum MHD_Result (*)(void *, enum MHD_ValueKind, const char *, const char *)'} but argument is of type 'int (*)(void *, enum MHD_ValueKind, const char *, const char *)' [2022-02-18T15:41:24.977Z] 2784 | MHD_KeyValueIterator iterator, [2022-02-18T15:41:24.977Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-02-18T15:41:24.977Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-02-18T15:41:24.977Z] /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-02-18T15:41:24.977Z] 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-02-18T15:41:24.977Z] | ^~~~~~~~~~~~ [2022-02-18T15:41:24.977Z] | | [2022-02-18T15:41:24.977Z] | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} [2022-02-18T15:41:24.977Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-18T15:41:24.977Z] /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} [2022-02-18T15:41:24.977Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-02-18T15:41:24.977Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-02-18T15:41:24.977Z] /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-02-18T15:41:24.977Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-02-18T15:41:24.977Z] | ^~~~~~~~~~~~ [2022-02-18T15:41:24.977Z] | | [2022-02-18T15:41:24.977Z] | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} [2022-02-18T15:41:24.977Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-18T15:41:24.977Z] /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} [2022-02-18T15:41:24.977Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-02-18T15:41:24.977Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-02-18T15:41:25.570Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-02-18T15:41:28.176Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-02-18T15:41:28.176Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-02-18T15:41:28.766Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-02-18T15:41:29.038Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-02-18T15:41:31.644Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-02-18T15:41:35.926Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-02-18T15:41:36.199Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-02-18T15:41:36.791Z] [ 76%] Linking C shared library libcsdk.so [2022-02-18T15:41:36.791Z] [ 76%] Built target csdk [2022-02-18T15:41:37.065Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-02-18T15:41:37.659Z] [ 79%] Linking C executable template [2022-02-18T15:41:37.937Z] [ 79%] Built target template [2022-02-18T15:41:37.938Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-02-18T15:41:38.531Z] [ 82%] Linking C executable device-counter [2022-02-18T15:41:38.803Z] [ 82%] Built target device-counter [2022-02-18T15:41:38.803Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-02-18T15:41:39.398Z] [ 85%] Linking C executable device-random [2022-02-18T15:41:39.398Z] [ 85%] Built target device-random [2022-02-18T15:41:39.671Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-02-18T15:41:39.944Z] [ 88%] Linking C executable device-gyro [2022-02-18T15:41:40.215Z] [ 88%] Built target device-gyro [2022-02-18T15:41:40.215Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-02-18T15:41:40.811Z] [ 91%] Linking C executable device-bitfields [2022-02-18T15:41:41.084Z] [ 91%] Built target device-bitfields [2022-02-18T15:41:41.084Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-02-18T15:41:42.063Z] [ 94%] Linking C executable template-discovery [2022-02-18T15:41:42.063Z] [ 94%] Built target template-discovery [2022-02-18T15:41:42.063Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-02-18T15:41:43.040Z] [ 97%] Linking C executable device-file [2022-02-18T15:41:43.040Z] [ 97%] Built target device-file [2022-02-18T15:41:43.040Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-02-18T15:41:43.639Z] [100%] Linking C executable device-terminal [2022-02-18T15:41:43.912Z] [100%] Built target device-terminal [2022-02-18T15:41:44.186Z] Run CPack packaging tool... [2022-02-18T15:41:44.186Z] CPack: Create package using TGZ [2022-02-18T15:41:44.186Z] CPack: Install projects [2022-02-18T15:41:44.186Z] CPack: - Run preinstall target for: Csdk [2022-02-18T15:41:44.778Z] CPack: - Install project: Csdk [] [2022-02-18T15:41:44.778Z] CPack: Create package [2022-02-18T15:41:45.051Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2022-02-18T15:41:45.051Z] + '[' false '=' true ] [2022-02-18T15:41:45.051Z] + '[' false '=' true ] [2022-02-18T15:41:45.051Z] + mkdir -p /tmp/sdk/build/debug [2022-02-18T15:41:45.051Z] + cd /tmp/sdk/build/debug [2022-02-18T15:41:45.051Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2022-02-18T15:41:45.324Z] -- The C compiler identification is GNU 10.3.1 [2022-02-18T15:41:45.324Z] -- Detecting C compiler ABI info [2022-02-18T15:41:45.595Z] -- Detecting C compiler ABI info - done [2022-02-18T15:41:45.595Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-02-18T15:41:45.595Z] -- Detecting C compile features [2022-02-18T15:41:45.595Z] -- Detecting C compile features - done [2022-02-18T15:41:45.595Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-02-18T15:41:45.867Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-02-18T15:41:45.867Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-02-18T15:41:45.867Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-02-18T15:41:45.867Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-02-18T15:41:45.867Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-02-18T15:41:45.867Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-02-18T15:41:45.867Z] -- C SDK 0.0.0 for Linux [2022-02-18T15:41:45.867Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-02-18T15:41:46.141Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-02-18T15:41:46.141Z] -- Found Curses: /usr/lib/libcurses.so [2022-02-18T15:41:46.412Z] -- Configuring done [2022-02-18T15:41:46.684Z] -- Generating done [2022-02-18T15:41:46.684Z] -- Build files have been written to: /tmp/sdk/build/debug [2022-02-18T15:41:46.684Z] + make [2022-02-18T15:41:46.684Z] + tee debug.log [2022-02-18T15:41:46.684Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-02-18T15:41:46.956Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-02-18T15:41:47.551Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-02-18T15:41:48.144Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-02-18T15:41:48.415Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-02-18T15:41:48.415Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-02-18T15:41:49.009Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-02-18T15:41:49.282Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-02-18T15:41:49.553Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-02-18T15:41:49.829Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-02-18T15:41:50.421Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-02-18T15:41:50.698Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-02-18T15:41:51.288Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-02-18T15:41:51.560Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-02-18T15:41:51.846Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-02-18T15:41:52.144Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-02-18T15:41:52.144Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-02-18T15:41:53.133Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-02-18T15:41:53.411Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-02-18T15:41:53.728Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-02-18T15:41:54.050Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-02-18T15:41:54.332Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-02-18T15:41:54.626Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-02-18T15:41:54.626Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-02-18T15:41:54.626Z] 275 | const iot_component_factory_t * factory; [2022-02-18T15:41:54.626Z] | ^~~~~~~ [2022-02-18T15:41:54.626Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-02-18T15:41:56.065Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-02-18T15:41:56.065Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-02-18T15:41:56.344Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-02-18T15:41:56.614Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-02-18T15:41:56.888Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-02-18T15:41:56.888Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-02-18T15:41:57.480Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-02-18T15:41:57.480Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-02-18T15:41:58.075Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-02-18T15:41:58.075Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-02-18T15:41:58.345Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-02-18T15:41:58.935Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-02-18T15:41:58.935Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-02-18T15:41:59.526Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-02-18T15:41:59.798Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-02-18T15:42:00.770Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-02-18T15:42:01.041Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-02-18T15:42:01.639Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-02-18T15:42:01.639Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-02-18T15:42:01.909Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-02-18T15:42:01.909Z] /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] [2022-02-18T15:42:01.909Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-02-18T15:42:01.909Z] | ^~~~~~~~~~~~~ [2022-02-18T15:42:01.909Z] | | [2022-02-18T15:42:01.909Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-02-18T15:42:01.909Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-18T15:42:01.909Z] /usr/include/microhttpd.h:2784:49: note: expected 'MHD_KeyValueIterator' {aka 'enum MHD_Result (*)(void *, enum MHD_ValueKind, const char *, const char *)'} but argument is of type 'int (*)(void *, enum MHD_ValueKind, const char *, const char *)' [2022-02-18T15:42:01.909Z] 2784 | MHD_KeyValueIterator iterator, [2022-02-18T15:42:01.909Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-02-18T15:42:01.909Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-02-18T15:42:01.909Z] /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-02-18T15:42:01.909Z] 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2022-02-18T15:42:01.909Z] | ^~~~~~~~~~~~ [2022-02-18T15:42:01.909Z] | | [2022-02-18T15:42:01.909Z] | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} [2022-02-18T15:42:01.909Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-18T15:42:01.909Z] /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} [2022-02-18T15:42:01.909Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-02-18T15:42:01.909Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-02-18T15:42:01.909Z] /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2022-02-18T15:42:01.909Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-02-18T15:42:01.909Z] | ^~~~~~~~~~~~ [2022-02-18T15:42:01.909Z] | | [2022-02-18T15:42:01.909Z] | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} [2022-02-18T15:42:01.909Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-18T15:42:01.909Z] /usr/include/microhttpd.h:2480:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} [2022-02-18T15:42:01.909Z] 2480 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-02-18T15:42:01.909Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-02-18T15:42:02.180Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-02-18T15:42:03.604Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-02-18T15:42:03.874Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-02-18T15:42:04.146Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-02-18T15:42:04.417Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-02-18T15:42:05.009Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-02-18T15:42:05.990Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-02-18T15:42:06.262Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-02-18T15:42:06.533Z] [ 76%] Linking C shared library libcsdk.so [2022-02-18T15:42:06.804Z] [ 76%] Built target csdk [2022-02-18T15:42:06.804Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-02-18T15:42:07.076Z] [ 79%] Linking C executable template [2022-02-18T15:42:07.347Z] [ 79%] Built target template [2022-02-18T15:42:07.347Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-02-18T15:42:07.618Z] [ 82%] Linking C executable device-counter [2022-02-18T15:42:07.889Z] [ 82%] Built target device-counter [2022-02-18T15:42:07.889Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-02-18T15:42:08.161Z] [ 85%] Linking C executable device-random [2022-02-18T15:42:08.433Z] [ 85%] Built target device-random [2022-02-18T15:42:08.433Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-02-18T15:42:08.704Z] [ 88%] Linking C executable device-gyro [2022-02-18T15:42:08.975Z] [ 88%] Built target device-gyro [2022-02-18T15:42:08.975Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-02-18T15:42:09.247Z] [ 91%] Linking C executable device-bitfields [2022-02-18T15:42:09.519Z] [ 91%] Built target device-bitfields [2022-02-18T15:42:09.519Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-02-18T15:42:09.791Z] [ 94%] Linking C executable template-discovery [2022-02-18T15:42:10.062Z] [ 94%] Built target template-discovery [2022-02-18T15:42:10.062Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-02-18T15:42:10.333Z] [ 97%] Linking C executable device-file [2022-02-18T15:42:10.605Z] [ 97%] Built target device-file [2022-02-18T15:42:10.877Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-02-18T15:42:11.149Z] [100%] Linking C executable device-terminal [2022-02-18T15:42:11.420Z] [100%] Built target device-terminal [2022-02-18T15:42:11.420Z] make: Entering directory '/tmp/sdk/build/release' [2022-02-18T15:42:11.420Z] make[1]: Entering directory '/tmp/sdk/build/release' [2022-02-18T15:42:11.420Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-18T15:42:11.420Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-18T15:42:11.420Z] [ 76%] Built target csdk [2022-02-18T15:42:11.692Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-18T15:42:11.692Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-18T15:42:11.692Z] [ 79%] Built target template [2022-02-18T15:42:11.692Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-18T15:42:11.692Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-18T15:42:11.692Z] [ 82%] Built target device-counter [2022-02-18T15:42:11.692Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-18T15:42:11.692Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-18T15:42:11.692Z] [ 85%] Built target device-random [2022-02-18T15:42:11.692Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-18T15:42:11.692Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-18T15:42:11.692Z] [ 88%] Built target device-gyro [2022-02-18T15:42:11.692Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-18T15:42:11.692Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-18T15:42:11.692Z] [ 91%] Built target device-bitfields [2022-02-18T15:42:11.692Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-18T15:42:11.692Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-18T15:42:11.692Z] [ 94%] Built target template-discovery [2022-02-18T15:42:11.692Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-18T15:42:11.965Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-18T15:42:11.965Z] [ 97%] Built target device-file [2022-02-18T15:42:11.965Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-18T15:42:11.965Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-18T15:42:11.965Z] [100%] Built target device-terminal [2022-02-18T15:42:11.965Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2022-02-18T15:42:11.965Z] Install the project... [2022-02-18T15:42:11.965Z] -- Install configuration: "Release" [2022-02-18T15:42:11.965Z] -- Installing: /usr/local/lib/libcsdk.so [2022-02-18T15:42:11.965Z] -- Installing: /usr/local/include [2022-02-18T15:42:11.965Z] -- Installing: /usr/local/include/edgex [2022-02-18T15:42:11.965Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2022-02-18T15:42:11.965Z] -- Installing: /usr/local/include/edgex/devices.h [2022-02-18T15:42:11.965Z] -- Installing: /usr/local/include/edgex/rest-server.h [2022-02-18T15:42:11.965Z] -- Installing: /usr/local/include/edgex/profiles.h [2022-02-18T15:42:11.965Z] -- Installing: /usr/local/include/edgex/edgex.h [2022-02-18T15:42:11.965Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2022-02-18T15:42:11.965Z] -- Installing: /usr/local/include/devsdk [2022-02-18T15:42:11.965Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2022-02-18T15:42:11.965Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2022-02-18T15:42:11.965Z] -- Installing: /usr/local/include/iot [2022-02-18T15:42:11.965Z] -- Installing: /usr/local/include/iot/data.h [2022-02-18T15:42:11.965Z] -- Installing: /usr/local/include/iot/config.h [2022-02-18T15:42:11.965Z] -- Installing: /usr/local/include/iot/container.h [2022-02-18T15:42:11.965Z] -- Installing: /usr/local/include/iot/typecode.h [2022-02-18T15:42:11.965Z] -- Installing: /usr/local/include/iot/thread.h [2022-02-18T15:42:11.965Z] -- Installing: /usr/local/include/iot/hash.h [2022-02-18T15:42:11.965Z] -- Installing: /usr/local/include/iot/iot.h [2022-02-18T15:42:11.965Z] -- Installing: /usr/local/include/iot/defs.h [2022-02-18T15:42:11.965Z] -- Installing: /usr/local/include/iot/uuid.h [2022-02-18T15:42:11.965Z] -- Installing: /usr/local/include/iot/component.h [2022-02-18T15:42:11.965Z] -- Installing: /usr/local/include/iot/threadpool.h [2022-02-18T15:42:11.965Z] -- Installing: /usr/local/include/iot/time.h [2022-02-18T15:42:11.965Z] -- Installing: /usr/local/include/iot/logger.h [2022-02-18T15:42:11.965Z] -- Installing: /usr/local/include/iot/os [2022-02-18T15:42:11.965Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2022-02-18T15:42:11.965Z] -- Installing: /usr/local/include/iot/os/macos.h [2022-02-18T15:42:11.965Z] -- Installing: /usr/local/include/iot/os/linux.h [2022-02-18T15:42:11.965Z] -- Installing: /usr/local/include/iot/json.h [2022-02-18T15:42:11.965Z] -- Installing: /usr/local/include/iot/scheduler.h [2022-02-18T15:42:11.965Z] -- Installing: /usr/local/include/iot/base64.h [2022-02-18T15:42:11.965Z] -- Installing: /usr/local/include/iot/os.h [2022-02-18T15:42:11.965Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2022-02-18T15:42:11.965Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2022-02-18T15:42:11.965Z] make: Leaving directory '/tmp/sdk/build/release' [2022-02-18T15:42:13.935Z] Removing intermediate container 9091b8e5955a [2022-02-18T15:42:13.935Z] ---> 69a1de137757 [2022-02-18T15:42:13.935Z] Step 14/22 : FROM ${BASE} [2022-02-18T15:42:13.935Z] ---> 0af3d9908a83 [2022-02-18T15:42:13.935Z] Step 15/22 : LABEL maintainer="IOTech " [2022-02-18T15:42:13.935Z] ---> Running in e9d80f8471fd [2022-02-18T15:42:14.215Z] Removing intermediate container e9d80f8471fd [2022-02-18T15:42:14.215Z] ---> 6b0e548a9341 [2022-02-18T15:42:14.215Z] 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-02-18T15:42:14.215Z] ---> Running in 35199af27ae1 [2022-02-18T15:42:15.650Z] Connecting to iotech.jfrog.io (34.243.182.113:443) [2022-02-18T15:42:15.650Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-02-18T15:42:15.650Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-02-18T15:42:15.650Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-02-18T15:42:16.628Z] Removing intermediate container 35199af27ae1 [2022-02-18T15:42:16.628Z] ---> 3a162b474d50 [2022-02-18T15:42:16.628Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-02-18T15:42:16.628Z] ---> Running in f7f6da0931c1 [2022-02-18T15:42:18.604Z] Removing intermediate container f7f6da0931c1 [2022-02-18T15:42:18.604Z] ---> 7a83658b44b7 [2022-02-18T15:42:18.604Z] Step 18/22 : RUN apk add --update --no-cache build-base git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 hiredis-dev [2022-02-18T15:42:18.604Z] ---> Running in ab6d8eb9da72 [2022-02-18T15:42:19.581Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-02-18T15:42:20.172Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-02-18T15:42:20.764Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-02-18T15:42:21.355Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-02-18T15:42:21.355Z] (1/6) Installing curl (7.80.0-r0) [2022-02-18T15:42:21.624Z] (2/6) Installing hiredis (1.0.2-r0) [2022-02-18T15:42:21.624Z] (3/6) Installing hiredis-dev (1.0.2-r0) [2022-02-18T15:42:21.894Z] (4/6) Installing libcbor (0.8.0-r0) [2022-02-18T15:42:21.894Z] (5/6) Installing libuuid (2.37.4-r0) [2022-02-18T15:42:21.894Z] (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-02-18T15:42:22.861Z] Executing busybox-1.34.1-r3.trigger [2022-02-18T15:42:22.861Z] OK: 278 MiB in 83 packages [2022-02-18T15:42:23.850Z] Removing intermediate container ab6d8eb9da72 [2022-02-18T15:42:23.850Z] ---> 77a361e86491 [2022-02-18T15:42:23.850Z] Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2022-02-18T15:42:24.451Z] ---> cc59b34c2a25 [2022-02-18T15:42:24.451Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2022-02-18T15:42:25.046Z] ---> df737ecb2c31 [2022-02-18T15:42:25.046Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2022-02-18T15:42:26.022Z] ---> cd1c3efbed44 [2022-02-18T15:42:26.022Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2022-02-18T15:42:26.293Z] ---> 401a617b5bd4 [2022-02-18T15:42:26.562Z] Successfully built 401a617b5bd4 [2022-02-18T15:42:26.562Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-18T15:42:27.218Z] + docker inspect -f . ci-base-image-arm64 [2022-02-18T15:42:27.218Z] . [Pipeline] withDockerContainer [2022-02-18T15:42:27.460Z] prd-ubuntu18.04-docker-arm64-4c-16g-5644 does not seem to be running inside a container [2022-02-18T15:42:27.534Z] $ 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 ******** ci-base-image-arm64 cat [2022-02-18T15:42:28.848Z] $ docker top 2721890dc6b007b627786018c0d4b53891eeda540cb0216602b11f9c1e5e3010 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-18T15:42:29.791Z] + make test [2022-02-18T15:42:29.791Z] echo "make test" [2022-02-18T15:42:29.791Z] make test [Pipeline] } [2022-02-18T15:42:29.820Z] $ docker stop --time=1 2721890dc6b007b627786018c0d4b53891eeda540cb0216602b11f9c1e5e3010 [2022-02-18T15:42:31.483Z] $ docker rm -f 2721890dc6b007b627786018c0d4b53891eeda540cb0216602b11f9c1e5e3010 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-18T15:42:32.369Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-02-18T15:42:32.712Z] + ls -al . [2022-02-18T15:42:32.712Z] total 204 [2022-02-18T15:42:32.712Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 18 15:39 . [2022-02-18T15:42:32.712Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 18 15:39 .. [2022-02-18T15:42:32.712Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 18 15:39 .git [2022-02-18T15:42:32.712Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 18 15:39 .github [2022-02-18T15:42:32.712Z] -rw-rw-r-- 1 jenkins jenkins 176 Feb 18 15:39 .gitignore [2022-02-18T15:42:32.712Z] -rw-rw-r-- 1 jenkins jenkins 3104 Feb 18 15:39 Attribution.txt [2022-02-18T15:42:32.712Z] -rw-rw-r-- 1 jenkins jenkins 8222 Feb 18 15:39 CHANGES [2022-02-18T15:42:32.712Z] -rw-rw-r-- 1 jenkins jenkins 108574 Feb 18 15:39 Doxyfile [2022-02-18T15:42:32.712Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 18 15:39 GOVERNANCE.md [2022-02-18T15:42:32.712Z] -rw-rw-r-- 1 jenkins jenkins 784 Feb 18 15:39 Jenkinsfile [2022-02-18T15:42:32.712Z] -rw-rw-r-- 1 jenkins jenkins 10174 Feb 18 15:39 LICENSE [2022-02-18T15:42:32.712Z] -rw-rw-r-- 1 jenkins jenkins 444 Feb 18 15:39 Makefile [2022-02-18T15:42:32.712Z] -rw-rw-r-- 1 jenkins jenkins 618 Feb 18 15:39 OWNERS.md [2022-02-18T15:42:32.712Z] -rw-rw-r-- 1 jenkins jenkins 4086 Feb 18 15:39 README.md [2022-02-18T15:42:32.712Z] -rw-rw-r-- 1 jenkins jenkins 7422 Feb 18 15:39 README.v2.md [2022-02-18T15:42:32.712Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 18 15:37 VERSION [2022-02-18T15:42:32.712Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 18 15:39 docs [2022-02-18T15:42:32.712Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 18 15:39 include [2022-02-18T15:42:32.712Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 18 15:39 scripts [2022-02-18T15:42:32.712Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 18 15:39 src [Pipeline] isUnix [Pipeline] sh [2022-02-18T15:42:33.090Z] + 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=e16c89daf6826d526ada798cd830d9ad1f5db0fd --label arch=arm64 --label version=0.0.0 . [2022-02-18T15:42:33.708Z] Sending build context to Docker daemon 2.746MB [2022-02-18T15:42:33.708Z] Step 1/17 : ARG BASE=alpine:3.15 [2022-02-18T15:42:33.708Z] Step 2/17 : FROM ${BASE} [2022-02-18T15:42:33.708Z] ---> 401a617b5bd4 [2022-02-18T15:42:33.708Z] Step 3/17 : LABEL maintainer="IOTech " [2022-02-18T15:42:33.708Z] ---> Running in ec63455498bf [2022-02-18T15:42:34.310Z] Removing intermediate container ec63455498bf [2022-02-18T15:42:34.310Z] ---> 0fd0d77aa833 [2022-02-18T15:42:34.310Z] 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-02-18T15:42:34.310Z] ---> Running in 5f00691f0589 [2022-02-18T15:42:35.293Z] Connecting to iotech.jfrog.io (54.229.110.245:443) [2022-02-18T15:42:35.887Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-02-18T15:42:35.887Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-02-18T15:42:35.887Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-02-18T15:42:36.480Z] Removing intermediate container 5f00691f0589 [2022-02-18T15:42:36.480Z] ---> 35d5c1a4d65a [2022-02-18T15:42:36.480Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-02-18T15:42:36.480Z] ---> Running in 333d97356059 [2022-02-18T15:42:38.441Z] Removing intermediate container 333d97356059 [2022-02-18T15:42:38.441Z] ---> 71fd7155af53 [2022-02-18T15:42:38.441Z] Step 6/17 : RUN apk add --update --no-cache build-base 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-02-18T15:42:38.441Z] ---> Running in 544c1fb4f15c [2022-02-18T15:42:39.416Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-02-18T15:42:40.006Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-02-18T15:42:40.598Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-02-18T15:42:41.189Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-02-18T15:42:41.189Z] (1/26) Installing libcbor-dev (0.8.0-r0) [2022-02-18T15:42:41.458Z] (2/26) Installing ncurses-dev (6.3_p20211120-r0) [2022-02-18T15:42:41.458Z] (3/26) Installing util-linux (2.37.4-r0) [2022-02-18T15:42:41.728Z] (4/26) Installing libblkid (2.37.4-r0) [2022-02-18T15:42:41.728Z] (5/26) Installing libeconf (0.4.2-r0) [2022-02-18T15:42:41.998Z] (6/26) Installing libfdisk (2.37.4-r0) [2022-02-18T15:42:41.998Z] (7/26) Installing libmount (2.37.4-r0) [2022-02-18T15:42:41.998Z] (8/26) Installing libsmartcols (2.37.4-r0) [2022-02-18T15:42:42.267Z] (9/26) Installing util-linux-misc (2.37.4-r0) [2022-02-18T15:42:43.234Z] (10/26) Installing linux-pam (1.5.2-r0) [2022-02-18T15:42:43.234Z] (11/26) Installing runuser (2.37.4-r0) [2022-02-18T15:42:43.234Z] (12/26) Installing hexdump (2.37.4-r0) [2022-02-18T15:42:43.505Z] (13/26) Installing uuidgen (2.37.4-r0) [2022-02-18T15:42:43.505Z] (14/26) Installing blkid (2.37.4-r0) [2022-02-18T15:42:43.505Z] (15/26) Installing sfdisk (2.37.4-r0) [2022-02-18T15:42:43.776Z] (16/26) Installing mcookie (2.37.4-r0) [2022-02-18T15:42:43.776Z] (17/26) Installing wipefs (2.37.4-r0) [2022-02-18T15:42:43.776Z] (18/26) Installing cfdisk (2.37.4-r0) [2022-02-18T15:42:44.045Z] (19/26) Installing flock (2.37.4-r0) [2022-02-18T15:42:44.045Z] (20/26) Installing lsblk (2.37.4-r0) [2022-02-18T15:42:44.045Z] (21/26) Installing libcap-ng (0.8.2-r1) [2022-02-18T15:42:44.317Z] (22/26) Installing setpriv (2.37.4-r0) [2022-02-18T15:42:44.317Z] (23/26) Installing logger (2.37.4-r0) [2022-02-18T15:42:44.317Z] (24/26) Installing partx (2.37.4-r0) [2022-02-18T15:42:44.585Z] (25/26) Installing findmnt (2.37.4-r0) [2022-02-18T15:42:44.585Z] (26/26) Installing util-linux-dev (2.37.4-r0) [2022-02-18T15:42:45.177Z] Executing busybox-1.34.1-r3.trigger [2022-02-18T15:42:45.177Z] OK: 290 MiB in 109 packages [2022-02-18T15:42:46.603Z] Removing intermediate container 544c1fb4f15c [2022-02-18T15:42:46.603Z] ---> 0dcc982545e0 [2022-02-18T15:42:46.603Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2022-02-18T15:42:47.195Z] ---> 3ce77aee06b9 [2022-02-18T15:42:47.195Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2022-02-18T15:42:47.788Z] ---> 9a56d939f8c4 [2022-02-18T15:42:47.788Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2022-02-18T15:42:48.759Z] ---> 533150f3e625 [2022-02-18T15:42:48.759Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2022-02-18T15:42:49.033Z] ---> 685da0bf9c2c [2022-02-18T15:42:49.033Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2022-02-18T15:42:49.627Z] ---> c6455a1334b0 [2022-02-18T15:42:49.627Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2022-02-18T15:42:50.219Z] ---> 7dcba96a9824 [2022-02-18T15:42:50.219Z] Step 13/17 : WORKDIR /edgex-c-sdk [2022-02-18T15:42:50.491Z] ---> Running in 5a46b3ea9a78 [2022-02-18T15:42:50.762Z] Removing intermediate container 5a46b3ea9a78 [2022-02-18T15:42:50.762Z] ---> 1c97685fed7a [2022-02-18T15:42:50.762Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2022-02-18T15:42:51.032Z] ---> Running in 606a1b94e1c2 [2022-02-18T15:42:51.303Z] Removing intermediate container 606a1b94e1c2 [2022-02-18T15:42:51.303Z] ---> c66af50dc4f2 [2022-02-18T15:42:51.303Z] Step 15/17 : LABEL arch=arm64 [2022-02-18T15:42:51.303Z] ---> Running in 10df2f4f4b2c [2022-02-18T15:42:51.893Z] Removing intermediate container 10df2f4f4b2c [2022-02-18T15:42:51.893Z] ---> a1c862552698 [2022-02-18T15:42:51.893Z] Step 16/17 : LABEL git_sha=e16c89daf6826d526ada798cd830d9ad1f5db0fd [2022-02-18T15:42:51.893Z] ---> Running in 0d0cbf533ed7 [2022-02-18T15:42:52.163Z] Removing intermediate container 0d0cbf533ed7 [2022-02-18T15:42:52.163Z] ---> efb33076629d [2022-02-18T15:42:52.163Z] Step 17/17 : LABEL version=0.0.0 [2022-02-18T15:42:52.435Z] ---> Running in 301ee2a17e9d [2022-02-18T15:42:52.705Z] Removing intermediate container 301ee2a17e9d [2022-02-18T15:42:52.705Z] ---> 51d6cd476334 [2022-02-18T15:42:52.705Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-02-18T15:42:52.705Z] Successfully built 51d6cd476334 [2022-02-18T15:42:52.705Z] Successfully tagged device-sdk-arm64:latest [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] sh [2022-02-18T15:42:53.358Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-18T15:42:53.358Z] [2022-02-18T15:42:53.358Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-02-18T15:42:53.736Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-18T15:42:54.011Z] arm64: Pulling from edgex-lftools-log-publisher [2022-02-18T15:42:54.011Z] 448f6bf000e3: Pulling fs layer [2022-02-18T15:42:54.011Z] f757da607395: Pulling fs layer [2022-02-18T15:42:54.011Z] 05883995daec: Pulling fs layer [2022-02-18T15:42:54.011Z] 8603b9c90790: Pulling fs layer [2022-02-18T15:42:54.011Z] 1560dd03e051: Pulling fs layer [2022-02-18T15:42:54.011Z] 27f5ce0e4adf: Pulling fs layer [2022-02-18T15:42:54.011Z] c2d8d7efcc4b: Pulling fs layer [2022-02-18T15:42:54.011Z] 8603b9c90790: Waiting [2022-02-18T15:42:54.011Z] 1560dd03e051: Waiting [2022-02-18T15:42:54.011Z] 27f5ce0e4adf: Waiting [2022-02-18T15:42:54.011Z] c2d8d7efcc4b: Waiting [2022-02-18T15:42:54.011Z] f757da607395: Verifying Checksum [2022-02-18T15:42:54.011Z] f757da607395: Download complete [2022-02-18T15:42:54.011Z] 8603b9c90790: Verifying Checksum [2022-02-18T15:42:54.011Z] 8603b9c90790: Download complete [2022-02-18T15:42:54.011Z] 1560dd03e051: Verifying Checksum [2022-02-18T15:42:54.011Z] 1560dd03e051: Download complete [2022-02-18T15:42:54.283Z] 27f5ce0e4adf: Verifying Checksum [2022-02-18T15:42:54.283Z] 27f5ce0e4adf: Download complete [2022-02-18T15:42:54.283Z] 05883995daec: Verifying Checksum [2022-02-18T15:42:54.283Z] 05883995daec: Download complete [2022-02-18T15:42:54.555Z] 448f6bf000e3: Verifying Checksum [2022-02-18T15:42:54.555Z] 448f6bf000e3: Download complete [2022-02-18T15:42:57.172Z] c2d8d7efcc4b: Verifying Checksum [2022-02-18T15:42:57.172Z] c2d8d7efcc4b: Download complete [2022-02-18T15:42:58.144Z] 448f6bf000e3: Pull complete [2022-02-18T15:42:58.736Z] f757da607395: Pull complete [2022-02-18T15:43:00.168Z] 05883995daec: Pull complete [2022-02-18T15:43:00.441Z] 8603b9c90790: Pull complete [2022-02-18T15:43:01.040Z] 1560dd03e051: Pull complete [2022-02-18T15:43:01.313Z] 27f5ce0e4adf: Pull complete [2022-02-18T15:43:16.376Z] c2d8d7efcc4b: Pull complete [2022-02-18T15:43:16.376Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-02-18T15:43:16.376Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-18T15:43:16.376Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-02-18T15:43:16.577Z] prd-ubuntu18.04-docker-arm64-4c-16g-5644 does not seem to be running inside a container [2022-02-18T15:43:16.645Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-02-18T15:43:19.150Z] $ docker top 920a748bb68fe26fc2de80c9765bf6914401897050bd43f76b7495e1f191ed29 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-18T15:43:20.105Z] ---> job-cost.sh [2022-02-18T15:43:20.105Z] lf-activate-venv: SKIPPING [2022-02-18T15:43:20.105Z] INFO: No Stack... [2022-02-18T15:43:20.375Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-02-18T15:43:20.965Z] INFO: Archiving Costs [Pipeline] sh [2022-02-18T15:43:21.633Z] + cut -d, -f6 [2022-02-18T15:43:21.633Z] + cat /w/workspace/device-sdk-c/1/archives/cost.csv [Pipeline] lock [2022-02-18T15:43:21.714Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-401-1-stack-cost] [2022-02-18T15:43:21.719Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-401-1-stack-cost] did not exist. Created. [2022-02-18T15:43:21.719Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-401-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-18T15:43:22.450Z] /w/workspace/device-sdk-c/1@tmp/durable-87966c72/script.sh: 1: /w/workspace/device-sdk-c/1@tmp/durable-87966c72/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-02-18T15:43:23.134Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-02-18T15:43:23.169Z] Warning: overwriting stash ‘stack-cost’ [2022-02-18T15:43:23.615Z] Stashed 1 file(s) [Pipeline] } [2022-02-18T15:43:23.630Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-401-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-18T15:43:23.701Z] $ docker stop --time=1 920a748bb68fe26fc2de80c9765bf6914401897050bd43f76b7495e1f191ed29 [2022-02-18T15:43:25.177Z] $ docker rm -f 920a748bb68fe26fc2de80c9765bf6914401897050bd43f76b7495e1f191ed29 [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-02-18T15:43:27.108Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-c_PR-401/archives ']' [2022-02-18T15:43:27.109Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-401/archives [2022-02-18T15:43:27.109Z] total 8 [2022-02-18T15:43:27.109Z] drwxr-xr-x. 3 root root 34 Feb 18 15:39 . [2022-02-18T15:43:27.109Z] drwxrwxr-x. 10 jenkins jenkins 4096 Feb 18 15:39 .. [2022-02-18T15:43:27.109Z] drwxr-xr-x. 2 root root 6 Feb 18 15:39 cost [2022-02-18T15:43:27.109Z] -rw-r--r--. 1 root root 83 Feb 18 15:39 cost.csv [2022-02-18T15:43:27.109Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-401/archives [2022-02-18T15:43:27.109Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-401/archives [2022-02-18T15:43:27.109Z] total 8 [2022-02-18T15:43:27.109Z] drwxr-xr-x. 3 jenkins jenkins 34 Feb 18 15:39 . [2022-02-18T15:43:27.109Z] drwxrwxr-x. 10 jenkins jenkins 4096 Feb 18 15:39 .. [2022-02-18T15:43:27.109Z] drwxr-xr-x. 2 jenkins jenkins 6 Feb 18 15:39 cost [2022-02-18T15:43:27.109Z] -rw-r--r--. 1 jenkins jenkins 83 Feb 18 15:39 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-02-18T15:43:27.505Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-18T15:43:28.090Z] ---> package-listing.sh [2022-02-18T15:43:28.090Z] ++ facter osfamily [2022-02-18T15:43:28.090Z] ++ tr '[:upper:]' '[:lower:]' [2022-02-18T15:43:28.354Z] + OS_FAMILY=redhat [2022-02-18T15:43:28.354Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-401 [2022-02-18T15:43:28.354Z] + START_PACKAGES=/tmp/packages_start.txt [2022-02-18T15:43:28.354Z] + END_PACKAGES=/tmp/packages_end.txt [2022-02-18T15:43:28.354Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-02-18T15:43:28.354Z] + PACKAGES=/tmp/packages_start.txt [2022-02-18T15:43:28.354Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-401 ']' [2022-02-18T15:43:28.354Z] + PACKAGES=/tmp/packages_end.txt [2022-02-18T15:43:28.354Z] + case "${OS_FAMILY}" in [2022-02-18T15:43:28.354Z] + rpm -qa [2022-02-18T15:43:28.354Z] + sort [2022-02-18T15:43:28.925Z] + '[' -f /tmp/packages_start.txt ']' [2022-02-18T15:43:28.925Z] + '[' -f /tmp/packages_end.txt ']' [2022-02-18T15:43:28.925Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-02-18T15:43:28.925Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-401 ']' [2022-02-18T15:43:28.925Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-401/archives/ [2022-02-18T15:43:28.925Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-401/archives/ [Pipeline] echo [2022-02-18T15:43:28.962Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-401/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-02-18T15:43:29.260Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-02-18T15:43:29.844Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-18T15:43:29.845Z] . [Pipeline] withDockerContainer [2022-02-18T15:43:29.932Z] prd-centos7-docker-4c-2g-5643 does not seem to be running inside a container [2022-02-18T15:43:29.964Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-401/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-401 -v /w/workspace/edgexfoundry_device-sdk-c_PR-401:/w/workspace/edgexfoundry_device-sdk-c_PR-401:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-401@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-401@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-02-18T15:43:30.162Z] $ docker top 89e77a3c57b08e5c21e32ed7542d5d8441a9415ea19eff81aaad342e15935331 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-18T15:43:30.564Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-02-18T15:43:30.881Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-02-18T15:43:31.206Z] + ls /var/log/sa-host [2022-02-18T15:43:31.206Z] + sadf -c /var/log/sa-host/sa17 [2022-02-18T15:43:31.206Z] file_magic: OK [2022-02-18T15:43:31.206Z] HZ: Using current value: 100 [2022-02-18T15:43:31.206Z] file_header: OK [2022-02-18T15:43:31.206Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-02-18T15:43:31.206Z] Statistics: [2022-02-18T15:43:31.206Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-18T15:43:31.206Z] File successfully converted to sysstat format version 12.0.3 [2022-02-18T15:43:31.206Z] + sadf -c /var/log/sa-host/sa18 [2022-02-18T15:43:31.206Z] file_magic: OK [2022-02-18T15:43:31.206Z] HZ: Using current value: 100 [2022-02-18T15:43:31.206Z] file_header: OK [2022-02-18T15:43:31.206Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-02-18T15:43:31.206Z] Statistics: [2022-02-18T15:43:31.206Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-18T15:43:31.206Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-18T15:43:31.496Z] provisioning config files... [2022-02-18T15:43:31.506Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-401@tmp/config5983768832669608103tmp [Pipeline] { [Pipeline] echo [2022-02-18T15:43:31.564Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-18T15:43:31.881Z] ---> create-netrc.sh [Pipeline] } [2022-02-18T15:43:31.907Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-02-18T15:43:32.317Z] ---> python-tools-install.sh [Pipeline] echo [2022-02-18T15:43:32.350Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-18T15:43:32.663Z] ---> sudo-logs.sh [2022-02-18T15:43:32.663Z] Archiving 'sudo' log.. [2022-02-18T15:43:32.663Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-5643.novalocal: Name or service not known [2022-02-18T15:43:32.663Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-5643.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-02-18T15:43:32.748Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-18T15:43:33.066Z] ---> job-cost.sh [2022-02-18T15:43:33.066Z] lf-activate-venv: SKIPPING [2022-02-18T15:43:33.066Z] DEBUG: total: 0.05999999865889549 [2022-02-18T15:43:33.066Z] INFO: Retrieving Stack Cost... [2022-02-18T15:43:33.326Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-18T15:43:33.899Z] INFO: Archiving Costs [Pipeline] echo [2022-02-18T15:43:33.939Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-18T15:43:34.269Z] ---> logs-deploy.sh [2022-02-18T15:43:34.269Z] lf-activate-venv: SKIPPING [2022-02-18T15:43:34.269Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-401/1 [2022-02-18T15:43:34.269Z] INFO: archiving workspace using pattern(s): [2022-02-18T15:43:34.859Z] Archives upload complete. [2022-02-18T15:43:35.125Z] INFO: archiving logs to Nexus