Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 02161a6b4618232bfcf286377d256226a622bc2b 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-ssh3214498385896096406.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-ssh9030769593169463732.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7721814652243406726.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 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-ssh262214202144747038.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh12798850723391458027.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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-5000 in /w/workspace/edgexfoundry_device-sdk-c_main [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_main # 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_main@tmp/jenkins-gitclient-ssh1551143149943659853.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 02161a6b4618232bfcf286377d256226a622bc2b (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f 02161a6b4618232bfcf286377d256226a622bc2b # timeout=10 Commit message: "fix: Dont stringify array elements in readings (#399)" > git rev-list --no-walk 14d3a6bdd029748f665c10001c42d1af5d609c98 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-02-10T17:24:54.021Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-02-10T17:24:54.073Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-02-10T17:24:54.088Z] ========================================================= [2022-02-10T17:24:54.088Z] EdgeX Global Pipelines Version Info [2022-02-10T17:24:54.088Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-02-10T17:24:55.207Z] ------------------- [2022-02-10T17:24:55.207Z] stable info: [2022-02-10T17:24:55.207Z] ------------------- [2022-02-10T17:24:55.207Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-10T17:24:55.207Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-10T17:24:55.207Z] Message: update stable to v1.0.220 [2022-02-10T17:24:55.780Z] ------------------- [2022-02-10T17:24:55.780Z] experimental info: [2022-02-10T17:24:55.780Z] ------------------- [2022-02-10T17:24:55.780Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-10T17:24:55.780Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-10T17:24:55.780Z] Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-02-10T17:24:55.941Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2022-02-10T17:24:55.950Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2022-02-10T17:24:55.958Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-02-10T17:24:55.966Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-02-10T17:24:55.974Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-02-10T17:24:55.981Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2022-02-10T17:24:55.990Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2022-02-10T17:24:56.009Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-02-10T17:24:56.021Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-02-10T17:24:56.035Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2022-02-10T17:24:56.049Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-02-10T17:24:56.063Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-02-10T17:24:56.084Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-02-10T17:24:56.102Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-02-10T17:24:56.121Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-02-10T17:24:56.140Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-02-10T17:24:56.158Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-02-10T17:24:56.175Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-02-10T17:24:56.190Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-02-10T17:24:56.202Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-02-10T17:24:56.214Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 02161a6b4618232bfcf286377d256226a622bc2b [Pipeline] echo [2022-02-10T17:24:56.226Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 02161a6 [Pipeline] echo [2022-02-10T17:24:56.243Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-10T17:24:56.284Z] provisioning config files... [2022-02-10T17:24:56.296Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config832431249039587358tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-10T17:24:56.599Z] ---> docker-login.sh [2022-02-10T17:24:56.599Z] nexus3.edgexfoundry.org:10001 [2022-02-10T17:24:56.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T17:24:56.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T17:24:56.865Z] Configure a credential helper to remove this warning. See [2022-02-10T17:24:56.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T17:24:56.865Z] [2022-02-10T17:24:56.865Z] Login Succeeded [2022-02-10T17:24:56.865Z] nexus3.edgexfoundry.org:10002 [2022-02-10T17:24:56.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T17:24:56.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T17:24:56.865Z] Configure a credential helper to remove this warning. See [2022-02-10T17:24:56.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T17:24:56.865Z] [2022-02-10T17:24:56.865Z] Login Succeeded [2022-02-10T17:24:56.865Z] nexus3.edgexfoundry.org:10003 [2022-02-10T17:24:56.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T17:24:57.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T17:24:57.126Z] Configure a credential helper to remove this warning. See [2022-02-10T17:24:57.126Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T17:24:57.126Z] [2022-02-10T17:24:57.126Z] Login Succeeded [2022-02-10T17:24:57.126Z] nexus3.edgexfoundry.org:10004 [2022-02-10T17:24:57.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T17:24:57.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T17:24:57.126Z] Configure a credential helper to remove this warning. See [2022-02-10T17:24:57.126Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T17:24:57.126Z] [2022-02-10T17:24:57.126Z] Login Succeeded [2022-02-10T17:24:57.126Z] docker.io [2022-02-10T17:24:57.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T17:24:57.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T17:24:57.702Z] Configure a credential helper to remove this warning. See [2022-02-10T17:24:57.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T17:24:57.702Z] [2022-02-10T17:24:57.702Z] Login Succeeded [2022-02-10T17:24:57.702Z] ---> docker-login.sh ends [Pipeline] } [2022-02-10T17:24:57.712Z] 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-10T17:24:58.112Z] + git rev-list -1 --merges 02161a6b4618232bfcf286377d256226a622bc2b~1..02161a6b4618232bfcf286377d256226a622bc2b [Pipeline] echo [2022-02-10T17:24:58.143Z] -----------> git rev-list -1 --merges 02161a6b4618232bfcf286377d256226a622bc2b~1..02161a6b4618232bfcf286377d256226a622bc2b 02161a6b4618232bfcf286377d256226a622bc2b [false] [Pipeline] sh [2022-02-10T17:24:58.436Z] + git log --format=format:%s -1 02161a6b4618232bfcf286377d256226a622bc2b [Pipeline] echo [2022-02-10T17:24:58.455Z] ========================================================= [2022-02-10T17:24:58.455Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-02-10T17:24:58.455Z] ========================================================= 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-10T17:24:58.848Z] + git rev-list -1 --merges 02161a6b4618232bfcf286377d256226a622bc2b~1..02161a6b4618232bfcf286377d256226a622bc2b [Pipeline] echo [2022-02-10T17:24:58.863Z] -----------> git rev-list -1 --merges 02161a6b4618232bfcf286377d256226a622bc2b~1..02161a6b4618232bfcf286377d256226a622bc2b 02161a6b4618232bfcf286377d256226a622bc2b [false] [Pipeline] sh [2022-02-10T17:24:59.157Z] + git log --format=format:%s -1 02161a6b4618232bfcf286377d256226a622bc2b [Pipeline] echo [2022-02-10T17:24:59.173Z] ========================================================= [2022-02-10T17:24:59.173Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-02-10T17:24:59.173Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2022-02-10T17:24:59.710Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-02-10T17:24:59.710Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-02-10T17:24:59.710Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-02-10T17:24:59.710Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-02-10T17:24:59.710Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-02-10T17:24:59.710Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-02-10T17:24:59.710Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-02-10T17:25:00.136Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-10T17:25:00.136Z] [2022-02-10T17:25:00.136Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-02-10T17:25:00.449Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-10T17:25:00.449Z] latest: Pulling from edgex-devops/git-semver [2022-02-10T17:25:00.449Z] a0d0a0d46f8b: Pulling fs layer [2022-02-10T17:25:00.449Z] 3e5f54012d9b: Pulling fs layer [2022-02-10T17:25:00.449Z] 4c7163046ea9: Pulling fs layer [2022-02-10T17:25:00.449Z] 0c2d73faf560: Pulling fs layer [2022-02-10T17:25:00.449Z] 0c2d73faf560: Waiting [2022-02-10T17:25:00.449Z] 3e5f54012d9b: Verifying Checksum [2022-02-10T17:25:00.449Z] 3e5f54012d9b: Download complete [2022-02-10T17:25:00.449Z] a0d0a0d46f8b: Verifying Checksum [2022-02-10T17:25:00.449Z] a0d0a0d46f8b: Download complete [2022-02-10T17:25:00.449Z] 4c7163046ea9: Verifying Checksum [2022-02-10T17:25:00.449Z] 4c7163046ea9: Download complete [2022-02-10T17:25:00.449Z] 0c2d73faf560: Verifying Checksum [2022-02-10T17:25:00.449Z] 0c2d73faf560: Download complete [2022-02-10T17:25:00.716Z] a0d0a0d46f8b: Pull complete [2022-02-10T17:25:00.716Z] 3e5f54012d9b: Pull complete [2022-02-10T17:25:00.976Z] 4c7163046ea9: Pull complete [2022-02-10T17:25:01.241Z] 0c2d73faf560: Pull complete [2022-02-10T17:25:01.241Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-02-10T17:25:01.241Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-10T17:25:01.241Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-02-10T17:25:01.313Z] prd-centos7-docker-4c-2g-5000 does not seem to be running inside a container [2022-02-10T17:25:01.356Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-02-10T17:25:01.949Z] $ docker top 6c358ada2a7b4b2c6cec9de182e528d34fe77a022db39e14d69e063867639415 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-02-10T17:25:02.057Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-10T17:25:02.057Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-10T17:25:02.164Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-10T17:25:02.167Z] $ docker exec 6c358ada2a7b4b2c6cec9de182e528d34fe77a022db39e14d69e063867639415 ssh-agent [2022-02-10T17:25:02.271Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFhjKBd/agent.14 [2022-02-10T17:25:02.271Z] SSH_AGENT_PID=21 [2022-02-10T17:25:02.279Z] Running ssh-add (command line suppressed) [2022-02-10T17:25:02.374Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_7699354255178252113.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_7699354255178252113.key) [2022-02-10T17:25:02.385Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-10T17:25:02.692Z] + git tag --points-at HEAD [Pipeline] } [2022-02-10T17:25:02.705Z] $ docker exec --env ******** --env ******** 6c358ada2a7b4b2c6cec9de182e528d34fe77a022db39e14d69e063867639415 ssh-agent -k [2022-02-10T17:25:02.800Z] unset SSH_AUTH_SOCK; [2022-02-10T17:25:02.800Z] unset SSH_AGENT_PID; [2022-02-10T17:25:02.800Z] echo Agent pid 21 killed; [2022-02-10T17:25:02.809Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-02-10T17:25:02.830Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-10T17:25:02.830Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-10T17:25:02.943Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-10T17:25:02.946Z] $ docker exec 6c358ada2a7b4b2c6cec9de182e528d34fe77a022db39e14d69e063867639415 ssh-agent [2022-02-10T17:25:03.063Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDmoNhO/agent.54 [2022-02-10T17:25:03.063Z] SSH_AGENT_PID=61 [2022-02-10T17:25:03.068Z] Running ssh-add (command line suppressed) [2022-02-10T17:25:03.178Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_9210482912368321282.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_9210482912368321282.key) [2022-02-10T17:25:03.188Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-10T17:25:03.473Z] + git semver init [2022-02-10T17:25:03.473Z] # -> Open(): unable to determine branch for HEAD [2022-02-10T17:25:03.473Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.git [2022-02-10T17:25:03.473Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_main [2022-02-10T17:25:03.473Z] # $SEMVER_REMOTE_NAME = origin [2022-02-10T17:25:03.473Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-02-10T17:25:03.473Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-02-10T17:25:03.473Z] # $SEMVER_BRANCH = main [2022-02-10T17:25:03.473Z] # $SEMVER_TEMP = /tmp/semver-662087264 [2022-02-10T17:25:03.473Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2022-02-10T17:25:04.415Z] # '/tmp/semver-662087264' -> '/w/workspace/edgexfoundry_device-sdk-c_main/.semver' [2022-02-10T17:25:04.415Z] # -> Force: false [2022-02-10T17:25:04.415Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_main/.semver [Pipeline] } [2022-02-10T17:25:04.425Z] $ docker exec --env ******** --env ******** 6c358ada2a7b4b2c6cec9de182e528d34fe77a022db39e14d69e063867639415 ssh-agent -k [2022-02-10T17:25:04.519Z] unset SSH_AUTH_SOCK; [2022-02-10T17:25:04.519Z] unset SSH_AGENT_PID; [2022-02-10T17:25:04.519Z] echo Agent pid 61 killed; [2022-02-10T17:25:04.529Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-02-10T17:25:04.836Z] + git semver [Pipeline] } [2022-02-10T17:25:04.850Z] $ docker stop --time=1 6c358ada2a7b4b2c6cec9de182e528d34fe77a022db39e14d69e063867639415 [2022-02-10T17:25:06.085Z] $ docker rm -f 6c358ada2a7b4b2c6cec9de182e528d34fe77a022db39e14d69e063867639415 [Pipeline] // withDockerContainer [Pipeline] sh [2022-02-10T17:25:06.431Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-02-10T17:25:06.661Z] Stashed 1 file(s) [Pipeline] echo [2022-02-10T17:25:06.665Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.4 [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-10T17:25:06.819Z] provisioning config files... [2022-02-10T17:25:06.829Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config490879334973796790tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-10T17:25:07.131Z] ---> docker-login.sh [2022-02-10T17:25:07.131Z] nexus3.edgexfoundry.org:10001 [2022-02-10T17:25:07.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T17:25:07.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T17:25:07.131Z] Configure a credential helper to remove this warning. See [2022-02-10T17:25:07.131Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T17:25:07.131Z] [2022-02-10T17:25:07.131Z] Login Succeeded [2022-02-10T17:25:07.131Z] nexus3.edgexfoundry.org:10002 [2022-02-10T17:25:07.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T17:25:07.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T17:25:07.131Z] Configure a credential helper to remove this warning. See [2022-02-10T17:25:07.131Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T17:25:07.131Z] [2022-02-10T17:25:07.131Z] Login Succeeded [2022-02-10T17:25:07.131Z] nexus3.edgexfoundry.org:10003 [2022-02-10T17:25:07.395Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T17:25:07.395Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T17:25:07.395Z] Configure a credential helper to remove this warning. See [2022-02-10T17:25:07.395Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T17:25:07.395Z] [2022-02-10T17:25:07.395Z] Login Succeeded [2022-02-10T17:25:07.395Z] nexus3.edgexfoundry.org:10004 [2022-02-10T17:25:07.395Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T17:25:07.395Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T17:25:07.395Z] Configure a credential helper to remove this warning. See [2022-02-10T17:25:07.395Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T17:25:07.395Z] [2022-02-10T17:25:07.395Z] Login Succeeded [2022-02-10T17:25:07.395Z] docker.io [2022-02-10T17:25:07.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T17:25:07.917Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T17:25:07.917Z] Configure a credential helper to remove this warning. See [2022-02-10T17:25:07.917Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T17:25:07.917Z] [2022-02-10T17:25:07.917Z] Login Succeeded [2022-02-10T17:25:07.917Z] ---> docker-login.sh ends [Pipeline] } [2022-02-10T17:25:07.925Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-02-10T17:25:07.996Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-10T17:25:08.008Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2022-02-10T17:25:08.018Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-10T17:25:08.027Z] ========================================================= [2022-02-10T17:25:08.027Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2022-02-10T17:25:08.027Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-02-10T17:25:08.323Z] + 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-10T17:25:08.323Z] Sending build context to Docker daemon 4.477MB [2022-02-10T17:25:08.323Z] Step 1/24 : ARG BASE=alpine:3.14 [2022-02-10T17:25:08.323Z] Step 2/24 : FROM ${BASE} as builder [2022-02-10T17:25:08.323Z] latest: Pulling from edgex-devops/edgex-gcc-base [2022-02-10T17:25:08.323Z] 97518928ae5f: Pulling fs layer [2022-02-10T17:25:08.323Z] 7363053e1ea0: Pulling fs layer [2022-02-10T17:25:08.324Z] 51a0b06becb3: Pulling fs layer [2022-02-10T17:25:08.324Z] 7363053e1ea0: Verifying Checksum [2022-02-10T17:25:08.324Z] 7363053e1ea0: Download complete [2022-02-10T17:25:08.592Z] 97518928ae5f: Verifying Checksum [2022-02-10T17:25:08.592Z] 97518928ae5f: Download complete [2022-02-10T17:25:08.858Z] 97518928ae5f: Pull complete [2022-02-10T17:25:08.858Z] 7363053e1ea0: Pull complete [2022-02-10T17:25:08.858Z] 51a0b06becb3: Verifying Checksum [2022-02-10T17:25:08.858Z] 51a0b06becb3: Download complete [2022-02-10T17:25:12.232Z] 51a0b06becb3: Pull complete [2022-02-10T17:25:12.232Z] Digest: sha256:87c36446de1e177a99674a7135a8e1d07a26632dff751204c3634b3409cb465c [2022-02-10T17:25:12.232Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2022-02-10T17:25:12.232Z] ---> 621855499e4c [2022-02-10T17:25:12.232Z] Step 3/24 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2022-02-10T17:25:12.806Z] ---> Running in 9252f6174b14 [2022-02-10T17:25:12.806Z] Connecting to iotech.jfrog.io (54.229.110.245:443) [2022-02-10T17:25:13.376Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-02-10T17:25:13.376Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-02-10T17:25:13.376Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-02-10T17:25:13.376Z] Removing intermediate container 9252f6174b14 [2022-02-10T17:25:13.376Z] ---> 9f08f7278f82 [2022-02-10T17:25:13.376Z] Step 4/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2022-02-10T17:25:13.639Z] ---> Running in 85b043a84901 [2022-02-10T17:25:13.901Z] Removing intermediate container 85b043a84901 [2022-02-10T17:25:13.901Z] ---> 34931e19c04e [2022-02-10T17:25:13.901Z] Step 5/24 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev-1.3 hiredis-dev [2022-02-10T17:25:13.901Z] ---> Running in 14954a6fdd08 [2022-02-10T17:25:14.162Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-02-10T17:25:15.106Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-02-10T17:25:15.367Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz [2022-02-10T17:25:15.628Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-02-10T17:25:15.889Z] (1/27) Installing hiredis (1.0.0-r0) [2022-02-10T17:25:15.889Z] (2/27) Installing hiredis-dev (1.0.0-r0) [2022-02-10T17:25:15.889Z] (3/27) Installing ncurses-dev (6.2_p20210612-r0) [2022-02-10T17:25:16.149Z] (4/27) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-02-10T17:25:17.092Z] (5/27) Installing libblkid (2.37.3-r0) [2022-02-10T17:25:17.092Z] (6/27) Installing blkid (2.37.3-r0) [2022-02-10T17:25:17.092Z] (7/27) Installing libcap-ng (0.8.2-r0) [2022-02-10T17:25:17.354Z] (8/27) Installing setpriv (2.37.3-r0) [2022-02-10T17:25:17.354Z] (9/27) Installing libmount (2.37.3-r0) [2022-02-10T17:25:17.614Z] (10/27) Installing libsmartcols (2.37.3-r0) [2022-02-10T17:25:17.614Z] (11/27) Installing findmnt (2.37.3-r0) [2022-02-10T17:25:17.614Z] (12/27) Installing mcookie (2.37.3-r0) [2022-02-10T17:25:17.879Z] (13/27) Installing hexdump (2.37.3-r0) [2022-02-10T17:25:17.879Z] (14/27) Installing lsblk (2.37.3-r0) [2022-02-10T17:25:17.879Z] (15/27) Installing libuuid (2.37.3-r0) [2022-02-10T17:25:18.140Z] (16/27) Installing libfdisk (2.37.3-r0) [2022-02-10T17:25:18.140Z] (17/27) Installing sfdisk (2.37.3-r0) [2022-02-10T17:25:18.140Z] (18/27) Installing cfdisk (2.37.3-r0) [2022-02-10T17:25:18.401Z] (19/27) Installing partx (2.37.3-r0) [2022-02-10T17:25:18.401Z] (20/27) Installing flock (2.37.3-r0) [2022-02-10T17:25:18.401Z] (21/27) Installing logger (2.37.3-r0) [2022-02-10T17:25:18.662Z] (22/27) Installing uuidgen (2.37.3-r0) [2022-02-10T17:25:18.662Z] (23/27) Installing libeconf (0.3.8-r1) [2022-02-10T17:25:18.662Z] (24/27) Installing util-linux (2.37.3-r0) [2022-02-10T17:25:18.923Z] (25/27) Installing util-linux-dev (2.37.3-r0) [2022-02-10T17:25:19.187Z] (26/27) Installing libidn2 (2.3.1-r0) [2022-02-10T17:25:19.187Z] (27/27) Installing wget (1.21.1-r1) [2022-02-10T17:25:19.448Z] Executing busybox-1.33.1-r6.trigger [2022-02-10T17:25:19.448Z] OK: 291 MiB in 104 packages [2022-02-10T17:25:20.017Z] Removing intermediate container 14954a6fdd08 [2022-02-10T17:25:20.017Z] ---> 19fba725b3bf [2022-02-10T17:25:20.017Z] Step 6/24 : ENV CBOR_VERSION=0.5.0 [2022-02-10T17:25:20.017Z] ---> Running in 6ae6f32d8c9b [2022-02-10T17:25:20.017Z] Removing intermediate container 6ae6f32d8c9b [2022-02-10T17:25:20.017Z] ---> 0beaf9ba7dff [2022-02-10T17:25:20.017Z] Step 7/24 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install [2022-02-10T17:25:20.017Z] ---> Running in ded76a06bdda [2022-02-10T17:25:20.278Z] --2022-02-10 17:25:20-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2022-02-10T17:25:20.278Z] Resolving github.com (github.com)... 140.82.113.4 [2022-02-10T17:25:20.278Z] Connecting to github.com (github.com)|140.82.113.4|:443... connected. [2022-02-10T17:25:20.538Z] HTTP request sent, awaiting response... 302 Found [2022-02-10T17:25:20.538Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2022-02-10T17:25:20.538Z] --2022-02-10 17:25:20-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2022-02-10T17:25:20.538Z] Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 [2022-02-10T17:25:20.538Z] Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. [2022-02-10T17:25:20.538Z] HTTP request sent, awaiting response... 200 OK [2022-02-10T17:25:20.538Z] Length: unspecified [application/x-gzip] [2022-02-10T17:25:20.538Z] Saving to: 'STDOUT' [2022-02-10T17:25:20.538Z]  [2022-02-10T17:25:20.538Z] 0K .......... .......... .......... .......... .......... 1.06M [2022-02-10T17:25:20.799Z] 50K .......... .......... .......... .......... .......... 3.47M [2022-02-10T17:25:20.799Z] 100K .......... .......... .......... .......... .......... 25.5M [2022-02-10T17:25:20.799Z] 150K .......... .......... .......... .......... .......... 10.6M [2022-02-10T17:25:20.799Z] 200K .......... .......... .......... .......... .......... 3.39M [2022-02-10T17:25:20.799Z] 250K .......... .......... .......... .......... .......... 9.06M [2022-02-10T17:25:20.799Z] 300K .......... .......... .......... .......... .......... 8.91M [2022-02-10T17:25:20.799Z] 350K .......... .......... .......... .......... .......... 11.8M [2022-02-10T17:25:20.799Z] 400K .......... .......... .......... .......... .......... 8.77M [2022-02-10T17:25:20.799Z] 450K .......... .......... .......... .......... .......... 11.9M [2022-02-10T17:25:20.799Z] 500K .......... .......... .......... .......... .......... 27.0M [2022-02-10T17:25:20.799Z] 550K .......... .......... .......... .......... .......... 7.08M [2022-02-10T17:25:20.799Z] 600K .......... .......... .......... .......... .......... 4.40M [2022-02-10T17:25:20.799Z] 650K .......... .......... .......... .......... .......... 4.95M [2022-02-10T17:25:20.799Z] 700K .. 69.2M=0.1s [2022-02-10T17:25:20.799Z] [2022-02-10T17:25:20.799Z] 2022-02-10 17:25:20 (5.06 MB/s) - written to stdout [719348] [2022-02-10T17:25:20.799Z] [2022-02-10T17:25:20.799Z] -- The C compiler identification is GNU 10.3.1 [2022-02-10T17:25:20.799Z] -- The CXX compiler identification is GNU 10.3.1 [2022-02-10T17:25:20.799Z] -- Detecting C compiler ABI info [2022-02-10T17:25:21.065Z] -- Detecting C compiler ABI info - done [2022-02-10T17:25:21.066Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-02-10T17:25:21.066Z] -- Detecting C compile features [2022-02-10T17:25:21.066Z] -- Detecting C compile features - done [2022-02-10T17:25:21.066Z] -- Detecting CXX compiler ABI info [2022-02-10T17:25:21.066Z] -- Detecting CXX compiler ABI info - done [2022-02-10T17:25:21.066Z] -- Check for working CXX compiler: /usr/bin/c++ - skipped [2022-02-10T17:25:21.066Z] -- Detecting CXX compile features [2022-02-10T17:25:21.066Z] -- Detecting CXX compile features - done [2022-02-10T17:25:21.066Z] -- Looking for include file endian.h [2022-02-10T17:25:21.066Z] -- Looking for include file endian.h - found [2022-02-10T17:25:21.066Z] -- Looking for sys/types.h [2022-02-10T17:25:21.325Z] -- Looking for sys/types.h - found [2022-02-10T17:25:21.325Z] -- Looking for stdint.h [2022-02-10T17:25:21.325Z] -- Looking for stdint.h - found [2022-02-10T17:25:21.325Z] -- Looking for stddef.h [2022-02-10T17:25:21.325Z] -- Looking for stddef.h - found [2022-02-10T17:25:21.325Z] -- Check size of size_t [2022-02-10T17:25:21.325Z] -- Check size of size_t - done [2022-02-10T17:25:21.325Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2022-02-10T17:25:21.325Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2022-02-10T17:25:21.325Z] asked CMake to find a package configuration file provided by "cJSON", but [2022-02-10T17:25:21.325Z] CMake did not find one. [2022-02-10T17:25:21.325Z] [2022-02-10T17:25:21.325Z] Could not find a package configuration file provided by "cJSON" with any of [2022-02-10T17:25:21.325Z] the following names: [2022-02-10T17:25:21.325Z] [2022-02-10T17:25:21.325Z] cJSONConfig.cmake [2022-02-10T17:25:21.325Z] cjson-config.cmake [2022-02-10T17:25:21.325Z] [2022-02-10T17:25:21.325Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2022-02-10T17:25:21.325Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2022-02-10T17:25:21.325Z] provides a separate development package or SDK, be sure it has been [2022-02-10T17:25:21.325Z] installed. [2022-02-10T17:25:21.325Z] [2022-02-10T17:25:21.325Z] [2022-02-10T17:25:21.325Z] -- Configuring done [2022-02-10T17:25:21.586Z] -- Generating done [2022-02-10T17:25:21.586Z] -- Build files have been written to: /tmp/cbor [2022-02-10T17:25:21.586Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2022-02-10T17:25:21.586Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2022-02-10T17:25:21.764Z] Still waiting to schedule task [2022-02-10T17:25:21.764Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-02-10T17:25:21.849Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2022-02-10T17:25:21.849Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2022-02-10T17:25:22.110Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2022-02-10T17:25:22.110Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2022-02-10T17:25:22.110Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2022-02-10T17:25:22.110Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2022-02-10T17:25:22.110Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2022-02-10T17:25:22.369Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2022-02-10T17:25:22.369Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2022-02-10T17:25:22.369Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2022-02-10T17:25:22.630Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2022-02-10T17:25:22.630Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2022-02-10T17:25:22.630Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2022-02-10T17:25:22.894Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2022-02-10T17:25:22.894Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2022-02-10T17:25:22.894Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2022-02-10T17:25:22.894Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2022-02-10T17:25:23.154Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2022-02-10T17:25:23.154Z] [ 40%] Linking C shared library libcbor.so [2022-02-10T17:25:23.154Z] [ 40%] Built target cbor_shared [2022-02-10T17:25:23.154Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2022-02-10T17:25:23.154Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2022-02-10T17:25:23.415Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2022-02-10T17:25:23.415Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2022-02-10T17:25:23.987Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2022-02-10T17:25:23.987Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2022-02-10T17:25:23.987Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2022-02-10T17:25:23.987Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2022-02-10T17:25:23.987Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2022-02-10T17:25:24.249Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2022-02-10T17:25:24.249Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2022-02-10T17:25:24.249Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2022-02-10T17:25:24.510Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2022-02-10T17:25:24.510Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2022-02-10T17:25:24.510Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2022-02-10T17:25:24.771Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2022-02-10T17:25:24.771Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2022-02-10T17:25:24.771Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2022-02-10T17:25:24.771Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2022-02-10T17:25:25.032Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2022-02-10T17:25:25.032Z] [ 80%] Linking C static library libcbor.a [2022-02-10T17:25:25.032Z] [ 80%] Built target cbor [2022-02-10T17:25:25.032Z] [ 82%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2022-02-10T17:25:25.032Z] [ 84%] Linking C executable readfile [2022-02-10T17:25:25.032Z] [ 84%] Built target readfile [2022-02-10T17:25:25.032Z] [ 86%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2022-02-10T17:25:25.297Z] [ 88%] Linking C executable create_items [2022-02-10T17:25:25.297Z] [ 88%] Built target create_items [2022-02-10T17:25:25.297Z] [ 90%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2022-02-10T17:25:25.297Z] [ 92%] Linking C executable sort [2022-02-10T17:25:25.297Z] [ 92%] Built target sort [2022-02-10T17:25:25.297Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2022-02-10T17:25:25.297Z] [ 96%] Linking C executable hello [2022-02-10T17:25:25.297Z] [ 96%] Built target hello [2022-02-10T17:25:25.297Z] [ 98%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2022-02-10T17:25:25.563Z] [100%] Linking C executable streaming_parser [2022-02-10T17:25:25.563Z] [100%] Built target streaming_parser [2022-02-10T17:25:25.563Z] Install the project... [2022-02-10T17:25:25.563Z] -- Install configuration: "Release" [2022-02-10T17:25:25.563Z] -- Installing: /usr/local/include/cbor/configuration.h [2022-02-10T17:25:25.563Z] -- Installing: /usr/local/lib/libcbor.a [2022-02-10T17:25:25.563Z] -- Installing: /usr/local/lib/libcbor.so.0.0.0 [2022-02-10T17:25:25.563Z] -- Installing: /usr/local/lib/libcbor.so.0 [2022-02-10T17:25:25.563Z] -- Installing: /usr/local/lib/libcbor.so [2022-02-10T17:25:25.563Z] -- Up-to-date: /usr/local/include/cbor [2022-02-10T17:25:25.563Z] -- Installing: /usr/local/include/cbor/arrays.h [2022-02-10T17:25:25.563Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2022-02-10T17:25:25.563Z] -- Installing: /usr/local/include/cbor/callbacks.h [2022-02-10T17:25:25.563Z] -- Installing: /usr/local/include/cbor/common.h [2022-02-10T17:25:25.563Z] -- Installing: /usr/local/include/cbor/data.h [2022-02-10T17:25:25.563Z] -- Installing: /usr/local/include/cbor/encoding.h [2022-02-10T17:25:25.563Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2022-02-10T17:25:25.563Z] -- Installing: /usr/local/include/cbor/internal [2022-02-10T17:25:25.563Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2022-02-10T17:25:25.563Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2022-02-10T17:25:25.563Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2022-02-10T17:25:25.563Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2022-02-10T17:25:25.563Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2022-02-10T17:25:25.563Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2022-02-10T17:25:25.563Z] -- Installing: /usr/local/include/cbor/ints.h [2022-02-10T17:25:25.563Z] -- Installing: /usr/local/include/cbor/maps.h [2022-02-10T17:25:25.563Z] -- Installing: /usr/local/include/cbor/serialization.h [2022-02-10T17:25:25.563Z] -- Installing: /usr/local/include/cbor/streaming.h [2022-02-10T17:25:25.563Z] -- Installing: /usr/local/include/cbor/strings.h [2022-02-10T17:25:25.563Z] -- Installing: /usr/local/include/cbor/tags.h [2022-02-10T17:25:25.563Z] -- Installing: /usr/local/include/cbor.h [2022-02-10T17:25:25.563Z] -- Installing: /usr/local/lib/pkgconfig/libcbor.pc [2022-02-10T17:25:26.513Z] Removing intermediate container ded76a06bdda [2022-02-10T17:25:26.513Z] ---> fdc746e466a0 [2022-02-10T17:25:26.513Z] Step 8/24 : RUN mkdir /tmp/sdk [2022-02-10T17:25:26.513Z] ---> Running in 9ee168edcd1e [2022-02-10T17:25:26.787Z] Removing intermediate container 9ee168edcd1e [2022-02-10T17:25:26.787Z] ---> bd5c31997ab9 [2022-02-10T17:25:26.787Z] Step 9/24 : COPY VERSION /tmp/sdk [2022-02-10T17:25:27.047Z] ---> b83350de1284 [2022-02-10T17:25:27.047Z] Step 10/24 : COPY src /tmp/sdk/src [2022-02-10T17:25:27.306Z] ---> cca707b976c1 [2022-02-10T17:25:27.306Z] Step 11/24 : COPY include /tmp/sdk/include [2022-02-10T17:25:27.306Z] ---> a833a42cbc8a [2022-02-10T17:25:27.306Z] Step 12/24 : COPY scripts /tmp/sdk/scripts [2022-02-10T17:25:27.566Z] ---> fba67d1876e9 [2022-02-10T17:25:27.566Z] Step 13/24 : COPY LICENSE /tmp/sdk [2022-02-10T17:25:27.566Z] ---> bf26465dcff5 [2022-02-10T17:25:27.566Z] Step 14/24 : COPY Attribution.txt /tmp/sdk [2022-02-10T17:25:27.829Z] ---> e692f348fc2b [2022-02-10T17:25:27.829Z] Step 15/24 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2022-02-10T17:25:27.829Z] ---> Running in d82a99147f03 [2022-02-10T17:25:28.089Z] + CPPCHECK=false [2022-02-10T17:25:28.089Z] + DOCGEN=false [2022-02-10T17:25:28.089Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2022-02-10T17:25:28.089Z] + TOMLVER=SDK-0.2 [2022-02-10T17:25:28.089Z] + CUTILVER=1.2.2 [2022-02-10T17:25:28.089Z] + '[' 0 -gt 0 ] [2022-02-10T17:25:28.089Z] + readlink -f ./scripts/build.sh [2022-02-10T17:25:28.089Z] + dirname /tmp/sdk/scripts/build.sh [2022-02-10T17:25:28.089Z] + dirname /tmp/sdk/scripts [2022-02-10T17:25:28.089Z] + ROOT=/tmp/sdk [2022-02-10T17:25:28.089Z] + cd /tmp/sdk [2022-02-10T17:25:28.089Z] + '[' '!' -d deps ] [2022-02-10T17:25:28.089Z] + mkdir deps [2022-02-10T17:25:28.089Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-02-10T17:25:28.089Z] --2022-02-10 17:25:27-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-02-10T17:25:28.089Z] + tar -C deps -z -x -f - [2022-02-10T17:25:28.089Z] Resolving github.com (github.com)... 140.82.113.4 [2022-02-10T17:25:28.089Z] Connecting to github.com (github.com)|140.82.113.4|:443... connected. [2022-02-10T17:25:28.349Z] HTTP request sent, awaiting response... 302 Found [2022-02-10T17:25:28.349Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2022-02-10T17:25:28.349Z] --2022-02-10 17:25:28-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2022-02-10T17:25:28.349Z] Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 [2022-02-10T17:25:28.349Z] Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. [2022-02-10T17:25:28.349Z] HTTP request sent, awaiting response... 200 OK [2022-02-10T17:25:28.349Z] Length: unspecified [application/x-gzip] [2022-02-10T17:25:28.349Z] Saving to: 'STDOUT' [2022-02-10T17:25:28.349Z]  [2022-02-10T17:25:28.349Z] 0K .......... ...... 782K=0.02s [2022-02-10T17:25:28.349Z] [2022-02-10T17:25:28.349Z] 2022-02-10 17:25:28 (782 KB/s) - written to stdout [16451] [2022-02-10T17:25:28.349Z] [2022-02-10T17:25:28.349Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2022-02-10T17:25:28.349Z] + tar -C deps -z -x -f - [2022-02-10T17:25:28.349Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2022-02-10T17:25:28.349Z] --2022-02-10 17:25:28-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2022-02-10T17:25:28.349Z] Resolving github.com (github.com)... 140.82.113.4 [2022-02-10T17:25:28.608Z] Connecting to github.com (github.com)|140.82.113.4|:443... connected. [2022-02-10T17:25:28.608Z] HTTP request sent, awaiting response... 302 Found [2022-02-10T17:25:28.608Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] [2022-02-10T17:25:28.608Z] --2022-02-10 17:25:28-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [2022-02-10T17:25:28.608Z] Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 [2022-02-10T17:25:28.608Z] Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. [2022-02-10T17:25:28.868Z] HTTP request sent, awaiting response... 200 OK [2022-02-10T17:25:28.868Z] Length: unspecified [application/x-gzip] [2022-02-10T17:25:28.868Z] Saving to: 'STDOUT' [2022-02-10T17:25:28.868Z]  [2022-02-10T17:25:28.868Z] 0K .......... .......... .......... .......... .......... 1.23M [2022-02-10T17:25:28.868Z] 50K .......... .......... .......... .......... .......... 2.48M [2022-02-10T17:25:28.868Z] 100K .......... .......... .......... .......... .......... 29.4M [2022-02-10T17:25:28.868Z] 150K .......... .......... .......... ......... 4.75M=0.07s [2022-02-10T17:25:28.868Z] [2022-02-10T17:25:28.868Z] 2022-02-10 17:25:28 (2.68 MB/s) - written to stdout [193961] [2022-02-10T17:25:28.868Z] [2022-02-10T17:25:28.868Z] + mkdir -p src/c/iot [2022-02-10T17:25:28.868Z] + 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-10T17:25:28.868Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2022-02-10T17:25:28.868Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2022-02-10T17:25:28.868Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2022-02-10T17:25:28.868Z] + mkdir -p include/iot [2022-02-10T17:25:28.868Z] + 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-10T17:25:28.868Z] + mkdir -p include/iot/os [2022-02-10T17:25:28.868Z] + 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-10T17:25:28.868Z] + mkdir -p /tmp/sdk/build/release [2022-02-10T17:25:28.868Z] + cd /tmp/sdk/build/release [2022-02-10T17:25:28.868Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2022-02-10T17:25:28.868Z] -- The C compiler identification is GNU 10.3.1 [2022-02-10T17:25:29.128Z] -- Detecting C compiler ABI info [2022-02-10T17:25:29.128Z] -- Detecting C compiler ABI info - done [2022-02-10T17:25:29.128Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-02-10T17:25:29.128Z] -- Detecting C compile features [2022-02-10T17:25:29.128Z] -- Detecting C compile features - done [2022-02-10T17:25:29.128Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-02-10T17:25:29.128Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") [2022-02-10T17:25:29.128Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-02-10T17:25:29.128Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-02-10T17:25:29.128Z] -- Found LIBCBOR: /usr/local/lib/libcbor.so [2022-02-10T17:25:29.128Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-02-10T17:25:29.128Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-02-10T17:25:29.128Z] -- C SDK 2.2.0-dev.4 for Linux [2022-02-10T17:25:29.128Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-02-10T17:25:29.128Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-02-10T17:25:29.387Z] -- Found Curses: /usr/lib/libcurses.so [2022-02-10T17:25:29.387Z] -- Configuring done [2022-02-10T17:25:29.387Z] -- Generating done [2022-02-10T17:25:29.387Z] -- Build files have been written to: /tmp/sdk/build/release [2022-02-10T17:25:29.387Z] + make all package [2022-02-10T17:25:29.387Z] + tee release.log [2022-02-10T17:25:29.387Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-02-10T17:25:29.648Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-02-10T17:25:29.648Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-02-10T17:25:29.907Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-02-10T17:25:30.167Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-02-10T17:25:30.167Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-02-10T17:25:30.427Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-02-10T17:25:30.427Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-02-10T17:25:30.427Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-02-10T17:25:30.689Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-02-10T17:25:31.265Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-02-10T17:25:31.265Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-02-10T17:25:31.265Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-02-10T17:25:31.530Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-02-10T17:25:31.530Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-02-10T17:25:31.530Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-02-10T17:25:31.794Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-02-10T17:25:32.365Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-02-10T17:25:32.365Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-02-10T17:25:32.365Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-02-10T17:25:32.365Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-02-10T17:25:32.626Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-02-10T17:25:32.626Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-02-10T17:25:32.626Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-02-10T17:25:32.626Z] 275 | const iot_component_factory_t * factory; [2022-02-10T17:25:32.626Z] | ^~~~~~~ [2022-02-10T17:25:32.626Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-02-10T17:25:33.584Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-02-10T17:25:33.584Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-02-10T17:25:33.584Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-02-10T17:25:33.859Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-02-10T17:25:33.859Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-02-10T17:25:33.859Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-02-10T17:25:34.129Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-02-10T17:25:34.129Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-02-10T17:25:34.391Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-02-10T17:25:34.391Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-02-10T17:25:34.391Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-02-10T17:25:34.968Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-02-10T17:25:34.968Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-02-10T17:25:35.229Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-02-10T17:25:35.229Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-02-10T17:25:36.176Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-02-10T17:25:36.176Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-02-10T17:25:36.176Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-02-10T17:25:36.440Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-02-10T17:25:36.440Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-02-10T17:25:36.440Z] /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-10T17:25:36.440Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-02-10T17:25:36.440Z] | ^~~~~~~~~~~~~ [2022-02-10T17:25:36.440Z] | | [2022-02-10T17:25:36.440Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-02-10T17:25:36.440Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-10T17:25:36.440Z] /usr/include/microhttpd.h:2714: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-10T17:25:36.440Z] 2714 | MHD_KeyValueIterator iterator, [2022-02-10T17:25:36.440Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-02-10T17:25:36.440Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-02-10T17:25:36.440Z] /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-10T17:25:36.440Z] 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-10T17:25:36.440Z] | ^~~~~~~~~~~~ [2022-02-10T17:25:36.440Z] | | [2022-02-10T17:25:36.440Z] | 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-10T17:25:36.440Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-10T17:25:36.441Z] /usr/include/microhttpd.h:2443: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-10T17:25:36.441Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-02-10T17:25:36.441Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-02-10T17:25:36.441Z] /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-10T17:25:36.441Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-02-10T17:25:36.441Z] | ^~~~~~~~~~~~ [2022-02-10T17:25:36.441Z] | | [2022-02-10T17:25:36.441Z] | 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-10T17:25:36.441Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-10T17:25:36.441Z] /usr/include/microhttpd.h:2443: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-10T17:25:36.441Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-02-10T17:25:36.441Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-02-10T17:25:36.706Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-02-10T17:25:36.965Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-02-10T17:25:36.965Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-02-10T17:25:37.227Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-02-10T17:25:37.227Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-02-10T17:25:37.490Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-02-10T17:25:38.438Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-02-10T17:25:38.438Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-02-10T17:25:38.438Z] [ 76%] Linking C shared library libcsdk.so [2022-02-10T17:25:38.701Z] [ 76%] Built target csdk [2022-02-10T17:25:38.701Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-02-10T17:25:38.701Z] [ 79%] Linking C executable template [2022-02-10T17:25:38.701Z] [ 79%] Built target template [2022-02-10T17:25:38.962Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-02-10T17:25:38.962Z] [ 82%] Linking C executable device-counter [2022-02-10T17:25:38.962Z] [ 82%] Built target device-counter [2022-02-10T17:25:38.962Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-02-10T17:25:39.228Z] [ 85%] Linking C executable device-random [2022-02-10T17:25:39.228Z] [ 85%] Built target device-random [2022-02-10T17:25:39.228Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-02-10T17:25:39.228Z] [ 88%] Linking C executable device-gyro [2022-02-10T17:25:39.228Z] [ 88%] Built target device-gyro [2022-02-10T17:25:39.228Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-02-10T17:25:39.489Z] [ 91%] Linking C executable device-bitfields [2022-02-10T17:25:39.489Z] [ 91%] Built target device-bitfields [2022-02-10T17:25:39.489Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-02-10T17:25:39.750Z] [ 94%] Linking C executable template-discovery [2022-02-10T17:25:39.750Z] [ 94%] Built target template-discovery [2022-02-10T17:25:39.750Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-02-10T17:25:39.750Z] [ 97%] Linking C executable device-file [2022-02-10T17:25:40.012Z] [ 97%] Built target device-file [2022-02-10T17:25:40.012Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-02-10T17:25:40.012Z] [100%] Linking C executable device-terminal [2022-02-10T17:25:40.012Z] [100%] Built target device-terminal [2022-02-10T17:25:40.012Z] Run CPack packaging tool... [2022-02-10T17:25:40.012Z] CPack: Create package using TGZ [2022-02-10T17:25:40.012Z] CPack: Install projects [2022-02-10T17:25:40.012Z] CPack: - Run preinstall target for: Csdk [2022-02-10T17:25:40.272Z] CPack: - Install project: Csdk [] [2022-02-10T17:25:40.272Z] CPack: Create package [2022-02-10T17:25:40.532Z] CPack: - package: /tmp/sdk/build/release/csdk-2.2.0-dev.4.tar.gz generated. [2022-02-10T17:25:40.532Z] + '[' false '=' true ] [2022-02-10T17:25:40.532Z] + '[' false '=' true ] [2022-02-10T17:25:40.532Z] + mkdir -p /tmp/sdk/build/debug [2022-02-10T17:25:40.532Z] + cd /tmp/sdk/build/debug [2022-02-10T17:25:40.532Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2022-02-10T17:25:40.532Z] -- The C compiler identification is GNU 10.3.1 [2022-02-10T17:25:40.532Z] -- Detecting C compiler ABI info [2022-02-10T17:25:40.532Z] -- Detecting C compiler ABI info - done [2022-02-10T17:25:40.532Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-02-10T17:25:40.532Z] -- Detecting C compile features [2022-02-10T17:25:40.532Z] -- Detecting C compile features - done [2022-02-10T17:25:40.532Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-02-10T17:25:40.532Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") [2022-02-10T17:25:40.532Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-02-10T17:25:40.532Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-02-10T17:25:40.532Z] -- Found LIBCBOR: /usr/local/lib/libcbor.so [2022-02-10T17:25:40.532Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-02-10T17:25:40.532Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-02-10T17:25:40.532Z] -- C SDK 2.2.0-dev.4 for Linux [2022-02-10T17:25:40.532Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-02-10T17:25:40.793Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-02-10T17:25:40.793Z] -- Found Curses: /usr/lib/libcurses.so [2022-02-10T17:25:40.793Z] -- Configuring done [2022-02-10T17:25:40.793Z] -- Generating done [2022-02-10T17:25:40.793Z] -- Build files have been written to: /tmp/sdk/build/debug [2022-02-10T17:25:40.793Z] + make [2022-02-10T17:25:40.793Z] + tee debug.log [2022-02-10T17:25:40.793Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-02-10T17:25:41.052Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-02-10T17:25:41.052Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-02-10T17:25:41.052Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-02-10T17:25:41.317Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-02-10T17:25:41.317Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-02-10T17:25:41.317Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-02-10T17:25:41.317Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-02-10T17:25:41.579Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-02-10T17:25:41.579Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-02-10T17:25:41.839Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-02-10T17:25:41.839Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-02-10T17:25:41.839Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-02-10T17:25:41.839Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-02-10T17:25:42.108Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-02-10T17:25:42.108Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-02-10T17:25:42.108Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-02-10T17:25:42.374Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-02-10T17:25:42.374Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-02-10T17:25:42.374Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-02-10T17:25:42.374Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-02-10T17:25:42.638Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-02-10T17:25:42.638Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-02-10T17:25:42.638Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-02-10T17:25:42.638Z] 275 | const iot_component_factory_t * factory; [2022-02-10T17:25:42.638Z] | ^~~~~~~ [2022-02-10T17:25:42.638Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-02-10T17:25:42.910Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-02-10T17:25:42.910Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-02-10T17:25:42.910Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-02-10T17:25:42.910Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-02-10T17:25:43.173Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-02-10T17:25:43.173Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-02-10T17:25:43.173Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-02-10T17:25:43.173Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-02-10T17:25:43.438Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-02-10T17:25:43.438Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-02-10T17:25:43.438Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-02-10T17:25:43.438Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-02-10T17:25:43.438Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-02-10T17:25:43.708Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-02-10T17:25:43.708Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-02-10T17:25:43.979Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-02-10T17:25:43.979Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-02-10T17:25:43.979Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-02-10T17:25:44.246Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-02-10T17:25:44.246Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-02-10T17:25:44.246Z] /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-10T17:25:44.246Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-02-10T17:25:44.246Z] | ^~~~~~~~~~~~~ [2022-02-10T17:25:44.246Z] | | [2022-02-10T17:25:44.246Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-02-10T17:25:44.246Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-10T17:25:44.246Z] /usr/include/microhttpd.h:2714: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-10T17:25:44.246Z] 2714 | MHD_KeyValueIterator iterator, [2022-02-10T17:25:44.246Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-02-10T17:25:44.246Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-02-10T17:25:44.246Z] /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-10T17:25:44.246Z] 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-10T17:25:44.246Z] | ^~~~~~~~~~~~ [2022-02-10T17:25:44.246Z] | | [2022-02-10T17:25:44.246Z] | 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-10T17:25:44.246Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-10T17:25:44.246Z] /usr/include/microhttpd.h:2443: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-10T17:25:44.246Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-02-10T17:25:44.246Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-02-10T17:25:44.246Z] /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-10T17:25:44.246Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-02-10T17:25:44.246Z] | ^~~~~~~~~~~~ [2022-02-10T17:25:44.246Z] | | [2022-02-10T17:25:44.246Z] | 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-10T17:25:44.246Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-10T17:25:44.246Z] /usr/include/microhttpd.h:2443: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-10T17:25:44.246Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-02-10T17:25:44.246Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-02-10T17:25:44.246Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-02-10T17:25:44.507Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-02-10T17:25:44.507Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-02-10T17:25:44.507Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-02-10T17:25:44.768Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-02-10T17:25:44.768Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-02-10T17:25:45.030Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-02-10T17:25:45.030Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-02-10T17:25:45.030Z] [ 76%] Linking C shared library libcsdk.so [2022-02-10T17:25:45.292Z] [ 76%] Built target csdk [2022-02-10T17:25:45.292Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-02-10T17:25:45.292Z] [ 79%] Linking C executable template [2022-02-10T17:25:45.292Z] [ 79%] Built target template [2022-02-10T17:25:45.292Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-02-10T17:25:45.292Z] [ 82%] Linking C executable device-counter [2022-02-10T17:25:45.552Z] [ 82%] Built target device-counter [2022-02-10T17:25:45.552Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-02-10T17:25:45.552Z] [ 85%] Linking C executable device-random [2022-02-10T17:25:45.552Z] [ 85%] Built target device-random [2022-02-10T17:25:45.552Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-02-10T17:25:45.552Z] [ 88%] Linking C executable device-gyro [2022-02-10T17:25:45.814Z] [ 88%] Built target device-gyro [2022-02-10T17:25:45.814Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-02-10T17:25:45.814Z] [ 91%] Linking C executable device-bitfields [2022-02-10T17:25:45.814Z] [ 91%] Built target device-bitfields [2022-02-10T17:25:45.814Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-02-10T17:25:45.814Z] [ 94%] Linking C executable template-discovery [2022-02-10T17:25:46.074Z] [ 94%] Built target template-discovery [2022-02-10T17:25:46.074Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-02-10T17:25:46.074Z] [ 97%] Linking C executable device-file [2022-02-10T17:25:46.074Z] [ 97%] Built target device-file [2022-02-10T17:25:46.074Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-02-10T17:25:46.074Z] [100%] Linking C executable device-terminal [2022-02-10T17:25:46.335Z] [100%] Built target device-terminal [2022-02-10T17:25:46.335Z] make: Entering directory '/tmp/sdk/build/release' [2022-02-10T17:25:46.335Z] make[1]: Entering directory '/tmp/sdk/build/release' [2022-02-10T17:25:46.335Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-10T17:25:46.335Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-10T17:25:46.335Z] [ 76%] Built target csdk [2022-02-10T17:25:46.335Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-10T17:25:46.335Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-10T17:25:46.335Z] [ 79%] Built target template [2022-02-10T17:25:46.335Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-10T17:25:46.335Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-10T17:25:46.335Z] [ 82%] Built target device-counter [2022-02-10T17:25:46.335Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-10T17:25:46.335Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-10T17:25:46.335Z] [ 85%] Built target device-random [2022-02-10T17:25:46.335Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-10T17:25:46.335Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-10T17:25:46.335Z] [ 88%] Built target device-gyro [2022-02-10T17:25:46.335Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-10T17:25:46.335Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-10T17:25:46.335Z] [ 91%] Built target device-bitfields [2022-02-10T17:25:46.335Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-10T17:25:46.335Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-10T17:25:46.335Z] [ 94%] Built target template-discovery [2022-02-10T17:25:46.335Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-10T17:25:46.335Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-10T17:25:46.335Z] [ 97%] Built target device-file [2022-02-10T17:25:46.335Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-10T17:25:46.335Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-10T17:25:46.335Z] [100%] Built target device-terminal [2022-02-10T17:25:46.335Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2022-02-10T17:25:46.335Z] Install the project... [2022-02-10T17:25:46.335Z] -- Install configuration: "Release" [2022-02-10T17:25:46.335Z] -- Installing: /usr/local/lib/libcsdk.so [2022-02-10T17:25:46.335Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2022-02-10T17:25:46.335Z] -- Up-to-date: /usr/local/include [2022-02-10T17:25:46.335Z] -- Installing: /usr/local/include/devsdk [2022-02-10T17:25:46.335Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2022-02-10T17:25:46.335Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2022-02-10T17:25:46.335Z] -- Installing: /usr/local/include/edgex [2022-02-10T17:25:46.335Z] -- Installing: /usr/local/include/edgex/devices.h [2022-02-10T17:25:46.335Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2022-02-10T17:25:46.335Z] -- Installing: /usr/local/include/edgex/edgex.h [2022-02-10T17:25:46.335Z] -- Installing: /usr/local/include/edgex/profiles.h [2022-02-10T17:25:46.335Z] -- Installing: /usr/local/include/edgex/rest-server.h [2022-02-10T17:25:46.335Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2022-02-10T17:25:46.335Z] -- Installing: /usr/local/include/iot [2022-02-10T17:25:46.335Z] -- Installing: /usr/local/include/iot/base64.h [2022-02-10T17:25:46.335Z] -- Installing: /usr/local/include/iot/component.h [2022-02-10T17:25:46.335Z] -- Installing: /usr/local/include/iot/config.h [2022-02-10T17:25:46.335Z] -- Installing: /usr/local/include/iot/container.h [2022-02-10T17:25:46.335Z] -- Installing: /usr/local/include/iot/data.h [2022-02-10T17:25:46.335Z] -- Installing: /usr/local/include/iot/hash.h [2022-02-10T17:25:46.335Z] -- Installing: /usr/local/include/iot/iot.h [2022-02-10T17:25:46.335Z] -- Installing: /usr/local/include/iot/json.h [2022-02-10T17:25:46.335Z] -- Installing: /usr/local/include/iot/logger.h [2022-02-10T17:25:46.335Z] -- Installing: /usr/local/include/iot/os.h [2022-02-10T17:25:46.335Z] -- Installing: /usr/local/include/iot/scheduler.h [2022-02-10T17:25:46.335Z] -- Installing: /usr/local/include/iot/thread.h [2022-02-10T17:25:46.335Z] -- Installing: /usr/local/include/iot/threadpool.h [2022-02-10T17:25:46.335Z] -- Installing: /usr/local/include/iot/time.h [2022-02-10T17:25:46.335Z] -- Installing: /usr/local/include/iot/typecode.h [2022-02-10T17:25:46.335Z] -- Installing: /usr/local/include/iot/uuid.h [2022-02-10T17:25:46.598Z] -- Installing: /usr/local/include/iot/os [2022-02-10T17:25:46.598Z] -- Installing: /usr/local/include/iot/os/linux.h [2022-02-10T17:25:46.598Z] -- Installing: /usr/local/include/iot/os/macos.h [2022-02-10T17:25:46.598Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2022-02-10T17:25:46.598Z] -- Installing: /usr/local/include/iot/defs.h [2022-02-10T17:25:46.598Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2022-02-10T17:25:46.598Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2022-02-10T17:25:46.598Z] make: Leaving directory '/tmp/sdk/build/release' [2022-02-10T17:25:47.175Z] Removing intermediate container d82a99147f03 [2022-02-10T17:25:47.175Z] ---> 1e4cd219ef28 [2022-02-10T17:25:47.175Z] Step 16/24 : FROM ${BASE} [2022-02-10T17:25:47.175Z] ---> 621855499e4c [2022-02-10T17:25:47.175Z] Step 17/24 : LABEL maintainer="IOTech " [2022-02-10T17:25:47.175Z] ---> Running in 7413bf859ed5 [2022-02-10T17:25:47.175Z] Removing intermediate container 7413bf859ed5 [2022-02-10T17:25:47.175Z] ---> d1c8c5f5d5d5 [2022-02-10T17:25:47.175Z] Step 18/24 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2022-02-10T17:25:47.175Z] ---> Running in 303f619c636e [2022-02-10T17:25:47.436Z] Connecting to iotech.jfrog.io (34.243.182.113:443) [2022-02-10T17:25:47.695Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-02-10T17:25:47.695Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-02-10T17:25:47.695Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-02-10T17:25:47.963Z] Removing intermediate container 303f619c636e [2022-02-10T17:25:47.963Z] ---> 9d974f87ec60 [2022-02-10T17:25:47.963Z] Step 19/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2022-02-10T17:25:47.963Z] ---> Running in 46fa6fcd3817 [2022-02-10T17:25:48.537Z] Removing intermediate container 46fa6fcd3817 [2022-02-10T17:25:48.537Z] ---> ca777b4245c4 [2022-02-10T17:25:48.537Z] Step 20/24 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev-1.3 hiredis-dev [2022-02-10T17:25:48.537Z] ---> Running in 7c9a224dd541 [2022-02-10T17:25:48.537Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-02-10T17:25:49.480Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-02-10T17:25:49.744Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz [2022-02-10T17:25:50.315Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-02-10T17:25:50.315Z] (1/7) Installing curl (7.79.1-r0) [2022-02-10T17:25:50.315Z] (2/7) Installing hiredis (1.0.0-r0) [2022-02-10T17:25:50.582Z] (3/7) Installing hiredis-dev (1.0.0-r0) [2022-02-10T17:25:50.582Z] (4/7) Installing libuuid (2.37.3-r0) [2022-02-10T17:25:50.582Z] (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-02-10T17:25:51.524Z] (6/7) Installing libidn2 (2.3.1-r0) [2022-02-10T17:25:51.524Z] (7/7) Installing wget (1.21.1-r1) [2022-02-10T17:25:51.784Z] Executing busybox-1.33.1-r6.trigger [2022-02-10T17:25:51.784Z] OK: 281 MiB in 84 packages [2022-02-10T17:25:52.044Z] Removing intermediate container 7c9a224dd541 [2022-02-10T17:25:52.045Z] ---> a5adfd9e31b3 [2022-02-10T17:25:52.045Z] Step 21/24 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2022-02-10T17:25:52.307Z] ---> d76d60532c8a [2022-02-10T17:25:52.307Z] Step 22/24 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2022-02-10T17:25:52.307Z] ---> fa9a4a9f2466 [2022-02-10T17:25:52.307Z] Step 23/24 : COPY --from=builder /usr/local/lib /usr/local/lib [2022-02-10T17:25:52.568Z] ---> 7e1eaff6693e [2022-02-10T17:25:52.568Z] Step 24/24 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2022-02-10T17:25:52.829Z] ---> da691add5dd4 [2022-02-10T17:25:52.829Z] Successfully built da691add5dd4 [2022-02-10T17:25:52.829Z] 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-10T17:25:53.183Z] + docker inspect -f . ci-base-image-x86_64 [2022-02-10T17:25:53.183Z] . [Pipeline] withDockerContainer [2022-02-10T17:25:53.248Z] prd-centos7-docker-4c-2g-5000 does not seem to be running inside a container [2022-02-10T17:25:53.286Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** ci-base-image-x86_64 cat [2022-02-10T17:25:53.662Z] $ docker top 21f7a2dc9c1e3ee612d85a9fb9df33b7df73b3c46549e216859ed195ef7ef475 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-10T17:25:54.044Z] + make test [2022-02-10T17:25:54.045Z] echo "make test" [2022-02-10T17:25:54.045Z] make test [Pipeline] } [2022-02-10T17:25:54.069Z] $ docker stop --time=1 21f7a2dc9c1e3ee612d85a9fb9df33b7df73b3c46549e216859ed195ef7ef475 [2022-02-10T17:25:55.247Z] $ docker rm -f 21f7a2dc9c1e3ee612d85a9fb9df33b7df73b3c46549e216859ed195ef7ef475 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-10T17:25:56.423Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-02-10T17:25:56.711Z] + ls -al . [2022-02-10T17:25:56.711Z] total 172 [2022-02-10T17:25:56.711Z] drwxrwxr-x. 9 jenkins jenkins 4096 Feb 10 17:25 . [2022-02-10T17:25:56.711Z] drwxrwxr-x. 4 jenkins jenkins 108 Feb 10 17:24 .. [2022-02-10T17:25:56.711Z] -rw-rw-r--. 1 jenkins jenkins 3104 Feb 10 17:24 Attribution.txt [2022-02-10T17:25:56.711Z] -rw-rw-r--. 1 jenkins jenkins 8183 Feb 10 17:24 CHANGES [2022-02-10T17:25:56.711Z] drwxrwxr-x. 2 jenkins jenkins 121 Feb 10 17:24 docs [2022-02-10T17:25:56.711Z] -rw-rw-r--. 1 jenkins jenkins 108574 Feb 10 17:24 Doxyfile [2022-02-10T17:25:56.711Z] drwxrwxr-x. 8 jenkins jenkins 162 Feb 10 17:24 .git [2022-02-10T17:25:56.711Z] drwxrwxr-x. 3 jenkins jenkins 103 Feb 10 17:24 .github [2022-02-10T17:25:56.711Z] -rw-rw-r--. 1 jenkins jenkins 176 Feb 10 17:24 .gitignore [2022-02-10T17:25:56.711Z] -rw-rw-r--. 1 jenkins jenkins 677 Feb 10 17:24 GOVERNANCE.md [2022-02-10T17:25:56.711Z] drwxrwxr-x. 4 jenkins jenkins 33 Feb 10 17:24 include [2022-02-10T17:25:56.711Z] -rw-rw-r--. 1 jenkins jenkins 784 Feb 10 17:24 Jenkinsfile [2022-02-10T17:25:56.711Z] -rw-rw-r--. 1 jenkins jenkins 10174 Feb 10 17:24 LICENSE [2022-02-10T17:25:56.711Z] -rw-rw-r--. 1 jenkins jenkins 444 Feb 10 17:24 Makefile [2022-02-10T17:25:56.711Z] -rw-rw-r--. 1 jenkins jenkins 618 Feb 10 17:24 OWNERS.md [2022-02-10T17:25:56.711Z] -rw-rw-r--. 1 jenkins jenkins 4086 Feb 10 17:24 README.md [2022-02-10T17:25:56.711Z] -rw-rw-r--. 1 jenkins jenkins 7422 Feb 10 17:24 README.v2.md [2022-02-10T17:25:56.711Z] drwxrwxr-x. 2 jenkins jenkins 98 Feb 10 17:24 scripts [2022-02-10T17:25:56.711Z] drwx------. 3 jenkins jenkins 71 Feb 10 17:25 .semver [2022-02-10T17:25:56.711Z] drwxrwxr-x. 4 jenkins jenkins 50 Feb 10 17:24 src [2022-02-10T17:25:56.711Z] -rw-rw-r--. 1 jenkins jenkins 11 Feb 10 17:25 VERSION [Pipeline] isUnix [Pipeline] sh [2022-02-10T17:25:57.007Z] + 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=02161a6b4618232bfcf286377d256226a622bc2b --label arch=amd64 --label version=2.2.0-dev.4 . [2022-02-10T17:25:57.007Z] Sending build context to Docker daemon 4.477MB [2022-02-10T17:25:57.007Z] Step 1/17 : ARG BASE=alpine:3.14 [2022-02-10T17:25:57.007Z] Step 2/17 : FROM ${BASE} [2022-02-10T17:25:57.007Z] ---> da691add5dd4 [2022-02-10T17:25:57.007Z] Step 3/17 : LABEL maintainer="IOTech " [2022-02-10T17:25:57.007Z] ---> Running in 9b0765f67d7b [2022-02-10T17:25:57.267Z] Removing intermediate container 9b0765f67d7b [2022-02-10T17:25:57.267Z] ---> b721edeea3a8 [2022-02-10T17:25:57.267Z] 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-10T17:25:57.267Z] ---> Running in 3b4d1de0b91f [2022-02-10T17:25:57.526Z] --2022-02-10 17:25:57-- https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release [2022-02-10T17:25:57.526Z] Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.74.239.58, 54.72.115.12, 54.170.66.44, ... [2022-02-10T17:25:57.526Z] Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.74.239.58|:443... connected. [2022-02-10T17:25:57.786Z] HTTP request sent, awaiting response... 200 OK [2022-02-10T17:25:57.786Z] Length: unspecified [application/json] [2022-02-10T17:25:57.786Z] Saving to: '/etc/apk/keys/alpine.dev.rsa.pub' [2022-02-10T17:25:57.786Z]  [2022-02-10T17:25:57.786Z] 0K  189M=0s [2022-02-10T17:25:57.786Z] [2022-02-10T17:25:57.786Z] 2022-02-10 17:25:57 (189 MB/s) - '/etc/apk/keys/alpine.dev.rsa.pub' saved [451] [2022-02-10T17:25:57.786Z] [2022-02-10T17:25:58.048Z] Removing intermediate container 3b4d1de0b91f [2022-02-10T17:25:58.048Z] ---> 4276a5068261 [2022-02-10T17:25:58.049Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2022-02-10T17:25:58.049Z] ---> Running in a27c553b4278 [2022-02-10T17:25:58.626Z] Removing intermediate container a27c553b4278 [2022-02-10T17:25:58.626Z] ---> f500c5f84cb6 [2022-02-10T17:25:58.626Z] Step 6/17 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev-1.3 hiredis-dev && mkdir -p /edgex-c-sdk/build [2022-02-10T17:25:58.626Z] ---> Running in e631eac8a9af [2022-02-10T17:25:58.887Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-02-10T17:26:04.169Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-02-10T17:26:04.169Z] WARNING: Ignoring https://nl.alpinelinux.org/alpine/v3.14/main: temporary error (try again later) [2022-02-10T17:26:09.457Z] WARNING: Ignoring https://nl.alpinelinux.org/alpine/v3.14/community: temporary error (try again later) [2022-02-10T17:26:09.457Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz [2022-02-10T17:26:09.457Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-02-10T17:26:09.457Z] ERROR: unable to select packages: [2022-02-10T17:26:09.457Z]  ncurses-dev (no such package): [2022-02-10T17:26:09.457Z] required by: world[ncurses-dev] [2022-02-10T17:26:09.457Z] util-linux-dev (no such package): [2022-02-10T17:26:09.457Z] required by: world[util-linux-dev] [2022-02-10T17:26:09.457Z] The command '/bin/sh -c apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev-1.3 hiredis-dev && mkdir -p /edgex-c-sdk/build' returned a non-zero code: 2 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-10T17:26:09.857Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-10T17:26:09.857Z] [2022-02-10T17:26:09.857Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-02-10T17:26:10.159Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-10T17:26:10.159Z] latest: Pulling from edgex-lftools-log-publisher [2022-02-10T17:26:10.159Z] b4d181a07f80: Pulling fs layer [2022-02-10T17:26:10.159Z] a1111a8f2ec3: Pulling fs layer [2022-02-10T17:26:10.159Z] ed53099fbce6: Pulling fs layer [2022-02-10T17:26:10.159Z] dc539afda2c1: Pulling fs layer [2022-02-10T17:26:10.159Z] 77bc0d833cb6: Pulling fs layer [2022-02-10T17:26:10.159Z] 9065ff56babe: Pulling fs layer [2022-02-10T17:26:10.159Z] d287ab97295c: Pulling fs layer [2022-02-10T17:26:10.159Z] 77bc0d833cb6: Waiting [2022-02-10T17:26:10.159Z] 9065ff56babe: Waiting [2022-02-10T17:26:10.159Z] d287ab97295c: Waiting [2022-02-10T17:26:10.159Z] dc539afda2c1: Waiting [2022-02-10T17:26:10.159Z] a1111a8f2ec3: Verifying Checksum [2022-02-10T17:26:10.159Z] a1111a8f2ec3: Download complete [2022-02-10T17:26:10.159Z] dc539afda2c1: Verifying Checksum [2022-02-10T17:26:10.159Z] dc539afda2c1: Download complete [2022-02-10T17:26:10.159Z] ed53099fbce6: Verifying Checksum [2022-02-10T17:26:10.159Z] ed53099fbce6: Download complete [2022-02-10T17:26:10.159Z] 9065ff56babe: Verifying Checksum [2022-02-10T17:26:10.159Z] 9065ff56babe: Download complete [2022-02-10T17:26:10.159Z] 77bc0d833cb6: Verifying Checksum [2022-02-10T17:26:10.159Z] 77bc0d833cb6: Download complete [2022-02-10T17:26:10.422Z] b4d181a07f80: Verifying Checksum [2022-02-10T17:26:10.422Z] b4d181a07f80: Download complete [2022-02-10T17:26:10.997Z] d287ab97295c: Verifying Checksum [2022-02-10T17:26:10.997Z] d287ab97295c: Download complete [2022-02-10T17:26:11.940Z] b4d181a07f80: Pull complete [2022-02-10T17:26:11.940Z] a1111a8f2ec3: Pull complete [2022-02-10T17:26:12.889Z] ed53099fbce6: Pull complete [2022-02-10T17:26:12.889Z] dc539afda2c1: Pull complete [2022-02-10T17:26:13.150Z] 77bc0d833cb6: Pull complete [2022-02-10T17:26:13.150Z] 9065ff56babe: Pull complete [2022-02-10T17:26:18.504Z] d287ab97295c: Pull complete [2022-02-10T17:26:18.504Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-02-10T17:26:18.504Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-10T17:26:18.504Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-02-10T17:26:18.566Z] prd-centos7-docker-4c-2g-5000 does not seem to be running inside a container [2022-02-10T17:26:18.600Z] $ 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_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-02-10T17:26:21.218Z] $ docker top 19c2128a1adfa0832ecf45ea835bd26173bdb8982b27642b7171d0733fff6010 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-10T17:26:21.649Z] ---> job-cost.sh [2022-02-10T17:26:21.649Z] lf-activate-venv: SKIPPING [2022-02-10T17:26:21.649Z] INFO: No Stack... [2022-02-10T17:26:21.910Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-10T17:26:22.171Z] INFO: Archiving Costs [Pipeline] sh [2022-02-10T17:26:22.465Z] + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv [2022-02-10T17:26:22.465Z] + cut -d, -f6 [Pipeline] lock [2022-02-10T17:26:22.476Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-18-stack-cost] [2022-02-10T17:26:22.482Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-18-stack-cost] did not exist. Created. [2022-02-10T17:26:22.482Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-18-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-10T17:26:22.784Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-02-10T17:26:22.822Z] Stashed 1 file(s) [Pipeline] } [2022-02-10T17:26:22.829Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-18-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-10T17:26:22.842Z] $ docker stop --time=1 19c2128a1adfa0832ecf45ea835bd26173bdb8982b27642b7171d0733fff6010 [2022-02-10T17:26:23.972Z] $ docker rm -f 19c2128a1adfa0832ecf45ea835bd26173bdb8982b27642b7171d0733fff6010 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-02-10T17:26:24.087Z] Failed in branch amd64 [2022-02-10T17:26:47.967Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5001 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws [2022-02-10T17:26:47.978Z] Running in /w/workspace/device-sdk-c/18 [Pipeline] { [Pipeline] checkout [2022-02-10T17:26:48.133Z] Selected Git installation does not exist. Using Default [2022-02-10T17:26:48.133Z] The recommended git tool is: NONE [2022-02-10T17:26:52.521Z] using credential edgex-jenkins-ssh [2022-02-10T17:26:52.538Z] Cloning the remote Git repository [2022-02-10T17:26:52.601Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2022-02-10T17:26:52.672Z] > git init /w/workspace/device-sdk-c/18 # timeout=10 [2022-02-10T17:26:52.757Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2022-02-10T17:26:52.758Z] > git --version # timeout=10 [2022-02-10T17:26:52.779Z] > git --version # 'git version 2.17.1' [2022-02-10T17:26:52.781Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-10T17:26:52.848Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-10T17:26:53.892Z] Avoid second fetch [2022-02-10T17:26:53.892Z] Checking out Revision 02161a6b4618232bfcf286377d256226a622bc2b (main) [2022-02-10T17:26:53.856Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2022-02-10T17:26:53.878Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-10T17:26:53.915Z] > git config core.sparsecheckout # timeout=10 [2022-02-10T17:26:53.943Z] > git checkout -f 02161a6b4618232bfcf286377d256226a622bc2b # timeout=10 [2022-02-10T17:26:58.266Z] Commit message: "fix: Dont stringify array elements in readings (#399)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-10T17:26:59.196Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-02-10T17:26:59.196Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-02-10T17:26:59.196Z] Dload Upload Total Spent Left Speed [2022-02-10T17:26:59.196Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 89719 0 --:--:-- --:--:-- --:--:-- 90404 [Pipeline] sh [2022-02-10T17:26:59.717Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-02-10T17:27:00.052Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-02-10T17:27:00.052Z] + sudo tee /etc/docker/daemon.new [2022-02-10T17:27:00.052Z] { [2022-02-10T17:27:00.052Z] "registry-mirrors": [ [2022-02-10T17:27:00.052Z] "https://nexus3.edgexfoundry.org:10001" [2022-02-10T17:27:00.052Z] ], [2022-02-10T17:27:00.052Z] "bip": "10.250.0.254/24", [2022-02-10T17:27:00.052Z] "hosts": [ [2022-02-10T17:27:00.052Z] "tcp://0.0.0.0:5555", [2022-02-10T17:27:00.052Z] "unix:///var/run/docker.sock" [2022-02-10T17:27:00.052Z] ], [2022-02-10T17:27:00.052Z] "mtu": 1458, [2022-02-10T17:27:00.052Z] "selinux-enabled": true, [2022-02-10T17:27:00.052Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-02-10T17:27:00.052Z] } [Pipeline] sh [2022-02-10T17:27:00.400Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-02-10T17:27:00.744Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-10T17:27:19.084Z] provisioning config files... [2022-02-10T17:27:19.108Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/18@tmp/config4210467371672389302tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-10T17:27:19.587Z] ---> docker-login.sh [2022-02-10T17:27:19.588Z] nexus3.edgexfoundry.org:10001 [2022-02-10T17:27:20.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T17:27:20.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T17:27:20.465Z] Configure a credential helper to remove this warning. See [2022-02-10T17:27:20.465Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T17:27:20.465Z] [2022-02-10T17:27:20.465Z] Login Succeeded [2022-02-10T17:27:20.465Z] nexus3.edgexfoundry.org:10002 [2022-02-10T17:27:20.738Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T17:27:21.012Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T17:27:21.012Z] Configure a credential helper to remove this warning. See [2022-02-10T17:27:21.012Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T17:27:21.012Z] [2022-02-10T17:27:21.012Z] Login Succeeded [2022-02-10T17:27:21.012Z] nexus3.edgexfoundry.org:10003 [2022-02-10T17:27:21.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T17:27:21.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T17:27:21.291Z] Configure a credential helper to remove this warning. See [2022-02-10T17:27:21.291Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T17:27:21.291Z] [2022-02-10T17:27:21.291Z] Login Succeeded [2022-02-10T17:27:21.291Z] nexus3.edgexfoundry.org:10004 [2022-02-10T17:27:21.568Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T17:27:21.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T17:27:21.843Z] Configure a credential helper to remove this warning. See [2022-02-10T17:27:21.843Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T17:27:21.843Z] [2022-02-10T17:27:21.843Z] Login Succeeded [2022-02-10T17:27:21.843Z] docker.io [2022-02-10T17:27:22.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T17:27:22.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T17:27:22.385Z] Configure a credential helper to remove this warning. See [2022-02-10T17:27:22.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T17:27:22.385Z] [2022-02-10T17:27:22.385Z] Login Succeeded [2022-02-10T17:27:22.385Z] ---> docker-login.sh ends [Pipeline] } [2022-02-10T17:27:22.401Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-02-10T17:27:22.824Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-10T17:27:22.837Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2022-02-10T17:27:22.849Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-10T17:27:22.859Z] ========================================================= [2022-02-10T17:27:22.859Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2022-02-10T17:27:22.859Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-02-10T17:27:23.200Z] + 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-10T17:27:23.476Z] Sending build context to Docker daemon 2.725MB [2022-02-10T17:27:23.749Z] Step 1/24 : ARG BASE=alpine:3.14 [2022-02-10T17:27:23.749Z] Step 2/24 : FROM ${BASE} as builder [2022-02-10T17:27:23.749Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2022-02-10T17:27:23.749Z] be307f383ecc: Pulling fs layer [2022-02-10T17:27:23.749Z] 1d4f7adf69d7: Pulling fs layer [2022-02-10T17:27:23.749Z] 52c5421e0b32: Pulling fs layer [2022-02-10T17:27:23.749Z] 1d4f7adf69d7: Verifying Checksum [2022-02-10T17:27:23.749Z] 1d4f7adf69d7: Download complete [2022-02-10T17:27:24.024Z] be307f383ecc: Download complete [2022-02-10T17:27:24.627Z] be307f383ecc: Pull complete [2022-02-10T17:27:24.910Z] 1d4f7adf69d7: Pull complete [2022-02-10T17:27:25.900Z] 52c5421e0b32: Verifying Checksum [2022-02-10T17:27:25.900Z] 52c5421e0b32: Download complete [2022-02-10T17:27:34.170Z] 52c5421e0b32: Pull complete [2022-02-10T17:27:34.170Z] Digest: sha256:b0641e156c351091e85aa6c9760f8a7bff2808f91974893ca31a3cc47f05c631 [2022-02-10T17:27:34.170Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2022-02-10T17:27:34.170Z] ---> 3722cfcf980c [2022-02-10T17:27:34.170Z] Step 3/24 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2022-02-10T17:27:34.765Z] ---> Running in f8e78374684c [2022-02-10T17:27:35.745Z] Connecting to iotech.jfrog.io (54.229.110.245:443) [2022-02-10T17:27:36.341Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-02-10T17:27:36.341Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-02-10T17:27:36.341Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-02-10T17:27:36.937Z] Removing intermediate container f8e78374684c [2022-02-10T17:27:36.937Z] ---> 483e65814c75 [2022-02-10T17:27:36.937Z] Step 4/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2022-02-10T17:27:36.937Z] ---> Running in 165a290cd409 [2022-02-10T17:27:38.915Z] Removing intermediate container 165a290cd409 [2022-02-10T17:27:38.915Z] ---> 2cb7ad4720cf [2022-02-10T17:27:38.915Z] Step 5/24 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev-1.3 hiredis-dev [2022-02-10T17:27:38.915Z] ---> Running in 0835f083ad7c [2022-02-10T17:27:39.515Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-02-10T17:27:40.946Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-02-10T17:27:40.946Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz [2022-02-10T17:27:41.922Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-02-10T17:27:41.922Z] (1/27) Installing hiredis (1.0.0-r0) [2022-02-10T17:27:41.922Z] (2/27) Installing hiredis-dev (1.0.0-r0) [2022-02-10T17:27:41.922Z] (3/27) Installing ncurses-dev (6.2_p20210612-r0) [2022-02-10T17:27:41.922Z] (4/27) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-02-10T17:27:42.891Z] (5/27) Installing libblkid (2.37.3-r0) [2022-02-10T17:27:43.161Z] (6/27) Installing blkid (2.37.3-r0) [2022-02-10T17:27:43.161Z] (7/27) Installing libcap-ng (0.8.2-r0) [2022-02-10T17:27:43.430Z] (8/27) Installing setpriv (2.37.3-r0) [2022-02-10T17:27:43.430Z] (9/27) Installing libmount (2.37.3-r0) [2022-02-10T17:27:43.430Z] (10/27) Installing libsmartcols (2.37.3-r0) [2022-02-10T17:27:43.700Z] (11/27) Installing findmnt (2.37.3-r0) [2022-02-10T17:27:43.700Z] (12/27) Installing mcookie (2.37.3-r0) [2022-02-10T17:27:43.700Z] (13/27) Installing hexdump (2.37.3-r0) [2022-02-10T17:27:43.969Z] (14/27) Installing lsblk (2.37.3-r0) [2022-02-10T17:27:43.969Z] (15/27) Installing libuuid (2.37.3-r0) [2022-02-10T17:27:43.969Z] (16/27) Installing libfdisk (2.37.3-r0) [2022-02-10T17:27:44.239Z] (17/27) Installing sfdisk (2.37.3-r0) [2022-02-10T17:27:44.239Z] (18/27) Installing cfdisk (2.37.3-r0) [2022-02-10T17:27:44.239Z] (19/27) Installing partx (2.37.3-r0) [2022-02-10T17:27:44.507Z] (20/27) Installing flock (2.37.3-r0) [2022-02-10T17:27:44.507Z] (21/27) Installing logger (2.37.3-r0) [2022-02-10T17:27:44.507Z] (22/27) Installing uuidgen (2.37.3-r0) [2022-02-10T17:27:44.777Z] (23/27) Installing libeconf (0.3.8-r1) [2022-02-10T17:27:44.777Z] (24/27) Installing util-linux (2.37.3-r0) [2022-02-10T17:27:45.047Z] (25/27) Installing util-linux-dev (2.37.3-r0) [2022-02-10T17:27:45.320Z] (26/27) Installing libidn2 (2.3.1-r0) [2022-02-10T17:27:45.591Z] (27/27) Installing wget (1.21.1-r1) [2022-02-10T17:27:45.591Z] Executing busybox-1.33.1-r6.trigger [2022-02-10T17:27:45.591Z] OK: 286 MiB in 104 packages [2022-02-10T17:27:47.012Z] Removing intermediate container 0835f083ad7c [2022-02-10T17:27:47.012Z] ---> 2b8d9cc76c52 [2022-02-10T17:27:47.012Z] Step 6/24 : ENV CBOR_VERSION=0.5.0 [2022-02-10T17:27:47.012Z] ---> Running in 44dd274488b3 [2022-02-10T17:27:47.285Z] Removing intermediate container 44dd274488b3 [2022-02-10T17:27:47.285Z] ---> 272545302f9e [2022-02-10T17:27:47.285Z] Step 7/24 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install [2022-02-10T17:27:47.285Z] ---> Running in 7f38d1d595c6 [2022-02-10T17:27:48.258Z] --2022-02-10 17:27:48-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2022-02-10T17:27:48.258Z] Resolving github.com (github.com)... 140.82.112.4 [2022-02-10T17:27:48.258Z] Connecting to github.com (github.com)|140.82.112.4|:443... connected. [2022-02-10T17:27:48.527Z] HTTP request sent, awaiting response... 302 Found [2022-02-10T17:27:48.527Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2022-02-10T17:27:48.527Z] --2022-02-10 17:27:48-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2022-02-10T17:27:48.527Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 [2022-02-10T17:27:48.527Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. [2022-02-10T17:27:48.527Z] HTTP request sent, awaiting response... 200 OK [2022-02-10T17:27:48.527Z] Length: unspecified [application/x-gzip] [2022-02-10T17:27:48.527Z] Saving to: 'STDOUT' [2022-02-10T17:27:48.527Z]  [2022-02-10T17:27:48.800Z] 0K .......... .......... .......... .......... .......... 1.22M [2022-02-10T17:27:48.800Z] 50K .......... .......... .......... .......... .......... 2.34M [2022-02-10T17:27:48.800Z] 100K .......... .......... .......... .......... .......... 15.5M [2022-02-10T17:27:48.800Z] 150K .......... .......... .......... .......... .......... 2.77M [2022-02-10T17:27:48.800Z] 200K .......... .......... .......... .......... .......... 14.0M [2022-02-10T17:27:48.800Z] 250K .......... .......... .......... .......... .......... 3.44M [2022-02-10T17:27:48.800Z] 300K .......... .......... .......... .......... .......... 4.24M [2022-02-10T17:27:48.800Z] 350K .......... .......... .......... .......... .......... 3.82M [2022-02-10T17:27:48.800Z] 400K .......... .......... .......... .......... .......... 3.97M [2022-02-10T17:27:48.800Z] 450K .......... .......... .......... .......... .......... 3.86M [2022-02-10T17:27:48.800Z] 500K .......... .......... .......... .......... .......... 5.35M [2022-02-10T17:27:48.800Z] 550K .......... .......... .......... .......... .......... 1.84M [2022-02-10T17:27:48.801Z] 600K .......... .......... .......... .......... .......... 1.02M [2022-02-10T17:27:48.801Z] 650K .......... .......... .......... .......... .......... 1.94M [2022-02-10T17:27:48.801Z] 700K ..  3.11M=0.3s [2022-02-10T17:27:48.801Z] [2022-02-10T17:27:48.801Z] 2022-02-10 17:27:48 (2.66 MB/s) - written to stdout [719348] [2022-02-10T17:27:48.801Z] [2022-02-10T17:27:49.391Z] -- The C compiler identification is GNU 10.3.1 [2022-02-10T17:27:49.391Z] -- The CXX compiler identification is GNU 10.3.1 [2022-02-10T17:27:49.391Z] -- Detecting C compiler ABI info [2022-02-10T17:27:49.663Z] -- Detecting C compiler ABI info - done [2022-02-10T17:27:49.935Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-02-10T17:27:49.935Z] -- Detecting C compile features [2022-02-10T17:27:49.935Z] -- Detecting C compile features - done [2022-02-10T17:27:49.935Z] -- Detecting CXX compiler ABI info [2022-02-10T17:27:50.206Z] -- Detecting CXX compiler ABI info - done [2022-02-10T17:27:50.206Z] -- Check for working CXX compiler: /usr/bin/c++ - skipped [2022-02-10T17:27:50.206Z] -- Detecting CXX compile features [2022-02-10T17:27:50.206Z] -- Detecting CXX compile features - done [2022-02-10T17:27:50.206Z] -- Looking for include file endian.h [2022-02-10T17:27:50.478Z] -- Looking for include file endian.h - found [2022-02-10T17:27:50.478Z] -- Looking for sys/types.h [2022-02-10T17:27:50.750Z] -- Looking for sys/types.h - found [2022-02-10T17:27:50.750Z] -- Looking for stdint.h [2022-02-10T17:27:51.020Z] -- Looking for stdint.h - found [2022-02-10T17:27:51.020Z] -- Looking for stddef.h [2022-02-10T17:27:51.294Z] -- Looking for stddef.h - found [2022-02-10T17:27:51.294Z] -- Check size of size_t [2022-02-10T17:27:51.565Z] -- Check size of size_t - done [2022-02-10T17:27:51.565Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2022-02-10T17:27:51.565Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2022-02-10T17:27:51.565Z] asked CMake to find a package configuration file provided by "cJSON", but [2022-02-10T17:27:51.565Z] CMake did not find one. [2022-02-10T17:27:51.565Z] [2022-02-10T17:27:51.565Z] Could not find a package configuration file provided by "cJSON" with any of [2022-02-10T17:27:51.565Z] the following names: [2022-02-10T17:27:51.565Z] [2022-02-10T17:27:51.565Z] cJSONConfig.cmake [2022-02-10T17:27:51.565Z] cjson-config.cmake [2022-02-10T17:27:51.565Z] [2022-02-10T17:27:51.565Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2022-02-10T17:27:51.565Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2022-02-10T17:27:51.565Z] provides a separate development package or SDK, be sure it has been [2022-02-10T17:27:51.565Z] installed. [2022-02-10T17:27:51.565Z] [2022-02-10T17:27:51.565Z] [2022-02-10T17:27:51.565Z] -- Configuring done [2022-02-10T17:27:51.836Z] -- Generating done [2022-02-10T17:27:51.836Z] -- Build files have been written to: /tmp/cbor [2022-02-10T17:27:51.836Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2022-02-10T17:27:52.813Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2022-02-10T17:27:53.791Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2022-02-10T17:27:53.791Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2022-02-10T17:27:54.770Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2022-02-10T17:27:54.770Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2022-02-10T17:27:55.044Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2022-02-10T17:27:55.317Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2022-02-10T17:27:55.591Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2022-02-10T17:27:55.866Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2022-02-10T17:27:56.458Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2022-02-10T17:27:57.055Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2022-02-10T17:27:57.328Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2022-02-10T17:27:57.925Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2022-02-10T17:27:58.198Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2022-02-10T17:27:58.484Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2022-02-10T17:27:58.762Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2022-02-10T17:27:59.035Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2022-02-10T17:27:59.306Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2022-02-10T17:27:59.901Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2022-02-10T17:27:59.901Z] [ 40%] Linking C shared library libcbor.so [2022-02-10T17:27:59.901Z] [ 40%] Built target cbor_shared [2022-02-10T17:28:00.175Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2022-02-10T17:28:01.155Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2022-02-10T17:28:01.748Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2022-02-10T17:28:02.018Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2022-02-10T17:28:03.991Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2022-02-10T17:28:04.262Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2022-02-10T17:28:04.534Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2022-02-10T17:28:04.534Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2022-02-10T17:28:04.807Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2022-02-10T17:28:05.400Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2022-02-10T17:28:05.991Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2022-02-10T17:28:06.587Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2022-02-10T17:28:07.179Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2022-02-10T17:28:07.453Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2022-02-10T17:28:07.726Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2022-02-10T17:28:07.999Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2022-02-10T17:28:08.596Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2022-02-10T17:28:08.877Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2022-02-10T17:28:09.149Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2022-02-10T17:28:09.423Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2022-02-10T17:28:09.696Z] [ 80%] Linking C static library libcbor.a [2022-02-10T17:28:09.696Z] [ 80%] Built target cbor [2022-02-10T17:28:09.696Z] [ 82%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2022-02-10T17:28:09.968Z] [ 84%] Linking C executable readfile [2022-02-10T17:28:10.242Z] [ 84%] Built target readfile [2022-02-10T17:28:10.242Z] [ 86%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2022-02-10T17:28:10.515Z] [ 88%] Linking C executable create_items [2022-02-10T17:28:10.515Z] [ 88%] Built target create_items [2022-02-10T17:28:10.515Z] [ 90%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2022-02-10T17:28:10.788Z] [ 92%] Linking C executable sort [2022-02-10T17:28:10.788Z] [ 92%] Built target sort [2022-02-10T17:28:10.788Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2022-02-10T17:28:11.059Z] [ 96%] Linking C executable hello [2022-02-10T17:28:11.060Z] [ 96%] Built target hello [2022-02-10T17:28:11.331Z] [ 98%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2022-02-10T17:28:11.604Z] [100%] Linking C executable streaming_parser [2022-02-10T17:28:11.604Z] [100%] Built target streaming_parser [2022-02-10T17:28:11.604Z] Install the project... [2022-02-10T17:28:11.604Z] -- Install configuration: "Release" [2022-02-10T17:28:11.604Z] -- Installing: /usr/local/include/cbor/configuration.h [2022-02-10T17:28:11.604Z] -- Installing: /usr/local/lib/libcbor.a [2022-02-10T17:28:11.604Z] -- Installing: /usr/local/lib/libcbor.so.0.0.0 [2022-02-10T17:28:11.604Z] -- Installing: /usr/local/lib/libcbor.so.0 [2022-02-10T17:28:11.604Z] -- Installing: /usr/local/lib/libcbor.so [2022-02-10T17:28:11.604Z] -- Up-to-date: /usr/local/include/cbor [2022-02-10T17:28:11.604Z] -- Installing: /usr/local/include/cbor/data.h [2022-02-10T17:28:11.604Z] -- Installing: /usr/local/include/cbor/callbacks.h [2022-02-10T17:28:11.604Z] -- Installing: /usr/local/include/cbor/ints.h [2022-02-10T17:28:11.604Z] -- Installing: /usr/local/include/cbor/arrays.h [2022-02-10T17:28:11.604Z] -- Installing: /usr/local/include/cbor/maps.h [2022-02-10T17:28:11.604Z] -- Installing: /usr/local/include/cbor/tags.h [2022-02-10T17:28:11.604Z] -- Installing: /usr/local/include/cbor/serialization.h [2022-02-10T17:28:11.604Z] -- Installing: /usr/local/include/cbor/common.h [2022-02-10T17:28:11.604Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2022-02-10T17:28:11.604Z] -- Installing: /usr/local/include/cbor/internal [2022-02-10T17:28:11.604Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2022-02-10T17:28:11.604Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2022-02-10T17:28:11.604Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2022-02-10T17:28:11.604Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2022-02-10T17:28:11.604Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2022-02-10T17:28:11.604Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2022-02-10T17:28:11.604Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2022-02-10T17:28:11.604Z] -- Installing: /usr/local/include/cbor/encoding.h [2022-02-10T17:28:11.604Z] -- Installing: /usr/local/include/cbor/streaming.h [2022-02-10T17:28:11.604Z] -- Installing: /usr/local/include/cbor/strings.h [2022-02-10T17:28:11.604Z] -- Installing: /usr/local/include/cbor.h [2022-02-10T17:28:11.604Z] -- Installing: /usr/local/lib/pkgconfig/libcbor.pc [2022-02-10T17:28:13.584Z] Removing intermediate container 7f38d1d595c6 [2022-02-10T17:28:13.584Z] ---> 2aa664c82aa9 [2022-02-10T17:28:13.584Z] Step 8/24 : RUN mkdir /tmp/sdk [2022-02-10T17:28:13.584Z] ---> Running in 5a9b5a4697b4 [2022-02-10T17:28:15.561Z] Removing intermediate container 5a9b5a4697b4 [2022-02-10T17:28:15.561Z] ---> 7b5ab975850a [2022-02-10T17:28:15.561Z] Step 9/24 : COPY VERSION /tmp/sdk [2022-02-10T17:28:15.832Z] ---> a509ffea683f [2022-02-10T17:28:15.832Z] Step 10/24 : COPY src /tmp/sdk/src [2022-02-10T17:28:16.811Z] ---> a9c731451755 [2022-02-10T17:28:16.811Z] Step 11/24 : COPY include /tmp/sdk/include [2022-02-10T17:28:17.090Z] ---> cca1718b8b5a [2022-02-10T17:28:17.090Z] Step 12/24 : COPY scripts /tmp/sdk/scripts [2022-02-10T17:28:17.693Z] ---> 6766f5c77656 [2022-02-10T17:28:17.693Z] Step 13/24 : COPY LICENSE /tmp/sdk [2022-02-10T17:28:18.287Z] ---> 61f189d507e2 [2022-02-10T17:28:18.287Z] Step 14/24 : COPY Attribution.txt /tmp/sdk [2022-02-10T17:28:18.885Z] ---> ce131c6bea85 [2022-02-10T17:28:18.885Z] Step 15/24 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2022-02-10T17:28:19.164Z] ---> Running in 113a3ddff260 [2022-02-10T17:28:20.150Z] + CPPCHECK=false [2022-02-10T17:28:20.150Z] + DOCGEN=false [2022-02-10T17:28:20.150Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2022-02-10T17:28:20.150Z] + TOMLVER=SDK-0.2 [2022-02-10T17:28:20.150Z] + CUTILVER=1.2.2 [2022-02-10T17:28:20.150Z] + '[' 0 -gt 0 ] [2022-02-10T17:28:20.150Z] + readlink -f ./scripts/build.sh [2022-02-10T17:28:20.150Z] + dirname /tmp/sdk/scripts/build.sh [2022-02-10T17:28:20.150Z] + dirname /tmp/sdk/scripts [2022-02-10T17:28:20.150Z] + ROOT=/tmp/sdk [2022-02-10T17:28:20.150Z] + cd /tmp/sdk [2022-02-10T17:28:20.150Z] + '[' '!' -d deps ] [2022-02-10T17:28:20.150Z] + mkdir deps [2022-02-10T17:28:20.150Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-02-10T17:28:20.150Z] + tar -C deps -z -x -f - [2022-02-10T17:28:20.150Z] --2022-02-10 17:28:19-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-02-10T17:28:20.150Z] Resolving github.com (github.com)... 140.82.112.4 [2022-02-10T17:28:20.150Z] Connecting to github.com (github.com)|140.82.112.4|:443... connected. [2022-02-10T17:28:20.421Z] HTTP request sent, awaiting response... 302 Found [2022-02-10T17:28:20.421Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2022-02-10T17:28:20.421Z] --2022-02-10 17:28:20-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2022-02-10T17:28:20.421Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 [2022-02-10T17:28:20.421Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. [2022-02-10T17:28:20.421Z] HTTP request sent, awaiting response... 200 OK [2022-02-10T17:28:20.421Z] Length: unspecified [application/x-gzip] [2022-02-10T17:28:20.421Z] Saving to: 'STDOUT' [2022-02-10T17:28:20.421Z]  [2022-02-10T17:28:20.421Z] 0K .......... ......   809K=0.02s [2022-02-10T17:28:20.421Z] [2022-02-10T17:28:20.421Z] 2022-02-10 17:28:20 (809 KB/s) - written to stdout [16451] [2022-02-10T17:28:20.421Z] [2022-02-10T17:28:20.421Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2022-02-10T17:28:20.421Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2022-02-10T17:28:20.421Z] + tar -C deps -z -x -f - [2022-02-10T17:28:20.421Z] --2022-02-10 17:28:20-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2022-02-10T17:28:20.421Z] Resolving github.com (github.com)... 140.82.112.4 [2022-02-10T17:28:20.692Z] Connecting to github.com (github.com)|140.82.112.4|:443... connected. [2022-02-10T17:28:20.692Z] HTTP request sent, awaiting response... 302 Found [2022-02-10T17:28:20.692Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] [2022-02-10T17:28:20.692Z] --2022-02-10 17:28:20-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [2022-02-10T17:28:20.692Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 [2022-02-10T17:28:20.692Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. [2022-02-10T17:28:20.964Z] HTTP request sent, awaiting response... 200 OK [2022-02-10T17:28:20.964Z] Length: unspecified [application/x-gzip] [2022-02-10T17:28:20.964Z] Saving to: 'STDOUT' [2022-02-10T17:28:20.964Z]  [2022-02-10T17:28:20.964Z] 0K .......... .......... .......... .......... .......... 1.17M [2022-02-10T17:28:20.965Z] 50K .......... .......... .......... .......... .......... 2.53M [2022-02-10T17:28:20.965Z] 100K .......... .......... .......... .......... .......... 6.25M [2022-02-10T17:28:20.965Z] 150K .......... .......... .......... ......... 2.85M=0.08s [2022-02-10T17:28:20.965Z] [2022-02-10T17:28:20.965Z] 2022-02-10 17:28:20 (2.25 MB/s) - written to stdout [193961] [2022-02-10T17:28:20.965Z] [2022-02-10T17:28:20.965Z] + mkdir -p src/c/iot [2022-02-10T17:28:20.965Z] + 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-10T17:28:20.965Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2022-02-10T17:28:20.965Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2022-02-10T17:28:20.965Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2022-02-10T17:28:20.965Z] + mkdir -p include/iot [2022-02-10T17:28:20.965Z] + 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-10T17:28:20.965Z] + mkdir -p include/iot/os [2022-02-10T17:28:20.965Z] + 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-10T17:28:20.965Z] + mkdir -p /tmp/sdk/build/release [2022-02-10T17:28:20.965Z] + cd /tmp/sdk/build/release [2022-02-10T17:28:20.965Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2022-02-10T17:28:21.235Z] -- The C compiler identification is GNU 10.3.1 [2022-02-10T17:28:21.235Z] -- Detecting C compiler ABI info [2022-02-10T17:28:21.508Z] -- Detecting C compiler ABI info - done [2022-02-10T17:28:21.781Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-02-10T17:28:21.781Z] -- Detecting C compile features [2022-02-10T17:28:21.781Z] -- Detecting C compile features - done [2022-02-10T17:28:21.781Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-02-10T17:28:21.781Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") [2022-02-10T17:28:21.781Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-02-10T17:28:22.056Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-02-10T17:28:22.056Z] -- Found LIBCBOR: /usr/local/lib/libcbor.so [2022-02-10T17:28:22.056Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-02-10T17:28:22.056Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-02-10T17:28:22.056Z] -- C SDK 2.2.0-dev.4 for Linux [2022-02-10T17:28:22.056Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-02-10T17:28:22.328Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-02-10T17:28:22.328Z] -- Found Curses: /usr/lib/libcurses.so [2022-02-10T17:28:22.600Z] -- Configuring done [2022-02-10T17:28:22.876Z] -- Generating done [2022-02-10T17:28:22.876Z] -- Build files have been written to: /tmp/sdk/build/release [2022-02-10T17:28:22.876Z] + make+ all package [2022-02-10T17:28:22.876Z] tee release.log [2022-02-10T17:28:22.876Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-02-10T17:28:23.475Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-02-10T17:28:24.069Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-02-10T17:28:26.686Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-02-10T17:28:27.278Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-02-10T17:28:27.278Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-02-10T17:28:28.254Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-02-10T17:28:28.852Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-02-10T17:28:29.126Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-02-10T17:28:30.555Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-02-10T17:28:32.527Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-02-10T17:28:33.116Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-02-10T17:28:33.705Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-02-10T17:28:34.676Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-02-10T17:28:34.947Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-02-10T17:28:35.220Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-02-10T17:28:35.491Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-02-10T17:28:38.872Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-02-10T17:28:38.872Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-02-10T17:28:39.144Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-02-10T17:28:39.739Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-02-10T17:28:40.335Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-02-10T17:28:40.335Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-02-10T17:28:40.335Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-02-10T17:28:40.335Z] 275 | const iot_component_factory_t * factory; [2022-02-10T17:28:40.335Z] | ^~~~~~~ [2022-02-10T17:28:40.928Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-02-10T17:28:46.322Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-02-10T17:28:46.322Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-02-10T17:28:46.322Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-02-10T17:28:46.915Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-02-10T17:28:47.511Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-02-10T17:28:47.511Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-02-10T17:28:48.935Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-02-10T17:28:49.207Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-02-10T17:28:50.184Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-02-10T17:28:50.457Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-02-10T17:28:50.730Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-02-10T17:28:53.343Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-02-10T17:28:53.615Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-02-10T17:28:54.589Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-02-10T17:28:54.862Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-02-10T17:29:00.249Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-02-10T17:29:00.249Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-02-10T17:29:00.521Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-02-10T17:29:01.113Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-02-10T17:29:01.382Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-02-10T17:29:01.382Z] /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-10T17:29:01.382Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-02-10T17:29:01.382Z] | ^~~~~~~~~~~~~ [2022-02-10T17:29:01.382Z] | | [2022-02-10T17:29:01.382Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-02-10T17:29:01.382Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-10T17:29:01.383Z] /usr/include/microhttpd.h:2714: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-10T17:29:01.383Z] 2714 | MHD_KeyValueIterator iterator, [2022-02-10T17:29:01.383Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-02-10T17:29:01.383Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-02-10T17:29:01.383Z] /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-10T17:29:01.383Z] 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-10T17:29:01.383Z] | ^~~~~~~~~~~~ [2022-02-10T17:29:01.383Z] | | [2022-02-10T17:29:01.383Z] | 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-10T17:29:01.383Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-10T17:29:01.383Z] /usr/include/microhttpd.h:2443: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-10T17:29:01.383Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-02-10T17:29:01.383Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-02-10T17:29:01.383Z] /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-10T17:29:01.383Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-02-10T17:29:01.383Z] | ^~~~~~~~~~~~ [2022-02-10T17:29:01.383Z] | | [2022-02-10T17:29:01.383Z] | 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-10T17:29:01.383Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-10T17:29:01.383Z] /usr/include/microhttpd.h:2443: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-10T17:29:01.383Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-02-10T17:29:01.383Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-02-10T17:29:01.973Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-02-10T17:29:04.584Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-02-10T17:29:04.584Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-02-10T17:29:05.178Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-02-10T17:29:05.451Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-02-10T17:29:08.056Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-02-10T17:29:12.343Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-02-10T17:29:12.618Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-02-10T17:29:13.208Z] [ 76%] Linking C shared library libcsdk.so [2022-02-10T17:29:13.208Z] [ 76%] Built target csdk [2022-02-10T17:29:13.481Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-02-10T17:29:14.072Z] [ 79%] Linking C executable template [2022-02-10T17:29:14.344Z] [ 79%] Built target template [2022-02-10T17:29:14.614Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-02-10T17:29:14.886Z] [ 82%] Linking C executable device-counter [2022-02-10T17:29:15.158Z] [ 82%] Built target device-counter [2022-02-10T17:29:15.158Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-02-10T17:29:15.752Z] [ 85%] Linking C executable device-random [2022-02-10T17:29:16.024Z] [ 85%] Built target device-random [2022-02-10T17:29:16.024Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-02-10T17:29:16.618Z] [ 88%] Linking C executable device-gyro [2022-02-10T17:29:16.890Z] [ 88%] Built target device-gyro [2022-02-10T17:29:16.890Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-02-10T17:29:17.484Z] [ 91%] Linking C executable device-bitfields [2022-02-10T17:29:17.484Z] [ 91%] Built target device-bitfields [2022-02-10T17:29:17.484Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-02-10T17:29:18.458Z] [ 94%] Linking C executable template-discovery [2022-02-10T17:29:18.727Z] [ 94%] Built target template-discovery [2022-02-10T17:29:18.727Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-02-10T17:29:19.316Z] [ 97%] Linking C executable device-file [2022-02-10T17:29:19.590Z] [ 97%] Built target device-file [2022-02-10T17:29:19.590Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-02-10T17:29:20.182Z] [100%] Linking C executable device-terminal [2022-02-10T17:29:20.455Z] [100%] Built target device-terminal [2022-02-10T17:29:20.727Z] Run CPack packaging tool... [2022-02-10T17:29:20.727Z] CPack: Create package using TGZ [2022-02-10T17:29:20.727Z] CPack: Install projects [2022-02-10T17:29:20.727Z] CPack: - Run preinstall target for: Csdk [2022-02-10T17:29:21.317Z] CPack: - Install project: Csdk [] [2022-02-10T17:29:21.317Z] CPack: Create package [2022-02-10T17:29:21.589Z] CPack: - package: /tmp/sdk/build/release/csdk-2.2.0-dev.4.tar.gz generated. [2022-02-10T17:29:21.589Z] + '[' false '=' true ] [2022-02-10T17:29:21.589Z] + '[' false '=' true ] [2022-02-10T17:29:21.589Z] + mkdir -p /tmp/sdk/build/debug [2022-02-10T17:29:21.589Z] + cd /tmp/sdk/build/debug [2022-02-10T17:29:21.589Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2022-02-10T17:29:21.862Z] -- The C compiler identification is GNU 10.3.1 [2022-02-10T17:29:21.862Z] -- Detecting C compiler ABI info [2022-02-10T17:29:22.135Z] -- Detecting C compiler ABI info - done [2022-02-10T17:29:22.135Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-02-10T17:29:22.135Z] -- Detecting C compile features [2022-02-10T17:29:22.135Z] -- Detecting C compile features - done [2022-02-10T17:29:22.135Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-02-10T17:29:22.407Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") [2022-02-10T17:29:22.407Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-02-10T17:29:22.407Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-02-10T17:29:22.407Z] -- Found LIBCBOR: /usr/local/lib/libcbor.so [2022-02-10T17:29:22.407Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-02-10T17:29:22.407Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-02-10T17:29:22.407Z] -- C SDK 2.2.0-dev.4 for Linux [2022-02-10T17:29:22.407Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-02-10T17:29:22.679Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-02-10T17:29:22.951Z] -- Found Curses: /usr/lib/libcurses.so [2022-02-10T17:29:22.951Z] -- Configuring done [2022-02-10T17:29:23.227Z] -- Generating done [2022-02-10T17:29:23.227Z] -- Build files have been written to: /tmp/sdk/build/debug [2022-02-10T17:29:23.227Z] + make [2022-02-10T17:29:23.227Z] + tee debug.log [2022-02-10T17:29:23.227Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-02-10T17:29:23.820Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-02-10T17:29:24.090Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-02-10T17:29:24.681Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-02-10T17:29:24.953Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-02-10T17:29:25.228Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-02-10T17:29:25.503Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-02-10T17:29:25.776Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-02-10T17:29:26.047Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-02-10T17:29:26.640Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-02-10T17:29:27.234Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-02-10T17:29:27.506Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-02-10T17:29:27.776Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-02-10T17:29:28.051Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-02-10T17:29:28.645Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-02-10T17:29:28.645Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-02-10T17:29:28.917Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-02-10T17:29:29.893Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-02-10T17:29:29.893Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-02-10T17:29:30.167Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-02-10T17:29:30.439Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-02-10T17:29:30.710Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-02-10T17:29:30.710Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-02-10T17:29:30.710Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-02-10T17:29:30.710Z] 275 | const iot_component_factory_t * factory; [2022-02-10T17:29:30.710Z] | ^~~~~~~ [2022-02-10T17:29:30.980Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-02-10T17:29:32.402Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-02-10T17:29:32.402Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-02-10T17:29:32.402Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-02-10T17:29:32.673Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-02-10T17:29:32.942Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-02-10T17:29:33.211Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-02-10T17:29:33.481Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-02-10T17:29:33.750Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-02-10T17:29:34.020Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-02-10T17:29:34.289Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-02-10T17:29:34.559Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-02-10T17:29:34.828Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-02-10T17:29:35.101Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-02-10T17:29:35.691Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-02-10T17:29:35.960Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-02-10T17:29:36.928Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-02-10T17:29:37.198Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-02-10T17:29:37.468Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-02-10T17:29:37.741Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-02-10T17:29:38.010Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2022-02-10T17:29:38.010Z] /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-10T17:29:38.010Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2022-02-10T17:29:38.010Z] | ^~~~~~~~~~~~~ [2022-02-10T17:29:38.010Z] | | [2022-02-10T17:29:38.010Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2022-02-10T17:29:38.010Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-10T17:29:38.010Z] /usr/include/microhttpd.h:2714: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-10T17:29:38.010Z] 2714 | MHD_KeyValueIterator iterator, [2022-02-10T17:29:38.010Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2022-02-10T17:29:38.010Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2022-02-10T17:29:38.010Z] /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-10T17:29:38.010Z] 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-10T17:29:38.010Z] | ^~~~~~~~~~~~ [2022-02-10T17:29:38.010Z] | | [2022-02-10T17:29:38.010Z] | 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-10T17:29:38.010Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-10T17:29:38.010Z] /usr/include/microhttpd.h:2443: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-10T17:29:38.010Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-02-10T17:29:38.010Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-02-10T17:29:38.010Z] /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-10T17:29:38.010Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2022-02-10T17:29:38.010Z] | ^~~~~~~~~~~~ [2022-02-10T17:29:38.010Z] | | [2022-02-10T17:29:38.010Z] | 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-10T17:29:38.010Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2022-02-10T17:29:38.010Z] /usr/include/microhttpd.h:2443: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-10T17:29:38.010Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2022-02-10T17:29:38.010Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2022-02-10T17:29:38.280Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-02-10T17:29:39.705Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-02-10T17:29:39.974Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-02-10T17:29:40.252Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-02-10T17:29:40.523Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-02-10T17:29:41.114Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-02-10T17:29:42.088Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-02-10T17:29:42.088Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-02-10T17:29:42.371Z] [ 76%] Linking C shared library libcsdk.so [2022-02-10T17:29:42.642Z] [ 76%] Built target csdk [2022-02-10T17:29:42.642Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-02-10T17:29:43.234Z] [ 79%] Linking C executable template [2022-02-10T17:29:43.234Z] [ 79%] Built target template [2022-02-10T17:29:43.234Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-02-10T17:29:43.504Z] [ 82%] Linking C executable device-counter [2022-02-10T17:29:43.774Z] [ 82%] Built target device-counter [2022-02-10T17:29:43.774Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-02-10T17:29:44.046Z] [ 85%] Linking C executable device-random [2022-02-10T17:29:44.317Z] [ 85%] Built target device-random [2022-02-10T17:29:44.317Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-02-10T17:29:44.586Z] [ 88%] Linking C executable device-gyro [2022-02-10T17:29:44.856Z] [ 88%] Built target device-gyro [2022-02-10T17:29:44.856Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-02-10T17:29:45.127Z] [ 91%] Linking C executable device-bitfields [2022-02-10T17:29:45.397Z] [ 91%] Built target device-bitfields [2022-02-10T17:29:45.397Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-02-10T17:29:45.986Z] [ 94%] Linking C executable template-discovery [2022-02-10T17:29:45.986Z] [ 94%] Built target template-discovery [2022-02-10T17:29:45.986Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-02-10T17:29:46.256Z] [ 97%] Linking C executable device-file [2022-02-10T17:29:46.526Z] [ 97%] Built target device-file [2022-02-10T17:29:46.795Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-02-10T17:29:47.065Z] [100%] Linking C executable device-terminal [2022-02-10T17:29:47.335Z] [100%] Built target device-terminal [2022-02-10T17:29:47.335Z] make: Entering directory '/tmp/sdk/build/release' [2022-02-10T17:29:47.335Z] make[1]: Entering directory '/tmp/sdk/build/release' [2022-02-10T17:29:47.335Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-10T17:29:47.335Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-10T17:29:47.335Z] [ 76%] Built target csdk [2022-02-10T17:29:47.335Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-10T17:29:47.606Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-10T17:29:47.606Z] [ 79%] Built target template [2022-02-10T17:29:47.606Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-10T17:29:47.606Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-10T17:29:47.606Z] [ 82%] Built target device-counter [2022-02-10T17:29:47.606Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-10T17:29:47.606Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-10T17:29:47.606Z] [ 85%] Built target device-random [2022-02-10T17:29:47.606Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-10T17:29:47.606Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-10T17:29:47.606Z] [ 88%] Built target device-gyro [2022-02-10T17:29:47.606Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-10T17:29:47.606Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-10T17:29:47.606Z] [ 91%] Built target device-bitfields [2022-02-10T17:29:47.606Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-10T17:29:47.606Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-10T17:29:47.606Z] [ 94%] Built target template-discovery [2022-02-10T17:29:47.606Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-10T17:29:47.606Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-10T17:29:47.878Z] [ 97%] Built target device-file [2022-02-10T17:29:47.878Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-02-10T17:29:47.878Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-02-10T17:29:47.878Z] [100%] Built target device-terminal [2022-02-10T17:29:47.878Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2022-02-10T17:29:47.878Z] Install the project... [2022-02-10T17:29:47.878Z] -- Install configuration: "Release" [2022-02-10T17:29:47.878Z] -- Installing: /usr/local/lib/libcsdk.so [2022-02-10T17:29:47.878Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2022-02-10T17:29:47.878Z] -- Up-to-date: /usr/local/include [2022-02-10T17:29:47.878Z] -- Installing: /usr/local/include/edgex [2022-02-10T17:29:47.878Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2022-02-10T17:29:47.878Z] -- Installing: /usr/local/include/edgex/devices.h [2022-02-10T17:29:47.878Z] -- Installing: /usr/local/include/edgex/rest-server.h [2022-02-10T17:29:47.878Z] -- Installing: /usr/local/include/edgex/profiles.h [2022-02-10T17:29:47.878Z] -- Installing: /usr/local/include/edgex/edgex.h [2022-02-10T17:29:47.878Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2022-02-10T17:29:47.878Z] -- Installing: /usr/local/include/devsdk [2022-02-10T17:29:47.878Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2022-02-10T17:29:47.878Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2022-02-10T17:29:47.878Z] -- Installing: /usr/local/include/iot [2022-02-10T17:29:47.878Z] -- Installing: /usr/local/include/iot/data.h [2022-02-10T17:29:47.878Z] -- Installing: /usr/local/include/iot/config.h [2022-02-10T17:29:47.878Z] -- Installing: /usr/local/include/iot/container.h [2022-02-10T17:29:47.878Z] -- Installing: /usr/local/include/iot/typecode.h [2022-02-10T17:29:47.878Z] -- Installing: /usr/local/include/iot/thread.h [2022-02-10T17:29:47.878Z] -- Installing: /usr/local/include/iot/hash.h [2022-02-10T17:29:47.878Z] -- Installing: /usr/local/include/iot/iot.h [2022-02-10T17:29:47.878Z] -- Installing: /usr/local/include/iot/defs.h [2022-02-10T17:29:47.878Z] -- Installing: /usr/local/include/iot/uuid.h [2022-02-10T17:29:47.878Z] -- Installing: /usr/local/include/iot/component.h [2022-02-10T17:29:47.878Z] -- Installing: /usr/local/include/iot/threadpool.h [2022-02-10T17:29:47.879Z] -- Installing: /usr/local/include/iot/time.h [2022-02-10T17:29:47.879Z] -- Installing: /usr/local/include/iot/logger.h [2022-02-10T17:29:47.879Z] -- Installing: /usr/local/include/iot/os [2022-02-10T17:29:47.879Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2022-02-10T17:29:47.879Z] -- Installing: /usr/local/include/iot/os/macos.h [2022-02-10T17:29:47.879Z] -- Installing: /usr/local/include/iot/os/linux.h [2022-02-10T17:29:47.879Z] -- Installing: /usr/local/include/iot/json.h [2022-02-10T17:29:47.879Z] -- Installing: /usr/local/include/iot/scheduler.h [2022-02-10T17:29:47.879Z] -- Installing: /usr/local/include/iot/base64.h [2022-02-10T17:29:47.879Z] -- Installing: /usr/local/include/iot/os.h [2022-02-10T17:29:47.879Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2022-02-10T17:29:47.879Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2022-02-10T17:29:47.879Z] make: Leaving directory '/tmp/sdk/build/release' [2022-02-10T17:29:49.842Z] Removing intermediate container 113a3ddff260 [2022-02-10T17:29:49.842Z] ---> 2b6bd25344e7 [2022-02-10T17:29:49.842Z] Step 16/24 : FROM ${BASE} [2022-02-10T17:29:49.842Z] ---> 3722cfcf980c [2022-02-10T17:29:49.842Z] Step 17/24 : LABEL maintainer="IOTech " [2022-02-10T17:29:49.842Z] ---> Running in efc1f1788121 [2022-02-10T17:29:49.842Z] Removing intermediate container efc1f1788121 [2022-02-10T17:29:49.842Z] ---> 87592ac9ad04 [2022-02-10T17:29:49.842Z] Step 18/24 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2022-02-10T17:29:50.116Z] ---> Running in 5a20dc7d3125 [2022-02-10T17:29:51.087Z] Connecting to iotech.jfrog.io (54.72.115.12:443) [2022-02-10T17:29:51.358Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-02-10T17:29:51.358Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-02-10T17:29:51.358Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-02-10T17:29:51.953Z] Removing intermediate container 5a20dc7d3125 [2022-02-10T17:29:51.953Z] ---> 1d6640ec468a [2022-02-10T17:29:51.953Z] Step 19/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2022-02-10T17:29:52.224Z] ---> Running in ff70ac920108 [2022-02-10T17:29:53.667Z] Removing intermediate container ff70ac920108 [2022-02-10T17:29:53.667Z] ---> c404ce7e9789 [2022-02-10T17:29:53.667Z] Step 20/24 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev-1.3 hiredis-dev [2022-02-10T17:29:53.667Z] ---> Running in 362cd719d25a [2022-02-10T17:29:54.639Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-02-10T17:29:55.608Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-02-10T17:29:55.878Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz [2022-02-10T17:29:56.849Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-02-10T17:29:56.849Z] (1/7) Installing curl (7.79.1-r0) [2022-02-10T17:29:56.849Z] (2/7) Installing hiredis (1.0.0-r0) [2022-02-10T17:29:56.849Z] (3/7) Installing hiredis-dev (1.0.0-r0) [2022-02-10T17:29:56.849Z] (4/7) Installing libuuid (2.37.3-r0) [2022-02-10T17:29:57.121Z] (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2022-02-10T17:29:57.712Z] (6/7) Installing libidn2 (2.3.1-r0) [2022-02-10T17:29:57.983Z] (7/7) Installing wget (1.21.1-r1) [2022-02-10T17:29:58.257Z] Executing busybox-1.33.1-r6.trigger [2022-02-10T17:29:58.257Z] OK: 276 MiB in 84 packages [2022-02-10T17:29:59.229Z] Removing intermediate container 362cd719d25a [2022-02-10T17:29:59.229Z] ---> 135626ee009a [2022-02-10T17:29:59.229Z] Step 21/24 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2022-02-10T17:29:59.822Z] ---> 9ddf2b280f92 [2022-02-10T17:29:59.822Z] Step 22/24 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2022-02-10T17:30:00.421Z] ---> 1cb143310632 [2022-02-10T17:30:00.421Z] Step 23/24 : COPY --from=builder /usr/local/lib /usr/local/lib [2022-02-10T17:30:01.021Z] ---> d0620f330f93 [2022-02-10T17:30:01.021Z] Step 24/24 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2022-02-10T17:30:01.620Z] ---> ead0b40cb62d [2022-02-10T17:30:01.620Z] Successfully built ead0b40cb62d [2022-02-10T17:30:01.620Z] 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-10T17:30:02.034Z] + docker inspect -f . ci-base-image-arm64 [2022-02-10T17:30:02.034Z] . [Pipeline] withDockerContainer [2022-02-10T17:30:02.237Z] prd-ubuntu18.04-docker-arm64-4c-16g-5001 does not seem to be running inside a container [2022-02-10T17:30:02.319Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/18 -v /w/workspace/device-sdk-c/18:/w/workspace/device-sdk-c/18:rw,z -v /w/workspace/device-sdk-c/18@tmp:/w/workspace/device-sdk-c/18@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 ******** ci-base-image-arm64 cat [2022-02-10T17:30:03.654Z] $ docker top ed11b660d5a3458ca8d02197a4c2744fd87c288e0d3036b23347bd64614b41de -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-10T17:30:04.523Z] + make test [2022-02-10T17:30:04.523Z] echo "make test" [2022-02-10T17:30:04.523Z] make test [Pipeline] } [2022-02-10T17:30:04.545Z] $ docker stop --time=1 ed11b660d5a3458ca8d02197a4c2744fd87c288e0d3036b23347bd64614b41de [2022-02-10T17:30:06.197Z] $ docker rm -f ed11b660d5a3458ca8d02197a4c2744fd87c288e0d3036b23347bd64614b41de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-10T17:30:06.808Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-02-10T17:30:07.148Z] + ls -al . [2022-02-10T17:30:07.148Z] total 200 [2022-02-10T17:30:07.148Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 10 17:26 . [2022-02-10T17:30:07.148Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 10 17:26 .. [2022-02-10T17:30:07.148Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 10 17:26 .git [2022-02-10T17:30:07.148Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 10 17:26 .github [2022-02-10T17:30:07.148Z] -rw-rw-r-- 1 jenkins jenkins 176 Feb 10 17:26 .gitignore [2022-02-10T17:30:07.148Z] -rw-rw-r-- 1 jenkins jenkins 3104 Feb 10 17:26 Attribution.txt [2022-02-10T17:30:07.148Z] -rw-rw-r-- 1 jenkins jenkins 8183 Feb 10 17:26 CHANGES [2022-02-10T17:30:07.148Z] -rw-rw-r-- 1 jenkins jenkins 108574 Feb 10 17:26 Doxyfile [2022-02-10T17:30:07.148Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 10 17:26 GOVERNANCE.md [2022-02-10T17:30:07.148Z] -rw-rw-r-- 1 jenkins jenkins 784 Feb 10 17:26 Jenkinsfile [2022-02-10T17:30:07.148Z] -rw-rw-r-- 1 jenkins jenkins 10174 Feb 10 17:26 LICENSE [2022-02-10T17:30:07.148Z] -rw-rw-r-- 1 jenkins jenkins 444 Feb 10 17:26 Makefile [2022-02-10T17:30:07.148Z] -rw-rw-r-- 1 jenkins jenkins 618 Feb 10 17:26 OWNERS.md [2022-02-10T17:30:07.148Z] -rw-rw-r-- 1 jenkins jenkins 4086 Feb 10 17:26 README.md [2022-02-10T17:30:07.148Z] -rw-rw-r-- 1 jenkins jenkins 7422 Feb 10 17:26 README.v2.md [2022-02-10T17:30:07.148Z] -rw-rw-r-- 1 jenkins jenkins 11 Feb 10 17:25 VERSION [2022-02-10T17:30:07.148Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 10 17:26 docs [2022-02-10T17:30:07.148Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 10 17:26 include [2022-02-10T17:30:07.148Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 10 17:26 scripts [2022-02-10T17:30:07.148Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 10 17:26 src [Pipeline] isUnix [Pipeline] sh [2022-02-10T17:30:07.490Z] + 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=02161a6b4618232bfcf286377d256226a622bc2b --label arch=arm64 --label version=2.2.0-dev.4 . [2022-02-10T17:30:07.764Z] Sending build context to Docker daemon 2.725MB [2022-02-10T17:30:07.764Z] Step 1/17 : ARG BASE=alpine:3.14 [2022-02-10T17:30:07.764Z] Step 2/17 : FROM ${BASE} [2022-02-10T17:30:07.764Z] ---> ead0b40cb62d [2022-02-10T17:30:07.764Z] Step 3/17 : LABEL maintainer="IOTech " [2022-02-10T17:30:08.036Z] ---> Running in fa75b557daba [2022-02-10T17:30:08.307Z] Removing intermediate container fa75b557daba [2022-02-10T17:30:08.307Z] ---> f413de9f66ae [2022-02-10T17:30:08.307Z] 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-10T17:30:08.584Z] ---> Running in 6fdf15aaaf64 [2022-02-10T17:30:09.560Z] --2022-02-10 17:30:09-- https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release [2022-02-10T17:30:09.560Z] Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.229.110.245, 54.72.115.12, 54.170.66.44, ... [2022-02-10T17:30:09.560Z] Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.229.110.245|:443... connected. [2022-02-10T17:30:09.831Z] HTTP request sent, awaiting response... 200 OK [2022-02-10T17:30:09.831Z] Length: unspecified [application/json] [2022-02-10T17:30:09.831Z] Saving to: '/etc/apk/keys/alpine.dev.rsa.pub' [2022-02-10T17:30:09.831Z]  [2022-02-10T17:30:09.831Z] 0K 39.9M=0s [2022-02-10T17:30:09.831Z] [2022-02-10T17:30:09.831Z] 2022-02-10 17:30:09 (39.9 MB/s) - '/etc/apk/keys/alpine.dev.rsa.pub' saved [451] [2022-02-10T17:30:09.831Z] [2022-02-10T17:30:10.424Z] Removing intermediate container 6fdf15aaaf64 [2022-02-10T17:30:10.424Z] ---> 7e86b75cea7a [2022-02-10T17:30:10.424Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2022-02-10T17:30:10.699Z] ---> Running in 166c55d0101b [2022-02-10T17:30:12.132Z] Removing intermediate container 166c55d0101b [2022-02-10T17:30:12.132Z] ---> f6db63cd51bc [2022-02-10T17:30:12.132Z] Step 6/17 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev-1.3 hiredis-dev && mkdir -p /edgex-c-sdk/build [2022-02-10T17:30:12.408Z] ---> Running in c35341ee8ae1 [2022-02-10T17:30:13.385Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-02-10T17:30:14.356Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-02-10T17:30:14.626Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz [2022-02-10T17:30:15.601Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-02-10T17:30:15.601Z] (1/21) Installing ncurses-dev (6.2_p20210612-r0) [2022-02-10T17:30:15.601Z] (2/21) Installing libblkid (2.37.3-r0) [2022-02-10T17:30:15.601Z] (3/21) Installing blkid (2.37.3-r0) [2022-02-10T17:30:15.873Z] (4/21) Installing libcap-ng (0.8.2-r0) [2022-02-10T17:30:15.873Z] (5/21) Installing setpriv (2.37.3-r0) [2022-02-10T17:30:15.873Z] (6/21) Installing libmount (2.37.3-r0) [2022-02-10T17:30:16.143Z] (7/21) Installing libsmartcols (2.37.3-r0) [2022-02-10T17:30:16.143Z] (8/21) Installing findmnt (2.37.3-r0) [2022-02-10T17:30:16.143Z] (9/21) Installing mcookie (2.37.3-r0) [2022-02-10T17:30:16.414Z] (10/21) Installing hexdump (2.37.3-r0) [2022-02-10T17:30:16.414Z] (11/21) Installing lsblk (2.37.3-r0) [2022-02-10T17:30:16.414Z] (12/21) Installing libfdisk (2.37.3-r0) [2022-02-10T17:30:16.684Z] (13/21) Installing sfdisk (2.37.3-r0) [2022-02-10T17:30:16.684Z] (14/21) Installing cfdisk (2.37.3-r0) [2022-02-10T17:30:16.684Z] (15/21) Installing partx (2.37.3-r0) [2022-02-10T17:30:16.955Z] (16/21) Installing flock (2.37.3-r0) [2022-02-10T17:30:16.955Z] (17/21) Installing logger (2.37.3-r0) [2022-02-10T17:30:16.955Z] (18/21) Installing uuidgen (2.37.3-r0) [2022-02-10T17:30:17.228Z] (19/21) Installing libeconf (0.3.8-r1) [2022-02-10T17:30:17.228Z] (20/21) Installing util-linux (2.37.3-r0) [2022-02-10T17:30:17.499Z] (21/21) Installing util-linux-dev (2.37.3-r0) [2022-02-10T17:30:17.770Z] Executing busybox-1.33.1-r6.trigger [2022-02-10T17:30:17.770Z] OK: 286 MiB in 105 packages [2022-02-10T17:30:19.198Z] Removing intermediate container c35341ee8ae1 [2022-02-10T17:30:19.198Z] ---> 4984c0ec8f42 [2022-02-10T17:30:19.198Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2022-02-10T17:30:19.800Z] ---> f920ea9377d5 [2022-02-10T17:30:19.800Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2022-02-10T17:30:20.392Z] ---> fcf4a715b408 [2022-02-10T17:30:20.392Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2022-02-10T17:30:20.987Z] ---> cbf3a2370dcb [2022-02-10T17:30:20.987Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2022-02-10T17:30:21.580Z] ---> f2bd0c4af6b3 [2022-02-10T17:30:21.581Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2022-02-10T17:30:22.174Z] ---> 6bae1efbe604 [2022-02-10T17:30:22.175Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2022-02-10T17:30:22.767Z] ---> c7b661902302 [2022-02-10T17:30:22.767Z] Step 13/17 : WORKDIR /edgex-c-sdk [2022-02-10T17:30:23.038Z] ---> Running in 4f200c0c3b81 [2022-02-10T17:30:23.314Z] Removing intermediate container 4f200c0c3b81 [2022-02-10T17:30:23.314Z] ---> 804daeb7e884 [2022-02-10T17:30:23.314Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2022-02-10T17:30:23.314Z] ---> Running in 354bb05e88c5 [2022-02-10T17:30:23.907Z] Removing intermediate container 354bb05e88c5 [2022-02-10T17:30:23.907Z] ---> b805b6aa7123 [2022-02-10T17:30:23.907Z] Step 15/17 : LABEL arch=arm64 [2022-02-10T17:30:23.907Z] ---> Running in 5cd18c30b000 [2022-02-10T17:30:24.179Z] Removing intermediate container 5cd18c30b000 [2022-02-10T17:30:24.179Z] ---> 0e3cda3e1497 [2022-02-10T17:30:24.179Z] Step 16/17 : LABEL git_sha=02161a6b4618232bfcf286377d256226a622bc2b [2022-02-10T17:30:24.449Z] ---> Running in 2ea5f2d30795 [2022-02-10T17:30:24.721Z] Removing intermediate container 2ea5f2d30795 [2022-02-10T17:30:24.721Z] ---> 4e2f1e0e82d8 [2022-02-10T17:30:24.721Z] Step 17/17 : LABEL version=2.2.0-dev.4 [2022-02-10T17:30:24.721Z] ---> Running in 49bab2ffdad7 [2022-02-10T17:30:24.996Z] Removing intermediate container 49bab2ffdad7 [2022-02-10T17:30:24.996Z] ---> 98a8030d6361 [2022-02-10T17:30:24.996Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-02-10T17:30:25.267Z] Successfully built 98a8030d6361 [2022-02-10T17:30:25.267Z] 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-10T17:30:25.737Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-10T17:30:25.737Z] [2022-02-10T17:30:25.737Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-02-10T17:30:26.106Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-10T17:30:26.388Z] arm64: Pulling from edgex-lftools-log-publisher [2022-02-10T17:30:26.388Z] 448f6bf000e3: Pulling fs layer [2022-02-10T17:30:26.388Z] f757da607395: Pulling fs layer [2022-02-10T17:30:26.388Z] 05883995daec: Pulling fs layer [2022-02-10T17:30:26.388Z] 8603b9c90790: Pulling fs layer [2022-02-10T17:30:26.388Z] 1560dd03e051: Pulling fs layer [2022-02-10T17:30:26.388Z] 27f5ce0e4adf: Pulling fs layer [2022-02-10T17:30:26.388Z] c2d8d7efcc4b: Pulling fs layer [2022-02-10T17:30:26.388Z] 1560dd03e051: Waiting [2022-02-10T17:30:26.388Z] 27f5ce0e4adf: Waiting [2022-02-10T17:30:26.388Z] c2d8d7efcc4b: Waiting [2022-02-10T17:30:26.388Z] 8603b9c90790: Waiting [2022-02-10T17:30:26.388Z] f757da607395: Verifying Checksum [2022-02-10T17:30:26.388Z] f757da607395: Download complete [2022-02-10T17:30:26.388Z] 8603b9c90790: Verifying Checksum [2022-02-10T17:30:26.388Z] 8603b9c90790: Download complete [2022-02-10T17:30:26.675Z] 1560dd03e051: Verifying Checksum [2022-02-10T17:30:26.675Z] 1560dd03e051: Download complete [2022-02-10T17:30:26.675Z] 27f5ce0e4adf: Verifying Checksum [2022-02-10T17:30:26.675Z] 27f5ce0e4adf: Download complete [2022-02-10T17:30:26.675Z] 05883995daec: Verifying Checksum [2022-02-10T17:30:26.675Z] 05883995daec: Download complete [2022-02-10T17:30:26.963Z] 448f6bf000e3: Verifying Checksum [2022-02-10T17:30:26.963Z] 448f6bf000e3: Download complete [2022-02-10T17:30:30.384Z] c2d8d7efcc4b: Verifying Checksum [2022-02-10T17:30:30.384Z] c2d8d7efcc4b: Download complete [2022-02-10T17:30:31.403Z] 448f6bf000e3: Pull complete [2022-02-10T17:30:32.392Z] f757da607395: Pull complete [2022-02-10T17:30:33.840Z] 05883995daec: Pull complete [2022-02-10T17:30:34.112Z] 8603b9c90790: Pull complete [2022-02-10T17:30:35.084Z] 1560dd03e051: Pull complete [2022-02-10T17:30:35.084Z] 27f5ce0e4adf: Pull complete [2022-02-10T17:30:50.129Z] c2d8d7efcc4b: Pull complete [2022-02-10T17:30:50.129Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-02-10T17:30:50.129Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-10T17:30:50.129Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-02-10T17:30:50.342Z] prd-ubuntu18.04-docker-arm64-4c-16g-5001 does not seem to be running inside a container [2022-02-10T17:30:50.417Z] $ 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/18 -v /w/workspace/device-sdk-c/18:/w/workspace/device-sdk-c/18:rw,z -v /w/workspace/device-sdk-c/18@tmp:/w/workspace/device-sdk-c/18@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-02-10T17:30:52.919Z] $ docker top 6e3cce03ffd378dddb38460aed95d41d0a2af7c4c3d208eb30bacff035f18e67 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-10T17:30:53.794Z] ---> job-cost.sh [2022-02-10T17:30:53.794Z] lf-activate-venv: SKIPPING [2022-02-10T17:30:53.794Z] INFO: No Stack... [2022-02-10T17:30:54.383Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-02-10T17:30:54.652Z] INFO: Archiving Costs [Pipeline] sh [2022-02-10T17:30:55.306Z] + cut -d, -f6 [2022-02-10T17:30:55.306Z] + cat /w/workspace/device-sdk-c/18/archives/cost.csv [Pipeline] lock [2022-02-10T17:30:55.370Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-18-stack-cost] [2022-02-10T17:30:55.376Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-18-stack-cost] did not exist. Created. [2022-02-10T17:30:55.376Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-18-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-10T17:30:56.040Z] /w/workspace/device-sdk-c/18@tmp/durable-882881ad/script.sh: 1: /w/workspace/device-sdk-c/18@tmp/durable-882881ad/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-02-10T17:30:56.700Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-02-10T17:30:56.719Z] Warning: overwriting stash ‘stack-cost’ [2022-02-10T17:30:57.152Z] Stashed 1 file(s) [Pipeline] } [2022-02-10T17:30:57.158Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-18-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-10T17:30:57.176Z] $ docker stop --time=1 6e3cce03ffd378dddb38460aed95d41d0a2af7c4c3d208eb30bacff035f18e67 [2022-02-10T17:30:58.650Z] $ docker rm -f 6e3cce03ffd378dddb38460aed95d41d0a2af7c4c3d208eb30bacff035f18e67 [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 earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-02-10T17:30:59.568Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ']' [2022-02-10T17:30:59.568Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2022-02-10T17:30:59.568Z] total 8 [2022-02-10T17:30:59.568Z] drwxr-xr-x. 3 root root 34 Feb 10 17:26 . [2022-02-10T17:30:59.568Z] drwxrwxr-x. 10 jenkins jenkins 4096 Feb 10 17:26 .. [2022-02-10T17:30:59.568Z] drwxr-xr-x. 2 root root 6 Feb 10 17:26 cost [2022-02-10T17:30:59.568Z] -rw-r--r--. 1 root root 82 Feb 10 17:26 cost.csv [2022-02-10T17:30:59.568Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives [2022-02-10T17:30:59.568Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2022-02-10T17:30:59.568Z] total 8 [2022-02-10T17:30:59.568Z] drwxr-xr-x. 3 jenkins jenkins 34 Feb 10 17:26 . [2022-02-10T17:30:59.568Z] drwxrwxr-x. 10 jenkins jenkins 4096 Feb 10 17:26 .. [2022-02-10T17:30:59.568Z] drwxr-xr-x. 2 jenkins jenkins 6 Feb 10 17:26 cost [2022-02-10T17:30:59.568Z] -rw-r--r--. 1 jenkins jenkins 82 Feb 10 17:26 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-02-10T17:31:00.045Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-10T17:31:00.608Z] ---> package-listing.sh [2022-02-10T17:31:00.608Z] ++ facter osfamily [2022-02-10T17:31:00.608Z] ++ tr '[:upper:]' '[:lower:]' [2022-02-10T17:31:00.869Z] + OS_FAMILY=redhat [2022-02-10T17:31:00.869Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_main [2022-02-10T17:31:00.869Z] + START_PACKAGES=/tmp/packages_start.txt [2022-02-10T17:31:00.869Z] + END_PACKAGES=/tmp/packages_end.txt [2022-02-10T17:31:00.869Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-02-10T17:31:00.869Z] + PACKAGES=/tmp/packages_start.txt [2022-02-10T17:31:00.869Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2022-02-10T17:31:00.869Z] + PACKAGES=/tmp/packages_end.txt [2022-02-10T17:31:00.869Z] + case "${OS_FAMILY}" in [2022-02-10T17:31:00.869Z] + rpm -qa [2022-02-10T17:31:00.869Z] + sort [2022-02-10T17:31:01.445Z] + '[' -f /tmp/packages_start.txt ']' [2022-02-10T17:31:01.445Z] + '[' -f /tmp/packages_end.txt ']' [2022-02-10T17:31:01.445Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-02-10T17:31:01.445Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2022-02-10T17:31:01.445Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [2022-02-10T17:31:01.445Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo [2022-02-10T17:31:01.459Z] 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_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-02-10T17:31:01.743Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-02-10T17:31:02.300Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-10T17:31:02.300Z] . [Pipeline] withDockerContainer [2022-02-10T17:31:02.361Z] prd-centos7-docker-4c-2g-5000 does not seem to be running inside a container [2022-02-10T17:31:02.394Z] $ 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_main/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_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-02-10T17:31:02.598Z] $ docker top 02f7b9e49754efcc237ab3b689a32a4347b19d3c01eae3c1a58f65a35a794d68 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-10T17:31:02.954Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-02-10T17:31:03.244Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-02-10T17:31:03.537Z] + ls /var/log/sa-host [2022-02-10T17:31:03.537Z] + sadf -c /var/log/sa-host/sa10 [2022-02-10T17:31:03.537Z] file_magic: OK [2022-02-10T17:31:03.537Z] HZ: Using current value: 100 [2022-02-10T17:31:03.537Z] file_header: OK [2022-02-10T17:31:03.537Z] 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-10T17:31:03.537Z] Statistics: [2022-02-10T17:31:03.537Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-10T17:31:03.537Z] File successfully converted to sysstat format version 12.0.3 [2022-02-10T17:31:03.537Z] + sadf -c /var/log/sa-host/sa17 [2022-02-10T17:31:03.537Z] file_magic: OK [2022-02-10T17:31:03.537Z] HZ: Using current value: 100 [2022-02-10T17:31:03.537Z] file_header: OK [2022-02-10T17:31:03.537Z] 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-10T17:31:03.537Z] Statistics: [2022-02-10T17:31:03.537Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-10T17:31:03.537Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-10T17:31:03.763Z] provisioning config files... [2022-02-10T17:31:03.772Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config283166462273478384tmp [Pipeline] { [Pipeline] echo [2022-02-10T17:31:03.785Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-10T17:31:04.071Z] ---> create-netrc.sh [Pipeline] } [2022-02-10T17:31:04.079Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-02-10T17:31:04.421Z] ---> python-tools-install.sh [Pipeline] echo [2022-02-10T17:31:04.431Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-10T17:31:04.722Z] ---> sudo-logs.sh [2022-02-10T17:31:04.722Z] Archiving 'sudo' log.. [2022-02-10T17:31:04.722Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-5000.novalocal: Name or service not known [2022-02-10T17:31:04.722Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-5000.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-02-10T17:31:04.745Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-10T17:31:05.031Z] ---> job-cost.sh [2022-02-10T17:31:05.031Z] lf-activate-venv: SKIPPING [2022-02-10T17:31:05.031Z] DEBUG: total: 0.05999999865889549 [2022-02-10T17:31:05.031Z] INFO: Retrieving Stack Cost... [2022-02-10T17:31:05.295Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-10T17:31:05.555Z] INFO: Archiving Costs [Pipeline] echo [2022-02-10T17:31:05.567Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-10T17:31:05.860Z] ---> logs-deploy.sh [2022-02-10T17:31:05.861Z] lf-activate-venv: SKIPPING [2022-02-10T17:31:05.861Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/18 [2022-02-10T17:31:05.861Z] INFO: archiving workspace using pattern(s): [2022-02-10T17:31:06.432Z] Archives upload complete. [2022-02-10T17:31:06.692Z] INFO: archiving logs to Nexus