Push event to branch jakarta Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 95537f069f4478f85f1ccb38a71dd01dd0781bca 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-ssh4775345486469885617.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e94d3ec981797fd43ef018032190059518543b95 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-ssh4454380038733901942.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 e94d3ec981797fd43ef018032190059518543b95 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-ssh7939693649982472279.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e94d3ec981797fd43ef018032190059518543b95 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e94d3ec981797fd43ef018032190059518543b95 # timeout=10 Commit message: "Merge pull request #365 from ernestojeda/jakarta-release-issues" > 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-ssh7788027652401935603.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-ssh7618133503013438040.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 ‘prd-centos7-docker-4c-2g-410’ Running on prd-centos7-docker-4c-2g-411 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-ssh1780302176782104547.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 95537f069f4478f85f1ccb38a71dd01dd0781bca (jakarta) > 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 95537f069f4478f85f1ccb38a71dd01dd0781bca # timeout=10 Commit message: "ci(lts-release): LTS release v2.1.0 @9c093d9" First time build. Skipping changelog. > git rev-list --no-walk 6cb15db262c4768be47f360b8c452c0105453865 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-12T20:51:12.093Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-12T20:51:12.138Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-12T20:51:12.152Z] ========================================================= [2021-11-12T20:51:12.152Z] EdgeX Global Pipelines Version Info [2021-11-12T20:51:12.152Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-12T20:51:13.320Z] ------------------- [2021-11-12T20:51:13.320Z] stable info: [2021-11-12T20:51:13.320Z] ------------------- [2021-11-12T20:51:13.320Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-12T20:51:13.320Z] Commit SHA: e94d3ec981797fd43ef018032190059518543b95 [2021-11-12T20:51:13.320Z] Message: update stable to v1.0.214 [2021-11-12T20:51:13.895Z] ------------------- [2021-11-12T20:51:13.895Z] experimental info: [2021-11-12T20:51:13.895Z] ------------------- [2021-11-12T20:51:13.895Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-12T20:51:13.895Z] Commit SHA: e94d3ec981797fd43ef018032190059518543b95 [2021-11-12T20:51:13.895Z] Message: update experimental to v1.0.214 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-12T20:51:13.982Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2021-11-12T20:51:13.993Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2021-11-12T20:51:14.004Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-12T20:51:14.017Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-12T20:51:14.033Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-12T20:51:14.044Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2021-11-12T20:51:14.056Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2021-11-12T20:51:14.069Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-12T20:51:14.079Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-12T20:51:14.090Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2021-11-12T20:51:14.101Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-12T20:51:14.111Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-12T20:51:14.121Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-12T20:51:14.131Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-11-12T20:51:14.143Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-12T20:51:14.155Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-11-12T20:51:14.166Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-12T20:51:14.176Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = jakarta [Pipeline] echo [2021-11-12T20:51:14.186Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = jakarta [Pipeline] echo [2021-11-12T20:51:14.199Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = jakarta [Pipeline] echo [2021-11-12T20:51:14.209Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 95537f069f4478f85f1ccb38a71dd01dd0781bca [Pipeline] echo [2021-11-12T20:51:14.219Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 95537f0 [Pipeline] echo [2021-11-12T20:51:14.229Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-12T20:51:14.281Z] provisioning config files... [2021-11-12T20:51:14.299Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/dgexfoundry_device-sdk-c_jakarta@tmp/config7093827088831262980tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-12T20:51:14.616Z] ---> docker-login.sh [2021-11-12T20:51:14.617Z] nexus3.edgexfoundry.org:10001 [2021-11-12T20:51:14.617Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-12T20:51:14.617Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-12T20:51:14.617Z] Configure a credential helper to remove this warning. See [2021-11-12T20:51:14.617Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-12T20:51:14.617Z] [2021-11-12T20:51:14.617Z] Login Succeeded [2021-11-12T20:51:14.617Z] nexus3.edgexfoundry.org:10002 [2021-11-12T20:51:14.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-12T20:51:14.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-12T20:51:14.880Z] Configure a credential helper to remove this warning. See [2021-11-12T20:51:14.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-12T20:51:14.880Z] [2021-11-12T20:51:14.880Z] Login Succeeded [2021-11-12T20:51:14.880Z] nexus3.edgexfoundry.org:10003 [2021-11-12T20:51:14.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-12T20:51:15.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-12T20:51:15.145Z] Configure a credential helper to remove this warning. See [2021-11-12T20:51:15.145Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-12T20:51:15.145Z] [2021-11-12T20:51:15.145Z] Login Succeeded [2021-11-12T20:51:15.145Z] nexus3.edgexfoundry.org:10004 [2021-11-12T20:51:15.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-12T20:51:15.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-12T20:51:15.145Z] Configure a credential helper to remove this warning. See [2021-11-12T20:51:15.145Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-12T20:51:15.145Z] [2021-11-12T20:51:15.145Z] Login Succeeded [2021-11-12T20:51:15.145Z] docker.io [2021-11-12T20:51:15.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-12T20:51:15.721Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-12T20:51:15.721Z] Configure a credential helper to remove this warning. See [2021-11-12T20:51:15.721Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-12T20:51:15.721Z] [2021-11-12T20:51:15.721Z] Login Succeeded [2021-11-12T20:51:15.721Z] ---> docker-login.sh ends [Pipeline] } [2021-11-12T20:51:15.728Z] 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-12T20:51:16.149Z] + git rev-list -1 --merges 95537f069f4478f85f1ccb38a71dd01dd0781bca~1..95537f069f4478f85f1ccb38a71dd01dd0781bca [Pipeline] echo [2021-11-12T20:51:16.192Z] -----------> git rev-list -1 --merges 95537f069f4478f85f1ccb38a71dd01dd0781bca~1..95537f069f4478f85f1ccb38a71dd01dd0781bca 95537f069f4478f85f1ccb38a71dd01dd0781bca [false] [Pipeline] sh [2021-11-12T20:51:16.483Z] + git log --format=format:%s -1 95537f069f4478f85f1ccb38a71dd01dd0781bca [Pipeline] echo [2021-11-12T20:51:16.497Z] ========================================================= [2021-11-12T20:51:16.497Z] [isLTSReleaseBuild] No build required. isLTSRelease: [true] [2021-11-12T20:51:16.497Z] ========================================================= [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-12T20:51:16.554Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] sh [2021-11-12T20:51:16.849Z] + echo 0.0.0 [Pipeline] echo [2021-11-12T20:51:16.861Z] [prepBaseBuildImage] Generating new image with name: device-sdk-c-builder-x86_64 [Pipeline] echo [2021-11-12T20:51:16.873Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-12T20:51:16.880Z] ========================================================= [2021-11-12T20:51:16.880Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-gcc-base:gcc-lts] [2021-11-12T20:51:16.880Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-12T20:51:17.217Z] + 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-12T20:51:17.217Z] Sending build context to Docker daemon 2.719MB [2021-11-12T20:51:17.217Z] Step 1/24 : ARG BASE=alpine:3.14 [2021-11-12T20:51:17.217Z] Step 2/24 : FROM ${BASE} as builder [2021-11-12T20:51:17.217Z] gcc-lts: Pulling from edgex-devops/edgex-gcc-base [2021-11-12T20:51:17.217Z] a0d0a0d46f8b: Pulling fs layer [2021-11-12T20:51:17.217Z] d804a0200a99: Pulling fs layer [2021-11-12T20:51:17.217Z] 440daf8ae670: Pulling fs layer [2021-11-12T20:51:17.478Z] d804a0200a99: Verifying Checksum [2021-11-12T20:51:17.478Z] d804a0200a99: Download complete [2021-11-12T20:51:17.478Z] a0d0a0d46f8b: Verifying Checksum [2021-11-12T20:51:17.478Z] a0d0a0d46f8b: Download complete [2021-11-12T20:51:17.749Z] a0d0a0d46f8b: Pull complete [2021-11-12T20:51:17.749Z] d804a0200a99: Pull complete [2021-11-12T20:51:18.009Z] 440daf8ae670: Verifying Checksum [2021-11-12T20:51:18.009Z] 440daf8ae670: Download complete [2021-11-12T20:51:21.357Z] 440daf8ae670: Pull complete [2021-11-12T20:51:21.357Z] Digest: sha256:46f6f797e1226225184b69f73d406accecf427d240c95caa6045f24a2eda9a43 [2021-11-12T20:51:21.357Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-gcc-base:gcc-lts [2021-11-12T20:51:21.357Z] ---> c277a2dd7a9c [2021-11-12T20:51:21.357Z] 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-12T20:51:21.929Z] ---> Running in 316afa8c23b7 [2021-11-12T20:51:22.501Z] Connecting to iotech.jfrog.io (54.195.244.87:443) [2021-11-12T20:51:22.763Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2021-11-12T20:51:22.763Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2021-11-12T20:51:22.763Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2021-11-12T20:51:23.029Z] Removing intermediate container 316afa8c23b7 [2021-11-12T20:51:23.029Z] ---> 3d723a6d9448 [2021-11-12T20:51:23.029Z] Step 4/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-11-12T20:51:23.029Z] ---> Running in e17465188d1b [2021-11-12T20:51:23.295Z] Removing intermediate container e17465188d1b [2021-11-12T20:51:23.295Z] ---> 8654e029605d [2021-11-12T20:51:23.295Z] 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-12T20:51:23.566Z] ---> Running in 599e8dc23ccc [2021-11-12T20:51:23.829Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-12T20:51:24.400Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-12T20:51:24.973Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-12T20:51:25.233Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-11-12T20:51:25.233Z] (1/27) Installing hiredis (1.0.0-r0) [2021-11-12T20:51:25.503Z] (2/27) Installing hiredis-dev (1.0.0-r0) [2021-11-12T20:51:25.503Z] (3/27) Installing ncurses-dev (6.2_p20210612-r0) [2021-11-12T20:51:25.503Z] (4/27) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2021-11-12T20:51:26.452Z] (5/27) Installing libblkid (2.37.2-r0) [2021-11-12T20:51:26.452Z] (6/27) Installing blkid (2.37.2-r0) [2021-11-12T20:51:26.452Z] (7/27) Installing libcap-ng (0.8.2-r0) [2021-11-12T20:51:26.714Z] (8/27) Installing setpriv (2.37.2-r0) [2021-11-12T20:51:26.714Z] (9/27) Installing libmount (2.37.2-r0) [2021-11-12T20:51:26.714Z] (10/27) Installing libsmartcols (2.37.2-r0) [2021-11-12T20:51:26.976Z] (11/27) Installing findmnt (2.37.2-r0) [2021-11-12T20:51:26.976Z] (12/27) Installing mcookie (2.37.2-r0) [2021-11-12T20:51:26.976Z] (13/27) Installing hexdump (2.37.2-r0) [2021-11-12T20:51:27.241Z] (14/27) Installing lsblk (2.37.2-r0) [2021-11-12T20:51:27.241Z] (15/27) Installing libuuid (2.37.2-r0) [2021-11-12T20:51:27.241Z] (16/27) Installing libfdisk (2.37.2-r0) [2021-11-12T20:51:27.502Z] (17/27) Installing sfdisk (2.37.2-r0) [2021-11-12T20:51:27.502Z] (18/27) Installing cfdisk (2.37.2-r0) [2021-11-12T20:51:27.502Z] (19/27) Installing partx (2.37.2-r0) [2021-11-12T20:51:27.763Z] (20/27) Installing flock (2.37.2-r0) [2021-11-12T20:51:27.763Z] (21/27) Installing logger (2.37.2-r0) [2021-11-12T20:51:27.763Z] (22/27) Installing uuidgen (2.37.2-r0) [2021-11-12T20:51:28.022Z] (23/27) Installing libeconf (0.3.8-r1) [2021-11-12T20:51:28.022Z] (24/27) Installing util-linux (2.37.2-r0) [2021-11-12T20:51:28.284Z] (25/27) Installing util-linux-dev (2.37.2-r0) [2021-11-12T20:51:28.284Z] (26/27) Installing libidn2 (2.3.1-r0) [2021-11-12T20:51:28.545Z] (27/27) Installing wget (1.21.1-r1) [2021-11-12T20:51:28.545Z] Executing busybox-1.33.1-r3.trigger [2021-11-12T20:51:28.545Z] OK: 291 MiB in 104 packages [2021-11-12T20:51:29.118Z] Removing intermediate container 599e8dc23ccc [2021-11-12T20:51:29.118Z] ---> d78ae8bbd12e [2021-11-12T20:51:29.118Z] Step 6/24 : ENV CBOR_VERSION=0.5.0 [2021-11-12T20:51:29.118Z] ---> Running in f529dd2e1be0 [2021-11-12T20:51:29.118Z] Removing intermediate container f529dd2e1be0 [2021-11-12T20:51:29.118Z] ---> 0c7074acdb07 [2021-11-12T20:51:29.118Z] 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-12T20:51:29.118Z] ---> Running in dc4aa157c495 [2021-11-12T20:51:29.379Z] --2021-11-12 20:51:29-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-11-12T20:51:29.379Z] Resolving github.com (github.com)... 140.82.112.3 [2021-11-12T20:51:29.379Z] Connecting to github.com (github.com)|140.82.112.3|:443... connected. [2021-11-12T20:51:29.641Z] HTTP request sent, awaiting response... 302 Found [2021-11-12T20:51:29.641Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-11-12T20:51:29.641Z] --2021-11-12 20:51:29-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-11-12T20:51:29.641Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 [2021-11-12T20:51:29.641Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. [2021-11-12T20:51:29.641Z] HTTP request sent, awaiting response... 200 OK [2021-11-12T20:51:29.641Z] Length: unspecified [application/x-gzip] [2021-11-12T20:51:29.641Z] Saving to: 'STDOUT' [2021-11-12T20:51:29.641Z] [2021-11-12T20:51:29.641Z] 0K .......... .......... .......... .......... .......... 1.24M [2021-11-12T20:51:29.901Z] 50K .......... .......... .......... .......... .......... 2.65M [2021-11-12T20:51:29.901Z] 100K .......... .......... .......... .......... .......... 47.8M [2021-11-12T20:51:29.901Z] 150K .......... .......... .......... .......... .......... 52.6M [2021-11-12T20:51:29.901Z] 200K .......... .......... .......... .......... .......... 2.56M [2021-11-12T20:51:29.901Z] 250K .......... .......... .......... .......... .......... 6.85M [2021-11-12T20:51:29.901Z] 300K .......... .......... .......... .......... .......... 4.36M [2021-11-12T20:51:29.901Z] 350K .......... .......... .......... .......... .......... 16.9M [2021-11-12T20:51:29.901Z] 400K .......... .......... .......... .......... .......... 6.00M [2021-11-12T20:51:29.901Z] 450K .......... .......... .......... .......... .......... 8.67M [2021-11-12T20:51:29.901Z] 500K .......... .......... .......... .......... .......... 41.4M [2021-11-12T20:51:29.901Z] 550K .......... .......... .......... .......... .......... 6.72M [2021-11-12T20:51:29.901Z] 600K .......... .......... .......... .......... .......... 3.55M [2021-11-12T20:51:29.901Z] 650K .......... .......... .......... .......... .......... 7.47M [2021-11-12T20:51:29.901Z] 700K .. 50.1M=0.1s [2021-11-12T20:51:29.901Z] [2021-11-12T20:51:29.901Z] 2021-11-12 20:51:29 (4.81 MB/s) - written to stdout [719348] [2021-11-12T20:51:29.901Z] [2021-11-12T20:51:29.901Z] -- The C compiler identification is GNU 10.3.1 [2021-11-12T20:51:29.901Z] -- The CXX compiler identification is GNU 10.3.1 [2021-11-12T20:51:29.901Z] -- Detecting C compiler ABI info [2021-11-12T20:51:30.168Z] -- Detecting C compiler ABI info - done [2021-11-12T20:51:30.168Z] -- Check for working C compiler: /usr/bin/cc - skipped [2021-11-12T20:51:30.168Z] -- Detecting C compile features [2021-11-12T20:51:30.168Z] -- Detecting C compile features - done [2021-11-12T20:51:30.168Z] -- Detecting CXX compiler ABI info [2021-11-12T20:51:30.168Z] -- Detecting CXX compiler ABI info - done [2021-11-12T20:51:30.168Z] -- Check for working CXX compiler: /usr/bin/c++ - skipped [2021-11-12T20:51:30.168Z] -- Detecting CXX compile features [2021-11-12T20:51:30.168Z] -- Detecting CXX compile features - done [2021-11-12T20:51:30.168Z] -- Looking for include file endian.h [2021-11-12T20:51:30.168Z] -- Looking for include file endian.h - found [2021-11-12T20:51:30.429Z] -- Looking for sys/types.h [2021-11-12T20:51:30.429Z] -- Looking for sys/types.h - found [2021-11-12T20:51:30.429Z] -- Looking for stdint.h [2021-11-12T20:51:30.429Z] -- Looking for stdint.h - found [2021-11-12T20:51:30.429Z] -- Looking for stddef.h [2021-11-12T20:51:30.429Z] -- Looking for stddef.h - found [2021-11-12T20:51:30.429Z] -- Check size of size_t [2021-11-12T20:51:30.689Z] -- Check size of size_t - done [2021-11-12T20:51:30.689Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-11-12T20:51:30.689Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-11-12T20:51:30.689Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-11-12T20:51:30.689Z] CMake did not find one. [2021-11-12T20:51:30.689Z] [2021-11-12T20:51:30.689Z] Could not find a package configuration file provided by "cJSON" with any of [2021-11-12T20:51:30.689Z] the following names: [2021-11-12T20:51:30.689Z] [2021-11-12T20:51:30.689Z] cJSONConfig.cmake [2021-11-12T20:51:30.689Z] cjson-config.cmake [2021-11-12T20:51:30.689Z] [2021-11-12T20:51:30.689Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-11-12T20:51:30.689Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-11-12T20:51:30.689Z] provides a separate development package or SDK, be sure it has been [2021-11-12T20:51:30.689Z] installed. [2021-11-12T20:51:30.689Z] [2021-11-12T20:51:30.689Z] [2021-11-12T20:51:30.689Z] -- Configuring done [2021-11-12T20:51:30.689Z] -- Generating done [2021-11-12T20:51:30.689Z] -- Build files have been written to: /tmp/cbor [2021-11-12T20:51:30.689Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-11-12T20:51:30.950Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-11-12T20:51:30.950Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-11-12T20:51:31.212Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-11-12T20:51:31.212Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-11-12T20:51:31.212Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-11-12T20:51:31.212Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-11-12T20:51:31.474Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-11-12T20:51:31.474Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-11-12T20:51:31.474Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-11-12T20:51:31.536Z] Still waiting to schedule task [2021-11-12T20:51:31.537Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-11-12T20:51:31.735Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-11-12T20:51:31.735Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-11-12T20:51:31.735Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-11-12T20:51:31.999Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-11-12T20:51:31.999Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-11-12T20:51:31.999Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-11-12T20:51:32.259Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-11-12T20:51:32.259Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-11-12T20:51:32.259Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-11-12T20:51:32.259Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-11-12T20:51:32.259Z] [ 40%] Linking C shared library libcbor.so [2021-11-12T20:51:32.526Z] [ 40%] Built target cbor_shared [2021-11-12T20:51:32.527Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-11-12T20:51:32.527Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-11-12T20:51:32.790Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-11-12T20:51:32.790Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-11-12T20:51:33.053Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-11-12T20:51:33.314Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-11-12T20:51:33.315Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-11-12T20:51:33.315Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-11-12T20:51:33.315Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-11-12T20:51:33.580Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-11-12T20:51:33.580Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-11-12T20:51:33.580Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-11-12T20:51:33.841Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-11-12T20:51:33.842Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-11-12T20:51:34.105Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-11-12T20:51:34.105Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-11-12T20:51:34.105Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-11-12T20:51:34.105Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-11-12T20:51:34.377Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-11-12T20:51:34.377Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-11-12T20:51:34.377Z] [ 80%] Linking C static library libcbor.a [2021-11-12T20:51:34.377Z] [ 80%] Built target cbor [2021-11-12T20:51:34.377Z] [ 82%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-11-12T20:51:34.377Z] [ 84%] Linking C executable readfile [2021-11-12T20:51:34.639Z] [ 84%] Built target readfile [2021-11-12T20:51:34.639Z] [ 86%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-11-12T20:51:34.639Z] [ 88%] Linking C executable create_items [2021-11-12T20:51:34.639Z] [ 88%] Built target create_items [2021-11-12T20:51:34.639Z] [ 90%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-11-12T20:51:34.639Z] [ 92%] Linking C executable sort [2021-11-12T20:51:34.639Z] [ 92%] Built target sort [2021-11-12T20:51:34.639Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-11-12T20:51:34.639Z] [ 96%] Linking C executable hello [2021-11-12T20:51:34.900Z] [ 96%] Built target hello [2021-11-12T20:51:34.900Z] [ 98%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-11-12T20:51:34.900Z] [100%] Linking C executable streaming_parser [2021-11-12T20:51:34.900Z] [100%] Built target streaming_parser [2021-11-12T20:51:34.900Z] Install the project... [2021-11-12T20:51:34.900Z] -- Install configuration: "Release" [2021-11-12T20:51:34.900Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-11-12T20:51:34.900Z] -- Installing: /usr/local/lib/libcbor.a [2021-11-12T20:51:34.900Z] -- Installing: /usr/local/lib/libcbor.so.0.0.0 [2021-11-12T20:51:34.900Z] -- Installing: /usr/local/lib/libcbor.so.0 [2021-11-12T20:51:34.900Z] -- Installing: /usr/local/lib/libcbor.so [2021-11-12T20:51:34.900Z] -- Up-to-date: /usr/local/include/cbor [2021-11-12T20:51:34.900Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-11-12T20:51:34.900Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-11-12T20:51:34.900Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-11-12T20:51:34.900Z] -- Installing: /usr/local/include/cbor/common.h [2021-11-12T20:51:34.900Z] -- Installing: /usr/local/include/cbor/data.h [2021-11-12T20:51:34.900Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-11-12T20:51:34.900Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-11-12T20:51:34.900Z] -- Installing: /usr/local/include/cbor/internal [2021-11-12T20:51:34.900Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-11-12T20:51:34.900Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-11-12T20:51:34.900Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-11-12T20:51:34.900Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-11-12T20:51:34.900Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-11-12T20:51:34.900Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-11-12T20:51:34.900Z] -- Installing: /usr/local/include/cbor/ints.h [2021-11-12T20:51:34.900Z] -- Installing: /usr/local/include/cbor/maps.h [2021-11-12T20:51:34.900Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-11-12T20:51:34.900Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-11-12T20:51:34.900Z] -- Installing: /usr/local/include/cbor/strings.h [2021-11-12T20:51:34.900Z] -- Installing: /usr/local/include/cbor/tags.h [2021-11-12T20:51:34.900Z] -- Installing: /usr/local/include/cbor.h [2021-11-12T20:51:34.900Z] -- Installing: /usr/local/lib/pkgconfig/libcbor.pc [2021-11-12T20:51:35.479Z] Removing intermediate container dc4aa157c495 [2021-11-12T20:51:35.479Z] ---> e5548a78ebff [2021-11-12T20:51:35.479Z] Step 8/24 : RUN mkdir /tmp/sdk [2021-11-12T20:51:35.479Z] ---> Running in a07a9481aeea [2021-11-12T20:51:36.050Z] Removing intermediate container a07a9481aeea [2021-11-12T20:51:36.050Z] ---> 9a447d20d239 [2021-11-12T20:51:36.050Z] Step 9/24 : COPY VERSION /tmp/sdk [2021-11-12T20:51:36.050Z] ---> 5a25a908b622 [2021-11-12T20:51:36.050Z] Step 10/24 : COPY src /tmp/sdk/src [2021-11-12T20:51:36.310Z] ---> d0ed4ef04093 [2021-11-12T20:51:36.310Z] Step 11/24 : COPY include /tmp/sdk/include [2021-11-12T20:51:36.569Z] ---> 314af63e5244 [2021-11-12T20:51:36.569Z] Step 12/24 : COPY scripts /tmp/sdk/scripts [2021-11-12T20:51:36.830Z] ---> 81c7653e8580 [2021-11-12T20:51:36.830Z] Step 13/24 : COPY LICENSE /tmp/sdk [2021-11-12T20:51:36.830Z] ---> eab7cbee28c6 [2021-11-12T20:51:36.830Z] Step 14/24 : COPY Attribution.txt /tmp/sdk [2021-11-12T20:51:37.089Z] ---> 845aa7fc89d0 [2021-11-12T20:51:37.089Z] Step 15/24 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-11-12T20:51:37.089Z] ---> Running in 7b1c75fb72e6 [2021-11-12T20:51:37.352Z] + CPPCHECK=false [2021-11-12T20:51:37.352Z] + DOCGEN=false [2021-11-12T20:51:37.352Z] + TOMLVER=SDK-0.2 [2021-11-12T20:51:37.352Z] + CUTILVER=1.2.2 [2021-11-12T20:51:37.352Z] + '[' 0 -gt 0 ] [2021-11-12T20:51:37.352Z] + readlink -f ./scripts/build.sh [2021-11-12T20:51:37.352Z] + dirname /tmp/sdk/scripts/build.sh [2021-11-12T20:51:37.352Z] + dirname /tmp/sdk/scripts [2021-11-12T20:51:37.352Z] + ROOT=/tmp/sdk [2021-11-12T20:51:37.352Z] + cd /tmp/sdk [2021-11-12T20:51:37.352Z] + '[' '!' -d deps ] [2021-11-12T20:51:37.352Z] + mkdir deps [2021-11-12T20:51:37.352Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz+ [2021-11-12T20:51:37.352Z] tar -C deps -z -x -f - [2021-11-12T20:51:37.352Z] --2021-11-12 20:51:37-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-11-12T20:51:37.352Z] Resolving github.com (github.com)... 140.82.112.3 [2021-11-12T20:51:37.352Z] Connecting to github.com (github.com)|140.82.112.3|:443... connected. [2021-11-12T20:51:37.613Z] HTTP request sent, awaiting response... 302 Found [2021-11-12T20:51:37.613Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-11-12T20:51:37.613Z] --2021-11-12 20:51:37-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-11-12T20:51:37.613Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 [2021-11-12T20:51:37.613Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. [2021-11-12T20:51:37.613Z] HTTP request sent, awaiting response... 200 OK [2021-11-12T20:51:37.613Z] Length: unspecified [application/x-gzip] [2021-11-12T20:51:37.613Z] Saving to: 'STDOUT' [2021-11-12T20:51:37.613Z]  [2021-11-12T20:51:37.613Z] 0K .......... ...... 841K=0.02s [2021-11-12T20:51:37.613Z] [2021-11-12T20:51:37.613Z] 2021-11-12 20:51:37 (841 KB/s) - written to stdout [16451] [2021-11-12T20:51:37.613Z] [2021-11-12T20:51:37.613Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-11-12T20:51:37.613Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2021-11-12T20:51:37.613Z] + tar -C deps -z -x -f - [2021-11-12T20:51:37.613Z] --2021-11-12 20:51:37-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2021-11-12T20:51:37.613Z] Resolving github.com (github.com)... 140.82.112.3 [2021-11-12T20:51:37.613Z] Connecting to github.com (github.com)|140.82.112.3|:443... connected. [2021-11-12T20:51:37.874Z] HTTP request sent, awaiting response... 302 Found [2021-11-12T20:51:37.874Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] [2021-11-12T20:51:37.874Z] --2021-11-12 20:51:37-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [2021-11-12T20:51:37.874Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 [2021-11-12T20:51:37.874Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. [2021-11-12T20:51:38.136Z] HTTP request sent, awaiting response... 200 OK [2021-11-12T20:51:38.136Z] Length: unspecified [application/x-gzip] [2021-11-12T20:51:38.136Z] Saving to: 'STDOUT' [2021-11-12T20:51:38.136Z]  [2021-11-12T20:51:38.136Z] 0K .......... .......... .......... .......... .......... 1.26M [2021-11-12T20:51:38.136Z] 50K .......... .......... .......... .......... .......... 2.49M [2021-11-12T20:51:38.136Z] 100K .......... .......... .......... .......... .......... 26.4M [2021-11-12T20:51:38.136Z] 150K .......... .......... .......... ......... 2.31M=0.08s [2021-11-12T20:51:38.136Z] [2021-11-12T20:51:38.136Z] 2021-11-12 20:51:38 (2.41 MB/s) - written to stdout [193961] [2021-11-12T20:51:38.136Z] [2021-11-12T20:51:38.136Z] + mkdir -p src/c/iot [2021-11-12T20:51:38.136Z] + 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-12T20:51:38.136Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2021-11-12T20:51:38.136Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2021-11-12T20:51:38.136Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2021-11-12T20:51:38.136Z] + mkdir -p include/iot [2021-11-12T20:51:38.136Z] + 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-12T20:51:38.136Z] + mkdir -p include/iot/os [2021-11-12T20:51:38.136Z] + 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-12T20:51:38.136Z] + mkdir -p /tmp/sdk/build/release [2021-11-12T20:51:38.136Z] + cd /tmp/sdk/build/release [2021-11-12T20:51:38.136Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-11-12T20:51:38.404Z] -- The C compiler identification is GNU 10.3.1 [2021-11-12T20:51:38.404Z] -- Detecting C compiler ABI info [2021-11-12T20:51:38.404Z] -- Detecting C compiler ABI info - done [2021-11-12T20:51:38.404Z] -- Check for working C compiler: /usr/bin/cc - skipped [2021-11-12T20:51:38.404Z] -- Detecting C compile features [2021-11-12T20:51:38.404Z] -- Detecting C compile features - done [2021-11-12T20:51:38.404Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-11-12T20:51:38.404Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") [2021-11-12T20:51:38.404Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-11-12T20:51:38.404Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-11-12T20:51:38.404Z] -- Found LIBCBOR: /usr/local/lib/libcbor.so [2021-11-12T20:51:38.404Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-11-12T20:51:38.404Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-11-12T20:51:38.404Z] -- C SDK 0.0.0 for Linux [2021-11-12T20:51:38.404Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-11-12T20:51:38.665Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-11-12T20:51:38.665Z] -- Found Curses: /usr/lib/libcurses.so [2021-11-12T20:51:38.665Z] -- Configuring done [2021-11-12T20:51:38.665Z] -- Generating done [2021-11-12T20:51:38.665Z] -- Build files have been written to: /tmp/sdk/build/release [2021-11-12T20:51:38.665Z] + make all package [2021-11-12T20:51:38.665Z] + tee release.log [2021-11-12T20:51:38.665Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-11-12T20:51:38.927Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-11-12T20:51:38.927Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-11-12T20:51:39.504Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-11-12T20:51:39.504Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-11-12T20:51:39.504Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-11-12T20:51:39.765Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-11-12T20:51:39.765Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-11-12T20:51:39.765Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-11-12T20:51:40.027Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-11-12T20:51:40.604Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-11-12T20:51:40.604Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-11-12T20:51:40.865Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-11-12T20:51:40.865Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-11-12T20:51:40.865Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-11-12T20:51:41.128Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-11-12T20:51:41.128Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-11-12T20:51:41.702Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-11-12T20:51:41.702Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-11-12T20:51:41.702Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-11-12T20:51:41.966Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-11-12T20:51:41.966Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-11-12T20:51:41.966Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2021-11-12T20:51:41.966Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2021-11-12T20:51:41.966Z] 275 | const iot_component_factory_t * factory; [2021-11-12T20:51:41.966Z] | ^~~~~~~ [2021-11-12T20:51:42.238Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-11-12T20:51:43.206Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-11-12T20:51:43.206Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-11-12T20:51:43.206Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-11-12T20:51:43.206Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-11-12T20:51:43.468Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-11-12T20:51:43.468Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-11-12T20:51:43.729Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-11-12T20:51:43.729Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-11-12T20:51:43.729Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-11-12T20:51:43.991Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2021-11-12T20:51:43.991Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-11-12T20:51:44.562Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-11-12T20:51:44.562Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-11-12T20:51:44.825Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-11-12T20:51:44.825Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-11-12T20:51:45.771Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-11-12T20:51:45.771Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-11-12T20:51:45.771Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-11-12T20:51:46.037Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-11-12T20:51:46.037Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2021-11-12T20:51:46.037Z] /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-12T20:51:46.037Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2021-11-12T20:51:46.037Z] | ^~~~~~~~~~~~~ [2021-11-12T20:51:46.037Z] | | [2021-11-12T20:51:46.037Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2021-11-12T20:51:46.037Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-11-12T20:51:46.037Z] /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-12T20:51:46.037Z] 2714 | MHD_KeyValueIterator iterator, [2021-11-12T20:51:46.037Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2021-11-12T20:51:46.037Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2021-11-12T20:51:46.037Z] /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-12T20:51:46.037Z] 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-12T20:51:46.037Z] | ^~~~~~~~~~~~ [2021-11-12T20:51:46.037Z] | | [2021-11-12T20:51:46.037Z] | 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-12T20:51:46.037Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-11-12T20:51:46.037Z] /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-12T20:51:46.037Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-11-12T20:51:46.037Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-11-12T20:51:46.037Z] /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-12T20:51:46.037Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2021-11-12T20:51:46.037Z] | ^~~~~~~~~~~~ [2021-11-12T20:51:46.037Z] | | [2021-11-12T20:51:46.037Z] | 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-12T20:51:46.037Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-11-12T20:51:46.037Z] /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-12T20:51:46.037Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-11-12T20:51:46.037Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-11-12T20:51:46.037Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-11-12T20:51:46.618Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-11-12T20:51:46.618Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-11-12T20:51:46.618Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-11-12T20:51:46.619Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-11-12T20:51:47.194Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-11-12T20:51:48.146Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-11-12T20:51:48.146Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-11-12T20:51:48.146Z] [ 76%] Linking C shared library libcsdk.so [2021-11-12T20:51:48.146Z] [ 76%] Built target csdk [2021-11-12T20:51:48.146Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-11-12T20:51:48.406Z] [ 79%] Linking C executable template [2021-11-12T20:51:48.406Z] [ 79%] Built target template [2021-11-12T20:51:48.406Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-11-12T20:51:48.668Z] [ 82%] Linking C executable device-counter [2021-11-12T20:51:48.668Z] [ 82%] Built target device-counter [2021-11-12T20:51:48.668Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-11-12T20:51:48.668Z] [ 85%] Linking C executable device-random [2021-11-12T20:51:48.930Z] [ 85%] Built target device-random [2021-11-12T20:51:48.930Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-11-12T20:51:48.930Z] [ 88%] Linking C executable device-gyro [2021-11-12T20:51:48.930Z] [ 88%] Built target device-gyro [2021-11-12T20:51:48.930Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-11-12T20:51:49.189Z] [ 91%] Linking C executable device-bitfields [2021-11-12T20:51:49.189Z] [ 91%] Built target device-bitfields [2021-11-12T20:51:49.189Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-11-12T20:51:49.452Z] [ 94%] Linking C executable template-discovery [2021-11-12T20:51:49.452Z] [ 94%] Built target template-discovery [2021-11-12T20:51:49.452Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-11-12T20:51:49.452Z] [ 97%] Linking C executable device-file [2021-11-12T20:51:49.717Z] [ 97%] Built target device-file [2021-11-12T20:51:49.718Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-11-12T20:51:49.718Z] [100%] Linking C executable device-terminal [2021-11-12T20:51:49.718Z] [100%] Built target device-terminal [2021-11-12T20:51:49.718Z] Run CPack packaging tool... [2021-11-12T20:51:49.718Z] CPack: Create package using TGZ [2021-11-12T20:51:49.718Z] CPack: Install projects [2021-11-12T20:51:49.718Z] CPack: - Run preinstall target for: Csdk [2021-11-12T20:51:49.977Z] CPack: - Install project: Csdk [] [2021-11-12T20:51:49.977Z] CPack: Create package [2021-11-12T20:51:49.977Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-11-12T20:51:49.977Z] + '[' false '=' true ] [2021-11-12T20:51:49.977Z] + '[' false '=' true ] [2021-11-12T20:51:49.977Z] + mkdir -p /tmp/sdk/build/debug [2021-11-12T20:51:49.977Z] + cd /tmp/sdk/build/debug [2021-11-12T20:51:49.977Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-11-12T20:51:50.244Z] -- The C compiler identification is GNU 10.3.1 [2021-11-12T20:51:50.244Z] -- Detecting C compiler ABI info [2021-11-12T20:51:50.244Z] -- Detecting C compiler ABI info - done [2021-11-12T20:51:50.244Z] -- Check for working C compiler: /usr/bin/cc - skipped [2021-11-12T20:51:50.244Z] -- Detecting C compile features [2021-11-12T20:51:50.244Z] -- Detecting C compile features - done [2021-11-12T20:51:50.244Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-11-12T20:51:50.244Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") [2021-11-12T20:51:50.244Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-11-12T20:51:50.244Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-11-12T20:51:50.244Z] -- Found LIBCBOR: /usr/local/lib/libcbor.so [2021-11-12T20:51:50.244Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-11-12T20:51:50.244Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-11-12T20:51:50.244Z] -- C SDK 0.0.0 for Linux [2021-11-12T20:51:50.244Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-11-12T20:51:50.508Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-11-12T20:51:50.508Z] -- Found Curses: /usr/lib/libcurses.so [2021-11-12T20:51:50.508Z] -- Configuring done [2021-11-12T20:51:50.508Z] -- Generating done [2021-11-12T20:51:50.508Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-11-12T20:51:50.508Z] + make [2021-11-12T20:51:50.508Z] + tee debug.log [2021-11-12T20:51:50.508Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-11-12T20:51:50.770Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-11-12T20:51:50.770Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-11-12T20:51:50.770Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-11-12T20:51:51.031Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-11-12T20:51:51.031Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-11-12T20:51:51.031Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-11-12T20:51:51.297Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-11-12T20:51:51.297Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-11-12T20:51:51.297Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-11-12T20:51:51.566Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-11-12T20:51:51.566Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-11-12T20:51:51.566Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-11-12T20:51:51.566Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-11-12T20:51:51.828Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-11-12T20:51:51.828Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-11-12T20:51:51.828Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-11-12T20:51:52.090Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-11-12T20:51:52.090Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-11-12T20:51:52.090Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-11-12T20:51:52.354Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-11-12T20:51:52.354Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-11-12T20:51:52.354Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2021-11-12T20:51:52.354Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2021-11-12T20:51:52.354Z] 275 | const iot_component_factory_t * factory; [2021-11-12T20:51:52.354Z] | ^~~~~~~ [2021-11-12T20:51:52.354Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-11-12T20:51:52.614Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-11-12T20:51:52.614Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-11-12T20:51:52.614Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-11-12T20:51:52.876Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-11-12T20:51:52.876Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-11-12T20:51:52.876Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-11-12T20:51:52.876Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-11-12T20:51:53.140Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-11-12T20:51:53.140Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-11-12T20:51:53.140Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2021-11-12T20:51:53.140Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-11-12T20:51:53.404Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-11-12T20:51:53.404Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-11-12T20:51:53.404Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-11-12T20:51:53.674Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-11-12T20:51:53.674Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-11-12T20:51:53.937Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-11-12T20:51:53.937Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-11-12T20:51:53.937Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-11-12T20:51:53.937Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2021-11-12T20:51:53.937Z] /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-12T20:51:53.937Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2021-11-12T20:51:53.937Z] | ^~~~~~~~~~~~~ [2021-11-12T20:51:53.937Z] | | [2021-11-12T20:51:53.937Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2021-11-12T20:51:53.937Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-11-12T20:51:53.937Z] /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-12T20:51:53.937Z] 2714 | MHD_KeyValueIterator iterator, [2021-11-12T20:51:53.937Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2021-11-12T20:51:53.937Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2021-11-12T20:51:53.937Z] /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-12T20:51:53.937Z] 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-12T20:51:53.937Z] | ^~~~~~~~~~~~ [2021-11-12T20:51:53.937Z] | | [2021-11-12T20:51:53.937Z] | 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-12T20:51:53.937Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-11-12T20:51:53.938Z] /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-12T20:51:53.938Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-11-12T20:51:53.938Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-11-12T20:51:53.938Z] /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-12T20:51:53.938Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2021-11-12T20:51:53.938Z] | ^~~~~~~~~~~~ [2021-11-12T20:51:53.938Z] | | [2021-11-12T20:51:53.938Z] | 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-12T20:51:53.938Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-11-12T20:51:53.938Z] /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-12T20:51:53.938Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-11-12T20:51:53.938Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-11-12T20:51:54.202Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-11-12T20:51:54.464Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-11-12T20:51:54.464Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-11-12T20:51:54.464Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-11-12T20:51:54.464Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-11-12T20:51:54.729Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-11-12T20:51:54.729Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-11-12T20:51:54.989Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-11-12T20:51:54.989Z] [ 76%] Linking C shared library libcsdk.so [2021-11-12T20:51:54.989Z] [ 76%] Built target csdk [2021-11-12T20:51:54.989Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-11-12T20:51:55.254Z] [ 79%] Linking C executable template [2021-11-12T20:51:55.254Z] [ 79%] Built target template [2021-11-12T20:51:55.254Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-11-12T20:51:55.254Z] [ 82%] Linking C executable device-counter [2021-11-12T20:51:55.254Z] [ 82%] Built target device-counter [2021-11-12T20:51:55.254Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-11-12T20:51:55.517Z] [ 85%] Linking C executable device-random [2021-11-12T20:51:55.517Z] [ 85%] Built target device-random [2021-11-12T20:51:55.517Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-11-12T20:51:55.517Z] [ 88%] Linking C executable device-gyro [2021-11-12T20:51:55.517Z] [ 88%] Built target device-gyro [2021-11-12T20:51:55.517Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-11-12T20:51:55.781Z] [ 91%] Linking C executable device-bitfields [2021-11-12T20:51:55.781Z] [ 91%] Built target device-bitfields [2021-11-12T20:51:55.781Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-11-12T20:51:55.781Z] [ 94%] Linking C executable template-discovery [2021-11-12T20:51:55.781Z] [ 94%] Built target template-discovery [2021-11-12T20:51:55.781Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-11-12T20:51:56.041Z] [ 97%] Linking C executable device-file [2021-11-12T20:51:56.041Z] [ 97%] Built target device-file [2021-11-12T20:51:56.041Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-11-12T20:51:56.041Z] [100%] Linking C executable device-terminal [2021-11-12T20:51:56.303Z] [100%] Built target device-terminal [2021-11-12T20:51:56.303Z] make: Entering directory '/tmp/sdk/build/release' [2021-11-12T20:51:56.303Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-11-12T20:51:56.303Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-11-12T20:51:56.303Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-11-12T20:51:56.303Z] [ 76%] Built target csdk [2021-11-12T20:51:56.303Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-11-12T20:51:56.303Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-11-12T20:51:56.303Z] [ 79%] Built target template [2021-11-12T20:51:56.303Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-11-12T20:51:56.303Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-11-12T20:51:56.303Z] [ 82%] Built target device-counter [2021-11-12T20:51:56.303Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-11-12T20:51:56.303Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-11-12T20:51:56.303Z] [ 85%] Built target device-random [2021-11-12T20:51:56.303Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-11-12T20:51:56.303Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-11-12T20:51:56.303Z] [ 88%] Built target device-gyro [2021-11-12T20:51:56.303Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-11-12T20:51:56.303Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-11-12T20:51:56.303Z] [ 91%] Built target device-bitfields [2021-11-12T20:51:56.303Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-11-12T20:51:56.303Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-11-12T20:51:56.303Z] [ 94%] Built target template-discovery [2021-11-12T20:51:56.303Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-11-12T20:51:56.303Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-11-12T20:51:56.303Z] [ 97%] Built target device-file [2021-11-12T20:51:56.303Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-11-12T20:51:56.303Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-11-12T20:51:56.303Z] [100%] Built target device-terminal [2021-11-12T20:51:56.303Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-11-12T20:51:56.303Z] Install the project... [2021-11-12T20:51:56.303Z] -- Install configuration: "Release" [2021-11-12T20:51:56.303Z] -- Installing: /usr/local/lib/libcsdk.so [2021-11-12T20:51:56.303Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-11-12T20:51:56.303Z] -- Up-to-date: /usr/local/include [2021-11-12T20:51:56.303Z] -- Installing: /usr/local/include/devsdk [2021-11-12T20:51:56.303Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-11-12T20:51:56.303Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-11-12T20:51:56.303Z] -- Installing: /usr/local/include/edgex [2021-11-12T20:51:56.303Z] -- Installing: /usr/local/include/edgex/devices.h [2021-11-12T20:51:56.303Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-11-12T20:51:56.303Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-11-12T20:51:56.303Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-11-12T20:51:56.303Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-11-12T20:51:56.303Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-11-12T20:51:56.303Z] -- Installing: /usr/local/include/iot [2021-11-12T20:51:56.303Z] -- Installing: /usr/local/include/iot/base64.h [2021-11-12T20:51:56.303Z] -- Installing: /usr/local/include/iot/component.h [2021-11-12T20:51:56.303Z] -- Installing: /usr/local/include/iot/config.h [2021-11-12T20:51:56.303Z] -- Installing: /usr/local/include/iot/container.h [2021-11-12T20:51:56.303Z] -- Installing: /usr/local/include/iot/data.h [2021-11-12T20:51:56.303Z] -- Installing: /usr/local/include/iot/hash.h [2021-11-12T20:51:56.303Z] -- Installing: /usr/local/include/iot/iot.h [2021-11-12T20:51:56.303Z] -- Installing: /usr/local/include/iot/json.h [2021-11-12T20:51:56.303Z] -- Installing: /usr/local/include/iot/logger.h [2021-11-12T20:51:56.303Z] -- Installing: /usr/local/include/iot/os.h [2021-11-12T20:51:56.303Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-11-12T20:51:56.303Z] -- Installing: /usr/local/include/iot/thread.h [2021-11-12T20:51:56.303Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-11-12T20:51:56.303Z] -- Installing: /usr/local/include/iot/time.h [2021-11-12T20:51:56.303Z] -- Installing: /usr/local/include/iot/typecode.h [2021-11-12T20:51:56.303Z] -- Installing: /usr/local/include/iot/uuid.h [2021-11-12T20:51:56.566Z] -- Installing: /usr/local/include/iot/os [2021-11-12T20:51:56.566Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-11-12T20:51:56.566Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-11-12T20:51:56.566Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-11-12T20:51:56.566Z] -- Installing: /usr/local/include/iot/defs.h [2021-11-12T20:51:56.566Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-11-12T20:51:56.566Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-11-12T20:51:56.566Z] make: Leaving directory '/tmp/sdk/build/release' [2021-11-12T20:51:57.143Z] Removing intermediate container 7b1c75fb72e6 [2021-11-12T20:51:57.143Z] ---> 138ab569829e [2021-11-12T20:51:57.143Z] Step 16/24 : FROM ${BASE} [2021-11-12T20:51:57.143Z] ---> c277a2dd7a9c [2021-11-12T20:51:57.143Z] Step 17/24 : LABEL maintainer="IOTech " [2021-11-12T20:51:57.144Z] ---> Running in e3855f595611 [2021-11-12T20:51:57.144Z] Removing intermediate container e3855f595611 [2021-11-12T20:51:57.144Z] ---> 335eaef20339 [2021-11-12T20:51:57.144Z] 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-12T20:51:57.144Z] ---> Running in 6c24f6a14fa8 [2021-11-12T20:51:57.404Z] Connecting to iotech.jfrog.io (34.243.182.113:443) [2021-11-12T20:51:57.974Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2021-11-12T20:51:57.974Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2021-11-12T20:51:57.974Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2021-11-12T20:51:57.974Z] Removing intermediate container 6c24f6a14fa8 [2021-11-12T20:51:57.974Z] ---> e3ecf14dedaa [2021-11-12T20:51:57.974Z] Step 19/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-11-12T20:51:57.974Z] ---> Running in 47c6616591df [2021-11-12T20:51:58.548Z] Removing intermediate container 47c6616591df [2021-11-12T20:51:58.548Z] ---> 0ca2a654de6a [2021-11-12T20:51:58.548Z] 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-12T20:51:58.548Z] ---> Running in 861557f99420 [2021-11-12T20:51:58.810Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-12T20:51:59.755Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-12T20:51:59.755Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-12T20:52:00.337Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-11-12T20:52:00.338Z] (1/7) Installing curl (7.79.1-r0) [2021-11-12T20:52:00.338Z] (2/7) Installing hiredis (1.0.0-r0) [2021-11-12T20:52:00.598Z] (3/7) Installing hiredis-dev (1.0.0-r0) [2021-11-12T20:52:00.598Z] (4/7) Installing libuuid (2.37.2-r0) [2021-11-12T20:52:00.598Z] (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2021-11-12T20:52:01.543Z] (6/7) Installing libidn2 (2.3.1-r0) [2021-11-12T20:52:01.543Z] (7/7) Installing wget (1.21.1-r1) [2021-11-12T20:52:01.816Z] Executing busybox-1.33.1-r3.trigger [2021-11-12T20:52:01.816Z] OK: 282 MiB in 84 packages [2021-11-12T20:52:02.082Z] Removing intermediate container 861557f99420 [2021-11-12T20:52:02.082Z] ---> 1e652e7a3ffe [2021-11-12T20:52:02.082Z] Step 21/24 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-11-12T20:52:02.346Z] ---> 9201c5e459d5 [2021-11-12T20:52:02.346Z] Step 22/24 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-11-12T20:52:02.346Z] ---> 2f8971f5ca29 [2021-11-12T20:52:02.346Z] Step 23/24 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-11-12T20:52:02.610Z] ---> c28d7226b1e2 [2021-11-12T20:52:02.610Z] Step 24/24 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-11-12T20:52:02.610Z] ---> 1658b9597c62 [2021-11-12T20:52:02.610Z] Successfully built 1658b9597c62 [2021-11-12T20:52:02.872Z] Successfully tagged device-sdk-c-builder-x86_64:latest [Pipeline] sh [2021-11-12T20:52:03.285Z] + git log '--pretty=%H %s' [2021-11-12T20:52:03.285Z] + grep 'ci(lts-release)' [2021-11-12T20:52:03.285Z] + head -n 1 [2021-11-12T20:52:03.285Z] + awk '{print $1}' [Pipeline] echo [2021-11-12T20:52:04.254Z] [edgeXDocker.push] Tagging docker image device-sdk-c-builder-x86_64 with the following tags: [2021-11-12T20:52:04.254Z] 95537f069f4478f85f1ccb38a71dd01dd0781bca [2021-11-12T20:52:04.254Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-12T20:52:04.571Z] + docker tag device-sdk-c-builder-x86_64 nexus3.edgexfoundry.org:10002/device-sdk-c-builder-x86_64:95537f069f4478f85f1ccb38a71dd01dd0781bca [Pipeline] isUnix [Pipeline] sh [2021-11-12T20:52:04.864Z] + docker push nexus3.edgexfoundry.org:10002/device-sdk-c-builder-x86_64:95537f069f4478f85f1ccb38a71dd01dd0781bca [2021-11-12T20:52:04.864Z] The push refers to repository [nexus3.edgexfoundry.org:10002/device-sdk-c-builder-x86_64] [2021-11-12T20:52:04.864Z] 343e190d2329: Preparing [2021-11-12T20:52:04.864Z] bba81d43445f: Preparing [2021-11-12T20:52:04.864Z] a0caaa53fb25: Preparing [2021-11-12T20:52:04.864Z] 764609842abb: Preparing [2021-11-12T20:52:04.864Z] 56a1db286ac7: Preparing [2021-11-12T20:52:04.864Z] e6c4258baa68: Preparing [2021-11-12T20:52:04.864Z] 2d6b6e1cdc11: Preparing [2021-11-12T20:52:04.864Z] 137ddf4b62db: Preparing [2021-11-12T20:52:04.864Z] 1c8d816e9eea: Preparing [2021-11-12T20:52:04.864Z] e2eb06d8af82: Preparing [2021-11-12T20:52:04.864Z] e6c4258baa68: Waiting [2021-11-12T20:52:04.864Z] 2d6b6e1cdc11: Waiting [2021-11-12T20:52:04.864Z] 137ddf4b62db: Waiting [2021-11-12T20:52:04.864Z] 1c8d816e9eea: Waiting [2021-11-12T20:52:04.864Z] e2eb06d8af82: Waiting [2021-11-12T20:52:05.126Z] a0caaa53fb25: Pushed [2021-11-12T20:52:05.126Z] 343e190d2329: Pushed [2021-11-12T20:52:05.126Z] bba81d43445f: Pushed [2021-11-12T20:52:05.126Z] 764609842abb: Pushed [2021-11-12T20:52:05.126Z] 137ddf4b62db: Layer already exists [2021-11-12T20:52:05.126Z] 1c8d816e9eea: Layer already exists [2021-11-12T20:52:05.126Z] e2eb06d8af82: Layer already exists [2021-11-12T20:52:05.126Z] 2d6b6e1cdc11: Pushed [2021-11-12T20:52:05.126Z] e6c4258baa68: Pushed [2021-11-12T20:52:05.126Z] 56a1db286ac7: Pushed [2021-11-12T20:52:05.387Z] 95537f069f4478f85f1ccb38a71dd01dd0781bca: digest: sha256:2815b5cad406d20e94043a9aa4b4dbb0d7c70dd8f2680ed0a6346588359019af size: 2407 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-12T20:52:05.417Z] ===================================================== [Pipeline] echo [2021-11-12T20:52:05.423Z] taggedImages: [2021-11-12T20:52:05.423Z] - nexus3.edgexfoundry.org:10002/device-sdk-c-builder-x86_64:95537f069f4478f85f1ccb38a71dd01dd0781bca [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-12T20:53:06.762Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-415 in /w/workspace/dgexfoundry_device-sdk-c_jakarta [Pipeline] { [Pipeline] checkout [2021-11-12T20:53:06.971Z] Selected Git installation does not exist. Using Default [2021-11-12T20:53:06.971Z] The recommended git tool is: NONE [2021-11-12T20:53:12.475Z] using credential edgex-jenkins-ssh [2021-11-12T20:53:12.490Z] Cloning the remote Git repository [2021-11-12T20:53:12.533Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-11-12T20:53:12.624Z] > git init /w/workspace/dgexfoundry_device-sdk-c_jakarta # timeout=10 [2021-11-12T20:53:12.710Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-11-12T20:53:12.712Z] > git --version # timeout=10 [2021-11-12T20:53:12.736Z] > git --version # 'git version 2.17.1' [2021-11-12T20:53:12.737Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-12T20:53:12.830Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-12T20:53:13.910Z] Avoid second fetch [2021-11-12T20:53:13.910Z] Checking out Revision 95537f069f4478f85f1ccb38a71dd01dd0781bca (jakarta) [2021-11-12T20:53:13.868Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-11-12T20:53:13.886Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-12T20:53:13.925Z] > git config core.sparsecheckout # timeout=10 [2021-11-12T20:53:13.942Z] > git checkout -f 95537f069f4478f85f1ccb38a71dd01dd0781bca # timeout=10 [2021-11-12T20:53:18.066Z] Commit message: "ci(lts-release): LTS release v2.1.0 @9c093d9" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-12T20:53:18.857Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-12T20:53:18.857Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-12T20:53:18.857Z] Dload Upload Total Spent Left Speed [2021-11-12T20:53:18.857Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 83267 0 --:--:-- --:--:-- --:--:-- 82685 100 11824 100 11824 0 0 82685 0 --:--:-- --:--:-- --:--:-- 82111 [Pipeline] sh [2021-11-12T20:53:19.261Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-12T20:53:19.593Z] + sudo tee /etc/docker/daemon.new [2021-11-12T20:53:19.593Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-11-12T20:53:19.593Z] { [2021-11-12T20:53:19.593Z] "registry-mirrors": [ [2021-11-12T20:53:19.593Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-12T20:53:19.593Z] ], [2021-11-12T20:53:19.593Z] "bip": "10.250.0.254/24", [2021-11-12T20:53:19.593Z] "hosts": [ [2021-11-12T20:53:19.593Z] "tcp://0.0.0.0:5555", [2021-11-12T20:53:19.593Z] "unix:///var/run/docker.sock" [2021-11-12T20:53:19.593Z] ], [2021-11-12T20:53:19.593Z] "mtu": 1458, [2021-11-12T20:53:19.593Z] "selinux-enabled": true, [2021-11-12T20:53:19.593Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-12T20:53:19.593Z] } [Pipeline] sh [2021-11-12T20:53:19.927Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-12T20:53:20.266Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-12T20:53:38.652Z] provisioning config files... [2021-11-12T20:53:38.679Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/dgexfoundry_device-sdk-c_jakarta@tmp/config1525158224962932845tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-12T20:53:39.048Z] ---> docker-login.sh [2021-11-12T20:53:39.048Z] nexus3.edgexfoundry.org:10001 [2021-11-12T20:53:39.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-12T20:53:40.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-12T20:53:40.246Z] Configure a credential helper to remove this warning. See [2021-11-12T20:53:40.246Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-12T20:53:40.246Z] [2021-11-12T20:53:40.246Z] Login Succeeded [2021-11-12T20:53:40.246Z] nexus3.edgexfoundry.org:10002 [2021-11-12T20:53:40.522Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-12T20:53:40.522Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-12T20:53:40.522Z] Configure a credential helper to remove this warning. See [2021-11-12T20:53:40.522Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-12T20:53:40.522Z] [2021-11-12T20:53:40.522Z] Login Succeeded [2021-11-12T20:53:40.522Z] nexus3.edgexfoundry.org:10003 [2021-11-12T20:53:41.123Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-12T20:53:41.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-12T20:53:41.123Z] Configure a credential helper to remove this warning. See [2021-11-12T20:53:41.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-12T20:53:41.123Z] [2021-11-12T20:53:41.123Z] Login Succeeded [2021-11-12T20:53:41.123Z] nexus3.edgexfoundry.org:10004 [2021-11-12T20:53:41.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-12T20:53:41.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-12T20:53:41.726Z] Configure a credential helper to remove this warning. See [2021-11-12T20:53:41.726Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-12T20:53:41.726Z] [2021-11-12T20:53:41.726Z] Login Succeeded [2021-11-12T20:53:41.726Z] docker.io [2021-11-12T20:53:42.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-12T20:53:42.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-12T20:53:42.601Z] Configure a credential helper to remove this warning. See [2021-11-12T20:53:42.601Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-12T20:53:42.601Z] [2021-11-12T20:53:42.601Z] Login Succeeded [2021-11-12T20:53:42.601Z] ---> docker-login.sh ends [Pipeline] } [2021-11-12T20:53:42.619Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-12T20:53:42.651Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] sh [2021-11-12T20:53:42.970Z] + echo 0.0.0 [Pipeline] echo [2021-11-12T20:53:42.992Z] [prepBaseBuildImage] Generating new image with name: device-sdk-c-builder-arm64 [Pipeline] echo [2021-11-12T20:53:43.003Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-12T20:53:43.011Z] ========================================================= [2021-11-12T20:53:43.011Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-gcc-base-arm64:gcc-lts] [2021-11-12T20:53:43.011Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-12T20:53:43.358Z] + 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-12T20:53:43.642Z] Sending build context to Docker daemon 2.718MB [2021-11-12T20:53:43.919Z] Step 1/24 : ARG BASE=alpine:3.14 [2021-11-12T20:53:43.919Z] Step 2/24 : FROM ${BASE} as builder [2021-11-12T20:53:43.919Z] gcc-lts: Pulling from edgex-devops/edgex-gcc-base-arm64 [2021-11-12T20:53:43.919Z] 552d1f2373af: Pulling fs layer [2021-11-12T20:53:43.919Z] 66d1a851268c: Pulling fs layer [2021-11-12T20:53:43.919Z] a8df42328c97: Pulling fs layer [2021-11-12T20:53:43.920Z] 66d1a851268c: Verifying Checksum [2021-11-12T20:53:43.920Z] 66d1a851268c: Download complete [2021-11-12T20:53:44.194Z] 552d1f2373af: Verifying Checksum [2021-11-12T20:53:44.194Z] 552d1f2373af: Download complete [2021-11-12T20:53:44.794Z] 552d1f2373af: Pull complete [2021-11-12T20:53:45.071Z] 66d1a851268c: Pull complete [2021-11-12T20:53:46.049Z] a8df42328c97: Verifying Checksum [2021-11-12T20:53:46.049Z] a8df42328c97: Download complete [2021-11-12T20:53:54.331Z] a8df42328c97: Pull complete [2021-11-12T20:53:54.331Z] Digest: sha256:0df23b1678be9bcf5f75e5285242a59883bcab5729695e44a6242efd441b27a4 [2021-11-12T20:53:54.331Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-gcc-base-arm64:gcc-lts [2021-11-12T20:53:54.331Z] ---> d97667b1ee65 [2021-11-12T20:53:54.331Z] 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-12T20:53:54.607Z] ---> Running in 4e65c2c5c8ae [2021-11-12T20:53:56.049Z] Connecting to iotech.jfrog.io (34.243.182.113:443) [2021-11-12T20:53:56.322Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2021-11-12T20:53:56.322Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2021-11-12T20:53:56.322Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2021-11-12T20:53:57.309Z] Removing intermediate container 4e65c2c5c8ae [2021-11-12T20:53:57.309Z] ---> bb5d26a3af92 [2021-11-12T20:53:57.309Z] Step 4/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-11-12T20:53:57.309Z] ---> Running in 5bef8bbee98b [2021-11-12T20:53:59.291Z] Removing intermediate container 5bef8bbee98b [2021-11-12T20:53:59.291Z] ---> 3c42cca830df [2021-11-12T20:53:59.291Z] 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-12T20:53:59.291Z] ---> Running in 32d054f032ad [2021-11-12T20:54:00.726Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-12T20:54:01.703Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-12T20:54:01.976Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-12T20:54:02.954Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-11-12T20:54:02.954Z] (1/27) Installing hiredis (1.0.0-r0) [2021-11-12T20:54:03.226Z] (2/27) Installing hiredis-dev (1.0.0-r0) [2021-11-12T20:54:03.226Z] (3/27) Installing ncurses-dev (6.2_p20210612-r0) [2021-11-12T20:54:03.496Z] (4/27) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2021-11-12T20:54:04.467Z] (5/27) Installing libblkid (2.37.2-r0) [2021-11-12T20:54:04.467Z] (6/27) Installing blkid (2.37.2-r0) [2021-11-12T20:54:04.738Z] (7/27) Installing libcap-ng (0.8.2-r0) [2021-11-12T20:54:04.738Z] (8/27) Installing setpriv (2.37.2-r0) [2021-11-12T20:54:04.738Z] (9/27) Installing libmount (2.37.2-r0) [2021-11-12T20:54:05.008Z] (10/27) Installing libsmartcols (2.37.2-r0) [2021-11-12T20:54:05.008Z] (11/27) Installing findmnt (2.37.2-r0) [2021-11-12T20:54:05.278Z] (12/27) Installing mcookie (2.37.2-r0) [2021-11-12T20:54:05.278Z] (13/27) Installing hexdump (2.37.2-r0) [2021-11-12T20:54:05.278Z] (14/27) Installing lsblk (2.37.2-r0) [2021-11-12T20:54:05.550Z] (15/27) Installing libuuid (2.37.2-r0) [2021-11-12T20:54:05.550Z] (16/27) Installing libfdisk (2.37.2-r0) [2021-11-12T20:54:05.550Z] (17/27) Installing sfdisk (2.37.2-r0) [2021-11-12T20:54:05.824Z] (18/27) Installing cfdisk (2.37.2-r0) [2021-11-12T20:54:05.824Z] (19/27) Installing partx (2.37.2-r0) [2021-11-12T20:54:05.824Z] (20/27) Installing flock (2.37.2-r0) [2021-11-12T20:54:06.096Z] (21/27) Installing logger (2.37.2-r0) [2021-11-12T20:54:06.096Z] (22/27) Installing uuidgen (2.37.2-r0) [2021-11-12T20:54:06.096Z] (23/27) Installing libeconf (0.3.8-r1) [2021-11-12T20:54:06.367Z] (24/27) Installing util-linux (2.37.2-r0) [2021-11-12T20:54:06.639Z] (25/27) Installing util-linux-dev (2.37.2-r0) [2021-11-12T20:54:06.639Z] (26/27) Installing libidn2 (2.3.1-r0) [2021-11-12T20:54:06.911Z] (27/27) Installing wget (1.21.1-r1) [2021-11-12T20:54:06.911Z] Executing busybox-1.33.1-r3.trigger [2021-11-12T20:54:06.911Z] OK: 286 MiB in 104 packages [2021-11-12T20:54:08.891Z] Removing intermediate container 32d054f032ad [2021-11-12T20:54:08.891Z] ---> 2016efb6b1c6 [2021-11-12T20:54:08.891Z] Step 6/24 : ENV CBOR_VERSION=0.5.0 [2021-11-12T20:54:08.891Z] ---> Running in 684fbe0d0b80 [2021-11-12T20:54:09.165Z] Removing intermediate container 684fbe0d0b80 [2021-11-12T20:54:09.165Z] ---> 27d466674a47 [2021-11-12T20:54:09.165Z] 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-12T20:54:09.438Z] ---> Running in d060db128963 [2021-11-12T20:54:10.438Z] --2021-11-12 20:54:10-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-11-12T20:54:10.438Z] Resolving github.com (github.com)... 140.82.112.4 [2021-11-12T20:54:10.713Z] Connecting to github.com (github.com)|140.82.112.4|:443... connected. [2021-11-12T20:54:10.713Z] HTTP request sent, awaiting response... 302 Found [2021-11-12T20:54:10.713Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-11-12T20:54:10.713Z] --2021-11-12 20:54:10-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-11-12T20:54:10.713Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 [2021-11-12T20:54:10.713Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. [2021-11-12T20:54:11.002Z] HTTP request sent, awaiting response... 200 OK [2021-11-12T20:54:11.002Z] Length: unspecified [application/x-gzip] [2021-11-12T20:54:11.002Z] Saving to: 'STDOUT' [2021-11-12T20:54:11.002Z]  [2021-11-12T20:54:11.002Z] 0K .......... .......... .......... .......... .......... 1.22M [2021-11-12T20:54:11.002Z] 50K .......... .......... .......... .......... .......... 2.43M [2021-11-12T20:54:11.002Z] 100K .......... .......... .......... .......... .......... 15.9M [2021-11-12T20:54:11.002Z] 150K .......... .......... .......... .......... .......... 2.56M [2021-11-12T20:54:11.002Z] 200K .......... .......... .......... .......... .......... 9.38M [2021-11-12T20:54:11.002Z] 250K .......... .......... .......... .......... .......... 4.39M [2021-11-12T20:54:11.002Z] 300K .......... .......... .......... .......... .......... 3.82M [2021-11-12T20:54:11.002Z] 350K .......... .......... .......... .......... .......... 4.87M [2021-11-12T20:54:11.002Z] 400K .......... .......... .......... .......... .......... 3.22M [2021-11-12T20:54:11.002Z] 450K .......... .......... .......... .......... .......... 3.47M [2021-11-12T20:54:11.002Z] 500K .......... .......... .......... .......... .......... 9.11M [2021-11-12T20:54:11.002Z] 550K .......... .......... .......... .......... .......... 2.32M [2021-11-12T20:54:11.002Z] 600K .......... .......... .......... .......... .......... 783K [2021-11-12T20:54:11.281Z] 650K .......... .......... .......... .......... .......... 1.25M [2021-11-12T20:54:11.281Z] 700K ..         710K=0.3s [2021-11-12T20:54:11.281Z] [2021-11-12T20:54:11.281Z] 2021-11-12 20:54:11 (2.42 MB/s) - written to stdout [719348] [2021-11-12T20:54:11.281Z] [2021-11-12T20:54:11.567Z] -- The C compiler identification is GNU 10.3.1 [2021-11-12T20:54:11.841Z] -- The CXX compiler identification is GNU 10.3.1 [2021-11-12T20:54:11.841Z] -- Detecting C compiler ABI info [2021-11-12T20:54:12.114Z] -- Detecting C compiler ABI info - done [2021-11-12T20:54:12.114Z] -- Check for working C compiler: /usr/bin/cc - skipped [2021-11-12T20:54:12.114Z] -- Detecting C compile features [2021-11-12T20:54:12.114Z] -- Detecting C compile features - done [2021-11-12T20:54:12.114Z] -- Detecting CXX compiler ABI info [2021-11-12T20:54:12.388Z] -- Detecting CXX compiler ABI info - done [2021-11-12T20:54:12.662Z] -- Check for working CXX compiler: /usr/bin/c++ - skipped [2021-11-12T20:54:12.662Z] -- Detecting CXX compile features [2021-11-12T20:54:12.662Z] -- Detecting CXX compile features - done [2021-11-12T20:54:12.662Z] -- Looking for include file endian.h [2021-11-12T20:54:12.935Z] -- Looking for include file endian.h - found [2021-11-12T20:54:12.935Z] -- Looking for sys/types.h [2021-11-12T20:54:13.207Z] -- Looking for sys/types.h - found [2021-11-12T20:54:13.207Z] -- Looking for stdint.h [2021-11-12T20:54:13.481Z] -- Looking for stdint.h - found [2021-11-12T20:54:13.481Z] -- Looking for stddef.h [2021-11-12T20:54:13.755Z] -- Looking for stddef.h - found [2021-11-12T20:54:13.755Z] -- Check size of size_t [2021-11-12T20:54:14.027Z] -- Check size of size_t - done [2021-11-12T20:54:14.027Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-11-12T20:54:14.027Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-11-12T20:54:14.027Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-11-12T20:54:14.027Z] CMake did not find one. [2021-11-12T20:54:14.027Z] [2021-11-12T20:54:14.027Z] Could not find a package configuration file provided by "cJSON" with any of [2021-11-12T20:54:14.027Z] the following names: [2021-11-12T20:54:14.027Z] [2021-11-12T20:54:14.027Z] cJSONConfig.cmake [2021-11-12T20:54:14.027Z] cjson-config.cmake [2021-11-12T20:54:14.027Z] [2021-11-12T20:54:14.027Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-11-12T20:54:14.027Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-11-12T20:54:14.027Z] provides a separate development package or SDK, be sure it has been [2021-11-12T20:54:14.027Z] installed. [2021-11-12T20:54:14.027Z] [2021-11-12T20:54:14.027Z] [2021-11-12T20:54:14.027Z] -- Configuring done [2021-11-12T20:54:14.299Z] -- Generating done [2021-11-12T20:54:14.299Z] -- Build files have been written to: /tmp/cbor [2021-11-12T20:54:14.571Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-11-12T20:54:16.011Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-11-12T20:54:16.987Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-11-12T20:54:16.987Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-11-12T20:54:17.960Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-11-12T20:54:18.233Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-11-12T20:54:18.505Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-11-12T20:54:18.778Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-11-12T20:54:19.066Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-11-12T20:54:19.337Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-11-12T20:54:20.310Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-11-12T20:54:20.583Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-11-12T20:54:20.854Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-11-12T20:54:21.449Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-11-12T20:54:21.724Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-11-12T20:54:21.996Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-11-12T20:54:22.268Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-11-12T20:54:22.863Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-11-12T20:54:22.863Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-11-12T20:54:23.457Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-11-12T20:54:23.457Z] [ 40%] Linking C shared library libcbor.so [2021-11-12T20:54:23.730Z] [ 40%] Built target cbor_shared [2021-11-12T20:54:23.730Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-11-12T20:54:24.702Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-11-12T20:54:25.292Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-11-12T20:54:25.565Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-11-12T20:54:28.180Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-11-12T20:54:28.180Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-11-12T20:54:28.452Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-11-12T20:54:28.725Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-11-12T20:54:28.995Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-11-12T20:54:29.600Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-11-12T20:54:30.574Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-11-12T20:54:30.848Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-11-12T20:54:31.822Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-11-12T20:54:32.419Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-11-12T20:54:32.689Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-11-12T20:54:32.962Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-11-12T20:54:33.236Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-11-12T20:54:33.826Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-11-12T20:54:34.099Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-11-12T20:54:34.690Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-11-12T20:54:34.690Z] [ 80%] Linking C static library libcbor.a [2021-11-12T20:54:34.690Z] [ 80%] Built target cbor [2021-11-12T20:54:34.690Z] [ 82%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-11-12T20:54:34.965Z] [ 84%] Linking C executable readfile [2021-11-12T20:54:35.236Z] [ 84%] Built target readfile [2021-11-12T20:54:35.236Z] [ 86%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-11-12T20:54:35.507Z] [ 88%] Linking C executable create_items [2021-11-12T20:54:35.507Z] [ 88%] Built target create_items [2021-11-12T20:54:35.507Z] [ 90%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-11-12T20:54:35.778Z] [ 92%] Linking C executable sort [2021-11-12T20:54:36.048Z] [ 92%] Built target sort [2021-11-12T20:54:36.048Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-11-12T20:54:36.319Z] [ 96%] Linking C executable hello [2021-11-12T20:54:36.319Z] [ 96%] Built target hello [2021-11-12T20:54:36.319Z] [ 98%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-11-12T20:54:36.589Z] [100%] Linking C executable streaming_parser [2021-11-12T20:54:36.589Z] [100%] Built target streaming_parser [2021-11-12T20:54:36.867Z] Install the project... [2021-11-12T20:54:36.867Z] -- Install configuration: "Release" [2021-11-12T20:54:36.867Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-11-12T20:54:36.867Z] -- Installing: /usr/local/lib/libcbor.a [2021-11-12T20:54:36.867Z] -- Installing: /usr/local/lib/libcbor.so.0.0.0 [2021-11-12T20:54:36.867Z] -- Installing: /usr/local/lib/libcbor.so.0 [2021-11-12T20:54:36.867Z] -- Installing: /usr/local/lib/libcbor.so [2021-11-12T20:54:36.867Z] -- Up-to-date: /usr/local/include/cbor [2021-11-12T20:54:36.867Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-11-12T20:54:36.867Z] -- Installing: /usr/local/include/cbor/ints.h [2021-11-12T20:54:36.867Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-11-12T20:54:36.867Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-11-12T20:54:36.867Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-11-12T20:54:36.867Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-11-12T20:54:36.867Z] -- Installing: /usr/local/include/cbor/data.h [2021-11-12T20:54:36.867Z] -- Installing: /usr/local/include/cbor/common.h [2021-11-12T20:54:36.867Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-11-12T20:54:36.867Z] -- Installing: /usr/local/include/cbor/strings.h [2021-11-12T20:54:36.867Z] -- Installing: /usr/local/include/cbor/tags.h [2021-11-12T20:54:36.867Z] -- Installing: /usr/local/include/cbor/internal [2021-11-12T20:54:36.867Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-11-12T20:54:36.867Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-11-12T20:54:36.867Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-11-12T20:54:36.867Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-11-12T20:54:36.867Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-11-12T20:54:36.867Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-11-12T20:54:36.867Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-11-12T20:54:36.867Z] -- Installing: /usr/local/include/cbor/maps.h [2021-11-12T20:54:36.867Z] -- Installing: /usr/local/include/cbor.h [2021-11-12T20:54:36.867Z] -- Installing: /usr/local/lib/pkgconfig/libcbor.pc [2021-11-12T20:54:38.843Z] Removing intermediate container d060db128963 [2021-11-12T20:54:38.843Z] ---> 78b71ee4f9a4 [2021-11-12T20:54:38.843Z] Step 8/24 : RUN mkdir /tmp/sdk [2021-11-12T20:54:38.843Z] ---> Running in 65c9af047e8f [2021-11-12T20:54:40.813Z] Removing intermediate container 65c9af047e8f [2021-11-12T20:54:40.813Z] ---> 86f12f51255d [2021-11-12T20:54:40.813Z] Step 9/24 : COPY VERSION /tmp/sdk [2021-11-12T20:54:41.086Z] ---> 55d69e1f9e37 [2021-11-12T20:54:41.086Z] Step 10/24 : COPY src /tmp/sdk/src [2021-11-12T20:54:42.061Z] ---> 1d28906ffd63 [2021-11-12T20:54:42.061Z] Step 11/24 : COPY include /tmp/sdk/include [2021-11-12T20:54:43.044Z] ---> 9cc070b4fc7a [2021-11-12T20:54:43.044Z] Step 12/24 : COPY scripts /tmp/sdk/scripts [2021-11-12T20:54:43.639Z] ---> a93382506887 [2021-11-12T20:54:43.639Z] Step 13/24 : COPY LICENSE /tmp/sdk [2021-11-12T20:54:44.235Z] ---> 6e3e2cde91fd [2021-11-12T20:54:44.235Z] Step 14/24 : COPY Attribution.txt /tmp/sdk [2021-11-12T20:54:44.828Z] ---> 784cfe48f572 [2021-11-12T20:54:44.828Z] Step 15/24 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-11-12T20:54:45.102Z] ---> Running in ac6cf31a6e38 [2021-11-12T20:54:46.073Z] + CPPCHECK=false [2021-11-12T20:54:46.073Z] + DOCGEN=false [2021-11-12T20:54:46.073Z] + TOMLVER=SDK-0.2 [2021-11-12T20:54:46.073Z] + CUTILVER=1.2.2 [2021-11-12T20:54:46.073Z] + '[' 0 -gt 0 ] [2021-11-12T20:54:46.073Z] + readlink -f ./scripts/build.sh [2021-11-12T20:54:46.073Z] + dirname /tmp/sdk/scripts/build.sh [2021-11-12T20:54:46.073Z] + dirname /tmp/sdk/scripts [2021-11-12T20:54:46.073Z] + ROOT=/tmp/sdk [2021-11-12T20:54:46.073Z] + cd /tmp/sdk [2021-11-12T20:54:46.073Z] + '[' '!' -d deps ] [2021-11-12T20:54:46.073Z] + mkdir deps [2021-11-12T20:54:46.073Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-11-12T20:54:46.073Z] + tar -C deps -z -x -f - [2021-11-12T20:54:46.073Z] --2021-11-12 20:54:45-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-11-12T20:54:46.073Z] Resolving github.com (github.com)... 140.82.114.4 [2021-11-12T20:54:46.073Z] Connecting to github.com (github.com)|140.82.114.4|:443... connected. [2021-11-12T20:54:46.344Z] HTTP request sent, awaiting response... 302 Found [2021-11-12T20:54:46.344Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-11-12T20:54:46.344Z] --2021-11-12 20:54:46-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-11-12T20:54:46.344Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 [2021-11-12T20:54:46.344Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. [2021-11-12T20:54:46.616Z] HTTP request sent, awaiting response... 200 OK [2021-11-12T20:54:46.616Z] Length: unspecified [application/x-gzip] [2021-11-12T20:54:46.616Z] Saving to: 'STDOUT' [2021-11-12T20:54:46.616Z]  [2021-11-12T20:54:46.616Z] 0K .......... ......  871K=0.02s [2021-11-12T20:54:46.616Z] [2021-11-12T20:54:46.616Z] 2021-11-12 20:54:46 (871 KB/s) - written to stdout [16451] [2021-11-12T20:54:46.616Z] [2021-11-12T20:54:46.616Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-11-12T20:54:46.616Z] + + tarwget -C -O deps - -z https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz -x [2021-11-12T20:54:46.616Z] -f - [2021-11-12T20:54:46.616Z] --2021-11-12 20:54:46-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2021-11-12T20:54:46.616Z] Resolving github.com (github.com)... 140.82.114.4 [2021-11-12T20:54:46.616Z] Connecting to github.com (github.com)|140.82.114.4|:443... connected. [2021-11-12T20:54:46.890Z] HTTP request sent, awaiting response... 302 Found [2021-11-12T20:54:46.890Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] [2021-11-12T20:54:46.890Z] --2021-11-12 20:54:46-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [2021-11-12T20:54:46.890Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 [2021-11-12T20:54:46.890Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. [2021-11-12T20:54:47.162Z] HTTP request sent, awaiting response... 200 OK [2021-11-12T20:54:47.162Z] Length: unspecified [application/x-gzip] [2021-11-12T20:54:47.162Z] Saving to: 'STDOUT' [2021-11-12T20:54:47.162Z]  [2021-11-12T20:54:47.162Z] 0K .......... .......... .......... .......... .......... 1.27M [2021-11-12T20:54:47.162Z] 50K .......... .......... .......... .......... .......... 2.38M [2021-11-12T20:54:47.162Z] 100K .......... .......... .......... .......... .......... 7.14M [2021-11-12T20:54:47.162Z] 150K .......... .......... .......... ......... 2.07M=0.08s [2021-11-12T20:54:47.162Z] [2021-11-12T20:54:47.162Z] 2021-11-12 20:54:46 (2.19 MB/s) - written to stdout [193961] [2021-11-12T20:54:47.162Z] [2021-11-12T20:54:47.162Z] + mkdir -p src/c/iot [2021-11-12T20:54:47.162Z] + 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-12T20:54:47.162Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2021-11-12T20:54:47.162Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2021-11-12T20:54:47.162Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2021-11-12T20:54:47.162Z] + mkdir -p include/iot [2021-11-12T20:54:47.162Z] + 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-12T20:54:47.162Z] + mkdir -p include/iot/os [2021-11-12T20:54:47.162Z] + 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-12T20:54:47.162Z] + mkdir -p /tmp/sdk/build/release [2021-11-12T20:54:47.162Z] + cd /tmp/sdk/build/release [2021-11-12T20:54:47.162Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-11-12T20:54:47.434Z] -- The C compiler identification is GNU 10.3.1 [2021-11-12T20:54:47.434Z] -- Detecting C compiler ABI info [2021-11-12T20:54:47.704Z] -- Detecting C compiler ABI info - done [2021-11-12T20:54:47.975Z] -- Check for working C compiler: /usr/bin/cc - skipped [2021-11-12T20:54:47.975Z] -- Detecting C compile features [2021-11-12T20:54:47.975Z] -- Detecting C compile features - done [2021-11-12T20:54:47.975Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-11-12T20:54:47.975Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") [2021-11-12T20:54:47.975Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-11-12T20:54:48.245Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-11-12T20:54:48.245Z] -- Found LIBCBOR: /usr/local/lib/libcbor.so [2021-11-12T20:54:48.245Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-11-12T20:54:48.245Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-11-12T20:54:48.245Z] -- C SDK 0.0.0 for Linux [2021-11-12T20:54:48.245Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-11-12T20:54:48.515Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-11-12T20:54:48.515Z] -- Found Curses: /usr/lib/libcurses.so [2021-11-12T20:54:48.785Z] -- Configuring done [2021-11-12T20:54:49.056Z] -- Generating done [2021-11-12T20:54:49.056Z] -- Build files have been written to: /tmp/sdk/build/release [2021-11-12T20:54:49.056Z] + make all package [2021-11-12T20:54:49.056Z] + tee release.log [2021-11-12T20:54:49.056Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-11-12T20:54:49.648Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-11-12T20:54:50.617Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-11-12T20:54:53.216Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-11-12T20:54:53.806Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-11-12T20:54:53.806Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-11-12T20:54:54.778Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-11-12T20:54:55.375Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-11-12T20:54:55.649Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-11-12T20:54:57.089Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-11-12T20:54:59.066Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-11-12T20:54:59.662Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-11-12T20:55:00.634Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-11-12T20:55:01.231Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-11-12T20:55:01.826Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-11-12T20:55:02.099Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-11-12T20:55:02.370Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-11-12T20:55:05.794Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-11-12T20:55:05.794Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-11-12T20:55:06.461Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-11-12T20:55:06.752Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-11-12T20:55:07.770Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-11-12T20:55:07.770Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2021-11-12T20:55:07.770Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2021-11-12T20:55:07.770Z] 275 | const iot_component_factory_t * factory; [2021-11-12T20:55:07.770Z] | ^~~~~~~ [2021-11-12T20:55:08.764Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-11-12T20:55:15.470Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-11-12T20:55:15.470Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-11-12T20:55:15.470Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-11-12T20:55:16.061Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-11-12T20:55:16.651Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-11-12T20:55:16.922Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-11-12T20:55:18.345Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-11-12T20:55:18.935Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-11-12T20:55:19.904Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-11-12T20:55:20.175Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2021-11-12T20:55:20.775Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-11-12T20:55:24.154Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-11-12T20:55:24.425Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-11-12T20:55:25.860Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-11-12T20:55:26.133Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-11-12T20:55:32.813Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-11-12T20:55:32.813Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-11-12T20:55:33.085Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-11-12T20:55:33.676Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-11-12T20:55:33.947Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2021-11-12T20:55:33.947Z] /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-12T20:55:33.947Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2021-11-12T20:55:33.947Z] | ^~~~~~~~~~~~~ [2021-11-12T20:55:33.947Z] | | [2021-11-12T20:55:33.947Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2021-11-12T20:55:33.947Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-11-12T20:55:33.947Z] /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-12T20:55:33.947Z] 2714 | MHD_KeyValueIterator iterator, [2021-11-12T20:55:33.947Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2021-11-12T20:55:33.947Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2021-11-12T20:55:33.947Z] /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-12T20:55:33.947Z] 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-12T20:55:33.947Z] | ^~~~~~~~~~~~ [2021-11-12T20:55:33.947Z] | | [2021-11-12T20:55:33.947Z] | 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-12T20:55:33.947Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-11-12T20:55:33.947Z] /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-12T20:55:33.947Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-11-12T20:55:33.947Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-11-12T20:55:33.947Z] /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-12T20:55:33.947Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2021-11-12T20:55:33.947Z] | ^~~~~~~~~~~~ [2021-11-12T20:55:33.947Z] | | [2021-11-12T20:55:33.947Z] | 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-12T20:55:33.947Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-11-12T20:55:33.947Z] /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-12T20:55:33.947Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-11-12T20:55:33.947Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-11-12T20:55:34.918Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-11-12T20:55:37.523Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-11-12T20:55:38.119Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-11-12T20:55:38.717Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-11-12T20:55:38.990Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-11-12T20:55:42.371Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-11-12T20:55:46.668Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-11-12T20:55:47.258Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-11-12T20:55:48.232Z] [ 76%] Linking C shared library libcsdk.so [2021-11-12T20:55:48.232Z] [ 76%] Built target csdk [2021-11-12T20:55:48.232Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-11-12T20:55:49.200Z] [ 79%] Linking C executable template [2021-11-12T20:55:49.471Z] [ 79%] Built target template [2021-11-12T20:55:49.471Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-11-12T20:55:50.060Z] [ 82%] Linking C executable device-counter [2021-11-12T20:55:50.335Z] [ 82%] Built target device-counter [2021-11-12T20:55:50.335Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-11-12T20:55:50.926Z] [ 85%] Linking C executable device-random [2021-11-12T20:55:51.195Z] [ 85%] Built target device-random [2021-11-12T20:55:51.195Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-11-12T20:55:51.786Z] [ 88%] Linking C executable device-gyro [2021-11-12T20:55:52.057Z] [ 88%] Built target device-gyro [2021-11-12T20:55:52.057Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-11-12T20:55:52.646Z] [ 91%] Linking C executable device-bitfields [2021-11-12T20:55:52.646Z] [ 91%] Built target device-bitfields [2021-11-12T20:55:52.917Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-11-12T20:55:53.884Z] [ 94%] Linking C executable template-discovery [2021-11-12T20:55:53.884Z] [ 94%] Built target template-discovery [2021-11-12T20:55:53.884Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-11-12T20:55:54.869Z] [ 97%] Linking C executable device-file [2021-11-12T20:55:54.869Z] [ 97%] Built target device-file [2021-11-12T20:55:54.869Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-11-12T20:55:55.840Z] [100%] Linking C executable device-terminal [2021-11-12T20:55:55.840Z] [100%] Built target device-terminal [2021-11-12T20:55:56.110Z] Run CPack packaging tool... [2021-11-12T20:55:56.110Z] CPack: Create package using TGZ [2021-11-12T20:55:56.110Z] CPack: Install projects [2021-11-12T20:55:56.110Z] CPack: - Run preinstall target for: Csdk [2021-11-12T20:55:56.699Z] CPack: - Install project: Csdk [] [2021-11-12T20:55:56.699Z] CPack: Create package [2021-11-12T20:55:56.969Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-11-12T20:55:56.969Z] + '[' false '=' true ] [2021-11-12T20:55:56.969Z] + '[' false '=' true ] [2021-11-12T20:55:56.969Z] + mkdir -p /tmp/sdk/build/debug [2021-11-12T20:55:56.969Z] + cd /tmp/sdk/build/debug [2021-11-12T20:55:56.969Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-11-12T20:55:57.237Z] -- The C compiler identification is GNU 10.3.1 [2021-11-12T20:55:57.237Z] -- Detecting C compiler ABI info [2021-11-12T20:55:57.507Z] -- Detecting C compiler ABI info - done [2021-11-12T20:55:57.507Z] -- Check for working C compiler: /usr/bin/cc - skipped [2021-11-12T20:55:57.507Z] -- Detecting C compile features [2021-11-12T20:55:57.507Z] -- Detecting C compile features - done [2021-11-12T20:55:57.779Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-11-12T20:55:57.779Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") [2021-11-12T20:55:57.779Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-11-12T20:55:57.779Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-11-12T20:55:57.779Z] -- Found LIBCBOR: /usr/local/lib/libcbor.so [2021-11-12T20:55:57.779Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-11-12T20:55:57.779Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-11-12T20:55:57.779Z] -- C SDK 0.0.0 for Linux [2021-11-12T20:55:58.051Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-11-12T20:55:58.051Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-11-12T20:55:58.322Z] -- Found Curses: /usr/lib/libcurses.so [2021-11-12T20:55:58.592Z] -- Configuring done [2021-11-12T20:55:58.863Z] -- Generating done [2021-11-12T20:55:58.863Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-11-12T20:55:58.863Z] + make [2021-11-12T20:55:58.863Z] + tee debug.log [2021-11-12T20:55:58.863Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-11-12T20:55:59.453Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-11-12T20:55:59.722Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-11-12T20:56:00.692Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-11-12T20:56:00.964Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-11-12T20:56:01.239Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-11-12T20:56:01.831Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-11-12T20:56:02.100Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-11-12T20:56:02.372Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-11-12T20:56:02.967Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-11-12T20:56:03.557Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-11-12T20:56:03.830Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-11-12T20:56:04.422Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-11-12T20:56:04.692Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-11-12T20:56:05.282Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-11-12T20:56:05.282Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-11-12T20:56:05.553Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-11-12T20:56:06.521Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-11-12T20:56:06.792Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-11-12T20:56:07.062Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-11-12T20:56:07.334Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-11-12T20:56:07.604Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-11-12T20:56:07.874Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2021-11-12T20:56:07.874Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2021-11-12T20:56:07.874Z] 275 | const iot_component_factory_t * factory; [2021-11-12T20:56:07.874Z] | ^~~~~~~ [2021-11-12T20:56:08.146Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-11-12T20:56:09.612Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-11-12T20:56:09.612Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-11-12T20:56:09.897Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-11-12T20:56:10.174Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-11-12T20:56:10.788Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-11-12T20:56:10.788Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-11-12T20:56:11.063Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-11-12T20:56:11.652Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-11-12T20:56:11.924Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-11-12T20:56:12.193Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2021-11-12T20:56:12.465Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-11-12T20:56:13.057Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-11-12T20:56:13.057Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-11-12T20:56:14.029Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-11-12T20:56:14.029Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-11-12T20:56:15.451Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-11-12T20:56:16.042Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-11-12T20:56:16.312Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-11-12T20:56:16.583Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-11-12T20:56:16.853Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2021-11-12T20:56:16.853Z] /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-12T20:56:16.853Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2021-11-12T20:56:16.853Z] | ^~~~~~~~~~~~~ [2021-11-12T20:56:16.853Z] | | [2021-11-12T20:56:16.853Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2021-11-12T20:56:16.853Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-11-12T20:56:16.853Z] /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-12T20:56:16.853Z] 2714 | MHD_KeyValueIterator iterator, [2021-11-12T20:56:16.853Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2021-11-12T20:56:16.853Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2021-11-12T20:56:16.853Z] /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-12T20:56:16.853Z] 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-12T20:56:16.853Z] | ^~~~~~~~~~~~ [2021-11-12T20:56:16.853Z] | | [2021-11-12T20:56:16.853Z] | 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-12T20:56:16.853Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-11-12T20:56:16.853Z] /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-12T20:56:16.853Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-11-12T20:56:16.853Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-11-12T20:56:16.853Z] /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-12T20:56:16.853Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2021-11-12T20:56:16.853Z] | ^~~~~~~~~~~~ [2021-11-12T20:56:16.853Z] | | [2021-11-12T20:56:16.853Z] | 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-12T20:56:16.853Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-11-12T20:56:16.853Z] /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-12T20:56:16.853Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-11-12T20:56:16.853Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-11-12T20:56:17.123Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-11-12T20:56:19.087Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-11-12T20:56:19.087Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-11-12T20:56:19.356Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-11-12T20:56:19.627Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-11-12T20:56:20.608Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-11-12T20:56:21.576Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-11-12T20:56:22.166Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-11-12T20:56:22.437Z] [ 76%] Linking C shared library libcsdk.so [2021-11-12T20:56:22.706Z] [ 76%] Built target csdk [2021-11-12T20:56:22.706Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-11-12T20:56:22.977Z] [ 79%] Linking C executable template [2021-11-12T20:56:23.247Z] [ 79%] Built target template [2021-11-12T20:56:23.517Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-11-12T20:56:23.787Z] [ 82%] Linking C executable device-counter [2021-11-12T20:56:24.058Z] [ 82%] Built target device-counter [2021-11-12T20:56:24.058Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-11-12T20:56:24.330Z] [ 85%] Linking C executable device-random [2021-11-12T20:56:24.602Z] [ 85%] Built target device-random [2021-11-12T20:56:24.602Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-11-12T20:56:25.194Z] [ 88%] Linking C executable device-gyro [2021-11-12T20:56:25.194Z] [ 88%] Built target device-gyro [2021-11-12T20:56:25.464Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-11-12T20:56:25.735Z] [ 91%] Linking C executable device-bitfields [2021-11-12T20:56:26.005Z] [ 91%] Built target device-bitfields [2021-11-12T20:56:26.005Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-11-12T20:56:26.597Z] [ 94%] Linking C executable template-discovery [2021-11-12T20:56:26.868Z] [ 94%] Built target template-discovery [2021-11-12T20:56:26.868Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-11-12T20:56:27.139Z] [ 97%] Linking C executable device-file [2021-11-12T20:56:27.410Z] [ 97%] Built target device-file [2021-11-12T20:56:27.411Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-11-12T20:56:28.001Z] [100%] Linking C executable device-terminal [2021-11-12T20:56:28.272Z] [100%] Built target device-terminal [2021-11-12T20:56:28.272Z] make: Entering directory '/tmp/sdk/build/release' [2021-11-12T20:56:28.272Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-11-12T20:56:28.272Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-11-12T20:56:28.272Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-11-12T20:56:28.272Z] [ 76%] Built target csdk [2021-11-12T20:56:28.272Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-11-12T20:56:28.272Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-11-12T20:56:28.543Z] [ 79%] Built target template [2021-11-12T20:56:28.543Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-11-12T20:56:28.543Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-11-12T20:56:28.543Z] [ 82%] Built target device-counter [2021-11-12T20:56:28.543Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-11-12T20:56:28.543Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-11-12T20:56:28.543Z] [ 85%] Built target device-random [2021-11-12T20:56:28.543Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-11-12T20:56:28.543Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-11-12T20:56:28.543Z] [ 88%] Built target device-gyro [2021-11-12T20:56:28.543Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-11-12T20:56:28.543Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-11-12T20:56:28.543Z] [ 91%] Built target device-bitfields [2021-11-12T20:56:28.543Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-11-12T20:56:28.543Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-11-12T20:56:28.543Z] [ 94%] Built target template-discovery [2021-11-12T20:56:28.543Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-11-12T20:56:28.816Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-11-12T20:56:28.816Z] [ 97%] Built target device-file [2021-11-12T20:56:28.816Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-11-12T20:56:28.816Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-11-12T20:56:28.816Z] [100%] Built target device-terminal [2021-11-12T20:56:28.816Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-11-12T20:56:28.816Z] Install the project... [2021-11-12T20:56:28.816Z] -- Install configuration: "Release" [2021-11-12T20:56:28.816Z] -- Installing: /usr/local/lib/libcsdk.so [2021-11-12T20:56:28.816Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-11-12T20:56:28.816Z] -- Up-to-date: /usr/local/include [2021-11-12T20:56:28.816Z] -- Installing: /usr/local/include/edgex [2021-11-12T20:56:28.816Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-11-12T20:56:28.816Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-11-12T20:56:28.816Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-11-12T20:56:28.816Z] -- Installing: /usr/local/include/edgex/devices.h [2021-11-12T20:56:28.816Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-11-12T20:56:28.816Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-11-12T20:56:28.816Z] -- Installing: /usr/local/include/devsdk [2021-11-12T20:56:28.816Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-11-12T20:56:28.816Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-11-12T20:56:28.816Z] -- Installing: /usr/local/include/iot [2021-11-12T20:56:28.816Z] -- Installing: /usr/local/include/iot/json.h [2021-11-12T20:56:28.816Z] -- Installing: /usr/local/include/iot/container.h [2021-11-12T20:56:28.816Z] -- Installing: /usr/local/include/iot/component.h [2021-11-12T20:56:28.816Z] -- Installing: /usr/local/include/iot/typecode.h [2021-11-12T20:56:28.816Z] -- Installing: /usr/local/include/iot/iot.h [2021-11-12T20:56:28.816Z] -- Installing: /usr/local/include/iot/uuid.h [2021-11-12T20:56:28.816Z] -- Installing: /usr/local/include/iot/time.h [2021-11-12T20:56:28.816Z] -- Installing: /usr/local/include/iot/hash.h [2021-11-12T20:56:28.816Z] -- Installing: /usr/local/include/iot/logger.h [2021-11-12T20:56:28.816Z] -- Installing: /usr/local/include/iot/os [2021-11-12T20:56:28.816Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-11-12T20:56:28.816Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-11-12T20:56:28.816Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-11-12T20:56:28.816Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-11-12T20:56:28.816Z] -- Installing: /usr/local/include/iot/data.h [2021-11-12T20:56:28.816Z] -- Installing: /usr/local/include/iot/thread.h [2021-11-12T20:56:28.816Z] -- Installing: /usr/local/include/iot/os.h [2021-11-12T20:56:28.816Z] -- Installing: /usr/local/include/iot/base64.h [2021-11-12T20:56:28.816Z] -- Installing: /usr/local/include/iot/defs.h [2021-11-12T20:56:28.816Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-11-12T20:56:28.816Z] -- Installing: /usr/local/include/iot/config.h [2021-11-12T20:56:28.816Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-11-12T20:56:28.816Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-11-12T20:56:28.816Z] make: Leaving directory '/tmp/sdk/build/release' [2021-11-12T20:56:30.773Z] Removing intermediate container ac6cf31a6e38 [2021-11-12T20:56:30.773Z] ---> bd74a7daea8d [2021-11-12T20:56:30.773Z] Step 16/24 : FROM ${BASE} [2021-11-12T20:56:30.773Z] ---> d97667b1ee65 [2021-11-12T20:56:30.773Z] Step 17/24 : LABEL maintainer="IOTech " [2021-11-12T20:56:30.773Z] ---> Running in f73b904615e7 [2021-11-12T20:56:31.366Z] Removing intermediate container f73b904615e7 [2021-11-12T20:56:31.366Z] ---> 55a9bc2bfb01 [2021-11-12T20:56:31.366Z] 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-12T20:56:31.366Z] ---> Running in 774f00dc38da [2021-11-12T20:56:32.790Z] Connecting to iotech.jfrog.io (54.229.110.245:443) [2021-11-12T20:56:33.064Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2021-11-12T20:56:33.064Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2021-11-12T20:56:33.064Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2021-11-12T20:56:33.661Z] Removing intermediate container 774f00dc38da [2021-11-12T20:56:33.661Z] ---> 1fe327d7524d [2021-11-12T20:56:33.661Z] Step 19/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-11-12T20:56:33.932Z] ---> Running in 3415336b42b4 [2021-11-12T20:56:35.900Z] Removing intermediate container 3415336b42b4 [2021-11-12T20:56:35.900Z] ---> 5a5a583f2d93 [2021-11-12T20:56:35.900Z] 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-12T20:56:35.900Z] ---> Running in ca79da87a8a5 [2021-11-12T20:56:36.877Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-12T20:56:37.851Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-12T20:56:38.445Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-12T20:56:39.039Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-11-12T20:56:39.039Z] (1/7) Installing curl (7.79.1-r0) [2021-11-12T20:56:39.039Z] (2/7) Installing hiredis (1.0.0-r0) [2021-11-12T20:56:39.311Z] (3/7) Installing hiredis-dev (1.0.0-r0) [2021-11-12T20:56:39.311Z] (4/7) Installing libuuid (2.37.2-r0) [2021-11-12T20:56:39.311Z] (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2021-11-12T20:56:40.289Z] (6/7) Installing libidn2 (2.3.1-r0) [2021-11-12T20:56:40.564Z] (7/7) Installing wget (1.21.1-r1) [2021-11-12T20:56:40.564Z] Executing busybox-1.33.1-r3.trigger [2021-11-12T20:56:40.564Z] OK: 276 MiB in 84 packages [2021-11-12T20:56:41.996Z] Removing intermediate container ca79da87a8a5 [2021-11-12T20:56:41.996Z] ---> 1e899497f713 [2021-11-12T20:56:41.996Z] Step 21/24 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-11-12T20:56:42.592Z] ---> cab474226f94 [2021-11-12T20:56:42.592Z] Step 22/24 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-11-12T20:56:43.566Z] ---> 38af6616d773 [2021-11-12T20:56:43.566Z] Step 23/24 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-11-12T20:56:44.160Z] ---> dcb4802990f0 [2021-11-12T20:56:44.160Z] Step 24/24 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2021-11-12T20:56:44.756Z] ---> a804e55734fd [2021-11-12T20:56:45.030Z] Successfully built a804e55734fd [2021-11-12T20:56:45.030Z] Successfully tagged device-sdk-c-builder-arm64:latest [Pipeline] sh [2021-11-12T20:56:45.368Z] + git log --pretty=%H %s [2021-11-12T20:56:45.368Z] + grep ci(lts-release) [2021-11-12T20:56:45.368Z] + head -n 1 [2021-11-12T20:56:45.368Z] + awk {print $1} [Pipeline] echo [2021-11-12T20:56:45.465Z] [edgeXDocker.push] Tagging docker image device-sdk-c-builder-arm64 with the following tags: [2021-11-12T20:56:45.465Z] 95537f069f4478f85f1ccb38a71dd01dd0781bca [2021-11-12T20:56:45.465Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-12T20:56:45.811Z] + docker tag device-sdk-c-builder-arm64 nexus3.edgexfoundry.org:10002/device-sdk-c-builder-arm64:95537f069f4478f85f1ccb38a71dd01dd0781bca [Pipeline] isUnix [Pipeline] sh [2021-11-12T20:56:46.145Z] + docker push nexus3.edgexfoundry.org:10002/device-sdk-c-builder-arm64:95537f069f4478f85f1ccb38a71dd01dd0781bca [2021-11-12T20:56:46.145Z] The push refers to repository [nexus3.edgexfoundry.org:10002/device-sdk-c-builder-arm64] [2021-11-12T20:56:46.145Z] 32d0ceb9fdf2: Preparing [2021-11-12T20:56:46.145Z] b68652f0514a: Preparing [2021-11-12T20:56:46.145Z] 018912bf775b: Preparing [2021-11-12T20:56:46.145Z] 22f466f2d6c6: Preparing [2021-11-12T20:56:46.145Z] 22169ca427d7: Preparing [2021-11-12T20:56:46.145Z] 59d8271a4770: Preparing [2021-11-12T20:56:46.145Z] b7db6084948d: Preparing [2021-11-12T20:56:46.145Z] f3424baf778b: Preparing [2021-11-12T20:56:46.145Z] ea2a8bf1bbdb: Preparing [2021-11-12T20:56:46.145Z] ee420dfed78a: Preparing [2021-11-12T20:56:46.145Z] 59d8271a4770: Waiting [2021-11-12T20:56:46.145Z] b7db6084948d: Waiting [2021-11-12T20:56:46.145Z] f3424baf778b: Waiting [2021-11-12T20:56:46.145Z] ea2a8bf1bbdb: Waiting [2021-11-12T20:56:46.145Z] ee420dfed78a: Waiting [2021-11-12T20:56:46.432Z] 018912bf775b: Pushed [2021-11-12T20:56:46.432Z] 22f466f2d6c6: Pushed [2021-11-12T20:56:46.432Z] 32d0ceb9fdf2: Pushed [2021-11-12T20:56:46.432Z] f3424baf778b: Layer already exists [2021-11-12T20:56:46.705Z] ea2a8bf1bbdb: Layer already exists [2021-11-12T20:56:46.705Z] b68652f0514a: Pushed [2021-11-12T20:56:46.705Z] ee420dfed78a: Layer already exists [2021-11-12T20:56:46.705Z] 59d8271a4770: Pushed [2021-11-12T20:56:46.705Z] b7db6084948d: Pushed [2021-11-12T20:56:47.297Z] 22169ca427d7: Pushed [2021-11-12T20:56:47.297Z] 95537f069f4478f85f1ccb38a71dd01dd0781bca: digest: sha256:d80337ae18c9b9fd45220f12fd24b30b9060225eff9a143969ee4d962460b065 size: 2407 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-12T20:56:47.611Z] ===================================================== [Pipeline] echo [2021-11-12T20:56:47.617Z] taggedImages: [2021-11-12T20:56:47.617Z] - nexus3.edgexfoundry.org:10002/device-sdk-c-builder-arm64:95537f069f4478f85f1ccb38a71dd01dd0781bca [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-12T20:56:48.113Z] + git rev-list -1 --merges 95537f069f4478f85f1ccb38a71dd01dd0781bca~1..95537f069f4478f85f1ccb38a71dd01dd0781bca [Pipeline] echo [2021-11-12T20:56:48.130Z] -----------> git rev-list -1 --merges 95537f069f4478f85f1ccb38a71dd01dd0781bca~1..95537f069f4478f85f1ccb38a71dd01dd0781bca 95537f069f4478f85f1ccb38a71dd01dd0781bca [false] [Pipeline] sh [2021-11-12T20:56:48.426Z] + git log --format=format:%s -1 95537f069f4478f85f1ccb38a71dd01dd0781bca [Pipeline] echo [2021-11-12T20:56:48.443Z] ========================================================= [2021-11-12T20:56:48.443Z] [isLTSReleaseBuild] No build required. isLTSRelease: [true] [2021-11-12T20:56:48.443Z] ========================================================= 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-12T20:56:50.100Z] + '[' -d /w/workspace/dgexfoundry_device-sdk-c_jakarta/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-12T20:56:50.402Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-12T20:56:50.967Z] ---> package-listing.sh [2021-11-12T20:56:50.967Z] ++ facter osfamily [2021-11-12T20:56:50.967Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-12T20:56:51.228Z] + OS_FAMILY=redhat [2021-11-12T20:56:51.229Z] + workspace=/w/workspace/dgexfoundry_device-sdk-c_jakarta [2021-11-12T20:56:51.229Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-12T20:56:51.229Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-12T20:56:51.229Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-12T20:56:51.229Z] + PACKAGES=/tmp/packages_start.txt [2021-11-12T20:56:51.229Z] + '[' /w/workspace/dgexfoundry_device-sdk-c_jakarta ']' [2021-11-12T20:56:51.229Z] + PACKAGES=/tmp/packages_end.txt [2021-11-12T20:56:51.229Z] + case "${OS_FAMILY}" in [2021-11-12T20:56:51.229Z] + rpm -qa [2021-11-12T20:56:51.229Z] + sort [2021-11-12T20:56:51.803Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-12T20:56:51.803Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-12T20:56:51.803Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-12T20:56:51.803Z] + '[' /w/workspace/dgexfoundry_device-sdk-c_jakarta ']' [2021-11-12T20:56:51.803Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-c_jakarta/archives/ [2021-11-12T20:56:51.803Z] + 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-12T20:56:51.819Z] 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-12T20:56:52.108Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-12T20:56:52.678Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-12T20:56:52.679Z] [2021-11-12T20:56:52.679Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-12T20:56:52.995Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-12T20:56:52.995Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-12T20:56:52.995Z] b4d181a07f80: Pulling fs layer [2021-11-12T20:56:52.995Z] a1111a8f2ec3: Pulling fs layer [2021-11-12T20:56:52.995Z] ed53099fbce6: Pulling fs layer [2021-11-12T20:56:52.995Z] dc539afda2c1: Pulling fs layer [2021-11-12T20:56:52.995Z] 77bc0d833cb6: Pulling fs layer [2021-11-12T20:56:52.995Z] 9065ff56babe: Pulling fs layer [2021-11-12T20:56:52.995Z] d287ab97295c: Pulling fs layer [2021-11-12T20:56:52.995Z] dc539afda2c1: Waiting [2021-11-12T20:56:52.995Z] 77bc0d833cb6: Waiting [2021-11-12T20:56:52.995Z] 9065ff56babe: Waiting [2021-11-12T20:56:52.995Z] d287ab97295c: Waiting [2021-11-12T20:56:52.995Z] a1111a8f2ec3: Verifying Checksum [2021-11-12T20:56:52.995Z] a1111a8f2ec3: Download complete [2021-11-12T20:56:52.995Z] dc539afda2c1: Verifying Checksum [2021-11-12T20:56:52.995Z] dc539afda2c1: Download complete [2021-11-12T20:56:52.995Z] ed53099fbce6: Download complete [2021-11-12T20:56:53.257Z] 77bc0d833cb6: Verifying Checksum [2021-11-12T20:56:53.257Z] 77bc0d833cb6: Download complete [2021-11-12T20:56:53.257Z] 9065ff56babe: Verifying Checksum [2021-11-12T20:56:53.257Z] 9065ff56babe: Download complete [2021-11-12T20:56:53.257Z] b4d181a07f80: Verifying Checksum [2021-11-12T20:56:53.257Z] b4d181a07f80: Download complete [2021-11-12T20:56:53.841Z] d287ab97295c: Verifying Checksum [2021-11-12T20:56:53.841Z] d287ab97295c: Download complete [2021-11-12T20:56:54.822Z] b4d181a07f80: Pull complete [2021-11-12T20:56:55.084Z] a1111a8f2ec3: Pull complete [2021-11-12T20:56:55.347Z] ed53099fbce6: Pull complete [2021-11-12T20:56:55.610Z] dc539afda2c1: Pull complete [2021-11-12T20:56:55.873Z] 77bc0d833cb6: Pull complete [2021-11-12T20:56:55.873Z] 9065ff56babe: Pull complete [2021-11-12T20:57:01.262Z] d287ab97295c: Pull complete [2021-11-12T20:57:01.262Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-12T20:57:01.262Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-12T20:57:01.262Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-12T20:57:01.336Z] prd-centos7-docker-4c-2g-411 does not seem to be running inside a container [2021-11-12T20:57:01.386Z] $ 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-12T20:57:03.993Z] $ docker top 307627d4cf0f32a490158c6c11bcfc6be5d09942455c83338ba2c4373b7ef240 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-12T20:57:04.356Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-12T20:57:04.648Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-12T20:57:04.958Z] + ls /var/log/sa-host [2021-11-12T20:57:04.958Z] + sadf -c /var/log/sa-host/sa12 [2021-11-12T20:57:04.958Z] file_magic: OK [2021-11-12T20:57:04.958Z] HZ: Using current value: 100 [2021-11-12T20:57:04.958Z] file_header: OK [2021-11-12T20:57:04.958Z] 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-12T20:57:04.958Z] Statistics: [2021-11-12T20:57:04.958Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-12T20:57:04.958Z] File successfully converted to sysstat format version 12.0.3 [2021-11-12T20:57:04.958Z] + sadf -c /var/log/sa-host/sa30 [2021-11-12T20:57:04.958Z] file_magic: OK [2021-11-12T20:57:04.958Z] HZ: Using current value: 100 [2021-11-12T20:57:04.958Z] file_header: OK [2021-11-12T20:57:04.958Z] 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-12T20:57:04.958Z] Statistics: [2021-11-12T20:57:04.958Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-12T20:57:04.958Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-12T20:57:05.057Z] provisioning config files... [2021-11-12T20:57:05.065Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-c_jakarta@tmp/config8153559026978998949tmp [Pipeline] { [Pipeline] echo [2021-11-12T20:57:05.081Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-12T20:57:05.382Z] ---> create-netrc.sh [Pipeline] } [2021-11-12T20:57:05.393Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-12T20:57:05.728Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-12T20:57:05.738Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-12T20:57:06.023Z] ---> sudo-logs.sh [2021-11-12T20:57:06.023Z] Archiving 'sudo' log.. [2021-11-12T20:57:06.023Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-411.novalocal: Name or service not known [2021-11-12T20:57:06.023Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-411.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-12T20:57:06.045Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-12T20:57:06.335Z] ---> job-cost.sh [2021-11-12T20:57:06.335Z] lf-activate-venv: SKIPPING [2021-11-12T20:57:06.335Z] INFO: No Stack... [2021-11-12T20:57:08.880Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-12T20:57:08.880Z] INFO: Archiving Costs [Pipeline] echo [2021-11-12T20:57:08.894Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-12T20:57:09.192Z] ---> logs-deploy.sh [2021-11-12T20:57:09.192Z] lf-activate-venv: SKIPPING [2021-11-12T20:57:09.192Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/jakarta/3 [2021-11-12T20:57:09.192Z] INFO: archiving workspace using pattern(s): [2021-11-12T20:57:09.766Z] Archives upload complete. [2021-11-12T20:57:10.027Z] INFO: archiving logs to Nexus