Push event to branch jakarta Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 079451af9dbe3d895bc4497f5b25473ae375e010 Running in Durability level: PERFORMANCE_OPTIMIZED 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-ssh9215513712461807800.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 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-ssh1762513963787387412.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 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 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/jakarta/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/jakarta/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8067136982800316714.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 # timeout=10 Commit message: "Merge pull request #366 from ernestojeda/fix-builder-images-sdk-c" > 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-ssh2425509663878891408.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/jakarta/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/jakarta/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4137181876496812007.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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-429 in /w/workspace/dgexfoundry_device-sdk-c_jakarta [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/dgexfoundry_device-sdk-c_jakarta # 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/dgexfoundry_device-sdk-c_jakarta@tmp/jenkins-gitclient-ssh3686966734247179169.key Avoid second fetch Checking out Revision 079451af9dbe3d895bc4497f5b25473ae375e010 (jakarta) > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 079451af9dbe3d895bc4497f5b25473ae375e010 # timeout=10 Commit message: "ci(lts-release): LTS release v2.1.0 @9c093d9" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-12T22:05:18.413Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-12T22:05:18.455Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-12T22:05:18.465Z] ========================================================= [2021-11-12T22:05:18.465Z] EdgeX Global Pipelines Version Info [2021-11-12T22:05:18.465Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 95537f069f4478f85f1ccb38a71dd01dd0781bca # timeout=10 [2021-11-12T22:05:19.619Z] ------------------- [2021-11-12T22:05:19.620Z] stable info: [2021-11-12T22:05:19.620Z] ------------------- [2021-11-12T22:05:19.620Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-12T22:05:19.620Z] Commit SHA: 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 [2021-11-12T22:05:19.620Z] Message: update stable to v1.0.215 [2021-11-12T22:05:20.194Z] ------------------- [2021-11-12T22:05:20.194Z] experimental info: [2021-11-12T22:05:20.194Z] ------------------- [2021-11-12T22:05:20.194Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-12T22:05:20.194Z] Commit SHA: 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 [2021-11-12T22:05:20.194Z] Message: update experimental to v1.0.215 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-12T22:05:20.275Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2021-11-12T22:05:20.284Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2021-11-12T22:05:20.296Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-12T22:05:20.306Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-12T22:05:20.317Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-12T22:05:20.327Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2021-11-12T22:05:20.340Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2021-11-12T22:05:20.350Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-12T22:05:20.360Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-12T22:05:20.369Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2021-11-12T22:05:20.381Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-12T22:05:20.392Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-12T22:05:20.401Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-12T22:05:20.413Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-11-12T22:05:20.426Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-12T22:05:20.435Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-11-12T22:05:20.445Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-12T22:05:20.458Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = jakarta [Pipeline] echo [2021-11-12T22:05:20.473Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = jakarta [Pipeline] echo [2021-11-12T22:05:20.488Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = jakarta [Pipeline] echo [2021-11-12T22:05:20.499Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 079451af9dbe3d895bc4497f5b25473ae375e010 [Pipeline] echo [2021-11-12T22:05:20.511Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 079451a [Pipeline] echo [2021-11-12T22:05:20.519Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-12T22:05:20.556Z] provisioning config files... [2021-11-12T22:05:20.569Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/dgexfoundry_device-sdk-c_jakarta@tmp/config2583172100187675009tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-12T22:05:20.881Z] ---> docker-login.sh [2021-11-12T22:05:20.881Z] nexus3.edgexfoundry.org:10001 [2021-11-12T22:05:20.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-12T22:05:21.144Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-12T22:05:21.144Z] Configure a credential helper to remove this warning. See [2021-11-12T22:05:21.144Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-12T22:05:21.144Z] [2021-11-12T22:05:21.144Z] Login Succeeded [2021-11-12T22:05:21.144Z] nexus3.edgexfoundry.org:10002 [2021-11-12T22:05:21.144Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-12T22:05:21.144Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-12T22:05:21.144Z] Configure a credential helper to remove this warning. See [2021-11-12T22:05:21.144Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-12T22:05:21.144Z] [2021-11-12T22:05:21.144Z] Login Succeeded [2021-11-12T22:05:21.144Z] nexus3.edgexfoundry.org:10003 [2021-11-12T22:05:21.144Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-12T22:05:21.144Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-12T22:05:21.144Z] Configure a credential helper to remove this warning. See [2021-11-12T22:05:21.144Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-12T22:05:21.144Z] [2021-11-12T22:05:21.144Z] Login Succeeded [2021-11-12T22:05:21.144Z] nexus3.edgexfoundry.org:10004 [2021-11-12T22:05:21.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-12T22:05:21.405Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-12T22:05:21.405Z] Configure a credential helper to remove this warning. See [2021-11-12T22:05:21.405Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-12T22:05:21.405Z] [2021-11-12T22:05:21.405Z] Login Succeeded [2021-11-12T22:05:21.405Z] docker.io [2021-11-12T22:05:21.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-12T22:05:21.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-12T22:05:21.669Z] Configure a credential helper to remove this warning. See [2021-11-12T22:05:21.669Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-12T22:05:21.669Z] [2021-11-12T22:05:21.669Z] Login Succeeded [2021-11-12T22:05:21.669Z] ---> docker-login.sh ends [Pipeline] } [2021-11-12T22:05:21.680Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2021-11-12T22:05:22.100Z] + git rev-list -1 --merges 079451af9dbe3d895bc4497f5b25473ae375e010~1..079451af9dbe3d895bc4497f5b25473ae375e010 [Pipeline] echo [2021-11-12T22:05:22.137Z] -----------> git rev-list -1 --merges 079451af9dbe3d895bc4497f5b25473ae375e010~1..079451af9dbe3d895bc4497f5b25473ae375e010 079451af9dbe3d895bc4497f5b25473ae375e010 [false] [Pipeline] sh [2021-11-12T22:05:22.429Z] + git log --format=format:%s -1 079451af9dbe3d895bc4497f5b25473ae375e010 [Pipeline] echo [2021-11-12T22:05:22.446Z] ========================================================= [2021-11-12T22:05:22.446Z] [isLTSReleaseBuild] No build required. isLTSRelease: [true] [2021-11-12T22:05:22.446Z] ========================================================= [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] withEnv [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] echo [2021-11-12T22:05:22.499Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] sh [2021-11-12T22:05:22.781Z] + echo 0.0.0 [Pipeline] echo [2021-11-12T22:05:22.793Z] [prepBaseBuildImage] Generating new image with name: device-sdk-c-builder-x86_64 [Pipeline] echo [2021-11-12T22:05:22.802Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-12T22:05:22.809Z] ========================================================= [2021-11-12T22:05:22.809Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-gcc-base:gcc-lts] [2021-11-12T22:05:22.809Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-12T22:05:23.152Z] + docker build -t device-sdk-c-builder-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-gcc-base:gcc-lts . [2021-11-12T22:05:23.152Z] Sending build context to Docker daemon 2.718MB [2021-11-12T22:05:23.152Z] Step 1/24 : ARG BASE=alpine:3.14 [2021-11-12T22:05:23.152Z] Step 2/24 : FROM ${BASE} as builder [2021-11-12T22:05:23.152Z] gcc-lts: Pulling from edgex-devops/edgex-gcc-base [2021-11-12T22:05:23.152Z] a0d0a0d46f8b: Pulling fs layer [2021-11-12T22:05:23.152Z] d804a0200a99: Pulling fs layer [2021-11-12T22:05:23.152Z] 440daf8ae670: Pulling fs layer [2021-11-12T22:05:23.413Z] d804a0200a99: Download complete [2021-11-12T22:05:23.413Z] a0d0a0d46f8b: Verifying Checksum [2021-11-12T22:05:23.413Z] a0d0a0d46f8b: Download complete [2021-11-12T22:05:23.674Z] a0d0a0d46f8b: Pull complete [2021-11-12T22:05:23.674Z] d804a0200a99: Pull complete [2021-11-12T22:05:23.674Z] 440daf8ae670: Verifying Checksum [2021-11-12T22:05:23.674Z] 440daf8ae670: Download complete [2021-11-12T22:05:27.013Z] 440daf8ae670: Pull complete [2021-11-12T22:05:27.013Z] Digest: sha256:46f6f797e1226225184b69f73d406accecf427d240c95caa6045f24a2eda9a43 [2021-11-12T22:05:27.013Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-gcc-base:gcc-lts [2021-11-12T22:05:27.013Z] ---> c277a2dd7a9c [2021-11-12T22:05:27.013Z] 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 [2021-11-12T22:05:27.585Z] ---> Running in 6cd6ed94f4b4 [2021-11-12T22:05:28.157Z] Connecting to iotech.jfrog.io (54.72.115.12:443) [2021-11-12T22:05:28.421Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2021-11-12T22:05:28.421Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2021-11-12T22:05:28.421Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2021-11-12T22:05:28.684Z] Removing intermediate container 6cd6ed94f4b4 [2021-11-12T22:05:28.684Z] ---> 5417d7881c51 [2021-11-12T22:05:28.684Z] Step 4/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-11-12T22:05:28.684Z] ---> Running in 413f9eeb1154 [2021-11-12T22:05:29.258Z] Removing intermediate container 413f9eeb1154 [2021-11-12T22:05:29.258Z] ---> 31b76f4b87d2 [2021-11-12T22:05:29.258Z] 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 [2021-11-12T22:05:29.258Z] ---> Running in 308be22bc0f4 [2021-11-12T22:05:29.258Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-12T22:05:30.201Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-12T22:05:30.463Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-12T22:05:31.034Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-11-12T22:05:31.034Z] (1/27) Installing hiredis (1.0.0-r0) [2021-11-12T22:05:31.034Z] (2/27) Installing hiredis-dev (1.0.0-r0) [2021-11-12T22:05:31.034Z] (3/27) Installing ncurses-dev (6.2_p20210612-r0) [2021-11-12T22:05:31.295Z] (4/27) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2021-11-12T22:05:32.243Z] (5/27) Installing libblkid (2.37.2-r0) [2021-11-12T22:05:32.243Z] (6/27) Installing blkid (2.37.2-r0) [2021-11-12T22:05:32.243Z] (7/27) Installing libcap-ng (0.8.2-r0) [2021-11-12T22:05:32.506Z] (8/27) Installing setpriv (2.37.2-r0) [2021-11-12T22:05:32.506Z] (9/27) Installing libmount (2.37.2-r0) [2021-11-12T22:05:32.506Z] (10/27) Installing libsmartcols (2.37.2-r0) [2021-11-12T22:05:32.766Z] (11/27) Installing findmnt (2.37.2-r0) [2021-11-12T22:05:32.766Z] (12/27) Installing mcookie (2.37.2-r0) [2021-11-12T22:05:32.766Z] (13/27) Installing hexdump (2.37.2-r0) [2021-11-12T22:05:33.027Z] (14/27) Installing lsblk (2.37.2-r0) [2021-11-12T22:05:33.027Z] (15/27) Installing libuuid (2.37.2-r0) [2021-11-12T22:05:33.027Z] (16/27) Installing libfdisk (2.37.2-r0) [2021-11-12T22:05:33.288Z] (17/27) Installing sfdisk (2.37.2-r0) [2021-11-12T22:05:33.288Z] (18/27) Installing cfdisk (2.37.2-r0) [2021-11-12T22:05:33.288Z] (19/27) Installing partx (2.37.2-r0) [2021-11-12T22:05:33.548Z] (20/27) Installing flock (2.37.2-r0) [2021-11-12T22:05:33.548Z] (21/27) Installing logger (2.37.2-r0) [2021-11-12T22:05:33.548Z] (22/27) Installing uuidgen (2.37.2-r0) [2021-11-12T22:05:33.809Z] (23/27) Installing libeconf (0.3.8-r1) [2021-11-12T22:05:33.809Z] (24/27) Installing util-linux (2.37.2-r0) [2021-11-12T22:05:34.076Z] (25/27) Installing util-linux-dev (2.37.2-r0) [2021-11-12T22:05:34.076Z] (26/27) Installing libidn2 (2.3.1-r0) [2021-11-12T22:05:34.341Z] (27/27) Installing wget (1.21.1-r1) [2021-11-12T22:05:34.341Z] Executing busybox-1.33.1-r3.trigger [2021-11-12T22:05:34.341Z] OK: 291 MiB in 104 packages [2021-11-12T22:05:34.915Z] Removing intermediate container 308be22bc0f4 [2021-11-12T22:05:34.915Z] ---> a9acbfdf6dbf [2021-11-12T22:05:34.915Z] Step 6/24 : ENV CBOR_VERSION=0.5.0 [2021-11-12T22:05:34.915Z] ---> Running in b282db9aec2e [2021-11-12T22:05:34.915Z] Removing intermediate container b282db9aec2e [2021-11-12T22:05:34.915Z] ---> b7f3615c820c [2021-11-12T22:05:34.915Z] 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 [2021-11-12T22:05:34.915Z] ---> Running in ee22e4459b8c [2021-11-12T22:05:35.176Z] --2021-11-12 22:05:35-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-11-12T22:05:35.176Z] Resolving github.com (github.com)... 140.82.112.4 [2021-11-12T22:05:35.176Z] Connecting to github.com (github.com)|140.82.112.4|:443... connected. [2021-11-12T22:05:35.437Z] HTTP request sent, awaiting response... 302 Found [2021-11-12T22:05:35.437Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-11-12T22:05:35.437Z] --2021-11-12 22:05:35-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-11-12T22:05:35.437Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 [2021-11-12T22:05:35.437Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected. [2021-11-12T22:05:35.437Z] HTTP request sent, awaiting response... 200 OK [2021-11-12T22:05:35.437Z] Length: unspecified [application/x-gzip] [2021-11-12T22:05:35.437Z] Saving to: 'STDOUT' [2021-11-12T22:05:35.437Z]  [2021-11-12T22:05:35.703Z] 0K .......... .......... .......... .......... .......... 1.27M [2021-11-12T22:05:35.703Z] 50K .......... .......... .......... .......... .......... 2.50M [2021-11-12T22:05:35.703Z] 100K .......... .......... .......... .......... .......... 57.9M [2021-11-12T22:05:35.703Z] 150K .......... .......... .......... .......... .......... 68.3M [2021-11-12T22:05:35.703Z] 200K .......... .......... .......... .......... .......... 2.55M [2021-11-12T22:05:35.703Z] 250K .......... .......... .......... .......... .......... 7.53M [2021-11-12T22:05:35.703Z] 300K .......... .......... .......... .......... .......... 4.54M [2021-11-12T22:05:35.703Z] 350K .......... .......... .......... .......... .......... 32.8M [2021-11-12T22:05:35.703Z] 400K .......... .......... .......... .......... .......... 13.0M [2021-11-12T22:05:35.703Z] 450K .......... .......... .......... .......... .......... 5.41M [2021-11-12T22:05:35.703Z] 500K .......... .......... .......... .......... .......... 25.5M [2021-11-12T22:05:35.703Z] 550K .......... .......... .......... .......... .......... 7.68M [2021-11-12T22:05:35.703Z] 600K .......... .......... .......... .......... .......... 3.95M [2021-11-12T22:05:35.703Z] 650K .......... .......... .......... .......... .......... 7.64M [2021-11-12T22:05:35.703Z] 700K .. 51.7M=0.1s [2021-11-12T22:05:35.703Z] [2021-11-12T22:05:35.703Z] 2021-11-12 22:05:35 (5.00 MB/s) - written to stdout [719348] [2021-11-12T22:05:35.703Z] [2021-11-12T22:05:35.703Z] -- The C compiler identification is GNU 10.3.1 [2021-11-12T22:05:35.967Z] -- The CXX compiler identification is GNU 10.3.1 [2021-11-12T22:05:35.967Z] -- Detecting C compiler ABI info [2021-11-12T22:05:35.967Z] -- Detecting C compiler ABI info - done [2021-11-12T22:05:35.967Z] -- Check for working C compiler: /usr/bin/cc - skipped [2021-11-12T22:05:35.967Z] -- Detecting C compile features [2021-11-12T22:05:35.967Z] -- Detecting C compile features - done [2021-11-12T22:05:35.967Z] -- Detecting CXX compiler ABI info [2021-11-12T22:05:35.967Z] -- Detecting CXX compiler ABI info - done [2021-11-12T22:05:35.967Z] -- Check for working CXX compiler: /usr/bin/c++ - skipped [2021-11-12T22:05:35.967Z] -- Detecting CXX compile features [2021-11-12T22:05:35.967Z] -- Detecting CXX compile features - done [2021-11-12T22:05:35.967Z] -- Looking for include file endian.h [2021-11-12T22:05:36.228Z] -- Looking for include file endian.h - found [2021-11-12T22:05:36.228Z] -- Looking for sys/types.h [2021-11-12T22:05:36.228Z] -- Looking for sys/types.h - found [2021-11-12T22:05:36.228Z] -- Looking for stdint.h [2021-11-12T22:05:36.228Z] -- Looking for stdint.h - found [2021-11-12T22:05:36.228Z] -- Looking for stddef.h [2021-11-12T22:05:36.492Z] -- Looking for stddef.h - found [2021-11-12T22:05:36.492Z] -- Check size of size_t [2021-11-12T22:05:36.492Z] -- Check size of size_t - done [2021-11-12T22:05:36.492Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-11-12T22:05:36.492Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-11-12T22:05:36.492Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-11-12T22:05:36.492Z] CMake did not find one. [2021-11-12T22:05:36.492Z] [2021-11-12T22:05:36.492Z] Could not find a package configuration file provided by "cJSON" with any of [2021-11-12T22:05:36.492Z] the following names: [2021-11-12T22:05:36.492Z] [2021-11-12T22:05:36.492Z] cJSONConfig.cmake [2021-11-12T22:05:36.492Z] cjson-config.cmake [2021-11-12T22:05:36.492Z] [2021-11-12T22:05:36.492Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-11-12T22:05:36.492Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-11-12T22:05:36.492Z] provides a separate development package or SDK, be sure it has been [2021-11-12T22:05:36.492Z] installed. [2021-11-12T22:05:36.492Z] [2021-11-12T22:05:36.492Z] [2021-11-12T22:05:36.492Z] -- Configuring done [2021-11-12T22:05:36.492Z] -- Generating done [2021-11-12T22:05:36.492Z] -- Build files have been written to: /tmp/cbor [2021-11-12T22:05:36.492Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-11-12T22:05:36.757Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-11-12T22:05:36.757Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-11-12T22:05:37.020Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-11-12T22:05:37.020Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-11-12T22:05:37.020Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-11-12T22:05:37.288Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-11-12T22:05:37.288Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-11-12T22:05:37.288Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-11-12T22:05:37.288Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-11-12T22:05:37.481Z] Still waiting to schedule task [2021-11-12T22:05:37.481Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-11-12T22:05:37.552Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-11-12T22:05:37.552Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-11-12T22:05:37.552Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-11-12T22:05:37.813Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-11-12T22:05:37.813Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-11-12T22:05:37.813Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-11-12T22:05:37.813Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-11-12T22:05:38.075Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-11-12T22:05:38.075Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-11-12T22:05:38.075Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-11-12T22:05:38.075Z] [ 40%] Linking C shared library libcbor.so [2021-11-12T22:05:38.342Z] [ 40%] Built target cbor_shared [2021-11-12T22:05:38.342Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-11-12T22:05:38.342Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-11-12T22:05:38.603Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-11-12T22:05:38.603Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-11-12T22:05:38.865Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-11-12T22:05:39.127Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-11-12T22:05:39.127Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-11-12T22:05:39.127Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-11-12T22:05:39.127Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-11-12T22:05:39.392Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-11-12T22:05:39.392Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-11-12T22:05:39.392Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-11-12T22:05:39.657Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-11-12T22:05:39.657Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-11-12T22:05:39.657Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-11-12T22:05:39.919Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-11-12T22:05:39.919Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-11-12T22:05:39.919Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-11-12T22:05:39.919Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-11-12T22:05:40.180Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-11-12T22:05:40.180Z] [ 80%] Linking C static library libcbor.a [2021-11-12T22:05:40.180Z] [ 80%] Built target cbor [2021-11-12T22:05:40.180Z] [ 82%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-11-12T22:05:40.180Z] [ 84%] Linking C executable readfile [2021-11-12T22:05:40.180Z] [ 84%] Built target readfile [2021-11-12T22:05:40.180Z] [ 86%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-11-12T22:05:40.440Z] [ 88%] Linking C executable create_items [2021-11-12T22:05:40.440Z] [ 88%] Built target create_items [2021-11-12T22:05:40.440Z] [ 90%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-11-12T22:05:40.440Z] [ 92%] Linking C executable sort [2021-11-12T22:05:40.440Z] [ 92%] Built target sort [2021-11-12T22:05:40.440Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-11-12T22:05:40.440Z] [ 96%] Linking C executable hello [2021-11-12T22:05:40.440Z] [ 96%] Built target hello [2021-11-12T22:05:40.440Z] [ 98%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-11-12T22:05:40.710Z] [100%] Linking C executable streaming_parser [2021-11-12T22:05:40.710Z] [100%] Built target streaming_parser [2021-11-12T22:05:40.710Z] Install the project... [2021-11-12T22:05:40.710Z] -- Install configuration: "Release" [2021-11-12T22:05:40.710Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-11-12T22:05:40.710Z] -- Installing: /usr/local/lib/libcbor.a [2021-11-12T22:05:40.710Z] -- Installing: /usr/local/lib/libcbor.so.0.0.0 [2021-11-12T22:05:40.710Z] -- Installing: /usr/local/lib/libcbor.so.0 [2021-11-12T22:05:40.710Z] -- Installing: /usr/local/lib/libcbor.so [2021-11-12T22:05:40.710Z] -- Up-to-date: /usr/local/include/cbor [2021-11-12T22:05:40.710Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-11-12T22:05:40.710Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-11-12T22:05:40.710Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-11-12T22:05:40.710Z] -- Installing: /usr/local/include/cbor/common.h [2021-11-12T22:05:40.710Z] -- Installing: /usr/local/include/cbor/data.h [2021-11-12T22:05:40.710Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-11-12T22:05:40.710Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-11-12T22:05:40.710Z] -- Installing: /usr/local/include/cbor/internal [2021-11-12T22:05:40.710Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-11-12T22:05:40.710Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-11-12T22:05:40.710Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-11-12T22:05:40.710Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-11-12T22:05:40.710Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-11-12T22:05:40.710Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-11-12T22:05:40.710Z] -- Installing: /usr/local/include/cbor/ints.h [2021-11-12T22:05:40.710Z] -- Installing: /usr/local/include/cbor/maps.h [2021-11-12T22:05:40.710Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-11-12T22:05:40.710Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-11-12T22:05:40.710Z] -- Installing: /usr/local/include/cbor/strings.h [2021-11-12T22:05:40.710Z] -- Installing: /usr/local/include/cbor/tags.h [2021-11-12T22:05:40.710Z] -- Installing: /usr/local/include/cbor.h [2021-11-12T22:05:40.710Z] -- Installing: /usr/local/lib/pkgconfig/libcbor.pc [2021-11-12T22:05:41.295Z] Removing intermediate container ee22e4459b8c [2021-11-12T22:05:41.295Z] ---> eacd00826159 [2021-11-12T22:05:41.295Z] Step 8/24 : RUN mkdir /tmp/sdk [2021-11-12T22:05:41.295Z] ---> Running in cd98af9c746c [2021-11-12T22:05:41.559Z] Removing intermediate container cd98af9c746c [2021-11-12T22:05:41.559Z] ---> 1f0725721deb [2021-11-12T22:05:41.559Z] Step 9/24 : COPY VERSION /tmp/sdk [2021-11-12T22:05:41.820Z] ---> 5282f93e23c2 [2021-11-12T22:05:41.820Z] Step 10/24 : COPY src /tmp/sdk/src [2021-11-12T22:05:42.081Z] ---> 3aed7d225b33 [2021-11-12T22:05:42.081Z] Step 11/24 : COPY include /tmp/sdk/include [2021-11-12T22:05:42.081Z] ---> 82c959980def [2021-11-12T22:05:42.081Z] Step 12/24 : COPY scripts /tmp/sdk/scripts [2021-11-12T22:05:42.340Z] ---> 35c62183218b [2021-11-12T22:05:42.340Z] Step 13/24 : COPY LICENSE /tmp/sdk [2021-11-12T22:05:42.340Z] ---> 23d25af36cea [2021-11-12T22:05:42.340Z] Step 14/24 : COPY Attribution.txt /tmp/sdk [2021-11-12T22:05:42.600Z] ---> 25b3310c5697 [2021-11-12T22:05:42.600Z] Step 15/24 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-11-12T22:05:42.600Z] ---> Running in dc64a41069c1 [2021-11-12T22:05:42.861Z] + CPPCHECK=false [2021-11-12T22:05:42.861Z] + DOCGEN=false [2021-11-12T22:05:42.861Z] + TOMLVER=SDK-0.2 [2021-11-12T22:05:42.861Z] + CUTILVER=1.2.2 [2021-11-12T22:05:42.861Z] + '[' 0 -gt 0 ] [2021-11-12T22:05:42.861Z] + readlink -f ./scripts/build.sh [2021-11-12T22:05:42.862Z] + dirname /tmp/sdk/scripts/build.sh [2021-11-12T22:05:42.862Z] + dirname /tmp/sdk/scripts [2021-11-12T22:05:42.862Z] + ROOT=/tmp/sdk [2021-11-12T22:05:42.862Z] + cd /tmp/sdk [2021-11-12T22:05:42.862Z] + '[' '!' -d deps ] [2021-11-12T22:05:42.862Z] + mkdir deps [2021-11-12T22:05:42.862Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-11-12T22:05:42.862Z] + tar -C deps -z -x -f - [2021-11-12T22:05:42.862Z] --2021-11-12 22:05:42-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-11-12T22:05:42.862Z] Resolving github.com (github.com)... 140.82.112.4 [2021-11-12T22:05:42.862Z] Connecting to github.com (github.com)|140.82.112.4|:443... connected. [2021-11-12T22:05:43.122Z] HTTP request sent, awaiting response... 302 Found [2021-11-12T22:05:43.123Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-11-12T22:05:43.123Z] --2021-11-12 22:05:42-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-11-12T22:05:43.123Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 [2021-11-12T22:05:43.123Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected. [2021-11-12T22:05:43.123Z] HTTP request sent, awaiting response... 200 OK [2021-11-12T22:05:43.123Z] Length: unspecified [application/x-gzip] [2021-11-12T22:05:43.123Z] Saving to: 'STDOUT' [2021-11-12T22:05:43.123Z] [2021-11-12T22:05:43.123Z] 0K .......... ...... 848K=0.02s [2021-11-12T22:05:43.123Z] [2021-11-12T22:05:43.123Z] 2021-11-12 22:05:43 (848 KB/s) - written to stdout [16451] [2021-11-12T22:05:43.123Z] [2021-11-12T22:05:43.123Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-11-12T22:05:43.123Z] + tar -C deps+ -z -x -f - [2021-11-12T22:05:43.123Z] wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2021-11-12T22:05:43.123Z] --2021-11-12 22:05:43-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2021-11-12T22:05:43.123Z] Resolving github.com (github.com)... 140.82.112.4 [2021-11-12T22:05:43.123Z] Connecting to github.com (github.com)|140.82.112.4|:443... connected. [2021-11-12T22:05:43.382Z] HTTP request sent, awaiting response... 302 Found [2021-11-12T22:05:43.382Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] [2021-11-12T22:05:43.382Z] --2021-11-12 22:05:43-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [2021-11-12T22:05:43.382Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 [2021-11-12T22:05:43.382Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected. [2021-11-12T22:05:43.656Z] HTTP request sent, awaiting response... 200 OK [2021-11-12T22:05:43.656Z] Length: unspecified [application/x-gzip] [2021-11-12T22:05:43.656Z] Saving to: 'STDOUT' [2021-11-12T22:05:43.656Z] [2021-11-12T22:05:43.656Z] 0K .......... .......... .......... .......... .......... 1.28M [2021-11-12T22:05:43.656Z] 50K .......... .......... .......... .......... .......... 2.55M [2021-11-12T22:05:43.656Z] 100K .......... .......... .......... .......... .......... 34.1M [2021-11-12T22:05:43.656Z] 150K .......... .......... .......... .........  5.49M=0.07s [2021-11-12T22:05:43.656Z] [2021-11-12T22:05:43.656Z] 2021-11-12 22:05:43 (2.81 MB/s) - written to stdout [193961] [2021-11-12T22:05:43.656Z] [2021-11-12T22:05:43.656Z] + mkdir -p src/c/iot [2021-11-12T22:05:43.656Z] + 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 [2021-11-12T22:05:43.656Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2021-11-12T22:05:43.656Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2021-11-12T22:05:43.656Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2021-11-12T22:05:43.656Z] + mkdir -p include/iot [2021-11-12T22:05:43.656Z] + 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 [2021-11-12T22:05:43.656Z] + mkdir -p include/iot/os [2021-11-12T22:05:43.656Z] + 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 [2021-11-12T22:05:43.656Z] + mkdir -p /tmp/sdk/build/release [2021-11-12T22:05:43.656Z] + cd /tmp/sdk/build/release [2021-11-12T22:05:43.656Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-11-12T22:05:43.656Z] -- The C compiler identification is GNU 10.3.1 [2021-11-12T22:05:43.656Z] -- Detecting C compiler ABI info [2021-11-12T22:05:43.921Z] -- Detecting C compiler ABI info - done [2021-11-12T22:05:43.921Z] -- Check for working C compiler: /usr/bin/cc - skipped [2021-11-12T22:05:43.921Z] -- Detecting C compile features [2021-11-12T22:05:43.921Z] -- Detecting C compile features - done [2021-11-12T22:05:43.921Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-11-12T22:05:43.921Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") [2021-11-12T22:05:43.921Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-11-12T22:05:43.921Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-11-12T22:05:43.921Z] -- Found LIBCBOR: /usr/local/lib/libcbor.so [2021-11-12T22:05:43.921Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-11-12T22:05:43.921Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-11-12T22:05:43.921Z] -- C SDK 0.0.0 for Linux [2021-11-12T22:05:43.921Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-11-12T22:05:43.921Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-11-12T22:05:43.921Z] -- Found Curses: /usr/lib/libcurses.so [2021-11-12T22:05:43.921Z] -- Configuring done [2021-11-12T22:05:43.921Z] -- Generating done [2021-11-12T22:05:43.921Z] -- Build files have been written to: /tmp/sdk/build/release [2021-11-12T22:05:43.921Z] + make all package [2021-11-12T22:05:43.921Z] + tee release.log [2021-11-12T22:05:44.183Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-11-12T22:05:44.183Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-11-12T22:05:44.183Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-11-12T22:05:44.755Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-11-12T22:05:44.755Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-11-12T22:05:45.016Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-11-12T22:05:45.016Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-11-12T22:05:45.283Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-11-12T22:05:45.283Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-11-12T22:05:45.542Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-11-12T22:05:45.804Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-11-12T22:05:46.066Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-11-12T22:05:46.066Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-11-12T22:05:46.326Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-11-12T22:05:46.326Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-11-12T22:05:46.326Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-11-12T22:05:46.326Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-11-12T22:05:46.899Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-11-12T22:05:47.159Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-11-12T22:05:47.159Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-11-12T22:05:47.159Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-11-12T22:05:47.420Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-11-12T22:05:47.420Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2021-11-12T22:05:47.420Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2021-11-12T22:05:47.420Z] 275 | const iot_component_factory_t * factory; [2021-11-12T22:05:47.420Z] | ^~~~~~~ [2021-11-12T22:05:47.420Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-11-12T22:05:48.378Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-11-12T22:05:48.378Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-11-12T22:05:48.378Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-11-12T22:05:48.663Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-11-12T22:05:48.663Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-11-12T22:05:48.663Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-11-12T22:05:48.930Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-11-12T22:05:49.203Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-11-12T22:05:49.203Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-11-12T22:05:49.203Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2021-11-12T22:05:49.478Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-11-12T22:05:49.746Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-11-12T22:05:50.015Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-11-12T22:05:50.015Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-11-12T22:05:50.283Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-11-12T22:05:51.234Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-11-12T22:05:51.234Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-11-12T22:05:51.234Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-11-12T22:05:51.234Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-11-12T22:05:51.495Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2021-11-12T22:05:51.495Z] /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] [2021-11-12T22:05:51.495Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2021-11-12T22:05:51.495Z] | ^~~~~~~~~~~~~ [2021-11-12T22:05:51.495Z] | | [2021-11-12T22:05:51.495Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2021-11-12T22:05:51.495Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-11-12T22:05:51.495Z] /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 *)' [2021-11-12T22:05:51.495Z] 2714 | MHD_KeyValueIterator iterator, [2021-11-12T22:05:51.495Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2021-11-12T22:05:51.495Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2021-11-12T22:05:51.495Z] /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2021-11-12T22:05:51.495Z] 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2021-11-12T22:05:51.495Z] | ^~~~~~~~~~~~ [2021-11-12T22:05:51.495Z] | | [2021-11-12T22:05:51.495Z] | 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 **)} [2021-11-12T22:05:51.495Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-11-12T22:05:51.495Z] /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 **)'} [2021-11-12T22:05:51.495Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-11-12T22:05:51.495Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-11-12T22:05:51.495Z] /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2021-11-12T22:05:51.495Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2021-11-12T22:05:51.495Z] | ^~~~~~~~~~~~ [2021-11-12T22:05:51.495Z] | | [2021-11-12T22:05:51.496Z] | 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 **)} [2021-11-12T22:05:51.496Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-11-12T22:05:51.496Z] /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 **)'} [2021-11-12T22:05:51.496Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-11-12T22:05:51.496Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-11-12T22:05:51.496Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-11-12T22:05:52.082Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-11-12T22:05:52.082Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-11-12T22:05:52.082Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-11-12T22:05:52.082Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-11-12T22:05:52.662Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-11-12T22:05:53.616Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-11-12T22:05:53.616Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-11-12T22:05:53.616Z] [ 76%] Linking C shared library libcsdk.so [2021-11-12T22:05:53.616Z] [ 76%] Built target csdk [2021-11-12T22:05:53.616Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-11-12T22:05:53.877Z] [ 79%] Linking C executable template [2021-11-12T22:05:53.877Z] [ 79%] Built target template [2021-11-12T22:05:53.877Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-11-12T22:05:53.877Z] [ 82%] Linking C executable device-counter [2021-11-12T22:05:54.138Z] [ 82%] Built target device-counter [2021-11-12T22:05:54.138Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-11-12T22:05:54.138Z] [ 85%] Linking C executable device-random [2021-11-12T22:05:54.138Z] [ 85%] Built target device-random [2021-11-12T22:05:54.138Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-11-12T22:05:54.399Z] [ 88%] Linking C executable device-gyro [2021-11-12T22:05:54.399Z] [ 88%] Built target device-gyro [2021-11-12T22:05:54.399Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-11-12T22:05:54.399Z] [ 91%] Linking C executable device-bitfields [2021-11-12T22:05:54.660Z] [ 91%] Built target device-bitfields [2021-11-12T22:05:54.660Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-11-12T22:05:54.660Z] [ 94%] Linking C executable template-discovery [2021-11-12T22:05:54.926Z] [ 94%] Built target template-discovery [2021-11-12T22:05:54.926Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-11-12T22:05:54.926Z] [ 97%] Linking C executable device-file [2021-11-12T22:05:54.926Z] [ 97%] Built target device-file [2021-11-12T22:05:54.926Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-11-12T22:05:55.190Z] [100%] Linking C executable device-terminal [2021-11-12T22:05:55.190Z] [100%] Built target device-terminal [2021-11-12T22:05:55.190Z] Run CPack packaging tool... [2021-11-12T22:05:55.190Z] CPack: Create package using TGZ [2021-11-12T22:05:55.190Z] CPack: Install projects [2021-11-12T22:05:55.190Z] CPack: - Run preinstall target for: Csdk [2021-11-12T22:05:55.452Z] CPack: - Install project: Csdk [] [2021-11-12T22:05:55.452Z] CPack: Create package [2021-11-12T22:05:55.452Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-11-12T22:05:55.452Z] + '[' false '=' true ] [2021-11-12T22:05:55.452Z] + '[' false '=' true ] [2021-11-12T22:05:55.452Z] + mkdir -p /tmp/sdk/build/debug [2021-11-12T22:05:55.452Z] + cd /tmp/sdk/build/debug [2021-11-12T22:05:55.452Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-11-12T22:05:55.452Z] -- The C compiler identification is GNU 10.3.1 [2021-11-12T22:05:55.452Z] -- Detecting C compiler ABI info [2021-11-12T22:05:55.713Z] -- Detecting C compiler ABI info - done [2021-11-12T22:05:55.713Z] -- Check for working C compiler: /usr/bin/cc - skipped [2021-11-12T22:05:55.713Z] -- Detecting C compile features [2021-11-12T22:05:55.713Z] -- Detecting C compile features - done [2021-11-12T22:05:55.713Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-11-12T22:05:55.713Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") [2021-11-12T22:05:55.713Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-11-12T22:05:55.713Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-11-12T22:05:55.713Z] -- Found LIBCBOR: /usr/local/lib/libcbor.so [2021-11-12T22:05:55.713Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-11-12T22:05:55.713Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-11-12T22:05:55.713Z] -- C SDK 0.0.0 for Linux [2021-11-12T22:05:55.713Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-11-12T22:05:55.713Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-11-12T22:05:55.713Z] -- Found Curses: /usr/lib/libcurses.so [2021-11-12T22:05:55.976Z] -- Configuring done [2021-11-12T22:05:55.976Z] -- Generating done [2021-11-12T22:05:55.976Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-11-12T22:05:55.976Z] + make [2021-11-12T22:05:55.976Z] + tee debug.log [2021-11-12T22:05:55.976Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-11-12T22:05:55.976Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-11-12T22:05:56.241Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-11-12T22:05:56.241Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-11-12T22:05:56.241Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-11-12T22:05:56.241Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-11-12T22:05:56.502Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-11-12T22:05:56.502Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-11-12T22:05:56.502Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-11-12T22:05:56.763Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-11-12T22:05:56.763Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-11-12T22:05:56.763Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-11-12T22:05:57.026Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-11-12T22:05:57.026Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-11-12T22:05:57.026Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-11-12T22:05:57.026Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-11-12T22:05:57.286Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-11-12T22:05:57.286Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-11-12T22:05:57.548Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-11-12T22:05:57.548Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-11-12T22:05:57.548Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-11-12T22:05:57.548Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-11-12T22:05:57.548Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2021-11-12T22:05:57.548Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2021-11-12T22:05:57.548Z] 275 | const iot_component_factory_t * factory; [2021-11-12T22:05:57.548Z] | ^~~~~~~ [2021-11-12T22:05:57.816Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-11-12T22:05:57.816Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-11-12T22:05:58.086Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-11-12T22:05:58.086Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-11-12T22:05:58.086Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-11-12T22:05:58.086Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-11-12T22:05:58.086Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-11-12T22:05:58.346Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-11-12T22:05:58.346Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-11-12T22:05:58.346Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-11-12T22:05:58.346Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2021-11-12T22:05:58.608Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-11-12T22:05:58.608Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-11-12T22:05:58.608Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-11-12T22:05:58.869Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-11-12T22:05:58.869Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-11-12T22:05:59.132Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-11-12T22:05:59.132Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-11-12T22:05:59.132Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-11-12T22:05:59.132Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-11-12T22:05:59.393Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2021-11-12T22:05:59.393Z] /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] [2021-11-12T22:05:59.393Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2021-11-12T22:05:59.393Z] | ^~~~~~~~~~~~~ [2021-11-12T22:05:59.393Z] | | [2021-11-12T22:05:59.394Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2021-11-12T22:05:59.394Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-11-12T22:05:59.394Z] /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 *)' [2021-11-12T22:05:59.394Z] 2714 | MHD_KeyValueIterator iterator, [2021-11-12T22:05:59.394Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2021-11-12T22:05:59.394Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2021-11-12T22:05:59.394Z] /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2021-11-12T22:05:59.394Z] 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2021-11-12T22:05:59.394Z] | ^~~~~~~~~~~~ [2021-11-12T22:05:59.394Z] | | [2021-11-12T22:05:59.394Z] | 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 **)} [2021-11-12T22:05:59.394Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-11-12T22:05:59.394Z] /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 **)'} [2021-11-12T22:05:59.394Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-11-12T22:05:59.394Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-11-12T22:05:59.394Z] /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2021-11-12T22:05:59.394Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2021-11-12T22:05:59.394Z] | ^~~~~~~~~~~~ [2021-11-12T22:05:59.394Z] | | [2021-11-12T22:05:59.394Z] | 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 **)} [2021-11-12T22:05:59.394Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-11-12T22:05:59.394Z] /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 **)'} [2021-11-12T22:05:59.394Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-11-12T22:05:59.394Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-11-12T22:05:59.394Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-11-12T22:05:59.656Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-11-12T22:05:59.656Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-11-12T22:05:59.656Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-11-12T22:05:59.656Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-11-12T22:05:59.915Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-11-12T22:06:00.182Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-11-12T22:06:00.182Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-11-12T22:06:00.182Z] [ 76%] Linking C shared library libcsdk.so [2021-11-12T22:06:00.182Z] [ 76%] Built target csdk [2021-11-12T22:06:00.182Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-11-12T22:06:00.444Z] [ 79%] Linking C executable template [2021-11-12T22:06:00.444Z] [ 79%] Built target template [2021-11-12T22:06:00.444Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-11-12T22:06:00.444Z] [ 82%] Linking C executable device-counter [2021-11-12T22:06:00.444Z] [ 82%] Built target device-counter [2021-11-12T22:06:00.444Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-11-12T22:06:00.703Z] [ 85%] Linking C executable device-random [2021-11-12T22:06:00.703Z] [ 85%] Built target device-random [2021-11-12T22:06:00.703Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-11-12T22:06:00.703Z] [ 88%] Linking C executable device-gyro [2021-11-12T22:06:00.703Z] [ 88%] Built target device-gyro [2021-11-12T22:06:00.965Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-11-12T22:06:00.965Z] [ 91%] Linking C executable device-bitfields [2021-11-12T22:06:00.965Z] [ 91%] Built target device-bitfields [2021-11-12T22:06:00.965Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-11-12T22:06:00.965Z] [ 94%] Linking C executable template-discovery [2021-11-12T22:06:01.229Z] [ 94%] Built target template-discovery [2021-11-12T22:06:01.229Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-11-12T22:06:01.229Z] [ 97%] Linking C executable device-file [2021-11-12T22:06:01.229Z] [ 97%] Built target device-file [2021-11-12T22:06:01.229Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-11-12T22:06:01.229Z] [100%] Linking C executable device-terminal [2021-11-12T22:06:01.492Z] [100%] Built target device-terminal [2021-11-12T22:06:01.492Z] make: Entering directory '/tmp/sdk/build/release' [2021-11-12T22:06:01.492Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-11-12T22:06:01.492Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-11-12T22:06:01.492Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-11-12T22:06:01.492Z] [ 76%] Built target csdk [2021-11-12T22:06:01.492Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-11-12T22:06:01.492Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-11-12T22:06:01.492Z] [ 79%] Built target template [2021-11-12T22:06:01.492Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-11-12T22:06:01.492Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-11-12T22:06:01.492Z] [ 82%] Built target device-counter [2021-11-12T22:06:01.492Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-11-12T22:06:01.492Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-11-12T22:06:01.492Z] [ 85%] Built target device-random [2021-11-12T22:06:01.492Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-11-12T22:06:01.492Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-11-12T22:06:01.492Z] [ 88%] Built target device-gyro [2021-11-12T22:06:01.492Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-11-12T22:06:01.492Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-11-12T22:06:01.492Z] [ 91%] Built target device-bitfields [2021-11-12T22:06:01.492Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-11-12T22:06:01.492Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-11-12T22:06:01.492Z] [ 94%] Built target template-discovery [2021-11-12T22:06:01.492Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-11-12T22:06:01.492Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-11-12T22:06:01.492Z] [ 97%] Built target device-file [2021-11-12T22:06:01.492Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-11-12T22:06:01.492Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-11-12T22:06:01.492Z] [100%] Built target device-terminal [2021-11-12T22:06:01.492Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-11-12T22:06:01.492Z] Install the project... [2021-11-12T22:06:01.492Z] -- Install configuration: "Release" [2021-11-12T22:06:01.492Z] -- Installing: /usr/local/lib/libcsdk.so [2021-11-12T22:06:01.492Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-11-12T22:06:01.492Z] -- Up-to-date: /usr/local/include [2021-11-12T22:06:01.492Z] -- Installing: /usr/local/include/devsdk [2021-11-12T22:06:01.492Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-11-12T22:06:01.492Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-11-12T22:06:01.492Z] -- Installing: /usr/local/include/edgex [2021-11-12T22:06:01.492Z] -- Installing: /usr/local/include/edgex/devices.h [2021-11-12T22:06:01.492Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-11-12T22:06:01.492Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-11-12T22:06:01.492Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-11-12T22:06:01.492Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-11-12T22:06:01.492Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-11-12T22:06:01.492Z] -- Installing: /usr/local/include/iot [2021-11-12T22:06:01.492Z] -- Installing: /usr/local/include/iot/base64.h [2021-11-12T22:06:01.492Z] -- Installing: /usr/local/include/iot/component.h [2021-11-12T22:06:01.492Z] -- Installing: /usr/local/include/iot/config.h [2021-11-12T22:06:01.492Z] -- Installing: /usr/local/include/iot/container.h [2021-11-12T22:06:01.492Z] -- Installing: /usr/local/include/iot/data.h [2021-11-12T22:06:01.492Z] -- Installing: /usr/local/include/iot/hash.h [2021-11-12T22:06:01.492Z] -- Installing: /usr/local/include/iot/iot.h [2021-11-12T22:06:01.492Z] -- Installing: /usr/local/include/iot/json.h [2021-11-12T22:06:01.492Z] -- Installing: /usr/local/include/iot/logger.h [2021-11-12T22:06:01.493Z] -- Installing: /usr/local/include/iot/os.h [2021-11-12T22:06:01.493Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-11-12T22:06:01.493Z] -- Installing: /usr/local/include/iot/thread.h [2021-11-12T22:06:01.493Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-11-12T22:06:01.493Z] -- Installing: /usr/local/include/iot/time.h [2021-11-12T22:06:01.493Z] -- Installing: /usr/local/include/iot/typecode.h [2021-11-12T22:06:01.493Z] -- Installing: /usr/local/include/iot/uuid.h [2021-11-12T22:06:01.493Z] -- Installing: /usr/local/include/iot/os [2021-11-12T22:06:01.493Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-11-12T22:06:01.493Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-11-12T22:06:01.493Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-11-12T22:06:01.493Z] -- Installing: /usr/local/include/iot/defs.h [2021-11-12T22:06:01.754Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-11-12T22:06:01.754Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-11-12T22:06:01.754Z] make: Leaving directory '/tmp/sdk/build/release' [2021-11-12T22:06:02.334Z] Removing intermediate container dc64a41069c1 [2021-11-12T22:06:02.334Z] ---> 6c21bc85ca50 [2021-11-12T22:06:02.334Z] Step 16/24 : FROM ${BASE} [2021-11-12T22:06:02.334Z] ---> c277a2dd7a9c [2021-11-12T22:06:02.334Z] Step 17/24 : LABEL maintainer="IOTech " [2021-11-12T22:06:02.334Z] ---> Running in f75d56858906 [2021-11-12T22:06:02.334Z] Removing intermediate container f75d56858906 [2021-11-12T22:06:02.334Z] ---> b4e7f9d4d61a [2021-11-12T22:06:02.334Z] 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 [2021-11-12T22:06:02.334Z] ---> Running in d6a6e37dc081 [2021-11-12T22:06:02.597Z] Connecting to iotech.jfrog.io (54.74.239.58:443) [2021-11-12T22:06:03.171Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2021-11-12T22:06:03.171Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2021-11-12T22:06:03.171Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2021-11-12T22:06:03.171Z] Removing intermediate container d6a6e37dc081 [2021-11-12T22:06:03.171Z] ---> e9c70a00aac4 [2021-11-12T22:06:03.171Z] Step 19/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-11-12T22:06:03.171Z] ---> Running in 68eb7df69610 [2021-11-12T22:06:03.751Z] Removing intermediate container 68eb7df69610 [2021-11-12T22:06:03.751Z] ---> fdb7c427d0b7 [2021-11-12T22:06:03.751Z] 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 [2021-11-12T22:06:03.751Z] ---> Running in 0a92e404ce02 [2021-11-12T22:06:04.014Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-12T22:06:04.958Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-12T22:06:04.958Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-12T22:06:05.534Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-11-12T22:06:05.534Z] (1/7) Installing curl (7.79.1-r0) [2021-11-12T22:06:05.534Z] (2/7) Installing hiredis (1.0.0-r0) [2021-11-12T22:06:05.534Z] (3/7) Installing hiredis-dev (1.0.0-r0) [2021-11-12T22:06:05.797Z] (4/7) Installing libuuid (2.37.2-r0) [2021-11-12T22:06:05.797Z] (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2021-11-12T22:06:06.738Z] (6/7) Installing libidn2 (2.3.1-r0) [2021-11-12T22:06:06.738Z] (7/7) Installing wget (1.21.1-r1) [2021-11-12T22:06:06.738Z] Executing busybox-1.33.1-r3.trigger [2021-11-12T22:06:06.738Z] OK: 282 MiB in 84 packages [2021-11-12T22:06:07.313Z] Removing intermediate container 0a92e404ce02 [2021-11-12T22:06:07.313Z] ---> 009d418c3378 [2021-11-12T22:06:07.313Z] Step 21/24 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-11-12T22:06:07.313Z] ---> ec6dbe64b864 [2021-11-12T22:06:07.313Z] Step 22/24 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-11-12T22:06:07.580Z] ---> 1f5a21e68d36 [2021-11-12T22:06:07.580Z] Step 23/24 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-11-12T22:06:07.580Z] ---> b635242777bc [2021-11-12T22:06:07.580Z] Step 24/24 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-11-12T22:06:07.840Z] ---> 2b847c1e74b8 [2021-11-12T22:06:07.840Z] Successfully built 2b847c1e74b8 [2021-11-12T22:06:07.840Z] Successfully tagged device-sdk-c-builder-x86_64:latest [Pipeline] sh [2021-11-12T22:06:08.186Z] + git log '--pretty=%H %s' [2021-11-12T22:06:08.186Z] + grep 'ci(lts-release)' [2021-11-12T22:06:08.186Z] + head -n 1 [2021-11-12T22:06:08.186Z] + awk '{print $1}' [Pipeline] echo [2021-11-12T22:06:09.210Z] [edgeXDocker.push] Tagging docker image device-sdk-c-builder-x86_64 with the following tags: [2021-11-12T22:06:09.210Z] 079451af9dbe3d895bc4497f5b25473ae375e010 [2021-11-12T22:06:09.210Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-12T22:06:09.512Z] + docker tag device-sdk-c-builder-x86_64 nexus3.edgexfoundry.org:10002/device-sdk-c-builder-x86_64:079451af9dbe3d895bc4497f5b25473ae375e010 [Pipeline] isUnix [Pipeline] sh [2021-11-12T22:06:09.810Z] + docker push nexus3.edgexfoundry.org:10002/device-sdk-c-builder-x86_64:079451af9dbe3d895bc4497f5b25473ae375e010 [2021-11-12T22:06:09.810Z] The push refers to repository [nexus3.edgexfoundry.org:10002/device-sdk-c-builder-x86_64] [2021-11-12T22:06:09.810Z] 06202b8715fd: Preparing [2021-11-12T22:06:09.810Z] f3f454440b47: Preparing [2021-11-12T22:06:09.810Z] 9c9538930f31: Preparing [2021-11-12T22:06:09.810Z] 7f7cad31256d: Preparing [2021-11-12T22:06:09.810Z] 2da607482077: Preparing [2021-11-12T22:06:09.810Z] 413d8685d1fa: Preparing [2021-11-12T22:06:09.810Z] 2e3b4e9c565a: Preparing [2021-11-12T22:06:09.810Z] 137ddf4b62db: Preparing [2021-11-12T22:06:09.810Z] 1c8d816e9eea: Preparing [2021-11-12T22:06:09.810Z] e2eb06d8af82: Preparing [2021-11-12T22:06:09.810Z] 413d8685d1fa: Waiting [2021-11-12T22:06:09.810Z] 2e3b4e9c565a: Waiting [2021-11-12T22:06:09.810Z] 137ddf4b62db: Waiting [2021-11-12T22:06:09.810Z] 1c8d816e9eea: Waiting [2021-11-12T22:06:09.810Z] e2eb06d8af82: Waiting [2021-11-12T22:06:09.810Z] 7f7cad31256d: Pushed [2021-11-12T22:06:09.810Z] f3f454440b47: Pushed [2021-11-12T22:06:10.074Z] 9c9538930f31: Pushed [2021-11-12T22:06:10.074Z] 06202b8715fd: Pushed [2021-11-12T22:06:10.074Z] 137ddf4b62db: Layer already exists [2021-11-12T22:06:10.074Z] 1c8d816e9eea: Layer already exists [2021-11-12T22:06:10.074Z] e2eb06d8af82: Layer already exists [2021-11-12T22:06:10.074Z] 2e3b4e9c565a: Pushed [2021-11-12T22:06:10.074Z] 413d8685d1fa: Pushed [2021-11-12T22:06:10.074Z] 2da607482077: Pushed [2021-11-12T22:06:10.336Z] 079451af9dbe3d895bc4497f5b25473ae375e010: digest: sha256:092cf4bfb426564fd07c7b2b54f11296eb8d41f5011db5d802818da05a6d4b2b size: 2407 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-12T22:06:10.365Z] ===================================================== [Pipeline] echo [2021-11-12T22:06:10.371Z] taggedImages: [2021-11-12T22:06:10.371Z] - nexus3.edgexfoundry.org:10002/device-sdk-c-builder-x86_64:079451af9dbe3d895bc4497f5b25473ae375e010 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-12T22:07:12.065Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-430 in /w/workspace/dgexfoundry_device-sdk-c_jakarta [Pipeline] { [Pipeline] checkout [2021-11-12T22:07:12.245Z] Selected Git installation does not exist. Using Default [2021-11-12T22:07:12.245Z] The recommended git tool is: NONE [2021-11-12T22:07:17.353Z] using credential edgex-jenkins-ssh [2021-11-12T22:07:17.381Z] Cloning the remote Git repository [2021-11-12T22:07:17.427Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-11-12T22:07:17.522Z] > git init /w/workspace/dgexfoundry_device-sdk-c_jakarta # timeout=10 [2021-11-12T22:07:17.638Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-11-12T22:07:17.639Z] > git --version # timeout=10 [2021-11-12T22:07:17.657Z] > git --version # 'git version 2.17.1' [2021-11-12T22:07:17.658Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-12T22:07:17.743Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-12T22:07:18.918Z] Avoid second fetch [2021-11-12T22:07:18.919Z] Checking out Revision 079451af9dbe3d895bc4497f5b25473ae375e010 (jakarta) [2021-11-12T22:07:18.875Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-11-12T22:07:18.898Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-12T22:07:18.938Z] > git config core.sparsecheckout # timeout=10 [2021-11-12T22:07:18.956Z] > git checkout -f 079451af9dbe3d895bc4497f5b25473ae375e010 # timeout=10 [2021-11-12T22:07:23.161Z] Commit message: "ci(lts-release): LTS release v2.1.0 @9c093d9" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-12T22:07:24.148Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-12T22:07:24.148Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-12T22:07:24.148Z] Dload Upload Total Spent Left Speed [2021-11-12T22:07:24.148Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 82685 0 --:--:-- --:--:-- --:--:-- 82685 [Pipeline] sh [2021-11-12T22:07:24.551Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-12T22:07:24.897Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-11-12T22:07:24.897Z] + sudo tee /etc/docker/daemon.new [2021-11-12T22:07:24.897Z] { [2021-11-12T22:07:24.897Z] "registry-mirrors": [ [2021-11-12T22:07:24.897Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-12T22:07:24.897Z] ], [2021-11-12T22:07:24.897Z] "bip": "10.250.0.254/24", [2021-11-12T22:07:24.897Z] "hosts": [ [2021-11-12T22:07:24.897Z] "tcp://0.0.0.0:5555", [2021-11-12T22:07:24.897Z] "unix:///var/run/docker.sock" [2021-11-12T22:07:24.897Z] ], [2021-11-12T22:07:24.897Z] "mtu": 1458, [2021-11-12T22:07:24.897Z] "selinux-enabled": true, [2021-11-12T22:07:24.897Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-12T22:07:24.897Z] } [Pipeline] sh [2021-11-12T22:07:25.240Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-12T22:07:25.581Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-12T22:07:43.973Z] provisioning config files... [2021-11-12T22:07:43.997Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/dgexfoundry_device-sdk-c_jakarta@tmp/config6120450530922415866tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-12T22:07:44.351Z] ---> docker-login.sh [2021-11-12T22:07:44.351Z] nexus3.edgexfoundry.org:10001 [2021-11-12T22:07:44.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-12T22:07:45.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-12T22:07:45.233Z] Configure a credential helper to remove this warning. See [2021-11-12T22:07:45.233Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-12T22:07:45.233Z] [2021-11-12T22:07:45.233Z] Login Succeeded [2021-11-12T22:07:45.233Z] nexus3.edgexfoundry.org:10002 [2021-11-12T22:07:45.507Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-12T22:07:45.785Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-12T22:07:45.785Z] Configure a credential helper to remove this warning. See [2021-11-12T22:07:45.785Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-12T22:07:45.785Z] [2021-11-12T22:07:45.785Z] Login Succeeded [2021-11-12T22:07:45.785Z] nexus3.edgexfoundry.org:10003 [2021-11-12T22:07:46.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-12T22:07:46.337Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-12T22:07:46.337Z] Configure a credential helper to remove this warning. See [2021-11-12T22:07:46.337Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-12T22:07:46.337Z] [2021-11-12T22:07:46.337Z] Login Succeeded [2021-11-12T22:07:46.337Z] nexus3.edgexfoundry.org:10004 [2021-11-12T22:07:46.612Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-12T22:07:46.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-12T22:07:46.886Z] Configure a credential helper to remove this warning. See [2021-11-12T22:07:46.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-12T22:07:46.886Z] [2021-11-12T22:07:46.886Z] Login Succeeded [2021-11-12T22:07:46.886Z] docker.io [2021-11-12T22:07:47.159Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-12T22:07:47.754Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-12T22:07:47.754Z] Configure a credential helper to remove this warning. See [2021-11-12T22:07:47.754Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-12T22:07:47.754Z] [2021-11-12T22:07:47.754Z] Login Succeeded [2021-11-12T22:07:47.754Z] ---> docker-login.sh ends [Pipeline] } [2021-11-12T22:07:47.771Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-12T22:07:47.807Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] sh [2021-11-12T22:07:48.129Z] + echo 0.0.0 [Pipeline] echo [2021-11-12T22:07:48.149Z] [prepBaseBuildImage] Generating new image with name: device-sdk-c-builder-arm64 [Pipeline] echo [2021-11-12T22:07:48.160Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-12T22:07:48.169Z] ========================================================= [2021-11-12T22:07:48.169Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-gcc-base-arm64:gcc-lts] [2021-11-12T22:07:48.169Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-12T22:07:48.501Z] + docker build -t device-sdk-c-builder-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-gcc-base-arm64:gcc-lts . [2021-11-12T22:07:49.105Z] Sending build context to Docker daemon 2.716MB [2021-11-12T22:07:49.105Z] Step 1/24 : ARG BASE=alpine:3.14 [2021-11-12T22:07:49.105Z] Step 2/24 : FROM ${BASE} as builder [2021-11-12T22:07:49.105Z] gcc-lts: Pulling from edgex-devops/edgex-gcc-base-arm64 [2021-11-12T22:07:49.105Z] 552d1f2373af: Pulling fs layer [2021-11-12T22:07:49.105Z] 66d1a851268c: Pulling fs layer [2021-11-12T22:07:49.105Z] a8df42328c97: Pulling fs layer [2021-11-12T22:07:49.105Z] 66d1a851268c: Verifying Checksum [2021-11-12T22:07:49.105Z] 66d1a851268c: Download complete [2021-11-12T22:07:49.385Z] 552d1f2373af: Verifying Checksum [2021-11-12T22:07:49.385Z] 552d1f2373af: Download complete [2021-11-12T22:07:49.990Z] 552d1f2373af: Pull complete [2021-11-12T22:07:50.265Z] 66d1a851268c: Pull complete [2021-11-12T22:07:51.246Z] a8df42328c97: Verifying Checksum [2021-11-12T22:07:51.246Z] a8df42328c97: Download complete [2021-11-12T22:07:59.529Z] a8df42328c97: Pull complete [2021-11-12T22:07:59.529Z] Digest: sha256:0df23b1678be9bcf5f75e5285242a59883bcab5729695e44a6242efd441b27a4 [2021-11-12T22:07:59.529Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-gcc-base-arm64:gcc-lts [2021-11-12T22:07:59.529Z] ---> d97667b1ee65 [2021-11-12T22:07:59.529Z] 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 [2021-11-12T22:07:59.803Z] ---> Running in 25f6dc6aafcd [2021-11-12T22:08:01.241Z] Connecting to iotech.jfrog.io (54.229.110.245:443) [2021-11-12T22:08:01.518Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2021-11-12T22:08:01.518Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2021-11-12T22:08:01.518Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2021-11-12T22:08:02.116Z] Removing intermediate container 25f6dc6aafcd [2021-11-12T22:08:02.116Z] ---> 8565dfc1a467 [2021-11-12T22:08:02.116Z] Step 4/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-11-12T22:08:02.399Z] ---> Running in e77e834b12c8 [2021-11-12T22:08:04.383Z] Removing intermediate container e77e834b12c8 [2021-11-12T22:08:04.383Z] ---> 41e527eac2ac [2021-11-12T22:08:04.383Z] 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 [2021-11-12T22:08:04.383Z] ---> Running in a90f04d9569d [2021-11-12T22:08:05.367Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-12T22:08:06.340Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-12T22:08:06.615Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-12T22:08:07.590Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-11-12T22:08:07.590Z] (1/27) Installing hiredis (1.0.0-r0) [2021-11-12T22:08:07.590Z] (2/27) Installing hiredis-dev (1.0.0-r0) [2021-11-12T22:08:07.590Z] (3/27) Installing ncurses-dev (6.2_p20210612-r0) [2021-11-12T22:08:07.861Z] (4/27) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2021-11-12T22:08:08.833Z] (5/27) Installing libblkid (2.37.2-r0) [2021-11-12T22:08:08.833Z] (6/27) Installing blkid (2.37.2-r0) [2021-11-12T22:08:09.107Z] (7/27) Installing libcap-ng (0.8.2-r0) [2021-11-12T22:08:09.107Z] (8/27) Installing setpriv (2.37.2-r0) [2021-11-12T22:08:09.107Z] (9/27) Installing libmount (2.37.2-r0) [2021-11-12T22:08:09.380Z] (10/27) Installing libsmartcols (2.37.2-r0) [2021-11-12T22:08:09.380Z] (11/27) Installing findmnt (2.37.2-r0) [2021-11-12T22:08:09.380Z] (12/27) Installing mcookie (2.37.2-r0) [2021-11-12T22:08:09.652Z] (13/27) Installing hexdump (2.37.2-r0) [2021-11-12T22:08:09.652Z] (14/27) Installing lsblk (2.37.2-r0) [2021-11-12T22:08:09.652Z] (15/27) Installing libuuid (2.37.2-r0) [2021-11-12T22:08:09.921Z] (16/27) Installing libfdisk (2.37.2-r0) [2021-11-12T22:08:09.921Z] (17/27) Installing sfdisk (2.37.2-r0) [2021-11-12T22:08:09.921Z] (18/27) Installing cfdisk (2.37.2-r0) [2021-11-12T22:08:10.192Z] (19/27) Installing partx (2.37.2-r0) [2021-11-12T22:08:10.192Z] (20/27) Installing flock (2.37.2-r0) [2021-11-12T22:08:10.192Z] (21/27) Installing logger (2.37.2-r0) [2021-11-12T22:08:10.461Z] (22/27) Installing uuidgen (2.37.2-r0) [2021-11-12T22:08:10.461Z] (23/27) Installing libeconf (0.3.8-r1) [2021-11-12T22:08:10.461Z] (24/27) Installing util-linux (2.37.2-r0) [2021-11-12T22:08:10.732Z] (25/27) Installing util-linux-dev (2.37.2-r0) [2021-11-12T22:08:11.003Z] (26/27) Installing libidn2 (2.3.1-r0) [2021-11-12T22:08:11.003Z] (27/27) Installing wget (1.21.1-r1) [2021-11-12T22:08:11.274Z] Executing busybox-1.33.1-r3.trigger [2021-11-12T22:08:11.274Z] OK: 286 MiB in 104 packages [2021-11-12T22:08:12.697Z] Removing intermediate container a90f04d9569d [2021-11-12T22:08:12.697Z] ---> cd124aa3031f [2021-11-12T22:08:12.697Z] Step 6/24 : ENV CBOR_VERSION=0.5.0 [2021-11-12T22:08:12.697Z] ---> Running in 40d4447d41a8 [2021-11-12T22:08:12.970Z] Removing intermediate container 40d4447d41a8 [2021-11-12T22:08:12.970Z] ---> 2998e6c68a7a [2021-11-12T22:08:12.970Z] 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 [2021-11-12T22:08:12.970Z] ---> Running in 91bb0296f3f4 [2021-11-12T22:08:14.407Z] --2021-11-12 22:08:14-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-11-12T22:08:14.407Z] Resolving github.com (github.com)... 140.82.114.4 [2021-11-12T22:08:14.407Z] Connecting to github.com (github.com)|140.82.114.4|:443... connected. [2021-11-12T22:08:14.407Z] HTTP request sent, awaiting response... 302 Found [2021-11-12T22:08:14.407Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-11-12T22:08:14.407Z] --2021-11-12 22:08:14-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-11-12T22:08:14.407Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 [2021-11-12T22:08:14.407Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. [2021-11-12T22:08:14.407Z] HTTP request sent, awaiting response... 200 OK [2021-11-12T22:08:14.407Z] Length: unspecified [application/x-gzip] [2021-11-12T22:08:14.407Z] Saving to: 'STDOUT' [2021-11-12T22:08:14.407Z]  [2021-11-12T22:08:14.682Z] 0K .......... .......... .......... .......... .......... 1.27M [2021-11-12T22:08:14.682Z] 50K .......... .......... .......... .......... .......... 2.43M [2021-11-12T22:08:14.682Z] 100K .......... .......... .......... .......... .......... 18.4M [2021-11-12T22:08:14.682Z] 150K .......... .......... .......... .......... .......... 2.69M [2021-11-12T22:08:14.682Z] 200K .......... .......... .......... .......... .......... 18.0M [2021-11-12T22:08:14.682Z] 250K .......... .......... .......... .......... .......... 3.22M [2021-11-12T22:08:14.682Z] 300K .......... .......... .......... .......... .......... 4.87M [2021-11-12T22:08:14.682Z] 350K .......... .......... .......... .......... .......... 4.34M [2021-11-12T22:08:14.682Z] 400K .......... .......... .......... .......... .......... 3.03M [2021-11-12T22:08:14.682Z] 450K .......... .......... .......... .......... .......... 4.15M [2021-11-12T22:08:14.682Z] 500K .......... .......... .......... .......... .......... 6.27M [2021-11-12T22:08:14.682Z] 550K .......... .......... .......... .......... .......... 2.76M [2021-11-12T22:08:14.682Z] 600K .......... .......... .......... .......... .......... 860K [2021-11-12T22:08:14.682Z] 650K .......... .......... .......... .......... .......... 2.20M [2021-11-12T22:08:14.682Z] 700K .. 5.51M=0.3s [2021-11-12T22:08:14.682Z] [2021-11-12T22:08:14.682Z] 2021-11-12 22:08:14 (2.72 MB/s) - written to stdout [719348] [2021-11-12T22:08:14.682Z] [2021-11-12T22:08:15.276Z] -- The C compiler identification is GNU 10.3.1 [2021-11-12T22:08:15.276Z] -- The CXX compiler identification is GNU 10.3.1 [2021-11-12T22:08:15.276Z] -- Detecting C compiler ABI info [2021-11-12T22:08:15.548Z] -- Detecting C compiler ABI info - done [2021-11-12T22:08:15.823Z] -- Check for working C compiler: /usr/bin/cc - skipped [2021-11-12T22:08:15.823Z] -- Detecting C compile features [2021-11-12T22:08:15.823Z] -- Detecting C compile features - done [2021-11-12T22:08:15.823Z] -- Detecting CXX compiler ABI info [2021-11-12T22:08:16.104Z] -- Detecting CXX compiler ABI info - done [2021-11-12T22:08:16.104Z] -- Check for working CXX compiler: /usr/bin/c++ - skipped [2021-11-12T22:08:16.104Z] -- Detecting CXX compile features [2021-11-12T22:08:16.104Z] -- Detecting CXX compile features - done [2021-11-12T22:08:16.104Z] -- Looking for include file endian.h [2021-11-12T22:08:16.375Z] -- Looking for include file endian.h - found [2021-11-12T22:08:16.375Z] -- Looking for sys/types.h [2021-11-12T22:08:16.649Z] -- Looking for sys/types.h - found [2021-11-12T22:08:16.649Z] -- Looking for stdint.h [2021-11-12T22:08:16.921Z] -- Looking for stdint.h - found [2021-11-12T22:08:16.921Z] -- Looking for stddef.h [2021-11-12T22:08:17.195Z] -- Looking for stddef.h - found [2021-11-12T22:08:17.195Z] -- Check size of size_t [2021-11-12T22:08:17.466Z] -- Check size of size_t - done [2021-11-12T22:08:17.466Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-11-12T22:08:17.466Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-11-12T22:08:17.466Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-11-12T22:08:17.466Z] CMake did not find one. [2021-11-12T22:08:17.466Z] [2021-11-12T22:08:17.466Z] Could not find a package configuration file provided by "cJSON" with any of [2021-11-12T22:08:17.466Z] the following names: [2021-11-12T22:08:17.466Z] [2021-11-12T22:08:17.466Z] cJSONConfig.cmake [2021-11-12T22:08:17.466Z] cjson-config.cmake [2021-11-12T22:08:17.466Z] [2021-11-12T22:08:17.466Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-11-12T22:08:17.466Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-11-12T22:08:17.466Z] provides a separate development package or SDK, be sure it has been [2021-11-12T22:08:17.466Z] installed. [2021-11-12T22:08:17.466Z] [2021-11-12T22:08:17.466Z] [2021-11-12T22:08:17.466Z] -- Configuring done [2021-11-12T22:08:17.744Z] -- Generating done [2021-11-12T22:08:17.744Z] -- Build files have been written to: /tmp/cbor [2021-11-12T22:08:17.744Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-11-12T22:08:18.720Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-11-12T22:08:19.697Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-11-12T22:08:19.697Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-11-12T22:08:20.669Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-11-12T22:08:20.669Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-11-12T22:08:20.941Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-11-12T22:08:21.212Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-11-12T22:08:21.484Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-11-12T22:08:21.757Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-11-12T22:08:22.351Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-11-12T22:08:22.945Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-11-12T22:08:23.218Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-11-12T22:08:23.810Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-11-12T22:08:24.082Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-11-12T22:08:24.355Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-11-12T22:08:24.626Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-11-12T22:08:24.898Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-11-12T22:08:25.168Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-11-12T22:08:25.441Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-11-12T22:08:25.712Z] [ 40%] Linking C shared library libcbor.so [2021-11-12T22:08:25.712Z] [ 40%] Built target cbor_shared [2021-11-12T22:08:25.712Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-11-12T22:08:26.685Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-11-12T22:08:27.654Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-11-12T22:08:27.654Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-11-12T22:08:29.625Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-11-12T22:08:29.898Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-11-12T22:08:30.170Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-11-12T22:08:30.443Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-11-12T22:08:30.720Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-11-12T22:08:30.992Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-11-12T22:08:31.968Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-11-12T22:08:32.239Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-11-12T22:08:32.828Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-11-12T22:08:33.422Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-11-12T22:08:33.696Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-11-12T22:08:33.970Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-11-12T22:08:34.242Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-11-12T22:08:34.514Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-11-12T22:08:34.788Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-11-12T22:08:35.382Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-11-12T22:08:35.382Z] [ 80%] Linking C static library libcbor.a [2021-11-12T22:08:35.382Z] [ 80%] Built target cbor [2021-11-12T22:08:35.382Z] [ 82%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-11-12T22:08:35.655Z] [ 84%] Linking C executable readfile [2021-11-12T22:08:35.939Z] [ 84%] Built target readfile [2021-11-12T22:08:35.939Z] [ 86%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-11-12T22:08:36.212Z] [ 88%] Linking C executable create_items [2021-11-12T22:08:36.212Z] [ 88%] Built target create_items [2021-11-12T22:08:36.212Z] [ 90%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-11-12T22:08:36.484Z] [ 92%] Linking C executable sort [2021-11-12T22:08:36.484Z] [ 92%] Built target sort [2021-11-12T22:08:36.484Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-11-12T22:08:36.756Z] [ 96%] Linking C executable hello [2021-11-12T22:08:36.756Z] [ 96%] Built target hello [2021-11-12T22:08:36.757Z] [ 98%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-11-12T22:08:37.030Z] [100%] Linking C executable streaming_parser [2021-11-12T22:08:37.302Z] [100%] Built target streaming_parser [2021-11-12T22:08:37.302Z] Install the project... [2021-11-12T22:08:37.302Z] -- Install configuration: "Release" [2021-11-12T22:08:37.302Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-11-12T22:08:37.302Z] -- Installing: /usr/local/lib/libcbor.a [2021-11-12T22:08:37.302Z] -- Installing: /usr/local/lib/libcbor.so.0.0.0 [2021-11-12T22:08:37.302Z] -- Installing: /usr/local/lib/libcbor.so.0 [2021-11-12T22:08:37.302Z] -- Installing: /usr/local/lib/libcbor.so [2021-11-12T22:08:37.302Z] -- Up-to-date: /usr/local/include/cbor [2021-11-12T22:08:37.302Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-11-12T22:08:37.302Z] -- Installing: /usr/local/include/cbor/ints.h [2021-11-12T22:08:37.302Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-11-12T22:08:37.302Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-11-12T22:08:37.302Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-11-12T22:08:37.302Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-11-12T22:08:37.302Z] -- Installing: /usr/local/include/cbor/data.h [2021-11-12T22:08:37.302Z] -- Installing: /usr/local/include/cbor/common.h [2021-11-12T22:08:37.302Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-11-12T22:08:37.302Z] -- Installing: /usr/local/include/cbor/strings.h [2021-11-12T22:08:37.302Z] -- Installing: /usr/local/include/cbor/tags.h [2021-11-12T22:08:37.302Z] -- Installing: /usr/local/include/cbor/internal [2021-11-12T22:08:37.302Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-11-12T22:08:37.302Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-11-12T22:08:37.302Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-11-12T22:08:37.302Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-11-12T22:08:37.302Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-11-12T22:08:37.302Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-11-12T22:08:37.302Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-11-12T22:08:37.302Z] -- Installing: /usr/local/include/cbor/maps.h [2021-11-12T22:08:37.302Z] -- Installing: /usr/local/include/cbor.h [2021-11-12T22:08:37.302Z] -- Installing: /usr/local/lib/pkgconfig/libcbor.pc [2021-11-12T22:08:39.272Z] Removing intermediate container 91bb0296f3f4 [2021-11-12T22:08:39.272Z] ---> 2668571f5c21 [2021-11-12T22:08:39.272Z] Step 8/24 : RUN mkdir /tmp/sdk [2021-11-12T22:08:39.272Z] ---> Running in eb95c911aac4 [2021-11-12T22:08:41.243Z] Removing intermediate container eb95c911aac4 [2021-11-12T22:08:41.243Z] ---> 40e1dceec81d [2021-11-12T22:08:41.243Z] Step 9/24 : COPY VERSION /tmp/sdk [2021-11-12T22:08:41.837Z] ---> c4392d801d4c [2021-11-12T22:08:41.837Z] Step 10/24 : COPY src /tmp/sdk/src [2021-11-12T22:08:42.818Z] ---> 49ea5016414c [2021-11-12T22:08:42.818Z] Step 11/24 : COPY include /tmp/sdk/include [2021-11-12T22:08:43.415Z] ---> 042d7f33c113 [2021-11-12T22:08:43.415Z] Step 12/24 : COPY scripts /tmp/sdk/scripts [2021-11-12T22:08:44.396Z] ---> 07250d804df8 [2021-11-12T22:08:44.396Z] Step 13/24 : COPY LICENSE /tmp/sdk [2021-11-12T22:08:44.990Z] ---> 465301d93f23 [2021-11-12T22:08:44.990Z] Step 14/24 : COPY Attribution.txt /tmp/sdk [2021-11-12T22:08:45.969Z] ---> 0b03527de73a [2021-11-12T22:08:45.969Z] Step 15/24 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-11-12T22:08:45.969Z] ---> Running in 1ff70232698b [2021-11-12T22:08:46.950Z] + CPPCHECK=false [2021-11-12T22:08:46.950Z] + DOCGEN=false [2021-11-12T22:08:46.950Z] + TOMLVER=SDK-0.2 [2021-11-12T22:08:46.950Z] + CUTILVER=1.2.2 [2021-11-12T22:08:46.950Z] + '[' 0 -gt 0 ] [2021-11-12T22:08:46.950Z] + readlink -f ./scripts/build.sh [2021-11-12T22:08:46.950Z] + dirname /tmp/sdk/scripts/build.sh [2021-11-12T22:08:46.950Z] + dirname /tmp/sdk/scripts [2021-11-12T22:08:46.950Z] + ROOT=/tmp/sdk [2021-11-12T22:08:46.950Z] + cd /tmp/sdk [2021-11-12T22:08:46.950Z] + '[' '!' -d deps ] [2021-11-12T22:08:46.950Z] + mkdir deps [2021-11-12T22:08:46.950Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-11-12T22:08:46.950Z] + tar -C deps -z -x -f - [2021-11-12T22:08:46.950Z] --2021-11-12 22:08:46-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-11-12T22:08:46.950Z] Resolving github.com (github.com)... 140.82.114.4 [2021-11-12T22:08:47.223Z] Connecting to github.com (github.com)|140.82.114.4|:443... connected. [2021-11-12T22:08:47.223Z] HTTP request sent, awaiting response... 302 Found [2021-11-12T22:08:47.223Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-11-12T22:08:47.223Z] --2021-11-12 22:08:47-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-11-12T22:08:47.223Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 [2021-11-12T22:08:47.223Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. [2021-11-12T22:08:47.495Z] HTTP request sent, awaiting response... 200 OK [2021-11-12T22:08:47.495Z] Length: unspecified [application/x-gzip] [2021-11-12T22:08:47.495Z] Saving to: 'STDOUT' [2021-11-12T22:08:47.495Z] [2021-11-12T22:08:47.495Z] 0K .......... ...... 842K=0.02s [2021-11-12T22:08:47.495Z] [2021-11-12T22:08:47.495Z] 2021-11-12 22:08:47 (842 KB/s) - written to stdout [16451] [2021-11-12T22:08:47.495Z] [2021-11-12T22:08:47.495Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-11-12T22:08:47.495Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2021-11-12T22:08:47.495Z] + tar -C deps -z -x -f - [2021-11-12T22:08:47.495Z] --2021-11-12 22:08:47-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2021-11-12T22:08:47.495Z] Resolving github.com (github.com)... 140.82.114.4 [2021-11-12T22:08:47.495Z] Connecting to github.com (github.com)|140.82.114.4|:443... connected. [2021-11-12T22:08:47.495Z] HTTP request sent, awaiting response... 302 Found [2021-11-12T22:08:47.495Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] [2021-11-12T22:08:47.495Z] --2021-11-12 22:08:47-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [2021-11-12T22:08:47.495Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 [2021-11-12T22:08:47.769Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. [2021-11-12T22:08:47.769Z] HTTP request sent, awaiting response... 200 OK [2021-11-12T22:08:47.769Z] Length: unspecified [application/x-gzip] [2021-11-12T22:08:47.769Z] Saving to: 'STDOUT' [2021-11-12T22:08:47.769Z]  [2021-11-12T22:08:48.043Z] 0K .......... .......... .......... .......... .......... 1.27M [2021-11-12T22:08:48.043Z] 50K .......... .......... .......... .......... .......... 2.47M [2021-11-12T22:08:48.043Z] 100K .......... .......... .......... .......... .......... 2.29M [2021-11-12T22:08:48.043Z] 150K .......... .......... .......... ......... 2.78M=0.09s [2021-11-12T22:08:48.043Z] [2021-11-12T22:08:48.043Z] 2021-11-12 22:08:47 (1.98 MB/s) - written to stdout [193961] [2021-11-12T22:08:48.043Z] [2021-11-12T22:08:48.043Z] + mkdir -p src/c/iot [2021-11-12T22:08:48.043Z] + 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 [2021-11-12T22:08:48.043Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2021-11-12T22:08:48.043Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2021-11-12T22:08:48.043Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2021-11-12T22:08:48.043Z] + mkdir -p include/iot [2021-11-12T22:08:48.043Z] + 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 [2021-11-12T22:08:48.043Z] + mkdir -p include/iot/os [2021-11-12T22:08:48.043Z] + 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 [2021-11-12T22:08:48.043Z] + mkdir -p /tmp/sdk/build/release [2021-11-12T22:08:48.043Z] + cd /tmp/sdk/build/release [2021-11-12T22:08:48.043Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-11-12T22:08:48.317Z] -- The C compiler identification is GNU 10.3.1 [2021-11-12T22:08:48.317Z] -- Detecting C compiler ABI info [2021-11-12T22:08:48.594Z] -- Detecting C compiler ABI info - done [2021-11-12T22:08:48.594Z] -- Check for working C compiler: /usr/bin/cc - skipped [2021-11-12T22:08:48.594Z] -- Detecting C compile features [2021-11-12T22:08:48.594Z] -- Detecting C compile features - done [2021-11-12T22:08:48.594Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-11-12T22:08:48.867Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") [2021-11-12T22:08:48.867Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-11-12T22:08:48.867Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-11-12T22:08:48.867Z] -- Found LIBCBOR: /usr/local/lib/libcbor.so [2021-11-12T22:08:48.867Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-11-12T22:08:48.867Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-11-12T22:08:48.867Z] -- C SDK 0.0.0 for Linux [2021-11-12T22:08:48.867Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-11-12T22:08:49.139Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-11-12T22:08:49.411Z] -- Found Curses: /usr/lib/libcurses.so [2021-11-12T22:08:49.411Z] -- Configuring done [2021-11-12T22:08:49.683Z] -- Generating done [2021-11-12T22:08:49.683Z] -- Build files have been written to: /tmp/sdk/build/release [2021-11-12T22:08:49.683Z] + + maketee all release.log [2021-11-12T22:08:49.683Z] package [2021-11-12T22:08:49.956Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-11-12T22:08:50.549Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-11-12T22:08:51.143Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-11-12T22:08:53.758Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-11-12T22:08:54.031Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-11-12T22:08:54.305Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-11-12T22:08:55.281Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-11-12T22:08:55.876Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-11-12T22:08:56.150Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-11-12T22:08:57.581Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-11-12T22:08:59.552Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-11-12T22:08:59.825Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-11-12T22:09:00.798Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-11-12T22:09:01.393Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-11-12T22:09:01.987Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-11-12T22:09:01.987Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-11-12T22:09:02.262Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-11-12T22:09:05.760Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-11-12T22:09:06.037Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-11-12T22:09:06.318Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-11-12T22:09:06.914Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-11-12T22:09:07.504Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-11-12T22:09:07.772Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2021-11-12T22:09:07.772Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2021-11-12T22:09:07.772Z] 275 | const iot_component_factory_t * factory; [2021-11-12T22:09:07.772Z] | ^~~~~~~ [2021-11-12T22:09:08.362Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-11-12T22:09:13.728Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-11-12T22:09:13.728Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-11-12T22:09:13.728Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-11-12T22:09:13.999Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-11-12T22:09:14.588Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-11-12T22:09:14.860Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-11-12T22:09:16.286Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-11-12T22:09:16.558Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-11-12T22:09:17.152Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-11-12T22:09:17.744Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2021-11-12T22:09:18.015Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-11-12T22:09:20.621Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-11-12T22:09:20.894Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-11-12T22:09:21.872Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-11-12T22:09:22.143Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-11-12T22:09:27.526Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-11-12T22:09:27.526Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-11-12T22:09:27.797Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-11-12T22:09:28.389Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-11-12T22:09:28.389Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2021-11-12T22:09:28.389Z] /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] [2021-11-12T22:09:28.389Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2021-11-12T22:09:28.389Z] | ^~~~~~~~~~~~~ [2021-11-12T22:09:28.389Z] | | [2021-11-12T22:09:28.389Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2021-11-12T22:09:28.389Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-11-12T22:09:28.389Z] /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 *)' [2021-11-12T22:09:28.389Z] 2714 | MHD_KeyValueIterator iterator, [2021-11-12T22:09:28.389Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2021-11-12T22:09:28.389Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2021-11-12T22:09:28.389Z] /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2021-11-12T22:09:28.389Z] 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2021-11-12T22:09:28.389Z] | ^~~~~~~~~~~~ [2021-11-12T22:09:28.389Z] | | [2021-11-12T22:09:28.390Z] | 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 **)} [2021-11-12T22:09:28.390Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-11-12T22:09:28.390Z] /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 **)'} [2021-11-12T22:09:28.390Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-11-12T22:09:28.390Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-11-12T22:09:28.390Z] /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2021-11-12T22:09:28.390Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2021-11-12T22:09:28.390Z] | ^~~~~~~~~~~~ [2021-11-12T22:09:28.390Z] | | [2021-11-12T22:09:28.390Z] | 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 **)} [2021-11-12T22:09:28.390Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-11-12T22:09:28.390Z] /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 **)'} [2021-11-12T22:09:28.390Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-11-12T22:09:28.390Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-11-12T22:09:29.365Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-11-12T22:09:31.332Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-11-12T22:09:31.923Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-11-12T22:09:32.195Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-11-12T22:09:32.790Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-11-12T22:09:35.400Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-11-12T22:09:38.774Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-11-12T22:09:39.744Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-11-12T22:09:40.336Z] [ 76%] Linking C shared library libcsdk.so [2021-11-12T22:09:40.336Z] [ 76%] Built target csdk [2021-11-12T22:09:40.336Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-11-12T22:09:41.307Z] [ 79%] Linking C executable template [2021-11-12T22:09:41.579Z] [ 79%] Built target template [2021-11-12T22:09:41.579Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-11-12T22:09:42.175Z] [ 82%] Linking C executable device-counter [2021-11-12T22:09:42.175Z] [ 82%] Built target device-counter [2021-11-12T22:09:42.449Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-11-12T22:09:42.723Z] [ 85%] Linking C executable device-random [2021-11-12T22:09:42.998Z] [ 85%] Built target device-random [2021-11-12T22:09:42.998Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-11-12T22:09:43.593Z] [ 88%] Linking C executable device-gyro [2021-11-12T22:09:43.864Z] [ 88%] Built target device-gyro [2021-11-12T22:09:43.864Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-11-12T22:09:44.462Z] [ 91%] Linking C executable device-bitfields [2021-11-12T22:09:44.462Z] [ 91%] Built target device-bitfields [2021-11-12T22:09:44.739Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-11-12T22:09:45.332Z] [ 94%] Linking C executable template-discovery [2021-11-12T22:09:45.604Z] [ 94%] Built target template-discovery [2021-11-12T22:09:45.876Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-11-12T22:09:46.468Z] [ 97%] Linking C executable device-file [2021-11-12T22:09:46.740Z] [ 97%] Built target device-file [2021-11-12T22:09:46.740Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-11-12T22:09:47.336Z] [100%] Linking C executable device-terminal [2021-11-12T22:09:47.607Z] [100%] Built target device-terminal [2021-11-12T22:09:47.607Z] Run CPack packaging tool... [2021-11-12T22:09:47.607Z] CPack: Create package using TGZ [2021-11-12T22:09:47.607Z] CPack: Install projects [2021-11-12T22:09:47.607Z] CPack: - Run preinstall target for: Csdk [2021-11-12T22:09:48.581Z] CPack: - Install project: Csdk [] [2021-11-12T22:09:48.581Z] CPack: Create package [2021-11-12T22:09:48.581Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-11-12T22:09:48.581Z] + '[' false '=' true ] [2021-11-12T22:09:48.581Z] + '[' false '=' true ] [2021-11-12T22:09:48.581Z] + mkdir -p /tmp/sdk/build/debug [2021-11-12T22:09:48.581Z] + cd /tmp/sdk/build/debug [2021-11-12T22:09:48.581Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-11-12T22:09:48.852Z] -- The C compiler identification is GNU 10.3.1 [2021-11-12T22:09:48.853Z] -- Detecting C compiler ABI info [2021-11-12T22:09:49.123Z] -- Detecting C compiler ABI info - done [2021-11-12T22:09:49.123Z] -- Check for working C compiler: /usr/bin/cc - skipped [2021-11-12T22:09:49.123Z] -- Detecting C compile features [2021-11-12T22:09:49.123Z] -- Detecting C compile features - done [2021-11-12T22:09:49.123Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-11-12T22:09:49.394Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") [2021-11-12T22:09:49.394Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-11-12T22:09:49.394Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-11-12T22:09:49.394Z] -- Found LIBCBOR: /usr/local/lib/libcbor.so [2021-11-12T22:09:49.394Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-11-12T22:09:49.394Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-11-12T22:09:49.394Z] -- C SDK 0.0.0 for Linux [2021-11-12T22:09:49.394Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-11-12T22:09:49.665Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-11-12T22:09:49.935Z] -- Found Curses: /usr/lib/libcurses.so [2021-11-12T22:09:49.935Z] -- Configuring done [2021-11-12T22:09:50.208Z] -- Generating done [2021-11-12T22:09:50.208Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-11-12T22:09:50.208Z] + make [2021-11-12T22:09:50.208Z] + tee debug.log [2021-11-12T22:09:50.480Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-11-12T22:09:50.751Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-11-12T22:09:51.022Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-11-12T22:09:51.613Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-11-12T22:09:52.202Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-11-12T22:09:52.202Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-11-12T22:09:52.472Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-11-12T22:09:53.064Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-11-12T22:09:53.064Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-11-12T22:09:53.656Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-11-12T22:09:54.248Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-11-12T22:09:54.520Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-11-12T22:09:54.794Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-11-12T22:09:55.386Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-11-12T22:09:55.658Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-11-12T22:09:55.658Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-11-12T22:09:55.929Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-11-12T22:09:56.898Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-11-12T22:09:57.172Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-11-12T22:09:57.172Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-11-12T22:09:57.444Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-11-12T22:09:57.715Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-11-12T22:09:57.986Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2021-11-12T22:09:57.986Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2021-11-12T22:09:57.986Z] 275 | const iot_component_factory_t * factory; [2021-11-12T22:09:57.986Z] | ^~~~~~~ [2021-11-12T22:09:58.258Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-11-12T22:09:59.244Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-11-12T22:09:59.515Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-11-12T22:09:59.786Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-11-12T22:10:00.057Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-11-12T22:10:00.327Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-11-12T22:10:00.327Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-11-12T22:10:00.922Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-11-12T22:10:00.922Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-11-12T22:10:01.195Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-11-12T22:10:01.468Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2021-11-12T22:10:01.739Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-11-12T22:10:02.328Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-11-12T22:10:02.328Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-11-12T22:10:02.920Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-11-12T22:10:03.193Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-11-12T22:10:04.616Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-11-12T22:10:04.616Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-11-12T22:10:04.887Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-11-12T22:10:05.159Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-11-12T22:10:05.430Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2021-11-12T22:10:05.430Z] /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] [2021-11-12T22:10:05.430Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2021-11-12T22:10:05.430Z] | ^~~~~~~~~~~~~ [2021-11-12T22:10:05.430Z] | | [2021-11-12T22:10:05.430Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2021-11-12T22:10:05.430Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-11-12T22:10:05.430Z] /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 *)' [2021-11-12T22:10:05.430Z] 2714 | MHD_KeyValueIterator iterator, [2021-11-12T22:10:05.430Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2021-11-12T22:10:05.430Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2021-11-12T22:10:05.430Z] /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2021-11-12T22:10:05.430Z] 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2021-11-12T22:10:05.430Z] | ^~~~~~~~~~~~ [2021-11-12T22:10:05.430Z] | | [2021-11-12T22:10:05.430Z] | 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 **)} [2021-11-12T22:10:05.430Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-11-12T22:10:05.430Z] /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 **)'} [2021-11-12T22:10:05.430Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-11-12T22:10:05.430Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-11-12T22:10:05.430Z] /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2021-11-12T22:10:05.430Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2021-11-12T22:10:05.430Z] | ^~~~~~~~~~~~ [2021-11-12T22:10:05.430Z] | | [2021-11-12T22:10:05.430Z] | 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 **)} [2021-11-12T22:10:05.430Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-11-12T22:10:05.430Z] /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 **)'} [2021-11-12T22:10:05.430Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-11-12T22:10:05.430Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-11-12T22:10:05.701Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-11-12T22:10:07.179Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-11-12T22:10:07.456Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-11-12T22:10:07.738Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-11-12T22:10:08.015Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-11-12T22:10:08.990Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-11-12T22:10:09.584Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-11-12T22:10:09.856Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-11-12T22:10:10.127Z] [ 76%] Linking C shared library libcsdk.so [2021-11-12T22:10:10.398Z] [ 76%] Built target csdk [2021-11-12T22:10:10.398Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-11-12T22:10:10.669Z] [ 79%] Linking C executable template [2021-11-12T22:10:10.944Z] [ 79%] Built target template [2021-11-12T22:10:10.944Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-11-12T22:10:11.215Z] [ 82%] Linking C executable device-counter [2021-11-12T22:10:11.489Z] [ 82%] Built target device-counter [2021-11-12T22:10:11.489Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-11-12T22:10:11.762Z] [ 85%] Linking C executable device-random [2021-11-12T22:10:12.034Z] [ 85%] Built target device-random [2021-11-12T22:10:12.034Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-11-12T22:10:12.307Z] [ 88%] Linking C executable device-gyro [2021-11-12T22:10:12.579Z] [ 88%] Built target device-gyro [2021-11-12T22:10:12.579Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-11-12T22:10:12.853Z] [ 91%] Linking C executable device-bitfields [2021-11-12T22:10:13.125Z] [ 91%] Built target device-bitfields [2021-11-12T22:10:13.398Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-11-12T22:10:13.670Z] [ 94%] Linking C executable template-discovery [2021-11-12T22:10:13.940Z] [ 94%] Built target template-discovery [2021-11-12T22:10:13.940Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-11-12T22:10:14.212Z] [ 97%] Linking C executable device-file [2021-11-12T22:10:14.486Z] [ 97%] Built target device-file [2021-11-12T22:10:14.486Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-11-12T22:10:14.758Z] [100%] Linking C executable device-terminal [2021-11-12T22:10:15.031Z] [100%] Built target device-terminal [2021-11-12T22:10:15.305Z] make: Entering directory '/tmp/sdk/build/release' [2021-11-12T22:10:15.305Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-11-12T22:10:15.305Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-11-12T22:10:15.305Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-11-12T22:10:15.305Z] [ 76%] Built target csdk [2021-11-12T22:10:15.305Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-11-12T22:10:15.305Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-11-12T22:10:15.305Z] [ 79%] Built target template [2021-11-12T22:10:15.305Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-11-12T22:10:15.305Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-11-12T22:10:15.305Z] [ 82%] Built target device-counter [2021-11-12T22:10:15.305Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-11-12T22:10:15.305Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-11-12T22:10:15.576Z] [ 85%] Built target device-random [2021-11-12T22:10:15.576Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-11-12T22:10:15.576Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-11-12T22:10:15.576Z] [ 88%] Built target device-gyro [2021-11-12T22:10:15.576Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-11-12T22:10:15.576Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-11-12T22:10:15.576Z] [ 91%] Built target device-bitfields [2021-11-12T22:10:15.576Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-11-12T22:10:15.576Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-11-12T22:10:15.576Z] [ 94%] Built target template-discovery [2021-11-12T22:10:15.576Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-11-12T22:10:15.576Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-11-12T22:10:15.576Z] [ 97%] Built target device-file [2021-11-12T22:10:15.576Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-11-12T22:10:15.576Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-11-12T22:10:15.576Z] [100%] Built target device-terminal [2021-11-12T22:10:15.576Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-11-12T22:10:15.848Z] Install the project... [2021-11-12T22:10:15.848Z] -- Install configuration: "Release" [2021-11-12T22:10:15.848Z] -- Installing: /usr/local/lib/libcsdk.so [2021-11-12T22:10:15.848Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-11-12T22:10:15.848Z] -- Up-to-date: /usr/local/include [2021-11-12T22:10:15.848Z] -- Installing: /usr/local/include/edgex [2021-11-12T22:10:15.848Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-11-12T22:10:15.848Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-11-12T22:10:15.848Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-11-12T22:10:15.848Z] -- Installing: /usr/local/include/edgex/devices.h [2021-11-12T22:10:15.848Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-11-12T22:10:15.848Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-11-12T22:10:15.848Z] -- Installing: /usr/local/include/devsdk [2021-11-12T22:10:15.848Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-11-12T22:10:15.848Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-11-12T22:10:15.848Z] -- Installing: /usr/local/include/iot [2021-11-12T22:10:15.848Z] -- Installing: /usr/local/include/iot/json.h [2021-11-12T22:10:15.848Z] -- Installing: /usr/local/include/iot/container.h [2021-11-12T22:10:15.848Z] -- Installing: /usr/local/include/iot/component.h [2021-11-12T22:10:15.848Z] -- Installing: /usr/local/include/iot/typecode.h [2021-11-12T22:10:15.848Z] -- Installing: /usr/local/include/iot/iot.h [2021-11-12T22:10:15.848Z] -- Installing: /usr/local/include/iot/uuid.h [2021-11-12T22:10:15.848Z] -- Installing: /usr/local/include/iot/time.h [2021-11-12T22:10:15.848Z] -- Installing: /usr/local/include/iot/hash.h [2021-11-12T22:10:15.848Z] -- Installing: /usr/local/include/iot/logger.h [2021-11-12T22:10:15.848Z] -- Installing: /usr/local/include/iot/os [2021-11-12T22:10:15.848Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-11-12T22:10:15.848Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-11-12T22:10:15.848Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-11-12T22:10:15.848Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-11-12T22:10:15.848Z] -- Installing: /usr/local/include/iot/data.h [2021-11-12T22:10:15.848Z] -- Installing: /usr/local/include/iot/thread.h [2021-11-12T22:10:15.848Z] -- Installing: /usr/local/include/iot/os.h [2021-11-12T22:10:15.848Z] -- Installing: /usr/local/include/iot/base64.h [2021-11-12T22:10:15.848Z] -- Installing: /usr/local/include/iot/defs.h [2021-11-12T22:10:15.848Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-11-12T22:10:15.848Z] -- Installing: /usr/local/include/iot/config.h [2021-11-12T22:10:15.848Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-11-12T22:10:15.848Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-11-12T22:10:15.848Z] make: Leaving directory '/tmp/sdk/build/release' [2021-11-12T22:10:17.819Z] Removing intermediate container 1ff70232698b [2021-11-12T22:10:17.819Z] ---> 6bec9e3ea180 [2021-11-12T22:10:17.819Z] Step 16/24 : FROM ${BASE} [2021-11-12T22:10:17.819Z] ---> d97667b1ee65 [2021-11-12T22:10:17.819Z] Step 17/24 : LABEL maintainer="IOTech " [2021-11-12T22:10:17.819Z] ---> Running in 5979defe9565 [2021-11-12T22:10:18.092Z] Removing intermediate container 5979defe9565 [2021-11-12T22:10:18.092Z] ---> 6120aca9f6fc [2021-11-12T22:10:18.092Z] 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 [2021-11-12T22:10:18.092Z] ---> Running in d3b2671a0014 [2021-11-12T22:10:19.526Z] Connecting to iotech.jfrog.io (54.170.66.44:443) [2021-11-12T22:10:19.798Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2021-11-12T22:10:19.798Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2021-11-12T22:10:19.798Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2021-11-12T22:10:20.774Z] Removing intermediate container d3b2671a0014 [2021-11-12T22:10:20.774Z] ---> 1ac160a9e8c5 [2021-11-12T22:10:20.774Z] Step 19/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-11-12T22:10:20.774Z] ---> Running in 8c39ffdf0438 [2021-11-12T22:10:22.742Z] Removing intermediate container 8c39ffdf0438 [2021-11-12T22:10:22.742Z] ---> 2d5d78ccf0d7 [2021-11-12T22:10:22.742Z] 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 [2021-11-12T22:10:22.742Z] ---> Running in ec6187f3fed6 [2021-11-12T22:10:23.717Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-12T22:10:24.690Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-12T22:10:24.962Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-12T22:10:25.938Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-11-12T22:10:25.938Z] (1/7) Installing curl (7.79.1-r0) [2021-11-12T22:10:25.938Z] (2/7) Installing hiredis (1.0.0-r0) [2021-11-12T22:10:25.938Z] (3/7) Installing hiredis-dev (1.0.0-r0) [2021-11-12T22:10:26.212Z] (4/7) Installing libuuid (2.37.2-r0) [2021-11-12T22:10:26.212Z] (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2021-11-12T22:10:27.181Z] (6/7) Installing libidn2 (2.3.1-r0) [2021-11-12T22:10:27.181Z] (7/7) Installing wget (1.21.1-r1) [2021-11-12T22:10:27.451Z] Executing busybox-1.33.1-r3.trigger [2021-11-12T22:10:27.451Z] OK: 276 MiB in 84 packages [2021-11-12T22:10:28.425Z] Removing intermediate container ec6187f3fed6 [2021-11-12T22:10:28.425Z] ---> 6b29cca5287f [2021-11-12T22:10:28.425Z] Step 21/24 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-11-12T22:10:29.400Z] ---> 3f7c55fc2822 [2021-11-12T22:10:29.400Z] Step 22/24 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-11-12T22:10:29.993Z] ---> 834c2cbbbcbc [2021-11-12T22:10:29.993Z] Step 23/24 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-11-12T22:10:30.970Z] ---> b372acc7024c [2021-11-12T22:10:30.970Z] Step 24/24 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-11-12T22:10:31.562Z] ---> ff934ab1a979 [2021-11-12T22:10:31.562Z] Successfully built ff934ab1a979 [2021-11-12T22:10:31.562Z] Successfully tagged device-sdk-c-builder-arm64:latest [Pipeline] sh [2021-11-12T22:10:31.897Z] + + + git loghead --pretty=%H %s -n [2021-11-12T22:10:31.897Z] 1 [2021-11-12T22:10:31.897Z] grep ci(lts-release) [2021-11-12T22:10:31.897Z] + awk {print $1} [Pipeline] echo [2021-11-12T22:10:31.986Z] [edgeXDocker.push] Tagging docker image device-sdk-c-builder-arm64 with the following tags: [2021-11-12T22:10:31.986Z] 079451af9dbe3d895bc4497f5b25473ae375e010 [2021-11-12T22:10:31.986Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-12T22:10:32.324Z] + docker tag device-sdk-c-builder-arm64 nexus3.edgexfoundry.org:10002/device-sdk-c-builder-arm64:079451af9dbe3d895bc4497f5b25473ae375e010 [Pipeline] isUnix [Pipeline] sh [2021-11-12T22:10:32.674Z] + docker push nexus3.edgexfoundry.org:10002/device-sdk-c-builder-arm64:079451af9dbe3d895bc4497f5b25473ae375e010 [2021-11-12T22:10:32.674Z] The push refers to repository [nexus3.edgexfoundry.org:10002/device-sdk-c-builder-arm64] [2021-11-12T22:10:32.674Z] 77d4fb255715: Preparing [2021-11-12T22:10:32.674Z] f5864f6ca375: Preparing [2021-11-12T22:10:32.674Z] d6a6d5785e36: Preparing [2021-11-12T22:10:32.674Z] e742eaef665d: Preparing [2021-11-12T22:10:32.674Z] b1372a7e0c05: Preparing [2021-11-12T22:10:32.674Z] 331154954f61: Preparing [2021-11-12T22:10:32.674Z] c9855f6453c3: Preparing [2021-11-12T22:10:32.674Z] f3424baf778b: Preparing [2021-11-12T22:10:32.674Z] ea2a8bf1bbdb: Preparing [2021-11-12T22:10:32.674Z] ee420dfed78a: Preparing [2021-11-12T22:10:32.674Z] 331154954f61: Waiting [2021-11-12T22:10:32.674Z] c9855f6453c3: Waiting [2021-11-12T22:10:32.674Z] ea2a8bf1bbdb: Waiting [2021-11-12T22:10:32.674Z] ee420dfed78a: Waiting [2021-11-12T22:10:32.674Z] f3424baf778b: Waiting [2021-11-12T22:10:32.948Z] d6a6d5785e36: Pushed [2021-11-12T22:10:32.948Z] 77d4fb255715: Pushed [2021-11-12T22:10:32.948Z] e742eaef665d: Pushed [2021-11-12T22:10:32.948Z] f3424baf778b: Layer already exists [2021-11-12T22:10:32.948Z] ea2a8bf1bbdb: Layer already exists [2021-11-12T22:10:33.219Z] ee420dfed78a: Layer already exists [2021-11-12T22:10:33.219Z] f5864f6ca375: Pushed [2021-11-12T22:10:33.219Z] 331154954f61: Pushed [2021-11-12T22:10:33.219Z] c9855f6453c3: Pushed [2021-11-12T22:10:33.809Z] b1372a7e0c05: Pushed [2021-11-12T22:10:33.809Z] 079451af9dbe3d895bc4497f5b25473ae375e010: digest: sha256:c1a3e09022b6b12934d828223470866214f3127238e3f47617731c6c9ec949f4 size: 2407 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-12T22:10:33.849Z] ===================================================== [Pipeline] echo [2021-11-12T22:10:33.856Z] taggedImages: [2021-11-12T22:10:33.856Z] - nexus3.edgexfoundry.org:10002/device-sdk-c-builder-arm64:079451af9dbe3d895bc4497f5b25473ae375e010 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-12T22:10:34.477Z] + git rev-list -1 --merges 079451af9dbe3d895bc4497f5b25473ae375e010~1..079451af9dbe3d895bc4497f5b25473ae375e010 [Pipeline] echo [2021-11-12T22:10:34.490Z] -----------> git rev-list -1 --merges 079451af9dbe3d895bc4497f5b25473ae375e010~1..079451af9dbe3d895bc4497f5b25473ae375e010 079451af9dbe3d895bc4497f5b25473ae375e010 [false] [Pipeline] sh [2021-11-12T22:10:34.795Z] + git log --format=format:%s -1 079451af9dbe3d895bc4497f5b25473ae375e010 [Pipeline] echo [2021-11-12T22:10:34.815Z] ========================================================= [2021-11-12T22:10:34.815Z] [isLTSReleaseBuild] No build required. isLTSRelease: [true] [2021-11-12T22:10:34.815Z] ========================================================= Stage "Build Check" skipped due to when conditional [Pipeline] stage [Pipeline] { (Semver Prep) Stage "Build Check" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build Check" 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 Stage "arm64" skipped due to when conditional [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Prep) Stage "amd64" skipped due to when conditional [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) Stage "amd64" skipped due to when conditional [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] stage [Pipeline] { (Build) Stage "amd64" skipped due to when conditional [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] stage [Pipeline] { (Docker Push) Stage "amd64" skipped due to when conditional [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] stage [Pipeline] { (Snap) Stage "amd64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Build Check" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Build Check" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Build Check" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-11-12T22:10:36.390Z] + '[' -d /w/workspace/dgexfoundry_device-sdk-c_jakarta/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-12T22:10:36.689Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-12T22:10:37.255Z] ---> package-listing.sh [2021-11-12T22:10:37.255Z] ++ facter osfamily [2021-11-12T22:10:37.255Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-12T22:10:37.520Z] + OS_FAMILY=redhat [2021-11-12T22:10:37.520Z] + workspace=/w/workspace/dgexfoundry_device-sdk-c_jakarta [2021-11-12T22:10:37.520Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-12T22:10:37.520Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-12T22:10:37.520Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-12T22:10:37.520Z] + PACKAGES=/tmp/packages_start.txt [2021-11-12T22:10:37.520Z] + '[' /w/workspace/dgexfoundry_device-sdk-c_jakarta ']' [2021-11-12T22:10:37.520Z] + PACKAGES=/tmp/packages_end.txt [2021-11-12T22:10:37.520Z] + case "${OS_FAMILY}" in [2021-11-12T22:10:37.520Z] + rpm -qa [2021-11-12T22:10:37.520Z] + sort [2021-11-12T22:10:38.093Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-12T22:10:38.093Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-12T22:10:38.093Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-12T22:10:38.093Z] + '[' /w/workspace/dgexfoundry_device-sdk-c_jakarta ']' [2021-11-12T22:10:38.093Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-c_jakarta/archives/ [2021-11-12T22:10:38.093Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-c_jakarta/archives/ [Pipeline] echo [2021-11-12T22:10:38.106Z] 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/dgexfoundry_device-sdk-c_jakarta/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-11-12T22:10:38.399Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-12T22:10:38.963Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-12T22:10:38.963Z] [2021-11-12T22:10:38.963Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-12T22:10:39.274Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-12T22:10:39.274Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-12T22:10:39.274Z] b4d181a07f80: Pulling fs layer [2021-11-12T22:10:39.274Z] a1111a8f2ec3: Pulling fs layer [2021-11-12T22:10:39.274Z] ed53099fbce6: Pulling fs layer [2021-11-12T22:10:39.274Z] dc539afda2c1: Pulling fs layer [2021-11-12T22:10:39.274Z] 77bc0d833cb6: Pulling fs layer [2021-11-12T22:10:39.274Z] 9065ff56babe: Pulling fs layer [2021-11-12T22:10:39.274Z] d287ab97295c: Pulling fs layer [2021-11-12T22:10:39.274Z] 77bc0d833cb6: Waiting [2021-11-12T22:10:39.274Z] 9065ff56babe: Waiting [2021-11-12T22:10:39.274Z] d287ab97295c: Waiting [2021-11-12T22:10:39.274Z] dc539afda2c1: Waiting [2021-11-12T22:10:39.274Z] a1111a8f2ec3: Verifying Checksum [2021-11-12T22:10:39.274Z] a1111a8f2ec3: Download complete [2021-11-12T22:10:39.274Z] dc539afda2c1: Verifying Checksum [2021-11-12T22:10:39.274Z] dc539afda2c1: Download complete [2021-11-12T22:10:39.539Z] 77bc0d833cb6: Verifying Checksum [2021-11-12T22:10:39.539Z] 77bc0d833cb6: Download complete [2021-11-12T22:10:39.539Z] 9065ff56babe: Verifying Checksum [2021-11-12T22:10:39.539Z] 9065ff56babe: Download complete [2021-11-12T22:10:39.539Z] b4d181a07f80: Verifying Checksum [2021-11-12T22:10:39.539Z] b4d181a07f80: Download complete [2021-11-12T22:10:39.539Z] ed53099fbce6: Verifying Checksum [2021-11-12T22:10:39.539Z] ed53099fbce6: Download complete [2021-11-12T22:10:40.114Z] d287ab97295c: Verifying Checksum [2021-11-12T22:10:40.114Z] d287ab97295c: Download complete [2021-11-12T22:10:41.071Z] b4d181a07f80: Pull complete [2021-11-12T22:10:41.071Z] a1111a8f2ec3: Pull complete [2021-11-12T22:10:41.651Z] ed53099fbce6: Pull complete [2021-11-12T22:10:41.651Z] dc539afda2c1: Pull complete [2021-11-12T22:10:41.913Z] 77bc0d833cb6: Pull complete [2021-11-12T22:10:42.181Z] 9065ff56babe: Pull complete [2021-11-12T22:10:47.488Z] d287ab97295c: Pull complete [2021-11-12T22:10:47.488Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-12T22:10:47.488Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-12T22:10:47.488Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-12T22:10:47.561Z] prd-centos7-docker-4c-2g-429 does not seem to be running inside a container [2021-11-12T22:10:47.600Z] $ 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/dgexfoundry_device-sdk-c_jakarta/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-c_jakarta -v /w/workspace/dgexfoundry_device-sdk-c_jakarta:/w/workspace/dgexfoundry_device-sdk-c_jakarta:rw,z -v /w/workspace/dgexfoundry_device-sdk-c_jakarta@tmp:/w/workspace/dgexfoundry_device-sdk-c_jakarta@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-12T22:10:49.741Z] $ docker top 0fc2b53e5c962fc2ee7918d8286944031356c5e9c68adf0bddbd9dd9899a955c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-12T22:10:50.110Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-12T22:10:50.409Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-12T22:10:50.711Z] + ls /var/log/sa-host [2021-11-12T22:10:50.711Z] + sadf -c /var/log/sa-host/sa12 [2021-11-12T22:10:50.711Z] file_magic: OK [2021-11-12T22:10:50.711Z] HZ: Using current value: 100 [2021-11-12T22:10:50.711Z] file_header: OK [2021-11-12T22:10:50.711Z] 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 [2021-11-12T22:10:50.711Z] Statistics: [2021-11-12T22:10:50.711Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-12T22:10:50.711Z] File successfully converted to sysstat format version 12.0.3 [2021-11-12T22:10:50.711Z] + sadf -c /var/log/sa-host/sa30 [2021-11-12T22:10:50.711Z] file_magic: OK [2021-11-12T22:10:50.711Z] HZ: Using current value: 100 [2021-11-12T22:10:50.711Z] file_header: OK [2021-11-12T22:10:50.711Z] 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 [2021-11-12T22:10:50.711Z] Statistics: [2021-11-12T22:10:50.711Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-12T22:10:50.711Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-12T22:10:50.785Z] provisioning config files... [2021-11-12T22:10:50.794Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-c_jakarta@tmp/config3316827617738612774tmp [Pipeline] { [Pipeline] echo [2021-11-12T22:10:50.810Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-12T22:10:51.108Z] ---> create-netrc.sh [Pipeline] } [2021-11-12T22:10:51.115Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-12T22:10:51.443Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-12T22:10:51.453Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-12T22:10:51.748Z] ---> sudo-logs.sh [2021-11-12T22:10:51.748Z] Archiving 'sudo' log.. [2021-11-12T22:10:51.748Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-429.novalocal: Name or service not known [2021-11-12T22:10:51.748Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-429.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-12T22:10:51.767Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-12T22:10:52.058Z] ---> job-cost.sh [2021-11-12T22:10:52.058Z] lf-activate-venv: SKIPPING [2021-11-12T22:10:52.058Z] INFO: No Stack... [2021-11-12T22:10:52.318Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-12T22:10:52.579Z] INFO: Archiving Costs [Pipeline] echo [2021-11-12T22:10:52.592Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-12T22:10:52.887Z] ---> logs-deploy.sh [2021-11-12T22:10:52.887Z] lf-activate-venv: SKIPPING [2021-11-12T22:10:52.887Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/jakarta/5 [2021-11-12T22:10:52.887Z] INFO: archiving workspace using pattern(s): [2021-11-12T22:10:53.458Z] Archives upload complete. [2021-11-12T22:10:53.720Z] INFO: archiving logs to Nexus