Pull request #382 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from f03c50308885a995362517539d634d306aa31a75+b33a799834278c94191ed5db2afedc6f631595ea (d9335678dfa5938eee6046f624d8e6609054f911) Running in Durability level: MAX_SURVIVABILITY 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-ssh7251138047585011135.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 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-ssh8421699225391662582.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 d6bf42d899a6140169a1fadeb6f44df9cdc48750 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-382/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-382/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2008646951585659378.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-382/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6791117559619038699.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d6bf42d899a6140169a1fadeb6f44df9cdc48750 # timeout=10 Commit message: "Merge pull request #360 from ernestojeda/fix-alpine-3-14-seccomp-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3269156645971874738.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-382/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-382/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2838137254114350285.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 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_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1404 in /w/workspace/edgexfoundry_device-sdk-c_PR-382 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-382 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-382@tmp/jenkins-gitclient-ssh682885697886510725.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-382@tmp/jenkins-gitclient-ssh2309303477040938410.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/382/head:refs/remotes/origin/PR-382 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b33a799834278c94191ed5db2afedc6f631595ea into PR head commit f03c50308885a995362517539d634d306aa31a75 Merge succeeded, producing f03c50308885a995362517539d634d306aa31a75 Checking out Revision f03c50308885a995362517539d634d306aa31a75 (PR-382) > git config core.sparsecheckout # timeout=10 > git checkout -f f03c50308885a995362517539d634d306aa31a75 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-382@tmp/jenkins-gitclient-ssh5948653597166531072.key > git merge b33a799834278c94191ed5db2afedc6f631595ea # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f03c50308885a995362517539d634d306aa31a75 # timeout=10 Commit message: "fix: stop device autoevents before releasing memory refac: eliminate recursion from dup/free list functions" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-14T13:34:15.370Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-14T13:34:15.506Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-14T13:34:15.574Z] ========================================================= [2021-10-14T13:34:15.574Z] EdgeX Global Pipelines Version Info [2021-10-14T13:34:15.574Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-14T13:34:16.759Z] ------------------- [2021-10-14T13:34:16.759Z] stable info: [2021-10-14T13:34:16.759Z] ------------------- [2021-10-14T13:34:16.760Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-14T13:34:16.760Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-14T13:34:16.760Z] Message: update stable to v1.0.210 [2021-10-14T13:34:17.331Z] ------------------- [2021-10-14T13:34:17.331Z] experimental info: [2021-10-14T13:34:17.331Z] ------------------- [2021-10-14T13:34:17.331Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-14T13:34:17.331Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-14T13:34:17.331Z] Message: update experimental to v1.0.210 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-14T13:34:17.475Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2021-10-14T13:34:17.508Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2021-10-14T13:34:17.541Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-14T13:34:17.573Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-14T13:34:17.605Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-14T13:34:17.638Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo [2021-10-14T13:34:17.670Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2021-10-14T13:34:17.712Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2021-10-14T13:34:17.752Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-14T13:34:17.791Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-14T13:34:17.823Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2021-10-14T13:34:17.855Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-14T13:34:17.888Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-14T13:34:17.922Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-14T13:34:17.957Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-10-14T13:34:17.991Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-14T13:34:18.025Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-14T13:34:18.058Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-14T13:34:18.090Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-382 [Pipeline] echo [2021-10-14T13:34:18.123Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-382 [Pipeline] echo [2021-10-14T13:34:18.157Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-382 [Pipeline] echo [2021-10-14T13:34:18.193Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f03c50308885a995362517539d634d306aa31a75 [Pipeline] echo [2021-10-14T13:34:18.226Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f03c503 [Pipeline] echo [2021-10-14T13:34:18.258Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T13:34:18.357Z] provisioning config files... [2021-10-14T13:34:18.371Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-382@tmp/config5818944412113407831tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T13:34:18.742Z] ---> docker-login.sh [2021-10-14T13:34:18.742Z] nexus3.edgexfoundry.org:10001 [2021-10-14T13:34:18.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T13:34:19.004Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T13:34:19.004Z] Configure a credential helper to remove this warning. See [2021-10-14T13:34:19.004Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T13:34:19.004Z] [2021-10-14T13:34:19.004Z] Login Succeeded [2021-10-14T13:34:19.004Z] nexus3.edgexfoundry.org:10002 [2021-10-14T13:34:19.004Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T13:34:19.266Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T13:34:19.266Z] Configure a credential helper to remove this warning. See [2021-10-14T13:34:19.266Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T13:34:19.266Z] [2021-10-14T13:34:19.266Z] Login Succeeded [2021-10-14T13:34:19.266Z] nexus3.edgexfoundry.org:10003 [2021-10-14T13:34:19.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T13:34:19.266Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T13:34:19.266Z] Configure a credential helper to remove this warning. See [2021-10-14T13:34:19.266Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T13:34:19.266Z] [2021-10-14T13:34:19.266Z] Login Succeeded [2021-10-14T13:34:19.266Z] nexus3.edgexfoundry.org:10004 [2021-10-14T13:34:19.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T13:34:19.266Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T13:34:19.267Z] Configure a credential helper to remove this warning. See [2021-10-14T13:34:19.267Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T13:34:19.267Z] [2021-10-14T13:34:19.267Z] Login Succeeded [2021-10-14T13:34:19.267Z] docker.io [2021-10-14T13:34:19.530Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T13:34:19.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T13:34:19.793Z] Configure a credential helper to remove this warning. See [2021-10-14T13:34:19.793Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T13:34:19.793Z] [2021-10-14T13:34:19.793Z] Login Succeeded [2021-10-14T13:34:19.793Z] ---> docker-login.sh ends [Pipeline] } [2021-10-14T13:34:19.813Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2021-10-14T13:34:20.945Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-14T13:34:20.945Z] [2021-10-14T13:34:20.945Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T13:34:21.298Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-14T13:34:21.558Z] latest: Pulling from edgex-devops/git-semver [2021-10-14T13:34:21.558Z] a0d0a0d46f8b: Pulling fs layer [2021-10-14T13:34:21.558Z] 3e5f54012d9b: Pulling fs layer [2021-10-14T13:34:21.558Z] 4c7163046ea9: Pulling fs layer [2021-10-14T13:34:21.558Z] 0c2d73faf560: Pulling fs layer [2021-10-14T13:34:21.558Z] 0c2d73faf560: Waiting [2021-10-14T13:34:21.558Z] 3e5f54012d9b: Verifying Checksum [2021-10-14T13:34:21.558Z] 3e5f54012d9b: Download complete [2021-10-14T13:34:21.558Z] a0d0a0d46f8b: Verifying Checksum [2021-10-14T13:34:21.558Z] a0d0a0d46f8b: Download complete [2021-10-14T13:34:21.558Z] 0c2d73faf560: Verifying Checksum [2021-10-14T13:34:21.558Z] 0c2d73faf560: Download complete [2021-10-14T13:34:21.558Z] 4c7163046ea9: Verifying Checksum [2021-10-14T13:34:21.558Z] 4c7163046ea9: Download complete [2021-10-14T13:34:21.821Z] a0d0a0d46f8b: Pull complete [2021-10-14T13:34:21.821Z] 3e5f54012d9b: Pull complete [2021-10-14T13:34:22.088Z] 4c7163046ea9: Pull complete [2021-10-14T13:34:22.088Z] 0c2d73faf560: Pull complete [2021-10-14T13:34:22.088Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-14T13:34:22.088Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-14T13:34:22.088Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-14T13:34:22.194Z] prd-centos7-docker-4c-2g-1404 does not seem to be running inside a container [2021-10-14T13:34:22.243Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-382 -v /w/workspace/edgexfoundry_device-sdk-c_PR-382:/w/workspace/edgexfoundry_device-sdk-c_PR-382:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-382@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-382@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-14T13:34:22.929Z] $ docker top 3e9dad9b738f11e151ac082adc332c8a150c6cc0599b97c6949aaf6c4d6968df -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-14T13:34:23.095Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-14T13:34:23.095Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-14T13:34:23.212Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-14T13:34:23.213Z] $ docker exec 3e9dad9b738f11e151ac082adc332c8a150c6cc0599b97c6949aaf6c4d6968df ssh-agent [2021-10-14T13:34:23.338Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCffaIP/agent.14 [2021-10-14T13:34:23.338Z] SSH_AGENT_PID=20 [2021-10-14T13:34:23.345Z] Running ssh-add (command line suppressed) [2021-10-14T13:34:23.459Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-382@tmp/private_key_3824842405437801618.key (/w/workspace/edgexfoundry_device-sdk-c_PR-382@tmp/private_key_3824842405437801618.key) [2021-10-14T13:34:23.474Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-14T13:34:23.805Z] + git tag --points-at HEAD [Pipeline] } [2021-10-14T13:34:23.837Z] $ docker exec --env ******** --env ******** 3e9dad9b738f11e151ac082adc332c8a150c6cc0599b97c6949aaf6c4d6968df ssh-agent -k [2021-10-14T13:34:23.952Z] unset SSH_AUTH_SOCK; [2021-10-14T13:34:23.952Z] unset SSH_AGENT_PID; [2021-10-14T13:34:23.952Z] echo Agent pid 20 killed; [2021-10-14T13:34:23.970Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-14T13:34:24.035Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-14T13:34:24.035Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-14T13:34:24.150Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-14T13:34:24.151Z] $ docker exec 3e9dad9b738f11e151ac082adc332c8a150c6cc0599b97c6949aaf6c4d6968df ssh-agent [2021-10-14T13:34:24.240Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPbNdaK/agent.53 [2021-10-14T13:34:24.240Z] SSH_AGENT_PID=59 [2021-10-14T13:34:24.245Z] Running ssh-add (command line suppressed) [2021-10-14T13:34:24.335Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-382@tmp/private_key_4618191588714141521.key (/w/workspace/edgexfoundry_device-sdk-c_PR-382@tmp/private_key_4618191588714141521.key) [2021-10-14T13:34:24.350Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-14T13:34:24.684Z] + git semver init [2021-10-14T13:34:24.684Z] # -> Open(): unable to determine branch for HEAD [2021-10-14T13:34:24.684Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-382/.git [2021-10-14T13:34:24.684Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-382 [2021-10-14T13:34:24.684Z] # $SEMVER_REMOTE_NAME = origin [2021-10-14T13:34:24.684Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-14T13:34:24.684Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-14T13:34:24.684Z] # $SEMVER_BRANCH = PR-382 [2021-10-14T13:34:24.684Z] # $SEMVER_TEMP = /tmp/semver-148848010 [2021-10-14T13:34:24.684Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP [2021-10-14T13:34:25.626Z] # '/tmp/semver-148848010' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-382/.semver' [2021-10-14T13:34:25.626Z] # -> Force: false [2021-10-14T13:34:25.626Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-382/.semver [Pipeline] } [2021-10-14T13:34:25.640Z] $ docker exec --env ******** --env ******** 3e9dad9b738f11e151ac082adc332c8a150c6cc0599b97c6949aaf6c4d6968df ssh-agent -k [2021-10-14T13:34:25.724Z] unset SSH_AUTH_SOCK; [2021-10-14T13:34:25.725Z] unset SSH_AGENT_PID; [2021-10-14T13:34:25.725Z] echo Agent pid 59 killed; [2021-10-14T13:34:25.736Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-14T13:34:26.107Z] + git semver [Pipeline] } [2021-10-14T13:34:26.130Z] $ docker stop --time=1 3e9dad9b738f11e151ac082adc332c8a150c6cc0599b97c6949aaf6c4d6968df [2021-10-14T13:34:27.339Z] $ docker rm -f 3e9dad9b738f11e151ac082adc332c8a150c6cc0599b97c6949aaf6c4d6968df [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-14T13:34:27.729Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-14T13:34:28.001Z] Stashed 1 file(s) [Pipeline] echo [2021-10-14T13:34:28.019Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-10-14T13:34:28.557Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1393 in /w/workspace/edgexfoundry_device-sdk-c_PR-382 [Pipeline] { [Pipeline] ws [2021-10-14T13:34:28.598Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2021-10-14T13:34:28.824Z] Selected Git installation does not exist. Using Default [2021-10-14T13:34:28.824Z] The recommended git tool is: NONE [2021-10-14T13:34:33.894Z] using credential edgex-jenkins-ssh [2021-10-14T13:34:33.912Z] Cloning the remote Git repository [2021-10-14T13:34:33.984Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-10-14T13:34:34.089Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2021-10-14T13:34:34.183Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-10-14T13:34:34.184Z] > git --version # timeout=10 [2021-10-14T13:34:34.205Z] > git --version # 'git version 2.17.1' [2021-10-14T13:34:34.207Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-14T13:34:34.295Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-14T13:34:35.574Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-10-14T13:34:35.592Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-14T13:34:35.620Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-10-14T13:34:35.651Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-10-14T13:34:35.652Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-14T13:34:35.665Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/382/head:refs/remotes/origin/PR-382 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-14T13:34:36.383Z] Merging remotes/origin/main commit b33a799834278c94191ed5db2afedc6f631595ea into PR head commit f03c50308885a995362517539d634d306aa31a75 [2021-10-14T13:34:36.627Z] Merge succeeded, producing f03c50308885a995362517539d634d306aa31a75 [2021-10-14T13:34:36.627Z] Checking out Revision f03c50308885a995362517539d634d306aa31a75 (PR-382) [2021-10-14T13:34:36.403Z] > git config core.sparsecheckout # timeout=10 [2021-10-14T13:34:36.417Z] > git checkout -f f03c50308885a995362517539d634d306aa31a75 # timeout=10 [2021-10-14T13:34:36.535Z] > git remote # timeout=10 [2021-10-14T13:34:36.560Z] > git config --get remote.origin.url # timeout=10 [2021-10-14T13:34:36.576Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-14T13:34:36.588Z] > git merge b33a799834278c94191ed5db2afedc6f631595ea # timeout=10 [2021-10-14T13:34:36.610Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-14T13:34:36.632Z] > git config core.sparsecheckout # timeout=10 [2021-10-14T13:34:36.647Z] > git checkout -f f03c50308885a995362517539d634d306aa31a75 # timeout=10 [2021-10-14T13:34:41.008Z] Commit message: "fix: stop device autoevents before releasing memory refac: eliminate recursion from dup/free list functions" [2021-10-14T13:34:41.102Z] > git --version # timeout=10 [2021-10-14T13:34:41.111Z] > git --version # 'git version 2.17.1' [2021-10-14T13:34:41.122Z] fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-14T13:34:42.283Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-10-14T13:34:42.283Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-14T13:34:42.283Z] Dload Upload Total Spent Left Speed [2021-10-14T13:34:42.283Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 78826 0 --:--:-- --:--:-- --:--:-- 79355 [Pipeline] sh [2021-10-14T13:34:42.755Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-10-14T13:34:43.137Z] + + sudo tee /etc/docker/daemon.newsudo [2021-10-14T13:34:43.137Z] jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-10-14T13:34:43.137Z] { [2021-10-14T13:34:43.137Z] "registry-mirrors": [ [2021-10-14T13:34:43.137Z] "https://nexus3.edgexfoundry.org:10001" [2021-10-14T13:34:43.137Z] ], [2021-10-14T13:34:43.137Z] "bip": "10.250.0.254/24", [2021-10-14T13:34:43.137Z] "hosts": [ [2021-10-14T13:34:43.137Z] "tcp://0.0.0.0:5555", [2021-10-14T13:34:43.137Z] "unix:///var/run/docker.sock" [2021-10-14T13:34:43.137Z] ], [2021-10-14T13:34:43.137Z] "mtu": 1458, [2021-10-14T13:34:43.137Z] "selinux-enabled": true, [2021-10-14T13:34:43.137Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-10-14T13:34:43.137Z] } [Pipeline] sh [2021-10-14T13:34:43.329Z] Still waiting to schedule task [2021-10-14T13:34:43.329Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1404’ [2021-10-14T13:34:43.536Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-10-14T13:34:43.910Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T13:35:02.374Z] provisioning config files... [2021-10-14T13:35:02.404Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config4017106279312581831tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T13:35:02.816Z] ---> docker-login.sh [2021-10-14T13:35:02.816Z] nexus3.edgexfoundry.org:10001 [2021-10-14T13:35:04.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T13:35:05.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T13:35:05.095Z] Configure a credential helper to remove this warning. See [2021-10-14T13:35:05.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T13:35:05.095Z] [2021-10-14T13:35:05.095Z] Login Succeeded [2021-10-14T13:35:05.095Z] nexus3.edgexfoundry.org:10002 [2021-10-14T13:35:05.374Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T13:35:05.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T13:35:05.653Z] Configure a credential helper to remove this warning. See [2021-10-14T13:35:05.653Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T13:35:05.653Z] [2021-10-14T13:35:05.653Z] Login Succeeded [2021-10-14T13:35:05.653Z] nexus3.edgexfoundry.org:10003 [2021-10-14T13:35:05.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T13:35:06.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T13:35:06.212Z] Configure a credential helper to remove this warning. See [2021-10-14T13:35:06.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T13:35:06.212Z] [2021-10-14T13:35:06.212Z] Login Succeeded [2021-10-14T13:35:06.212Z] nexus3.edgexfoundry.org:10004 [2021-10-14T13:35:06.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T13:35:06.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T13:35:06.771Z] Configure a credential helper to remove this warning. See [2021-10-14T13:35:06.771Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T13:35:06.771Z] [2021-10-14T13:35:06.771Z] Login Succeeded [2021-10-14T13:35:06.771Z] docker.io [2021-10-14T13:35:07.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T13:35:07.657Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T13:35:07.657Z] Configure a credential helper to remove this warning. See [2021-10-14T13:35:07.657Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T13:35:07.657Z] [2021-10-14T13:35:07.657Z] Login Succeeded [2021-10-14T13:35:07.657Z] ---> docker-login.sh ends [Pipeline] } [2021-10-14T13:35:07.690Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-14T13:35:08.366Z] ========================================================= [2021-10-14T13:35:08.366Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2021-10-14T13:35:08.366Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-14T13:35:08.806Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2021-10-14T13:35:09.441Z] Sending build context to Docker daemon 2.733MB [2021-10-14T13:35:09.441Z] Step 1/25 : ARG BASE=alpine:3.14 [2021-10-14T13:35:09.441Z] Step 2/25 : FROM ${BASE} as builder [2021-10-14T13:35:09.441Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2021-10-14T13:35:09.441Z] 552d1f2373af: Pulling fs layer [2021-10-14T13:35:09.441Z] f2be2b6548c6: Pulling fs layer [2021-10-14T13:35:09.442Z] ee4ac2fe028c: Pulling fs layer [2021-10-14T13:35:09.723Z] f2be2b6548c6: Verifying Checksum [2021-10-14T13:35:09.723Z] f2be2b6548c6: Download complete [2021-10-14T13:35:09.723Z] 552d1f2373af: Verifying Checksum [2021-10-14T13:35:09.723Z] 552d1f2373af: Download complete [2021-10-14T13:35:10.333Z] 552d1f2373af: Pull complete [2021-10-14T13:35:10.947Z] f2be2b6548c6: Pull complete [2021-10-14T13:35:11.554Z] ee4ac2fe028c: Verifying Checksum [2021-10-14T13:35:11.554Z] ee4ac2fe028c: Download complete [2021-10-14T13:35:19.886Z] ee4ac2fe028c: Pull complete [2021-10-14T13:35:19.886Z] Digest: sha256:4c85ded81933cf54d6808eb239bc3fea8e3bb42c9130537b51c88bfc6b01a02b [2021-10-14T13:35:19.886Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2021-10-14T13:35:19.886Z] ---> b6d714ea7bf2 [2021-10-14T13:35:19.886Z] Step 3/25 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2021-10-14T13:35:21.885Z] ---> Running in b6e072b98060 [2021-10-14T13:35:23.345Z] Connecting to iotech.jfrog.io (54.229.110.245:443) [2021-10-14T13:35:23.622Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2021-10-14T13:35:23.622Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2021-10-14T13:35:23.622Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2021-10-14T13:35:25.081Z] Removing intermediate container b6e072b98060 [2021-10-14T13:35:25.081Z] ---> ecd104ba8d26 [2021-10-14T13:35:25.081Z] Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-10-14T13:35:25.081Z] ---> Running in 3a5a2d37e4f2 [2021-10-14T13:35:27.088Z] Removing intermediate container 3a5a2d37e4f2 [2021-10-14T13:35:27.089Z] ---> 2d2d4493cdc8 [2021-10-14T13:35:27.089Z] Step 5/25 : 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-10-14T13:35:27.370Z] ---> Running in c33feaa756b4 [2021-10-14T13:35:28.366Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-14T13:35:29.841Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-14T13:35:29.841Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-14T13:35:30.829Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-10-14T13:35:30.829Z] (1/27) Installing hiredis (1.0.0-r0) [2021-10-14T13:35:30.829Z] (2/27) Installing hiredis-dev (1.0.0-r0) [2021-10-14T13:35:30.829Z] (3/27) Installing ncurses-dev (6.2_p20210612-r0) [2021-10-14T13:35:31.107Z] (4/27) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2021-10-14T13:35:32.100Z] (5/27) Installing libblkid (2.37-r0) [2021-10-14T13:35:32.100Z] (6/27) Installing blkid (2.37-r0) [2021-10-14T13:35:32.377Z] (7/27) Installing libcap-ng (0.8.2-r0) [2021-10-14T13:35:32.378Z] (8/27) Installing setpriv (2.37-r0) [2021-10-14T13:35:32.656Z] (9/27) Installing libmount (2.37-r0) [2021-10-14T13:35:32.656Z] (10/27) Installing libsmartcols (2.37-r0) [2021-10-14T13:35:32.656Z] (11/27) Installing findmnt (2.37-r0) [2021-10-14T13:35:32.934Z] (12/27) Installing mcookie (2.37-r0) [2021-10-14T13:35:32.934Z] (13/27) Installing hexdump (2.37-r0) [2021-10-14T13:35:33.211Z] (14/27) Installing lsblk (2.37-r0) [2021-10-14T13:35:33.211Z] (15/27) Installing libuuid (2.37-r0) [2021-10-14T13:35:33.211Z] (16/27) Installing libfdisk (2.37-r0) [2021-10-14T13:35:33.489Z] (17/27) Installing sfdisk (2.37-r0) [2021-10-14T13:35:33.489Z] (18/27) Installing cfdisk (2.37-r0) [2021-10-14T13:35:33.489Z] (19/27) Installing partx (2.37-r0) [2021-10-14T13:35:33.769Z] (20/27) Installing flock (2.37-r0) [2021-10-14T13:35:33.769Z] (21/27) Installing logger (2.37-r0) [2021-10-14T13:35:34.045Z] (22/27) Installing uuidgen (2.37-r0) [2021-10-14T13:35:34.045Z] (23/27) Installing libeconf (0.3.8-r1) [2021-10-14T13:35:34.045Z] (24/27) Installing util-linux (2.37-r0) [2021-10-14T13:35:34.648Z] (25/27) Installing util-linux-dev (2.37-r0) [2021-10-14T13:35:34.648Z] (26/27) Installing libidn2 (2.3.1-r0) [2021-10-14T13:35:34.648Z] (27/27) Installing wget (1.21.1-r1) [2021-10-14T13:35:34.925Z] Executing busybox-1.33.1-r3.trigger [2021-10-14T13:35:34.925Z] OK: 286 MiB in 104 packages [2021-10-14T13:35:36.924Z] Removing intermediate container c33feaa756b4 [2021-10-14T13:35:36.924Z] ---> 8e97c8f833e2 [2021-10-14T13:35:36.924Z] Step 6/25 : ENV CBOR_VERSION=0.5.0 [2021-10-14T13:35:36.924Z] ---> Running in 32bfc56194fe [2021-10-14T13:35:37.204Z] Removing intermediate container 32bfc56194fe [2021-10-14T13:35:37.205Z] ---> 40eeee63ecca [2021-10-14T13:35:37.205Z] Step 7/25 : 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-10-14T13:35:37.205Z] ---> Running in 61dc541b0bec [2021-10-14T13:35:38.659Z] --2021-10-14 13:35:38-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-10-14T13:35:38.659Z] Resolving github.com (github.com)... 140.82.113.4 [2021-10-14T13:35:38.659Z] Connecting to github.com (github.com)|140.82.113.4|:443... connected. [2021-10-14T13:35:38.659Z] HTTP request sent, awaiting response... 302 Found [2021-10-14T13:35:38.659Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-10-14T13:35:38.659Z] --2021-10-14 13:35:38-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-10-14T13:35:38.659Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 [2021-10-14T13:35:38.659Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. [2021-10-14T13:35:38.939Z] HTTP request sent, awaiting response... 200 OK [2021-10-14T13:35:38.939Z] Length: unspecified [application/x-gzip] [2021-10-14T13:35:38.939Z] Saving to: 'STDOUT' [2021-10-14T13:35:38.939Z]  [2021-10-14T13:35:38.939Z] 0K .......... .......... .......... .......... .......... 954K [2021-10-14T13:35:38.939Z] 50K .......... .......... .......... .......... .......... 2.00M [2021-10-14T13:35:38.939Z] 100K .......... .......... .......... .......... .......... 17.5M [2021-10-14T13:35:38.939Z] 150K .......... .......... .......... .......... .......... 2.02M [2021-10-14T13:35:38.939Z] 200K .......... .......... .......... .......... .......... 18.2M [2021-10-14T13:35:38.939Z] 250K .......... .......... .......... .......... .......... 3.32M [2021-10-14T13:35:38.939Z] 300K .......... .......... .......... .......... .......... 4.05M [2021-10-14T13:35:38.939Z] 350K .......... .......... .......... .......... .......... 4.88M [2021-10-14T13:35:39.217Z] 400K .......... .......... .......... .......... .......... 3.84M [2021-10-14T13:35:39.217Z] 450K .......... .......... .......... .......... .......... 7.65M [2021-10-14T13:35:39.217Z] 500K .......... .......... .......... .......... .......... 5.82M [2021-10-14T13:35:39.217Z] 550K .......... .......... .......... .......... .......... 5.24M [2021-10-14T13:35:39.217Z] 600K .......... .......... .......... .......... .......... 853K [2021-10-14T13:35:39.217Z] 650K .......... .......... .......... .......... .......... 2.89M [2021-10-14T13:35:39.217Z] 700K ..  4.63T=0.3s [2021-10-14T13:35:39.217Z] [2021-10-14T13:35:39.217Z] 2021-10-14 13:35:39 (2.68 MB/s) - written to stdout [719348] [2021-10-14T13:35:39.217Z] [2021-10-14T13:35:39.494Z] -- The C compiler identification is GNU 10.3.1 [2021-10-14T13:35:39.769Z] -- The CXX compiler identification is GNU 10.3.1 [2021-10-14T13:35:39.769Z] -- Detecting C compiler ABI info [2021-10-14T13:35:40.049Z] -- Detecting C compiler ABI info - done [2021-10-14T13:35:40.049Z] -- Check for working C compiler: /usr/bin/cc - skipped [2021-10-14T13:35:40.049Z] -- Detecting C compile features [2021-10-14T13:35:40.049Z] -- Detecting C compile features - done [2021-10-14T13:35:40.049Z] -- Detecting CXX compiler ABI info [2021-10-14T13:35:40.329Z] -- Detecting CXX compiler ABI info - done [2021-10-14T13:35:40.608Z] -- Check for working CXX compiler: /usr/bin/c++ - skipped [2021-10-14T13:35:40.608Z] -- Detecting CXX compile features [2021-10-14T13:35:40.608Z] -- Detecting CXX compile features - done [2021-10-14T13:35:40.608Z] -- Looking for include file endian.h [2021-10-14T13:35:40.886Z] -- Looking for include file endian.h - found [2021-10-14T13:35:40.886Z] -- Looking for sys/types.h [2021-10-14T13:35:41.164Z] -- Looking for sys/types.h - found [2021-10-14T13:35:41.164Z] -- Looking for stdint.h [2021-10-14T13:35:41.443Z] -- Looking for stdint.h - found [2021-10-14T13:35:41.443Z] -- Looking for stddef.h [2021-10-14T13:35:41.722Z] -- Looking for stddef.h - found [2021-10-14T13:35:41.722Z] -- Check size of size_t [2021-10-14T13:35:42.002Z] -- Check size of size_t - done [2021-10-14T13:35:42.002Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-10-14T13:35:42.002Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-10-14T13:35:42.002Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-10-14T13:35:42.002Z] CMake did not find one. [2021-10-14T13:35:42.002Z] [2021-10-14T13:35:42.002Z] Could not find a package configuration file provided by "cJSON" with any of [2021-10-14T13:35:42.002Z] the following names: [2021-10-14T13:35:42.002Z] [2021-10-14T13:35:42.002Z] cJSONConfig.cmake [2021-10-14T13:35:42.002Z] cjson-config.cmake [2021-10-14T13:35:42.002Z] [2021-10-14T13:35:42.002Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-10-14T13:35:42.002Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-10-14T13:35:42.002Z] provides a separate development package or SDK, be sure it has been [2021-10-14T13:35:42.002Z] installed. [2021-10-14T13:35:42.002Z] [2021-10-14T13:35:42.002Z] [2021-10-14T13:35:42.002Z] -- Configuring done [2021-10-14T13:35:42.002Z] -- Generating done [2021-10-14T13:35:42.002Z] -- Build files have been written to: /tmp/cbor [2021-10-14T13:35:42.280Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-10-14T13:35:43.272Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-10-14T13:35:43.876Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-10-14T13:35:44.153Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-10-14T13:35:45.140Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-10-14T13:35:45.140Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-10-14T13:35:45.416Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-10-14T13:35:45.692Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-10-14T13:35:45.692Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-10-14T13:35:46.291Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-10-14T13:35:46.895Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-10-14T13:35:47.203Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-10-14T13:35:47.810Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-10-14T13:35:48.090Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-10-14T13:35:48.369Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-10-14T13:35:48.649Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-10-14T13:35:48.929Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-10-14T13:35:49.535Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-10-14T13:35:49.535Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-10-14T13:35:50.143Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-10-14T13:35:50.143Z] [ 40%] Linking C shared library libcbor.so [2021-10-14T13:35:50.143Z] [ 40%] Built target cbor_shared [2021-10-14T13:35:50.424Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-10-14T13:35:51.423Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-10-14T13:35:52.030Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-10-14T13:35:52.307Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-10-14T13:35:54.306Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-10-14T13:35:54.584Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-10-14T13:35:54.860Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-10-14T13:35:54.860Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-10-14T13:35:55.138Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-10-14T13:35:55.743Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-10-14T13:35:56.345Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-10-14T13:35:56.625Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-10-14T13:35:57.229Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-10-14T13:35:57.831Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-10-14T13:35:58.109Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-10-14T13:35:58.386Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-10-14T13:35:58.664Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-10-14T13:35:59.269Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-10-14T13:35:59.269Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-10-14T13:35:59.872Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-10-14T13:35:59.872Z] [ 80%] Linking C static library libcbor.a [2021-10-14T13:36:00.149Z] [ 80%] Built target cbor [2021-10-14T13:36:00.149Z] [ 82%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-10-14T13:36:00.430Z] [ 84%] Linking C executable readfile [2021-10-14T13:36:00.430Z] [ 84%] Built target readfile [2021-10-14T13:36:00.430Z] [ 86%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-10-14T13:36:00.708Z] [ 88%] Linking C executable create_items [2021-10-14T13:36:00.708Z] [ 88%] Built target create_items [2021-10-14T13:36:00.985Z] [ 90%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-10-14T13:36:00.985Z] [ 92%] Linking C executable sort [2021-10-14T13:36:01.263Z] [ 92%] Built target sort [2021-10-14T13:36:01.263Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-10-14T13:36:01.543Z] [ 96%] Linking C executable hello [2021-10-14T13:36:01.543Z] [ 96%] Built target hello [2021-10-14T13:36:01.543Z] [ 98%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-10-14T13:36:01.821Z] [100%] Linking C executable streaming_parser [2021-10-14T13:36:01.821Z] [100%] Built target streaming_parser [2021-10-14T13:36:02.100Z] Install the project... [2021-10-14T13:36:02.100Z] -- Install configuration: "Release" [2021-10-14T13:36:02.100Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-10-14T13:36:02.100Z] -- Installing: /usr/local/lib/libcbor.a [2021-10-14T13:36:02.100Z] -- Installing: /usr/local/lib/libcbor.so.0.0.0 [2021-10-14T13:36:02.100Z] -- Installing: /usr/local/lib/libcbor.so.0 [2021-10-14T13:36:02.100Z] -- Installing: /usr/local/lib/libcbor.so [2021-10-14T13:36:02.100Z] -- Up-to-date: /usr/local/include/cbor [2021-10-14T13:36:02.100Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-10-14T13:36:02.100Z] -- Installing: /usr/local/include/cbor/ints.h [2021-10-14T13:36:02.100Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-10-14T13:36:02.100Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-10-14T13:36:02.100Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-10-14T13:36:02.100Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-10-14T13:36:02.100Z] -- Installing: /usr/local/include/cbor/data.h [2021-10-14T13:36:02.100Z] -- Installing: /usr/local/include/cbor/common.h [2021-10-14T13:36:02.100Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-10-14T13:36:02.100Z] -- Installing: /usr/local/include/cbor/strings.h [2021-10-14T13:36:02.100Z] -- Installing: /usr/local/include/cbor/tags.h [2021-10-14T13:36:02.100Z] -- Installing: /usr/local/include/cbor/internal [2021-10-14T13:36:02.100Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-10-14T13:36:02.100Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-10-14T13:36:02.100Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-10-14T13:36:02.100Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-10-14T13:36:02.100Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-10-14T13:36:02.100Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-10-14T13:36:02.100Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-10-14T13:36:02.100Z] -- Installing: /usr/local/include/cbor/maps.h [2021-10-14T13:36:02.100Z] -- Installing: /usr/local/include/cbor.h [2021-10-14T13:36:02.100Z] -- Installing: /usr/local/lib/pkgconfig/libcbor.pc [2021-10-14T13:36:04.115Z] Removing intermediate container 61dc541b0bec [2021-10-14T13:36:04.115Z] ---> ecc80de9c42e [2021-10-14T13:36:04.115Z] Step 8/25 : RUN mkdir /tmp/sdk [2021-10-14T13:36:04.115Z] ---> Running in 50a8194f21e7 [2021-10-14T13:36:06.768Z] Removing intermediate container 50a8194f21e7 [2021-10-14T13:36:06.768Z] ---> cd02c262ff48 [2021-10-14T13:36:06.768Z] Step 9/25 : COPY VERSION /tmp/sdk [2021-10-14T13:36:07.379Z] ---> 73ba8685fea5 [2021-10-14T13:36:07.379Z] Step 10/25 : COPY src /tmp/sdk/src [2021-10-14T13:36:08.371Z] ---> b9d374ea3370 [2021-10-14T13:36:08.371Z] Step 11/25 : COPY include /tmp/sdk/include [2021-10-14T13:36:08.980Z] ---> 041964f34bcc [2021-10-14T13:36:08.980Z] Step 12/25 : COPY scripts /tmp/sdk/scripts [2021-10-14T13:36:09.969Z] ---> 3eed023090dd [2021-10-14T13:36:09.969Z] Step 13/25 : COPY LICENSE /tmp/sdk [2021-10-14T13:36:10.574Z] ---> 2ba9c5eb4ddc [2021-10-14T13:36:10.574Z] Step 14/25 : COPY Attribution.txt /tmp/sdk [2021-10-14T13:36:11.573Z] ---> 530b83db06e3 [2021-10-14T13:36:11.573Z] Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-10-14T13:36:11.573Z] ---> Running in 84dcb51046b4 [2021-10-14T13:36:12.570Z] + CPPCHECK=false [2021-10-14T13:36:12.570Z] + DOCGEN=false [2021-10-14T13:36:12.570Z] + TOMLVER=SDK-0.2 [2021-10-14T13:36:12.570Z] + CUTILVER=1.2.2 [2021-10-14T13:36:12.570Z] + '[' 0 -gt 0 ] [2021-10-14T13:36:12.570Z] + readlink -f ./scripts/build.sh [2021-10-14T13:36:12.570Z] + dirname /tmp/sdk/scripts/build.sh [2021-10-14T13:36:12.570Z] + dirname /tmp/sdk/scripts [2021-10-14T13:36:12.570Z] + ROOT=/tmp/sdk [2021-10-14T13:36:12.570Z] + cd /tmp/sdk [2021-10-14T13:36:12.570Z] + '[' '!' -d deps ] [2021-10-14T13:36:12.570Z] + mkdir deps [2021-10-14T13:36:12.570Z] + + tarwget -C -O deps - -z https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-10-14T13:36:12.571Z] -x -f - [2021-10-14T13:36:12.571Z] --2021-10-14 13:36:12-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-10-14T13:36:12.848Z] Resolving github.com (github.com)... 140.82.113.3 [2021-10-14T13:36:12.848Z] Connecting to github.com (github.com)|140.82.113.3|:443... connected. [2021-10-14T13:36:12.848Z] HTTP request sent, awaiting response... 302 Found [2021-10-14T13:36:12.848Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-10-14T13:36:12.848Z] --2021-10-14 13:36:12-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-10-14T13:36:12.848Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 [2021-10-14T13:36:12.848Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. [2021-10-14T13:36:13.127Z] HTTP request sent, awaiting response... 200 OK [2021-10-14T13:36:13.127Z] Length: unspecified [application/x-gzip] [2021-10-14T13:36:13.127Z] Saving to: 'STDOUT' [2021-10-14T13:36:13.127Z]  [2021-10-14T13:36:13.127Z] 0K .......... ......   815K=0.02s [2021-10-14T13:36:13.127Z] [2021-10-14T13:36:13.127Z] 2021-10-14 13:36:13 (815 KB/s) - written to stdout [16451] [2021-10-14T13:36:13.127Z] [2021-10-14T13:36:13.127Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-10-14T13:36:13.127Z] + + tarwget -C -O deps - -z https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz -x [2021-10-14T13:36:13.127Z] -f - [2021-10-14T13:36:13.127Z] --2021-10-14 13:36:13-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2021-10-14T13:36:13.127Z] Resolving github.com (github.com)... 140.82.113.3 [2021-10-14T13:36:13.127Z] Connecting to github.com (github.com)|140.82.113.3|:443... connected. [2021-10-14T13:36:13.404Z] HTTP request sent, awaiting response... 302 Found [2021-10-14T13:36:13.404Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] [2021-10-14T13:36:13.404Z] --2021-10-14 13:36:13-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [2021-10-14T13:36:13.404Z] Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 [2021-10-14T13:36:13.404Z] Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. [2021-10-14T13:36:13.681Z] HTTP request sent, awaiting response... 200 OK [2021-10-14T13:36:13.681Z] Length: unspecified [application/x-gzip] [2021-10-14T13:36:13.681Z] Saving to: 'STDOUT' [2021-10-14T13:36:13.681Z]  [2021-10-14T13:36:13.681Z] 0K .......... .......... .......... .......... .......... 1.10M [2021-10-14T13:36:13.681Z] 50K .......... .......... .......... .......... .......... 2.13M [2021-10-14T13:36:13.682Z] 100K .......... .......... .......... .......... .......... 2.36M [2021-10-14T13:36:13.682Z] 150K .......... .......... .......... .........   3.18M=0.1s [2021-10-14T13:36:13.682Z] [2021-10-14T13:36:13.682Z] 2021-10-14 13:36:13 (1.85 MB/s) - written to stdout [193961] [2021-10-14T13:36:13.682Z] [2021-10-14T13:36:13.962Z] + mkdir -p src/c/iot [2021-10-14T13:36:13.962Z] + 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-10-14T13:36:13.962Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2021-10-14T13:36:13.962Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2021-10-14T13:36:13.962Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2021-10-14T13:36:13.962Z] + mkdir -p include/iot [2021-10-14T13:36:13.962Z] + 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-10-14T13:36:13.962Z] + mkdir -p include/iot/os [2021-10-14T13:36:13.962Z] + 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-10-14T13:36:13.962Z] + mkdir -p /tmp/sdk/build/release [2021-10-14T13:36:13.962Z] + cd /tmp/sdk/build/release [2021-10-14T13:36:13.962Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-10-14T13:36:14.239Z] -- The C compiler identification is GNU 10.3.1 [2021-10-14T13:36:14.239Z] -- Detecting C compiler ABI info [2021-10-14T13:36:14.520Z] -- Detecting C compiler ABI info - done [2021-10-14T13:36:14.520Z] -- Check for working C compiler: /usr/bin/cc - skipped [2021-10-14T13:36:14.520Z] -- Detecting C compile features [2021-10-14T13:36:14.520Z] -- Detecting C compile features - done [2021-10-14T13:36:14.520Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-10-14T13:36:14.802Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") [2021-10-14T13:36:14.802Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-10-14T13:36:14.802Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-10-14T13:36:14.802Z] -- Found LIBCBOR: /usr/local/lib/libcbor.so [2021-10-14T13:36:14.802Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-10-14T13:36:14.802Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-10-14T13:36:14.802Z] -- C SDK 0.0.0 for Linux [2021-10-14T13:36:14.802Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-10-14T13:36:15.081Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-10-14T13:36:15.081Z] -- Found Curses: /usr/lib/libcurses.so [2021-10-14T13:36:15.358Z] -- Configuring done [2021-10-14T13:36:15.637Z] -- Generating done [2021-10-14T13:36:15.637Z] -- Build files have been written to: /tmp/sdk/build/release [2021-10-14T13:36:15.637Z] + tee release.log [2021-10-14T13:36:15.637Z] + make all package [2021-10-14T13:36:15.637Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-10-14T13:36:16.628Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-10-14T13:36:16.905Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-10-14T13:36:19.544Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-10-14T13:36:20.147Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-10-14T13:36:20.427Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-10-14T13:36:21.036Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-10-14T13:36:21.641Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-10-14T13:36:21.921Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-10-14T13:36:23.374Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-10-14T13:36:25.367Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-10-14T13:36:25.972Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-10-14T13:36:26.578Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-10-14T13:36:27.569Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-10-14T13:36:27.844Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-10-14T13:36:28.124Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-10-14T13:36:28.408Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-10-14T13:36:31.827Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-10-14T13:36:31.827Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-10-14T13:36:32.104Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-10-14T13:36:32.713Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-10-14T13:36:33.319Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-10-14T13:36:33.319Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2021-10-14T13:36:33.319Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2021-10-14T13:36:33.319Z] 275 | const iot_component_factory_t * factory; [2021-10-14T13:36:33.319Z] | ^~~~~~~ [2021-10-14T13:36:33.921Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-10-14T13:36:39.363Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-10-14T13:36:39.363Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-10-14T13:36:39.363Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-10-14T13:36:39.966Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-10-14T13:36:40.566Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-10-14T13:36:40.566Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-10-14T13:36:42.081Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-10-14T13:36:42.364Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-10-14T13:36:43.391Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-10-14T13:36:44.018Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2021-10-14T13:36:44.302Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-10-14T13:36:46.943Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-10-14T13:36:47.222Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-10-14T13:36:48.673Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-10-14T13:36:48.674Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-10-14T13:36:53.213Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-10-14T13:36:53.822Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-10-14T13:36:54.426Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-10-14T13:36:55.028Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-10-14T13:36:55.028Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2021-10-14T13:36:55.028Z] /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-10-14T13:36:55.028Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2021-10-14T13:36:55.028Z] | ^~~~~~~~~~~~~ [2021-10-14T13:36:55.028Z] | | [2021-10-14T13:36:55.028Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2021-10-14T13:36:55.028Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-10-14T13:36:55.028Z] /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-10-14T13:36:55.028Z] 2714 | MHD_KeyValueIterator iterator, [2021-10-14T13:36:55.028Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2021-10-14T13:36:55.028Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2021-10-14T13:36:55.028Z] /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-10-14T13:36:55.028Z] 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2021-10-14T13:36:55.028Z] | ^~~~~~~~~~~~ [2021-10-14T13:36:55.028Z] | | [2021-10-14T13:36:55.028Z] | 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-10-14T13:36:55.028Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-10-14T13:36:55.028Z] /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-10-14T13:36:55.028Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-10-14T13:36:55.028Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-10-14T13:36:55.028Z] /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-10-14T13:36:55.028Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2021-10-14T13:36:55.028Z] | ^~~~~~~~~~~~ [2021-10-14T13:36:55.028Z] | | [2021-10-14T13:36:55.028Z] | 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-10-14T13:36:55.028Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-10-14T13:36:55.028Z] /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-10-14T13:36:55.028Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-10-14T13:36:55.028Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-10-14T13:36:56.019Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-10-14T13:36:58.016Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-10-14T13:36:58.295Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-10-14T13:36:58.919Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-10-14T13:36:59.196Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-10-14T13:37:01.838Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-10-14T13:37:06.171Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-10-14T13:37:06.447Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-10-14T13:37:07.051Z] [ 76%] Linking C shared library libcsdk.so [2021-10-14T13:37:07.051Z] [ 76%] Built target csdk [2021-10-14T13:37:07.051Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-10-14T13:37:08.042Z] [ 79%] Linking C executable template [2021-10-14T13:37:08.319Z] [ 79%] Built target template [2021-10-14T13:37:08.319Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-10-14T13:37:08.921Z] [ 82%] Linking C executable device-counter [2021-10-14T13:37:09.197Z] [ 82%] Built target device-counter [2021-10-14T13:37:09.197Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-10-14T13:37:09.476Z] [ 85%] Linking C executable device-random [2021-10-14T13:37:09.755Z] [ 85%] Built target device-random [2021-10-14T13:37:10.032Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-10-14T13:37:10.310Z] [ 88%] Linking C executable device-gyro [2021-10-14T13:37:10.587Z] [ 88%] Built target device-gyro [2021-10-14T13:37:10.587Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-10-14T13:37:11.189Z] [ 91%] Linking C executable device-bitfields [2021-10-14T13:37:11.466Z] [ 91%] Built target device-bitfields [2021-10-14T13:37:11.466Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-10-14T13:37:12.455Z] [ 94%] Linking C executable template-discovery [2021-10-14T13:37:12.732Z] [ 94%] Built target template-discovery [2021-10-14T13:37:12.732Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-10-14T13:37:13.336Z] [ 97%] Linking C executable device-file [2021-10-14T13:37:13.615Z] [ 97%] Built target device-file [2021-10-14T13:37:13.615Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-10-14T13:37:14.218Z] [100%] Linking C executable device-terminal [2021-10-14T13:37:14.494Z] [100%] Built target device-terminal [2021-10-14T13:37:14.770Z] Run CPack packaging tool... [2021-10-14T13:37:14.770Z] CPack: Create package using TGZ [2021-10-14T13:37:14.770Z] CPack: Install projects [2021-10-14T13:37:14.770Z] CPack: - Run preinstall target for: Csdk [2021-10-14T13:37:15.371Z] CPack: - Install project: Csdk [] [2021-10-14T13:37:15.371Z] CPack: Create package [2021-10-14T13:37:15.648Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-10-14T13:37:15.648Z] + '[' false '=' true ] [2021-10-14T13:37:15.648Z] + '[' false '=' true ] [2021-10-14T13:37:15.648Z] + mkdir -p /tmp/sdk/build/debug [2021-10-14T13:37:15.648Z] + cd /tmp/sdk/build/debug [2021-10-14T13:37:15.648Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-10-14T13:37:15.923Z] -- The C compiler identification is GNU 10.3.1 [2021-10-14T13:37:15.924Z] -- Detecting C compiler ABI info [2021-10-14T13:37:16.199Z] -- Detecting C compiler ABI info - done [2021-10-14T13:37:16.199Z] -- Check for working C compiler: /usr/bin/cc - skipped [2021-10-14T13:37:16.199Z] -- Detecting C compile features [2021-10-14T13:37:16.199Z] -- Detecting C compile features - done [2021-10-14T13:37:16.199Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-10-14T13:37:16.476Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") [2021-10-14T13:37:16.476Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-10-14T13:37:16.476Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-10-14T13:37:16.476Z] -- Found LIBCBOR: /usr/local/lib/libcbor.so [2021-10-14T13:37:16.476Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-10-14T13:37:16.476Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-10-14T13:37:16.476Z] -- C SDK 0.0.0 for Linux [2021-10-14T13:37:16.476Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-10-14T13:37:16.755Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-10-14T13:37:16.755Z] -- Found Curses: /usr/lib/libcurses.so [2021-10-14T13:37:17.032Z] -- Configuring done [2021-10-14T13:37:17.309Z] -- Generating done [2021-10-14T13:37:17.309Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-10-14T13:37:17.309Z] + + maketee [2021-10-14T13:37:17.309Z] debug.log [2021-10-14T13:37:17.309Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-10-14T13:37:17.588Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-10-14T13:37:18.196Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-10-14T13:37:18.799Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-10-14T13:37:19.075Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-10-14T13:37:19.352Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-10-14T13:37:19.628Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-10-14T13:37:19.903Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-10-14T13:37:20.181Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-10-14T13:37:20.784Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-10-14T13:37:21.384Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-10-14T13:37:21.662Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-10-14T13:37:21.941Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-10-14T13:37:22.217Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-10-14T13:37:22.494Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-10-14T13:37:22.770Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-10-14T13:37:23.045Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-10-14T13:37:24.030Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-10-14T13:37:24.030Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-10-14T13:37:24.306Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-10-14T13:37:24.585Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-10-14T13:37:24.862Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-10-14T13:37:24.862Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2021-10-14T13:37:24.862Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2021-10-14T13:37:24.862Z] 275 | const iot_component_factory_t * factory; [2021-10-14T13:37:24.862Z] | ^~~~~~~ [2021-10-14T13:37:25.140Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-10-14T13:37:26.586Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-10-14T13:37:26.586Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-10-14T13:37:26.863Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-10-14T13:37:27.140Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-10-14T13:37:27.419Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-10-14T13:37:27.419Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-10-14T13:37:28.022Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-10-14T13:37:28.022Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-10-14T13:37:28.301Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-10-14T13:37:28.579Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2021-10-14T13:37:28.855Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-10-14T13:37:29.460Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-10-14T13:37:29.460Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-10-14T13:37:30.066Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-10-14T13:37:30.342Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-10-14T13:37:31.334Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-10-14T13:37:31.610Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-10-14T13:37:31.888Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-10-14T13:37:32.165Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-10-14T13:37:32.440Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2021-10-14T13:37:32.440Z] /tmp/sdk/src/c/rest-server.c:250:65: warning: passing argument 3 of 'MHD_get_connection_values' from incompatible pointer type [-Wincompatible-pointer-types] [2021-10-14T13:37:32.440Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2021-10-14T13:37:32.440Z] | ^~~~~~~~~~~~~ [2021-10-14T13:37:32.440Z] | | [2021-10-14T13:37:32.440Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2021-10-14T13:37:32.440Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-10-14T13:37:32.440Z] /usr/include/microhttpd.h:2714:49: note: expected 'MHD_KeyValueIterator' {aka 'enum MHD_Result (*)(void *, enum MHD_ValueKind, const char *, const char *)'} but argument is of type 'int (*)(void *, enum MHD_ValueKind, const char *, const char *)' [2021-10-14T13:37:32.440Z] 2714 | MHD_KeyValueIterator iterator, [2021-10-14T13:37:32.440Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2021-10-14T13:37:32.440Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2021-10-14T13:37:32.440Z] /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] [2021-10-14T13:37:32.440Z] 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2021-10-14T13:37:32.440Z] | ^~~~~~~~~~~~ [2021-10-14T13:37:32.440Z] | | [2021-10-14T13:37:32.440Z] | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} [2021-10-14T13:37:32.440Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-10-14T13:37:32.440Z] /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-10-14T13:37:32.440Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-10-14T13:37:32.440Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-10-14T13:37:32.440Z] /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-10-14T13:37:32.440Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2021-10-14T13:37:32.440Z] | ^~~~~~~~~~~~ [2021-10-14T13:37:32.440Z] | | [2021-10-14T13:37:32.440Z] | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} [2021-10-14T13:37:32.440Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-10-14T13:37:32.440Z] /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-10-14T13:37:32.440Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-10-14T13:37:32.440Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-10-14T13:37:32.718Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-10-14T13:37:34.165Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-10-14T13:37:34.440Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-10-14T13:37:34.717Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-10-14T13:37:34.991Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-10-14T13:37:35.590Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-10-14T13:37:36.581Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-10-14T13:37:36.581Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-10-14T13:37:36.858Z] [ 76%] Linking C shared library libcsdk.so [2021-10-14T13:37:37.135Z] [ 76%] Built target csdk [2021-10-14T13:37:37.135Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-10-14T13:37:37.414Z] [ 79%] Linking C executable template [2021-10-14T13:37:37.695Z] [ 79%] Built target template [2021-10-14T13:37:37.997Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-10-14T13:37:37.997Z] [ 82%] Linking C executable device-counter [2021-10-14T13:37:38.310Z] [ 82%] Built target device-counter [2021-10-14T13:37:38.594Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-10-14T13:37:38.876Z] [ 85%] Linking C executable device-random [2021-10-14T13:37:39.163Z] [ 85%] Built target device-random [2021-10-14T13:37:39.163Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-10-14T13:37:39.445Z] [ 88%] Linking C executable device-gyro [2021-10-14T13:37:39.735Z] [ 88%] Built target device-gyro [2021-10-14T13:37:39.735Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-10-14T13:37:40.017Z] [ 91%] Linking C executable device-bitfields [2021-10-14T13:37:40.294Z] [ 91%] Built target device-bitfields [2021-10-14T13:37:40.294Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-10-14T13:37:40.572Z] [ 94%] Linking C executable template-discovery [2021-10-14T13:37:40.850Z] [ 94%] Built target template-discovery [2021-10-14T13:37:40.850Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-10-14T13:37:41.473Z] [ 97%] Linking C executable device-file [2021-10-14T13:37:41.473Z] [ 97%] Built target device-file [2021-10-14T13:37:41.473Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-10-14T13:37:42.075Z] [100%] Linking C executable device-terminal [2021-10-14T13:37:42.352Z] [100%] Built target device-terminal [2021-10-14T13:37:42.352Z] make: Entering directory '/tmp/sdk/build/release' [2021-10-14T13:37:42.352Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-10-14T13:37:42.352Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-14T13:37:42.352Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-14T13:37:42.352Z] [ 76%] Built target csdk [2021-10-14T13:37:42.352Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-14T13:37:42.352Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-14T13:37:42.352Z] [ 79%] Built target template [2021-10-14T13:37:42.352Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-14T13:37:42.352Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-14T13:37:42.628Z] [ 82%] Built target device-counter [2021-10-14T13:37:42.628Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-14T13:37:42.628Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-14T13:37:42.628Z] [ 85%] Built target device-random [2021-10-14T13:37:42.628Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-14T13:37:42.628Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-14T13:37:42.628Z] [ 88%] Built target device-gyro [2021-10-14T13:37:42.628Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-14T13:37:42.628Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-14T13:37:42.628Z] [ 91%] Built target device-bitfields [2021-10-14T13:37:42.628Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-14T13:37:42.628Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-14T13:37:42.628Z] [ 94%] Built target template-discovery [2021-10-14T13:37:42.628Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-14T13:37:42.628Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-14T13:37:42.628Z] [ 97%] Built target device-file [2021-10-14T13:37:42.628Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-14T13:37:42.628Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-14T13:37:42.907Z] [100%] Built target device-terminal [2021-10-14T13:37:42.907Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-10-14T13:37:42.907Z] Install the project... [2021-10-14T13:37:42.907Z] -- Install configuration: "Release" [2021-10-14T13:37:42.907Z] -- Installing: /usr/local/lib/libcsdk.so [2021-10-14T13:37:42.907Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-10-14T13:37:42.907Z] -- Up-to-date: /usr/local/include [2021-10-14T13:37:42.907Z] -- Installing: /usr/local/include/edgex [2021-10-14T13:37:42.907Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-10-14T13:37:42.907Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-10-14T13:37:42.907Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-10-14T13:37:42.907Z] -- Installing: /usr/local/include/edgex/devices.h [2021-10-14T13:37:42.907Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-10-14T13:37:42.907Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-10-14T13:37:42.907Z] -- Installing: /usr/local/include/devsdk [2021-10-14T13:37:42.907Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-10-14T13:37:42.907Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-10-14T13:37:42.907Z] -- Installing: /usr/local/include/iot [2021-10-14T13:37:42.907Z] -- Installing: /usr/local/include/iot/json.h [2021-10-14T13:37:42.907Z] -- Installing: /usr/local/include/iot/container.h [2021-10-14T13:37:42.907Z] -- Installing: /usr/local/include/iot/component.h [2021-10-14T13:37:42.907Z] -- Installing: /usr/local/include/iot/typecode.h [2021-10-14T13:37:42.907Z] -- Installing: /usr/local/include/iot/iot.h [2021-10-14T13:37:42.907Z] -- Installing: /usr/local/include/iot/uuid.h [2021-10-14T13:37:42.907Z] -- Installing: /usr/local/include/iot/time.h [2021-10-14T13:37:42.907Z] -- Installing: /usr/local/include/iot/hash.h [2021-10-14T13:37:42.907Z] -- Installing: /usr/local/include/iot/logger.h [2021-10-14T13:37:42.907Z] -- Installing: /usr/local/include/iot/os [2021-10-14T13:37:42.907Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-10-14T13:37:42.907Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-10-14T13:37:42.907Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-10-14T13:37:42.907Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-10-14T13:37:42.907Z] -- Installing: /usr/local/include/iot/data.h [2021-10-14T13:37:42.907Z] -- Installing: /usr/local/include/iot/thread.h [2021-10-14T13:37:42.907Z] -- Installing: /usr/local/include/iot/os.h [2021-10-14T13:37:42.907Z] -- Installing: /usr/local/include/iot/base64.h [2021-10-14T13:37:42.907Z] -- Installing: /usr/local/include/iot/defs.h [2021-10-14T13:37:42.907Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-10-14T13:37:42.907Z] -- Installing: /usr/local/include/iot/config.h [2021-10-14T13:37:42.907Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-10-14T13:37:42.907Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-10-14T13:37:42.907Z] make: Leaving directory '/tmp/sdk/build/release' [2021-10-14T13:37:44.900Z] Removing intermediate container 84dcb51046b4 [2021-10-14T13:37:44.900Z] ---> 91c6efff32d4 [2021-10-14T13:37:44.900Z] Step 16/25 : FROM ${BASE} [2021-10-14T13:37:44.900Z] ---> b6d714ea7bf2 [2021-10-14T13:37:44.900Z] Step 17/25 : LABEL maintainer="IOTech " [2021-10-14T13:37:45.175Z] ---> Running in 93276a678f05 [2021-10-14T13:37:45.782Z] Removing intermediate container 93276a678f05 [2021-10-14T13:37:45.782Z] ---> 06e50dd2de1e [2021-10-14T13:37:45.782Z] Step 18/25 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2021-10-14T13:37:45.782Z] ---> Running in 1a2aa7341034 [2021-10-14T13:37:47.230Z] Connecting to iotech.jfrog.io (54.195.244.87:443) [2021-10-14T13:37:47.506Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2021-10-14T13:37:47.506Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2021-10-14T13:37:47.506Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2021-10-14T13:37:48.496Z] Removing intermediate container 1a2aa7341034 [2021-10-14T13:37:48.496Z] ---> 436283e8d73b [2021-10-14T13:37:48.496Z] Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-10-14T13:37:48.496Z] ---> Running in c7739f3298fb [2021-10-14T13:37:50.487Z] Removing intermediate container c7739f3298fb [2021-10-14T13:37:50.487Z] ---> 692d3a0d1e19 [2021-10-14T13:37:50.487Z] Step 20/25 : 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-10-14T13:37:50.764Z] ---> Running in e72fe1fd4318 [2021-10-14T13:37:52.210Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-14T13:37:53.198Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-14T13:37:53.475Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-14T13:37:54.459Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-10-14T13:37:54.459Z] (1/7) Installing curl (7.79.1-r0) [2021-10-14T13:37:54.459Z] (2/7) Installing hiredis (1.0.0-r0) [2021-10-14T13:37:54.459Z] (3/7) Installing hiredis-dev (1.0.0-r0) [2021-10-14T13:37:54.735Z] (4/7) Installing libuuid (2.37-r0) [2021-10-14T13:37:54.735Z] (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2021-10-14T13:37:55.717Z] (6/7) Installing libidn2 (2.3.1-r0) [2021-10-14T13:37:55.717Z] (7/7) Installing wget (1.21.1-r1) [2021-10-14T13:37:55.994Z] Executing busybox-1.33.1-r3.trigger [2021-10-14T13:37:55.994Z] OK: 276 MiB in 84 packages [2021-10-14T13:37:57.450Z] Removing intermediate container e72fe1fd4318 [2021-10-14T13:37:57.450Z] ---> 8095ec9a25f2 [2021-10-14T13:37:57.450Z] Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-10-14T13:37:58.053Z] ---> 3f31f097fd74 [2021-10-14T13:37:58.053Z] Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-10-14T13:37:59.044Z] ---> 0ea077a6049c [2021-10-14T13:37:59.044Z] Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-10-14T13:37:59.643Z] ---> 09d301172e3b [2021-10-14T13:37:59.643Z] Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-10-14T13:37:59.643Z] COPY failed: stat usr/local/lib64: file does not exist [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-14T13:38:00.916Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-14T13:38:00.916Z] [2021-10-14T13:38:00.916Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-14T13:38:01.296Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-14T13:38:01.575Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-14T13:38:01.575Z] 448f6bf000e3: Pulling fs layer [2021-10-14T13:38:01.575Z] f757da607395: Pulling fs layer [2021-10-14T13:38:01.575Z] 05883995daec: Pulling fs layer [2021-10-14T13:38:01.575Z] 8603b9c90790: Pulling fs layer [2021-10-14T13:38:01.575Z] 1560dd03e051: Pulling fs layer [2021-10-14T13:38:01.575Z] 27f5ce0e4adf: Pulling fs layer [2021-10-14T13:38:01.575Z] c2d8d7efcc4b: Pulling fs layer [2021-10-14T13:38:01.575Z] 8603b9c90790: Waiting [2021-10-14T13:38:01.575Z] 1560dd03e051: Waiting [2021-10-14T13:38:01.575Z] 27f5ce0e4adf: Waiting [2021-10-14T13:38:01.575Z] c2d8d7efcc4b: Waiting [2021-10-14T13:38:01.575Z] f757da607395: Verifying Checksum [2021-10-14T13:38:01.575Z] f757da607395: Download complete [2021-10-14T13:38:01.855Z] 8603b9c90790: Verifying Checksum [2021-10-14T13:38:01.855Z] 8603b9c90790: Download complete [2021-10-14T13:38:01.855Z] 05883995daec: Verifying Checksum [2021-10-14T13:38:01.855Z] 05883995daec: Download complete [2021-10-14T13:38:01.855Z] 1560dd03e051: Verifying Checksum [2021-10-14T13:38:01.855Z] 1560dd03e051: Download complete [2021-10-14T13:38:01.855Z] 27f5ce0e4adf: Verifying Checksum [2021-10-14T13:38:01.855Z] 27f5ce0e4adf: Download complete [2021-10-14T13:38:02.137Z] 448f6bf000e3: Download complete [2021-10-14T13:38:04.789Z] c2d8d7efcc4b: Verifying Checksum [2021-10-14T13:38:04.789Z] c2d8d7efcc4b: Download complete [2021-10-14T13:38:06.258Z] 448f6bf000e3: Pull complete [2021-10-14T13:38:06.860Z] f757da607395: Pull complete [2021-10-14T13:38:08.345Z] 05883995daec: Pull complete [2021-10-14T13:38:08.626Z] 8603b9c90790: Pull complete [2021-10-14T13:38:09.620Z] 1560dd03e051: Pull complete [2021-10-14T13:38:09.896Z] 27f5ce0e4adf: Pull complete [2021-10-14T13:38:25.050Z] c2d8d7efcc4b: Pull complete [2021-10-14T13:38:25.050Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-14T13:38:25.050Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-14T13:38:25.050Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-14T13:38:25.345Z] prd-ubuntu18.04-docker-arm64-4c-16g-1393 does not seem to be running inside a container [2021-10-14T13:38:25.470Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-14T13:38:30.705Z] $ docker top 7a8853eb2069ca28ad51c6541851ababe1fe1186b8296f0c4d59a28b37db92bd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T13:38:31.840Z] ---> job-cost.sh [2021-10-14T13:38:31.840Z] lf-activate-venv: SKIPPING [2021-10-14T13:38:31.840Z] INFO: No Stack... [2021-10-14T13:38:32.116Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-14T13:38:32.718Z] INFO: Archiving Costs [Pipeline] sh [2021-10-14T13:38:33.455Z] + cat /w/workspace/device-sdk-c/1/archives/cost.csv [2021-10-14T13:38:33.455Z] + cut -d, -f6 [Pipeline] lock [2021-10-14T13:38:33.539Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-382-1-stack-cost] [2021-10-14T13:38:33.543Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-382-1-stack-cost] did not exist. Created. [2021-10-14T13:38:33.543Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-382-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-14T13:38:34.301Z] + echo total: 0.550000011920929 [Pipeline] stash [2021-10-14T13:38:34.907Z] Stashed 1 file(s) [Pipeline] } [2021-10-14T13:38:34.921Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-382-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-14T13:38:34.979Z] $ docker stop --time=1 7a8853eb2069ca28ad51c6541851ababe1fe1186b8296f0c4d59a28b37db92bd [2021-10-14T13:38:36.581Z] $ docker rm -f 7a8853eb2069ca28ad51c6541851ababe1fe1186b8296f0c4d59a28b37db92bd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-14T13:38:37.362Z] Failed in branch arm64 [2021-10-14T13:39:08.326Z] Running on prd-centos7-docker-4c-2g-1406 in /w/workspace/edgexfoundry_device-sdk-c_PR-382 [Pipeline] { [Pipeline] ws [2021-10-14T13:39:08.364Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2021-10-14T13:39:08.481Z] Selected Git installation does not exist. Using Default [2021-10-14T13:39:08.481Z] The recommended git tool is: NONE [2021-10-14T13:39:10.461Z] using credential edgex-jenkins-ssh [2021-10-14T13:39:10.475Z] Cloning the remote Git repository [2021-10-14T13:39:10.180Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2021-10-14T13:39:10.237Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2021-10-14T13:39:10.275Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-10-14T13:39:10.275Z] > git --version # timeout=10 [2021-10-14T13:39:10.283Z] > git --version # 'git version 2.24.4' [2021-10-14T13:39:10.283Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-14T13:39:10.308Z] [INFO] Currently running in a labeled security context [2021-10-14T13:39:10.308Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-14T13:39:10.308Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh7884339683465495499.key [2021-10-14T13:39:10.338Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-14T13:39:11.113Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-10-14T13:39:11.121Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-14T13:39:11.131Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2021-10-14T13:39:11.147Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2021-10-14T13:39:11.147Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-14T13:39:11.148Z] [INFO] Currently running in a labeled security context [2021-10-14T13:39:11.148Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-14T13:39:11.148Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh438576793607800673.key [2021-10-14T13:39:11.161Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/382/head:refs/remotes/origin/PR-382 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-14T13:39:12.094Z] Merging remotes/origin/main commit b33a799834278c94191ed5db2afedc6f631595ea into PR head commit f03c50308885a995362517539d634d306aa31a75 [2021-10-14T13:39:12.243Z] Merge succeeded, producing f03c50308885a995362517539d634d306aa31a75 [2021-10-14T13:39:12.243Z] Checking out Revision f03c50308885a995362517539d634d306aa31a75 (PR-382) [2021-10-14T13:39:11.784Z] > git config core.sparsecheckout # timeout=10 [2021-10-14T13:39:11.794Z] > git checkout -f f03c50308885a995362517539d634d306aa31a75 # timeout=10 [2021-10-14T13:39:11.854Z] > git remote # timeout=10 [2021-10-14T13:39:11.885Z] > git config --get remote.origin.url # timeout=10 [2021-10-14T13:39:11.894Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-14T13:39:11.895Z] [INFO] Currently running in a labeled security context [2021-10-14T13:39:11.895Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-14T13:39:11.895Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh2802994688908113466.key [2021-10-14T13:39:11.902Z] > git merge b33a799834278c94191ed5db2afedc6f631595ea # timeout=10 [2021-10-14T13:39:11.912Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-14T13:39:11.929Z] > git config core.sparsecheckout # timeout=10 [2021-10-14T13:39:11.937Z] > git checkout -f f03c50308885a995362517539d634d306aa31a75 # timeout=10 [2021-10-14T13:39:15.881Z] Commit message: "fix: stop device autoevents before releasing memory refac: eliminate recursion from dup/free list functions" [2021-10-14T13:39:15.587Z] > git --version # timeout=10 [2021-10-14T13:39:15.594Z] > git --version # 'git version 2.24.4' [2021-10-14T13:39:15.607Z] fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T13:39:16.718Z] provisioning config files... [2021-10-14T13:39:16.736Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config7338282173698159477tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T13:39:17.170Z] ---> docker-login.sh [2021-10-14T13:39:17.170Z] nexus3.edgexfoundry.org:10001 [2021-10-14T13:39:17.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T13:39:17.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T13:39:17.170Z] Configure a credential helper to remove this warning. See [2021-10-14T13:39:17.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T13:39:17.170Z] [2021-10-14T13:39:17.170Z] Login Succeeded [2021-10-14T13:39:17.170Z] nexus3.edgexfoundry.org:10002 [2021-10-14T13:39:17.435Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T13:39:17.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T13:39:17.435Z] Configure a credential helper to remove this warning. See [2021-10-14T13:39:17.435Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T13:39:17.435Z] [2021-10-14T13:39:17.435Z] Login Succeeded [2021-10-14T13:39:17.435Z] nexus3.edgexfoundry.org:10003 [2021-10-14T13:39:17.435Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T13:39:17.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T13:39:17.435Z] Configure a credential helper to remove this warning. See [2021-10-14T13:39:17.435Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T13:39:17.435Z] [2021-10-14T13:39:17.435Z] Login Succeeded [2021-10-14T13:39:17.435Z] nexus3.edgexfoundry.org:10004 [2021-10-14T13:39:17.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T13:39:17.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T13:39:17.697Z] Configure a credential helper to remove this warning. See [2021-10-14T13:39:17.697Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T13:39:17.697Z] [2021-10-14T13:39:17.697Z] Login Succeeded [2021-10-14T13:39:17.697Z] docker.io [2021-10-14T13:39:17.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T13:39:18.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T13:39:18.273Z] Configure a credential helper to remove this warning. See [2021-10-14T13:39:18.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T13:39:18.273Z] [2021-10-14T13:39:18.273Z] Login Succeeded [2021-10-14T13:39:18.273Z] ---> docker-login.sh ends [Pipeline] } [2021-10-14T13:39:18.312Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-14T13:39:18.590Z] ========================================================= [2021-10-14T13:39:18.590Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2021-10-14T13:39:18.590Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-14T13:39:18.938Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2021-10-14T13:39:18.938Z] Sending build context to Docker daemon 2.734MB [2021-10-14T13:39:18.938Z] Step 1/25 : ARG BASE=alpine:3.14 [2021-10-14T13:39:18.938Z] Step 2/25 : FROM ${BASE} as builder [2021-10-14T13:39:19.207Z] latest: Pulling from edgex-devops/edgex-gcc-base [2021-10-14T13:39:19.207Z] a0d0a0d46f8b: Pulling fs layer [2021-10-14T13:39:19.207Z] 39017ce70367: Pulling fs layer [2021-10-14T13:39:19.207Z] dcf9283bb20a: Pulling fs layer [2021-10-14T13:39:19.207Z] 39017ce70367: Verifying Checksum [2021-10-14T13:39:19.207Z] 39017ce70367: Download complete [2021-10-14T13:39:19.207Z] a0d0a0d46f8b: Verifying Checksum [2021-10-14T13:39:19.207Z] a0d0a0d46f8b: Download complete [2021-10-14T13:39:19.473Z] a0d0a0d46f8b: Pull complete [2021-10-14T13:39:19.473Z] 39017ce70367: Pull complete [2021-10-14T13:39:19.742Z] dcf9283bb20a: Verifying Checksum [2021-10-14T13:39:19.742Z] dcf9283bb20a: Download complete [2021-10-14T13:39:23.089Z] dcf9283bb20a: Pull complete [2021-10-14T13:39:23.089Z] Digest: sha256:2a2af42e0978abc69143d34e5140e0e2b13385d9fcf9e2292ee97f6b0c1f1d72 [2021-10-14T13:39:23.089Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2021-10-14T13:39:23.089Z] ---> a4e04833b611 [2021-10-14T13:39:23.089Z] Step 3/25 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2021-10-14T13:39:23.669Z] ---> Running in 70bedc627069 [2021-10-14T13:39:23.932Z] Connecting to iotech.jfrog.io (54.195.244.87:443) [2021-10-14T13:39:24.502Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2021-10-14T13:39:24.502Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2021-10-14T13:39:24.502Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2021-10-14T13:39:24.502Z] Removing intermediate container 70bedc627069 [2021-10-14T13:39:24.502Z] ---> 45c710af8820 [2021-10-14T13:39:24.502Z] Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-10-14T13:39:24.502Z] ---> Running in d44cac2869b4 [2021-10-14T13:39:25.078Z] Removing intermediate container d44cac2869b4 [2021-10-14T13:39:25.078Z] ---> ea1b6c348237 [2021-10-14T13:39:25.078Z] Step 5/25 : 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-10-14T13:39:25.078Z] ---> Running in 697927a97863 [2021-10-14T13:39:25.350Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-14T13:39:26.293Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-14T13:39:26.555Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-14T13:39:27.128Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-10-14T13:39:27.128Z] (1/27) Installing hiredis (1.0.0-r0) [2021-10-14T13:39:27.128Z] (2/27) Installing hiredis-dev (1.0.0-r0) [2021-10-14T13:39:27.128Z] (3/27) Installing ncurses-dev (6.2_p20210612-r0) [2021-10-14T13:39:27.394Z] (4/27) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2021-10-14T13:39:27.969Z] (5/27) Installing libblkid (2.37-r0) [2021-10-14T13:39:27.969Z] (6/27) Installing blkid (2.37-r0) [2021-10-14T13:39:28.231Z] (7/27) Installing libcap-ng (0.8.2-r0) [2021-10-14T13:39:28.231Z] (8/27) Installing setpriv (2.37-r0) [2021-10-14T13:39:28.496Z] (9/27) Installing libmount (2.37-r0) [2021-10-14T13:39:28.496Z] (10/27) Installing libsmartcols (2.37-r0) [2021-10-14T13:39:28.496Z] (11/27) Installing findmnt (2.37-r0) [2021-10-14T13:39:28.759Z] (12/27) Installing mcookie (2.37-r0) [2021-10-14T13:39:28.759Z] (13/27) Installing hexdump (2.37-r0) [2021-10-14T13:39:28.759Z] (14/27) Installing lsblk (2.37-r0) [2021-10-14T13:39:29.020Z] (15/27) Installing libuuid (2.37-r0) [2021-10-14T13:39:29.020Z] (16/27) Installing libfdisk (2.37-r0) [2021-10-14T13:39:29.020Z] (17/27) Installing sfdisk (2.37-r0) [2021-10-14T13:39:29.280Z] (18/27) Installing cfdisk (2.37-r0) [2021-10-14T13:39:29.280Z] (19/27) Installing partx (2.37-r0) [2021-10-14T13:39:29.280Z] (20/27) Installing flock (2.37-r0) [2021-10-14T13:39:29.541Z] (21/27) Installing logger (2.37-r0) [2021-10-14T13:39:29.541Z] (22/27) Installing uuidgen (2.37-r0) [2021-10-14T13:39:29.804Z] (23/27) Installing libeconf (0.3.8-r1) [2021-10-14T13:39:29.804Z] (24/27) Installing util-linux (2.37-r0) [2021-10-14T13:39:30.064Z] (25/27) Installing util-linux-dev (2.37-r0) [2021-10-14T13:39:30.064Z] (26/27) Installing libidn2 (2.3.1-r0) [2021-10-14T13:39:30.332Z] (27/27) Installing wget (1.21.1-r1) [2021-10-14T13:39:30.332Z] Executing busybox-1.33.1-r3.trigger [2021-10-14T13:39:30.332Z] OK: 291 MiB in 104 packages [2021-10-14T13:39:30.909Z] Removing intermediate container 697927a97863 [2021-10-14T13:39:30.909Z] ---> 95b9ba906001 [2021-10-14T13:39:30.909Z] Step 6/25 : ENV CBOR_VERSION=0.5.0 [2021-10-14T13:39:30.909Z] ---> Running in 353004b30657 [2021-10-14T13:39:30.909Z] Removing intermediate container 353004b30657 [2021-10-14T13:39:30.909Z] ---> d0390e960c98 [2021-10-14T13:39:30.909Z] Step 7/25 : 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-10-14T13:39:30.909Z] ---> Running in 267dd66941c4 [2021-10-14T13:39:31.176Z] --2021-10-14 13:39:31-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz [2021-10-14T13:39:31.176Z] Resolving github.com (github.com)... 140.82.114.4 [2021-10-14T13:39:31.176Z] Connecting to github.com (github.com)|140.82.114.4|:443... connected. [2021-10-14T13:39:31.445Z] HTTP request sent, awaiting response... 302 Found [2021-10-14T13:39:31.445Z] Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] [2021-10-14T13:39:31.445Z] --2021-10-14 13:39:31-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [2021-10-14T13:39:31.445Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 [2021-10-14T13:39:31.445Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. [2021-10-14T13:39:31.713Z] HTTP request sent, awaiting response... 200 OK [2021-10-14T13:39:31.713Z] Length: unspecified [application/x-gzip] [2021-10-14T13:39:31.714Z] Saving to: 'STDOUT' [2021-10-14T13:39:31.714Z] [2021-10-14T13:39:31.714Z] 0K .......... .......... .......... .......... .......... 1.25M [2021-10-14T13:39:31.714Z] 50K .......... .......... .......... .......... .......... 2.58M [2021-10-14T13:39:31.714Z] 100K .......... .......... .......... .......... .......... 24.0M [2021-10-14T13:39:31.714Z] 150K .......... .......... .......... .......... .......... 16.0M [2021-10-14T13:39:31.714Z] 200K .......... .......... .......... .......... .......... 3.32M [2021-10-14T13:39:31.714Z] 250K .......... .......... .......... .......... .......... 6.58M [2021-10-14T13:39:31.714Z] 300K .......... .......... .......... .......... .......... 8.54M [2021-10-14T13:39:31.714Z] 350K .......... .......... .......... .......... .......... 6.04M [2021-10-14T13:39:31.714Z] 400K .......... .......... .......... .......... .......... 5.35M [2021-10-14T13:39:31.714Z] 450K .......... .......... .......... .......... .......... 10.6M [2021-10-14T13:39:31.714Z] 500K .......... .......... .......... .......... .......... 38.4M [2021-10-14T13:39:31.714Z] 550K .......... .......... .......... .......... .......... 6.16M [2021-10-14T13:39:31.714Z] 600K .......... .......... .......... .......... .......... 3.79M [2021-10-14T13:39:31.714Z] 650K .......... .......... .......... .......... .......... 6.50M [2021-10-14T13:39:31.714Z] 700K .. 75.4M=0.1s [2021-10-14T13:39:31.714Z] [2021-10-14T13:39:31.714Z] 2021-10-14 13:39:31 (4.82 MB/s) - written to stdout [719348] [2021-10-14T13:39:31.714Z] [2021-10-14T13:39:31.714Z] -- The C compiler identification is GNU 10.3.1 [2021-10-14T13:39:31.988Z] -- The CXX compiler identification is GNU 10.3.1 [2021-10-14T13:39:31.988Z] -- Detecting C compiler ABI info [2021-10-14T13:39:31.988Z] -- Detecting C compiler ABI info - done [2021-10-14T13:39:31.988Z] -- Check for working C compiler: /usr/bin/cc - skipped [2021-10-14T13:39:31.988Z] -- Detecting C compile features [2021-10-14T13:39:31.988Z] -- Detecting C compile features - done [2021-10-14T13:39:31.988Z] -- Detecting CXX compiler ABI info [2021-10-14T13:39:31.988Z] -- Detecting CXX compiler ABI info - done [2021-10-14T13:39:31.988Z] -- Check for working CXX compiler: /usr/bin/c++ - skipped [2021-10-14T13:39:31.988Z] -- Detecting CXX compile features [2021-10-14T13:39:31.988Z] -- Detecting CXX compile features - done [2021-10-14T13:39:31.988Z] -- Looking for include file endian.h [2021-10-14T13:39:32.248Z] -- Looking for include file endian.h - found [2021-10-14T13:39:32.248Z] -- Looking for sys/types.h [2021-10-14T13:39:32.248Z] -- Looking for sys/types.h - found [2021-10-14T13:39:32.248Z] -- Looking for stdint.h [2021-10-14T13:39:32.248Z] -- Looking for stdint.h - found [2021-10-14T13:39:32.248Z] -- Looking for stddef.h [2021-10-14T13:39:32.510Z] -- Looking for stddef.h - found [2021-10-14T13:39:32.510Z] -- Check size of size_t [2021-10-14T13:39:32.510Z] -- Check size of size_t - done [2021-10-14T13:39:32.510Z] CMake Warning at examples/CMakeLists.txt:16 (find_package): [2021-10-14T13:39:32.510Z] By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has [2021-10-14T13:39:32.510Z] asked CMake to find a package configuration file provided by "cJSON", but [2021-10-14T13:39:32.510Z] CMake did not find one. [2021-10-14T13:39:32.510Z] [2021-10-14T13:39:32.510Z] Could not find a package configuration file provided by "cJSON" with any of [2021-10-14T13:39:32.510Z] the following names: [2021-10-14T13:39:32.510Z] [2021-10-14T13:39:32.510Z] cJSONConfig.cmake [2021-10-14T13:39:32.510Z] cjson-config.cmake [2021-10-14T13:39:32.510Z] [2021-10-14T13:39:32.510Z] Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set [2021-10-14T13:39:32.510Z] "cJSON_DIR" to a directory containing one of the above files. If "cJSON" [2021-10-14T13:39:32.510Z] provides a separate development package or SDK, be sure it has been [2021-10-14T13:39:32.510Z] installed. [2021-10-14T13:39:32.510Z] [2021-10-14T13:39:32.510Z] [2021-10-14T13:39:32.510Z] -- Configuring done [2021-10-14T13:39:32.510Z] -- Generating done [2021-10-14T13:39:32.510Z] -- Build files have been written to: /tmp/cbor [2021-10-14T13:39:32.510Z] [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o [2021-10-14T13:39:32.776Z] [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o [2021-10-14T13:39:33.039Z] [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o [2021-10-14T13:39:33.039Z] [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o [2021-10-14T13:39:33.039Z] [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o [2021-10-14T13:39:33.305Z] [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o [2021-10-14T13:39:33.305Z] [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o [2021-10-14T13:39:33.305Z] [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o [2021-10-14T13:39:33.305Z] [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o [2021-10-14T13:39:33.580Z] [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o [2021-10-14T13:39:33.580Z] [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o [2021-10-14T13:39:33.580Z] [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o [2021-10-14T13:39:33.842Z] [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o [2021-10-14T13:39:33.842Z] [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o [2021-10-14T13:39:33.842Z] [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o [2021-10-14T13:39:33.842Z] [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o [2021-10-14T13:39:34.105Z] [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o [2021-10-14T13:39:34.105Z] [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o [2021-10-14T13:39:34.105Z] [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o [2021-10-14T13:39:34.368Z] [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o [2021-10-14T13:39:34.368Z] [ 40%] Linking C shared library libcbor.so [2021-10-14T13:39:34.368Z] [ 40%] Built target cbor_shared [2021-10-14T13:39:34.368Z] [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o [2021-10-14T13:39:34.635Z] [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o [2021-10-14T13:39:34.635Z] [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o [2021-10-14T13:39:34.635Z] [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o [2021-10-14T13:39:35.212Z] [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o [2021-10-14T13:39:35.212Z] [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o [2021-10-14T13:39:35.212Z] [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o [2021-10-14T13:39:35.212Z] [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o [2021-10-14T13:39:35.475Z] [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o [2021-10-14T13:39:35.475Z] [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o [2021-10-14T13:39:35.741Z] [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o [2021-10-14T13:39:35.741Z] [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o [2021-10-14T13:39:35.741Z] [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o [2021-10-14T13:39:36.009Z] [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [2021-10-14T13:39:36.009Z] [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o [2021-10-14T13:39:36.009Z] [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o [2021-10-14T13:39:36.271Z] [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o [2021-10-14T13:39:36.271Z] [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o [2021-10-14T13:39:36.271Z] [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [2021-10-14T13:39:36.271Z] [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o [2021-10-14T13:39:36.532Z] [ 80%] Linking C static library libcbor.a [2021-10-14T13:39:36.532Z] [ 80%] Built target cbor [2021-10-14T13:39:36.532Z] [ 82%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o [2021-10-14T13:39:36.532Z] [ 84%] Linking C executable readfile [2021-10-14T13:39:36.532Z] [ 84%] Built target readfile [2021-10-14T13:39:36.532Z] [ 86%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o [2021-10-14T13:39:36.532Z] [ 88%] Linking C executable create_items [2021-10-14T13:39:36.532Z] [ 88%] Built target create_items [2021-10-14T13:39:36.532Z] [ 90%] Building C object examples/CMakeFiles/sort.dir/sort.c.o [2021-10-14T13:39:36.793Z] [ 92%] Linking C executable sort [2021-10-14T13:39:36.793Z] [ 92%] Built target sort [2021-10-14T13:39:36.793Z] [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o [2021-10-14T13:39:36.793Z] [ 96%] Linking C executable hello [2021-10-14T13:39:36.793Z] [ 96%] Built target hello [2021-10-14T13:39:36.793Z] [ 98%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o [2021-10-14T13:39:36.793Z] [100%] Linking C executable streaming_parser [2021-10-14T13:39:37.053Z] [100%] Built target streaming_parser [2021-10-14T13:39:37.053Z] Install the project... [2021-10-14T13:39:37.053Z] -- Install configuration: "Release" [2021-10-14T13:39:37.053Z] -- Installing: /usr/local/include/cbor/configuration.h [2021-10-14T13:39:37.053Z] -- Installing: /usr/local/lib/libcbor.a [2021-10-14T13:39:37.053Z] -- Installing: /usr/local/lib/libcbor.so.0.0.0 [2021-10-14T13:39:37.053Z] -- Installing: /usr/local/lib/libcbor.so.0 [2021-10-14T13:39:37.053Z] -- Installing: /usr/local/lib/libcbor.so [2021-10-14T13:39:37.053Z] -- Up-to-date: /usr/local/include/cbor [2021-10-14T13:39:37.053Z] -- Installing: /usr/local/include/cbor/arrays.h [2021-10-14T13:39:37.053Z] -- Installing: /usr/local/include/cbor/bytestrings.h [2021-10-14T13:39:37.053Z] -- Installing: /usr/local/include/cbor/callbacks.h [2021-10-14T13:39:37.053Z] -- Installing: /usr/local/include/cbor/common.h [2021-10-14T13:39:37.053Z] -- Installing: /usr/local/include/cbor/data.h [2021-10-14T13:39:37.053Z] -- Installing: /usr/local/include/cbor/encoding.h [2021-10-14T13:39:37.053Z] -- Installing: /usr/local/include/cbor/floats_ctrls.h [2021-10-14T13:39:37.053Z] -- Installing: /usr/local/include/cbor/internal [2021-10-14T13:39:37.053Z] -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h [2021-10-14T13:39:37.053Z] -- Installing: /usr/local/include/cbor/internal/encoders.h [2021-10-14T13:39:37.053Z] -- Installing: /usr/local/include/cbor/internal/loaders.h [2021-10-14T13:39:37.053Z] -- Installing: /usr/local/include/cbor/internal/memory_utils.h [2021-10-14T13:39:37.053Z] -- Installing: /usr/local/include/cbor/internal/stack.h [2021-10-14T13:39:37.053Z] -- Installing: /usr/local/include/cbor/internal/unicode.h [2021-10-14T13:39:37.053Z] -- Installing: /usr/local/include/cbor/ints.h [2021-10-14T13:39:37.053Z] -- Installing: /usr/local/include/cbor/maps.h [2021-10-14T13:39:37.053Z] -- Installing: /usr/local/include/cbor/serialization.h [2021-10-14T13:39:37.053Z] -- Installing: /usr/local/include/cbor/streaming.h [2021-10-14T13:39:37.053Z] -- Installing: /usr/local/include/cbor/strings.h [2021-10-14T13:39:37.053Z] -- Installing: /usr/local/include/cbor/tags.h [2021-10-14T13:39:37.053Z] -- Installing: /usr/local/include/cbor.h [2021-10-14T13:39:37.053Z] -- Installing: /usr/local/lib/pkgconfig/libcbor.pc [2021-10-14T13:39:37.642Z] Removing intermediate container 267dd66941c4 [2021-10-14T13:39:37.642Z] ---> b73272e673d4 [2021-10-14T13:39:37.642Z] Step 8/25 : RUN mkdir /tmp/sdk [2021-10-14T13:39:37.642Z] ---> Running in eb4868fc85a2 [2021-10-14T13:39:38.218Z] Removing intermediate container eb4868fc85a2 [2021-10-14T13:39:38.218Z] ---> 21f30107f1b0 [2021-10-14T13:39:38.218Z] Step 9/25 : COPY VERSION /tmp/sdk [2021-10-14T13:39:38.484Z] ---> 9104b9cca69d [2021-10-14T13:39:38.484Z] Step 10/25 : COPY src /tmp/sdk/src [2021-10-14T13:39:38.754Z] ---> b49138959629 [2021-10-14T13:39:38.755Z] Step 11/25 : COPY include /tmp/sdk/include [2021-10-14T13:39:38.755Z] ---> 7680030db817 [2021-10-14T13:39:38.755Z] Step 12/25 : COPY scripts /tmp/sdk/scripts [2021-10-14T13:39:39.016Z] ---> e7b4b47d964e [2021-10-14T13:39:39.016Z] Step 13/25 : COPY LICENSE /tmp/sdk [2021-10-14T13:39:39.281Z] ---> c4411050e918 [2021-10-14T13:39:39.281Z] Step 14/25 : COPY Attribution.txt /tmp/sdk [2021-10-14T13:39:39.281Z] ---> 5c4ed2f8fab5 [2021-10-14T13:39:39.281Z] Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2021-10-14T13:39:39.281Z] ---> Running in d17d98d9fd15 [2021-10-14T13:39:39.546Z] + CPPCHECK=false [2021-10-14T13:39:39.546Z] + DOCGEN=false [2021-10-14T13:39:39.546Z] + TOMLVER=SDK-0.2 [2021-10-14T13:39:39.546Z] + CUTILVER=1.2.2 [2021-10-14T13:39:39.546Z] + '[' 0 -gt 0 ] [2021-10-14T13:39:39.546Z] + readlink -f ./scripts/build.sh [2021-10-14T13:39:39.546Z] + dirname /tmp/sdk/scripts/build.sh [2021-10-14T13:39:39.546Z] + dirname /tmp/sdk/scripts [2021-10-14T13:39:39.546Z] + ROOT=/tmp/sdk [2021-10-14T13:39:39.546Z] + cd /tmp/sdk [2021-10-14T13:39:39.546Z] + '[' '!' -d deps ] [2021-10-14T13:39:39.546Z] + mkdir deps [2021-10-14T13:39:39.546Z] + tar -C deps -z -x -f - [2021-10-14T13:39:39.546Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-10-14T13:39:39.546Z] --2021-10-14 13:39:39-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2021-10-14T13:39:39.546Z] Resolving github.com (github.com)... 140.82.114.4 [2021-10-14T13:39:39.546Z] Connecting to github.com (github.com)|140.82.114.4|:443... connected. [2021-10-14T13:39:39.809Z] HTTP request sent, awaiting response... 302 Found [2021-10-14T13:39:39.809Z] Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] [2021-10-14T13:39:39.809Z] --2021-10-14 13:39:39-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [2021-10-14T13:39:39.809Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 [2021-10-14T13:39:39.809Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. [2021-10-14T13:39:40.071Z] HTTP request sent, awaiting response... 200 OK [2021-10-14T13:39:40.071Z] Length: unspecified [application/x-gzip] [2021-10-14T13:39:40.071Z] Saving to: 'STDOUT' [2021-10-14T13:39:40.071Z] [2021-10-14T13:39:40.071Z] 0K .......... ...... 854K=0.02s [2021-10-14T13:39:40.071Z] [2021-10-14T13:39:40.071Z] 2021-10-14 13:39:39 (854 KB/s) - written to stdout [16451] [2021-10-14T13:39:40.071Z] [2021-10-14T13:39:40.071Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2021-10-14T13:39:40.071Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2021-10-14T13:39:40.071Z] --2021-10-14 13:39:39-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2021-10-14T13:39:40.071Z] + tar -C deps -z -x -f - [2021-10-14T13:39:40.071Z] Resolving github.com (github.com)... 140.82.114.4 [2021-10-14T13:39:40.071Z] Connecting to github.com (github.com)|140.82.114.4|:443... connected. [2021-10-14T13:39:40.337Z] HTTP request sent, awaiting response... 302 Found [2021-10-14T13:39:40.337Z] Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] [2021-10-14T13:39:40.337Z] --2021-10-14 13:39:40-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [2021-10-14T13:39:40.337Z] Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 [2021-10-14T13:39:40.337Z] Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. [2021-10-14T13:39:40.337Z] HTTP request sent, awaiting response... 200 OK [2021-10-14T13:39:40.337Z] Length: unspecified [application/x-gzip] [2021-10-14T13:39:40.337Z] Saving to: 'STDOUT' [2021-10-14T13:39:40.337Z]  [2021-10-14T13:39:40.601Z] 0K .......... .......... .......... .......... .......... 1.28M [2021-10-14T13:39:40.601Z] 50K .......... .......... .......... .......... .......... 2.51M [2021-10-14T13:39:40.601Z] 100K .......... .......... .......... .......... .......... 36.0M [2021-10-14T13:39:40.601Z] 150K .......... .......... .......... ......... 7.78M=0.06s [2021-10-14T13:39:40.601Z] [2021-10-14T13:39:40.601Z] 2021-10-14 13:39:40 (2.90 MB/s) - written to stdout [193961] [2021-10-14T13:39:40.601Z] [2021-10-14T13:39:40.601Z] + mkdir -p src/c/iot [2021-10-14T13:39:40.601Z] + 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-10-14T13:39:40.601Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2021-10-14T13:39:40.601Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2021-10-14T13:39:40.601Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2021-10-14T13:39:40.601Z] + mkdir -p include/iot [2021-10-14T13:39:40.601Z] + 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-10-14T13:39:40.601Z] + mkdir -p include/iot/os [2021-10-14T13:39:40.601Z] + 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-10-14T13:39:40.601Z] + mkdir -p /tmp/sdk/build/release [2021-10-14T13:39:40.601Z] + cd /tmp/sdk/build/release [2021-10-14T13:39:40.601Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2021-10-14T13:39:40.601Z] -- The C compiler identification is GNU 10.3.1 [2021-10-14T13:39:40.601Z] -- Detecting C compiler ABI info [2021-10-14T13:39:40.601Z] -- Detecting C compiler ABI info - done [2021-10-14T13:39:40.865Z] -- Check for working C compiler: /usr/bin/cc - skipped [2021-10-14T13:39:40.865Z] -- Detecting C compile features [2021-10-14T13:39:40.865Z] -- Detecting C compile features - done [2021-10-14T13:39:40.865Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-10-14T13:39:40.865Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") [2021-10-14T13:39:40.865Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-10-14T13:39:40.865Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-10-14T13:39:40.865Z] -- Found LIBCBOR: /usr/local/lib/libcbor.so [2021-10-14T13:39:40.865Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-10-14T13:39:40.865Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-10-14T13:39:40.865Z] -- C SDK 0.0.0 for Linux [2021-10-14T13:39:40.865Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-10-14T13:39:40.865Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-10-14T13:39:40.865Z] -- Found Curses: /usr/lib/libcurses.so [2021-10-14T13:39:40.865Z] -- Configuring done [2021-10-14T13:39:40.865Z] -- Generating done [2021-10-14T13:39:40.865Z] -- Build files have been written to: /tmp/sdk/build/release [2021-10-14T13:39:40.865Z] + tee release.log [2021-10-14T13:39:40.865Z] + make all package [2021-10-14T13:39:41.129Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-10-14T13:39:41.129Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-10-14T13:39:41.391Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-10-14T13:39:41.652Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-10-14T13:39:41.915Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-10-14T13:39:41.915Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-10-14T13:39:41.915Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-10-14T13:39:42.176Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-10-14T13:39:42.176Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-10-14T13:39:42.437Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-10-14T13:39:42.702Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-10-14T13:39:42.967Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-10-14T13:39:42.967Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-10-14T13:39:43.228Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-10-14T13:39:43.228Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-10-14T13:39:43.228Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-10-14T13:39:43.491Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-10-14T13:39:44.060Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-10-14T13:39:44.060Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-10-14T13:39:44.060Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-10-14T13:39:44.060Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-10-14T13:39:44.319Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-10-14T13:39:44.319Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2021-10-14T13:39:44.319Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2021-10-14T13:39:44.319Z] 275 | const iot_component_factory_t * factory; [2021-10-14T13:39:44.319Z] | ^~~~~~~ [2021-10-14T13:39:44.577Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-10-14T13:39:45.522Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-10-14T13:39:45.522Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-10-14T13:39:45.522Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-10-14T13:39:45.522Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-10-14T13:39:45.784Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-10-14T13:39:45.784Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-10-14T13:39:46.047Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-10-14T13:39:46.047Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-10-14T13:39:46.047Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-10-14T13:39:46.314Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2021-10-14T13:39:46.314Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-10-14T13:39:46.576Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-10-14T13:39:46.838Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-10-14T13:39:47.099Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-10-14T13:39:47.100Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-10-14T13:39:48.055Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-10-14T13:39:48.055Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-10-14T13:39:48.055Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-10-14T13:39:48.327Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-10-14T13:39:48.327Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2021-10-14T13:39:48.327Z] /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-10-14T13:39:48.327Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2021-10-14T13:39:48.327Z] | ^~~~~~~~~~~~~ [2021-10-14T13:39:48.327Z] | | [2021-10-14T13:39:48.327Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2021-10-14T13:39:48.327Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-10-14T13:39:48.327Z] /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-10-14T13:39:48.327Z] 2714 | MHD_KeyValueIterator iterator, [2021-10-14T13:39:48.327Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2021-10-14T13:39:48.327Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2021-10-14T13:39:48.327Z] /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-10-14T13:39:48.327Z] 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2021-10-14T13:39:48.327Z] | ^~~~~~~~~~~~ [2021-10-14T13:39:48.327Z] | | [2021-10-14T13:39:48.327Z] | 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-10-14T13:39:48.327Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-10-14T13:39:48.327Z] /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-10-14T13:39:48.327Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-10-14T13:39:48.327Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-10-14T13:39:48.327Z] /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-10-14T13:39:48.327Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2021-10-14T13:39:48.327Z] | ^~~~~~~~~~~~ [2021-10-14T13:39:48.327Z] | | [2021-10-14T13:39:48.327Z] | 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-10-14T13:39:48.327Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-10-14T13:39:48.327Z] /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-10-14T13:39:48.327Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-10-14T13:39:48.327Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-10-14T13:39:48.327Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-10-14T13:39:48.900Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-10-14T13:39:48.900Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-10-14T13:39:48.900Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-10-14T13:39:49.162Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-10-14T13:39:49.430Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-10-14T13:39:50.382Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-10-14T13:39:50.382Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-10-14T13:39:50.645Z] [ 76%] Linking C shared library libcsdk.so [2021-10-14T13:39:50.645Z] [ 76%] Built target csdk [2021-10-14T13:39:50.645Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-10-14T13:39:50.645Z] [ 79%] Linking C executable template [2021-10-14T13:39:50.908Z] [ 79%] Built target template [2021-10-14T13:39:50.908Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-10-14T13:39:50.908Z] [ 82%] Linking C executable device-counter [2021-10-14T13:39:50.908Z] [ 82%] Built target device-counter [2021-10-14T13:39:50.908Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-10-14T13:39:51.177Z] [ 85%] Linking C executable device-random [2021-10-14T13:39:51.177Z] [ 85%] Built target device-random [2021-10-14T13:39:51.177Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-10-14T13:39:51.177Z] [ 88%] Linking C executable device-gyro [2021-10-14T13:39:51.438Z] [ 88%] Built target device-gyro [2021-10-14T13:39:51.438Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-10-14T13:39:51.438Z] [ 91%] Linking C executable device-bitfields [2021-10-14T13:39:51.438Z] [ 91%] Built target device-bitfields [2021-10-14T13:39:51.438Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-10-14T13:39:51.699Z] [ 94%] Linking C executable template-discovery [2021-10-14T13:39:51.699Z] [ 94%] Built target template-discovery [2021-10-14T13:39:51.699Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-10-14T13:39:51.961Z] [ 97%] Linking C executable device-file [2021-10-14T13:39:51.961Z] [ 97%] Built target device-file [2021-10-14T13:39:51.961Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-10-14T13:39:52.225Z] [100%] Linking C executable device-terminal [2021-10-14T13:39:52.225Z] [100%] Built target device-terminal [2021-10-14T13:39:52.225Z] Run CPack packaging tool... [2021-10-14T13:39:52.225Z] CPack: Create package using TGZ [2021-10-14T13:39:52.225Z] CPack: Install projects [2021-10-14T13:39:52.225Z] CPack: - Run preinstall target for: Csdk [2021-10-14T13:39:52.490Z] CPack: - Install project: Csdk [] [2021-10-14T13:39:52.490Z] CPack: Create package [2021-10-14T13:39:52.490Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2021-10-14T13:39:52.490Z] + '[' false '=' true ] [2021-10-14T13:39:52.490Z] + '[' false '=' true ] [2021-10-14T13:39:52.490Z] + mkdir -p /tmp/sdk/build/debug [2021-10-14T13:39:52.490Z] + cd /tmp/sdk/build/debug [2021-10-14T13:39:52.490Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2021-10-14T13:39:52.490Z] -- The C compiler identification is GNU 10.3.1 [2021-10-14T13:39:52.490Z] -- Detecting C compiler ABI info [2021-10-14T13:39:52.753Z] -- Detecting C compiler ABI info - done [2021-10-14T13:39:52.753Z] -- Check for working C compiler: /usr/bin/cc - skipped [2021-10-14T13:39:52.753Z] -- Detecting C compile features [2021-10-14T13:39:52.753Z] -- Detecting C compile features - done [2021-10-14T13:39:52.753Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2021-10-14T13:39:52.753Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") [2021-10-14T13:39:52.753Z] -- Found LIBYAML: /usr/lib/libyaml.so [2021-10-14T13:39:52.753Z] -- Found LIBUUID: /usr/lib/libuuid.so [2021-10-14T13:39:52.753Z] -- Found LIBCBOR: /usr/local/lib/libcbor.so [2021-10-14T13:39:52.753Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2021-10-14T13:39:52.753Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2021-10-14T13:39:52.753Z] -- C SDK 0.0.0 for Linux [2021-10-14T13:39:52.753Z] -- Performing Test CSDK_HAVE_ATOMIC [2021-10-14T13:39:52.753Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2021-10-14T13:39:53.017Z] -- Found Curses: /usr/lib/libcurses.so [2021-10-14T13:39:53.017Z] -- Configuring done [2021-10-14T13:39:53.017Z] -- Generating done [2021-10-14T13:39:53.017Z] -- Build files have been written to: /tmp/sdk/build/debug [2021-10-14T13:39:53.017Z] + + tee debug.log [2021-10-14T13:39:53.017Z] make [2021-10-14T13:39:53.017Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2021-10-14T13:39:53.017Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2021-10-14T13:39:53.279Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2021-10-14T13:39:53.279Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2021-10-14T13:39:53.279Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2021-10-14T13:39:53.547Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2021-10-14T13:39:53.547Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2021-10-14T13:39:53.547Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2021-10-14T13:39:53.547Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2021-10-14T13:39:53.810Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2021-10-14T13:39:53.810Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2021-10-14T13:39:54.075Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2021-10-14T13:39:54.075Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2021-10-14T13:39:54.075Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2021-10-14T13:39:54.075Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2021-10-14T13:39:54.335Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2021-10-14T13:39:54.335Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2021-10-14T13:39:54.597Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2021-10-14T13:39:54.597Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2021-10-14T13:39:54.597Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2021-10-14T13:39:54.597Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2021-10-14T13:39:54.597Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2021-10-14T13:39:54.858Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2021-10-14T13:39:54.858Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2021-10-14T13:39:54.858Z] 275 | const iot_component_factory_t * factory; [2021-10-14T13:39:54.858Z] | ^~~~~~~ [2021-10-14T13:39:54.858Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2021-10-14T13:39:55.119Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2021-10-14T13:39:55.119Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2021-10-14T13:39:55.119Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2021-10-14T13:39:55.119Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2021-10-14T13:39:55.380Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2021-10-14T13:39:55.380Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2021-10-14T13:39:55.380Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2021-10-14T13:39:55.380Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2021-10-14T13:39:55.380Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2021-10-14T13:39:55.642Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2021-10-14T13:39:55.642Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2021-10-14T13:39:55.642Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2021-10-14T13:39:55.642Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2021-10-14T13:39:55.908Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2021-10-14T13:39:55.908Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2021-10-14T13:39:56.173Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2021-10-14T13:39:56.173Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2021-10-14T13:39:56.435Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2021-10-14T13:39:56.435Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2021-10-14T13:39:56.435Z] /tmp/sdk/src/c/rest-server.c: In function 'http_handler': [2021-10-14T13:39:56.435Z] /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-10-14T13:39:56.435Z] 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); [2021-10-14T13:39:56.435Z] | ^~~~~~~~~~~~~ [2021-10-14T13:39:56.435Z] | | [2021-10-14T13:39:56.435Z] | int (*)(void *, enum MHD_ValueKind, const char *, const char *) [2021-10-14T13:39:56.435Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-10-14T13:39:56.435Z] /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-10-14T13:39:56.435Z] 2714 | MHD_KeyValueIterator iterator, [2021-10-14T13:39:56.435Z] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [2021-10-14T13:39:56.435Z] /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': [2021-10-14T13:39:56.435Z] /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-10-14T13:39:56.435Z] 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); [2021-10-14T13:39:56.435Z] | ^~~~~~~~~~~~ [2021-10-14T13:39:56.435Z] | | [2021-10-14T13:39:56.435Z] | 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-10-14T13:39:56.435Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-10-14T13:39:56.435Z] /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-10-14T13:39:56.435Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-10-14T13:39:56.435Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-10-14T13:39:56.435Z] /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-10-14T13:39:56.435Z] 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); [2021-10-14T13:39:56.435Z] | ^~~~~~~~~~~~ [2021-10-14T13:39:56.435Z] | | [2021-10-14T13:39:56.435Z] | 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-10-14T13:39:56.435Z] In file included from /tmp/sdk/src/c/rest-server.c:21: [2021-10-14T13:39:56.435Z] /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-10-14T13:39:56.435Z] 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, [2021-10-14T13:39:56.435Z] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [2021-10-14T13:39:56.435Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2021-10-14T13:39:56.695Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2021-10-14T13:39:56.695Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2021-10-14T13:39:56.956Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2021-10-14T13:39:56.956Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2021-10-14T13:39:56.956Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2021-10-14T13:39:57.220Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2021-10-14T13:39:57.220Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2021-10-14T13:39:57.482Z] [ 76%] Linking C shared library libcsdk.so [2021-10-14T13:39:57.482Z] [ 76%] Built target csdk [2021-10-14T13:39:57.482Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2021-10-14T13:39:57.482Z] [ 79%] Linking C executable template [2021-10-14T13:39:57.482Z] [ 79%] Built target template [2021-10-14T13:39:57.744Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2021-10-14T13:39:57.744Z] [ 82%] Linking C executable device-counter [2021-10-14T13:39:57.744Z] [ 82%] Built target device-counter [2021-10-14T13:39:57.744Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2021-10-14T13:39:57.744Z] [ 85%] Linking C executable device-random [2021-10-14T13:39:58.006Z] [ 85%] Built target device-random [2021-10-14T13:39:58.006Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2021-10-14T13:39:58.007Z] [ 88%] Linking C executable device-gyro [2021-10-14T13:39:58.007Z] [ 88%] Built target device-gyro [2021-10-14T13:39:58.007Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2021-10-14T13:39:58.007Z] [ 91%] Linking C executable device-bitfields [2021-10-14T13:39:58.267Z] [ 91%] Built target device-bitfields [2021-10-14T13:39:58.267Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2021-10-14T13:39:58.267Z] [ 94%] Linking C executable template-discovery [2021-10-14T13:39:58.267Z] [ 94%] Built target template-discovery [2021-10-14T13:39:58.267Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2021-10-14T13:39:58.529Z] [ 97%] Linking C executable device-file [2021-10-14T13:39:58.529Z] [ 97%] Built target device-file [2021-10-14T13:39:58.529Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2021-10-14T13:39:58.529Z] [100%] Linking C executable device-terminal [2021-10-14T13:39:58.789Z] [100%] Built target device-terminal [2021-10-14T13:39:58.789Z] make: Entering directory '/tmp/sdk/build/release' [2021-10-14T13:39:58.789Z] make[1]: Entering directory '/tmp/sdk/build/release' [2021-10-14T13:39:58.789Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-14T13:39:58.789Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-14T13:39:58.789Z] [ 76%] Built target csdk [2021-10-14T13:39:58.789Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-14T13:39:58.789Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-14T13:39:58.789Z] [ 79%] Built target template [2021-10-14T13:39:58.789Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-14T13:39:58.789Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-14T13:39:58.789Z] [ 82%] Built target device-counter [2021-10-14T13:39:58.789Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-14T13:39:58.789Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-14T13:39:58.789Z] [ 85%] Built target device-random [2021-10-14T13:39:58.789Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-14T13:39:58.789Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-14T13:39:58.789Z] [ 88%] Built target device-gyro [2021-10-14T13:39:58.789Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-14T13:39:58.789Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-14T13:39:58.789Z] [ 91%] Built target device-bitfields [2021-10-14T13:39:58.789Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-14T13:39:58.789Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-14T13:39:58.789Z] [ 94%] Built target template-discovery [2021-10-14T13:39:58.789Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-14T13:39:58.789Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-14T13:39:58.789Z] [ 97%] Built target device-file [2021-10-14T13:39:58.789Z] make[2]: Entering directory '/tmp/sdk/build/release' [2021-10-14T13:39:58.789Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2021-10-14T13:39:58.789Z] [100%] Built target device-terminal [2021-10-14T13:39:58.789Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2021-10-14T13:39:58.789Z] Install the project... [2021-10-14T13:39:58.789Z] -- Install configuration: "Release" [2021-10-14T13:39:58.789Z] -- Installing: /usr/local/lib/libcsdk.so [2021-10-14T13:39:58.789Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2021-10-14T13:39:58.789Z] -- Up-to-date: /usr/local/include [2021-10-14T13:39:58.789Z] -- Installing: /usr/local/include/devsdk [2021-10-14T13:39:58.789Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2021-10-14T13:39:58.789Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2021-10-14T13:39:58.789Z] -- Installing: /usr/local/include/edgex [2021-10-14T13:39:58.789Z] -- Installing: /usr/local/include/edgex/devices.h [2021-10-14T13:39:58.789Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2021-10-14T13:39:58.789Z] -- Installing: /usr/local/include/edgex/edgex.h [2021-10-14T13:39:58.789Z] -- Installing: /usr/local/include/edgex/profiles.h [2021-10-14T13:39:58.789Z] -- Installing: /usr/local/include/edgex/rest-server.h [2021-10-14T13:39:58.789Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2021-10-14T13:39:58.789Z] -- Installing: /usr/local/include/iot [2021-10-14T13:39:58.789Z] -- Installing: /usr/local/include/iot/base64.h [2021-10-14T13:39:58.789Z] -- Installing: /usr/local/include/iot/component.h [2021-10-14T13:39:58.789Z] -- Installing: /usr/local/include/iot/config.h [2021-10-14T13:39:58.789Z] -- Installing: /usr/local/include/iot/container.h [2021-10-14T13:39:58.789Z] -- Installing: /usr/local/include/iot/data.h [2021-10-14T13:39:58.789Z] -- Installing: /usr/local/include/iot/hash.h [2021-10-14T13:39:58.789Z] -- Installing: /usr/local/include/iot/iot.h [2021-10-14T13:39:58.789Z] -- Installing: /usr/local/include/iot/json.h [2021-10-14T13:39:58.789Z] -- Installing: /usr/local/include/iot/logger.h [2021-10-14T13:39:58.789Z] -- Installing: /usr/local/include/iot/os.h [2021-10-14T13:39:58.789Z] -- Installing: /usr/local/include/iot/scheduler.h [2021-10-14T13:39:58.789Z] -- Installing: /usr/local/include/iot/thread.h [2021-10-14T13:39:58.789Z] -- Installing: /usr/local/include/iot/threadpool.h [2021-10-14T13:39:58.789Z] -- Installing: /usr/local/include/iot/time.h [2021-10-14T13:39:58.789Z] -- Installing: /usr/local/include/iot/typecode.h [2021-10-14T13:39:58.789Z] -- Installing: /usr/local/include/iot/uuid.h [2021-10-14T13:39:58.789Z] -- Installing: /usr/local/include/iot/os [2021-10-14T13:39:58.789Z] -- Installing: /usr/local/include/iot/os/linux.h [2021-10-14T13:39:58.789Z] -- Installing: /usr/local/include/iot/os/macos.h [2021-10-14T13:39:58.789Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2021-10-14T13:39:58.789Z] -- Installing: /usr/local/include/iot/defs.h [2021-10-14T13:39:58.789Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2021-10-14T13:39:58.789Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2021-10-14T13:39:58.789Z] make: Leaving directory '/tmp/sdk/build/release' [2021-10-14T13:39:59.730Z] Removing intermediate container d17d98d9fd15 [2021-10-14T13:39:59.730Z] ---> 909ef816826f [2021-10-14T13:39:59.730Z] Step 16/25 : FROM ${BASE} [2021-10-14T13:39:59.731Z] ---> a4e04833b611 [2021-10-14T13:39:59.731Z] Step 17/25 : LABEL maintainer="IOTech " [2021-10-14T13:39:59.731Z] ---> Running in 6b98abfc5029 [2021-10-14T13:39:59.731Z] Removing intermediate container 6b98abfc5029 [2021-10-14T13:39:59.731Z] ---> 55476af0bac5 [2021-10-14T13:39:59.731Z] Step 18/25 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2021-10-14T13:39:59.731Z] ---> Running in 555cebd77cd8 [2021-10-14T13:39:59.993Z] Connecting to iotech.jfrog.io (54.72.115.12:443) [2021-10-14T13:40:00.567Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2021-10-14T13:40:00.567Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2021-10-14T13:40:00.567Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2021-10-14T13:40:00.567Z] Removing intermediate container 555cebd77cd8 [2021-10-14T13:40:00.567Z] ---> bf68506acc16 [2021-10-14T13:40:00.567Z] Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories [2021-10-14T13:40:00.567Z] ---> Running in d6e2c518e8ab [2021-10-14T13:40:01.140Z] Removing intermediate container d6e2c518e8ab [2021-10-14T13:40:01.140Z] ---> 2240444310d1 [2021-10-14T13:40:01.140Z] Step 20/25 : 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-10-14T13:40:01.140Z] ---> Running in 2df8d2804d96 [2021-10-14T13:40:01.404Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-14T13:40:02.349Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-14T13:40:02.610Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-14T13:40:02.873Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2021-10-14T13:40:02.873Z] (1/7) Installing curl (7.79.1-r0) [2021-10-14T13:40:03.134Z] (2/7) Installing hiredis (1.0.0-r0) [2021-10-14T13:40:03.134Z] (3/7) Installing hiredis-dev (1.0.0-r0) [2021-10-14T13:40:03.397Z] (4/7) Installing libuuid (2.37-r0) [2021-10-14T13:40:03.397Z] (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) [2021-10-14T13:40:04.348Z] (6/7) Installing libidn2 (2.3.1-r0) [2021-10-14T13:40:04.348Z] (7/7) Installing wget (1.21.1-r1) [2021-10-14T13:40:04.348Z] Executing busybox-1.33.1-r3.trigger [2021-10-14T13:40:04.608Z] OK: 282 MiB in 84 packages [2021-10-14T13:40:04.872Z] Removing intermediate container 2df8d2804d96 [2021-10-14T13:40:04.872Z] ---> 2bd130fd750b [2021-10-14T13:40:04.872Z] Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2021-10-14T13:40:04.872Z] ---> ed1b8e403583 [2021-10-14T13:40:04.872Z] Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2021-10-14T13:40:05.136Z] ---> 88962da49012 [2021-10-14T13:40:05.136Z] Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib [2021-10-14T13:40:05.399Z] ---> 8480b265038b [2021-10-14T13:40:05.399Z] Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 [2021-10-14T13:40:05.399Z] COPY failed: stat usr/local/lib64: file does not exist [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-14T13:40:06.654Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T13:40:06.654Z] [2021-10-14T13:40:06.654Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T13:40:06.997Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T13:40:06.997Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-14T13:40:06.997Z] b4d181a07f80: Pulling fs layer [2021-10-14T13:40:06.997Z] a1111a8f2ec3: Pulling fs layer [2021-10-14T13:40:06.997Z] ed53099fbce6: Pulling fs layer [2021-10-14T13:40:06.997Z] dc539afda2c1: Pulling fs layer [2021-10-14T13:40:06.998Z] 77bc0d833cb6: Pulling fs layer [2021-10-14T13:40:06.998Z] 9065ff56babe: Pulling fs layer [2021-10-14T13:40:06.998Z] d287ab97295c: Pulling fs layer [2021-10-14T13:40:06.998Z] dc539afda2c1: Waiting [2021-10-14T13:40:06.998Z] 77bc0d833cb6: Waiting [2021-10-14T13:40:06.998Z] 9065ff56babe: Waiting [2021-10-14T13:40:06.998Z] d287ab97295c: Waiting [2021-10-14T13:40:06.998Z] a1111a8f2ec3: Verifying Checksum [2021-10-14T13:40:06.998Z] a1111a8f2ec3: Download complete [2021-10-14T13:40:06.998Z] dc539afda2c1: Verifying Checksum [2021-10-14T13:40:06.998Z] dc539afda2c1: Download complete [2021-10-14T13:40:07.266Z] ed53099fbce6: Verifying Checksum [2021-10-14T13:40:07.266Z] ed53099fbce6: Download complete [2021-10-14T13:40:07.266Z] 9065ff56babe: Verifying Checksum [2021-10-14T13:40:07.266Z] 9065ff56babe: Download complete [2021-10-14T13:40:07.266Z] 77bc0d833cb6: Verifying Checksum [2021-10-14T13:40:07.266Z] 77bc0d833cb6: Download complete [2021-10-14T13:40:07.266Z] b4d181a07f80: Verifying Checksum [2021-10-14T13:40:07.266Z] b4d181a07f80: Download complete [2021-10-14T13:40:08.221Z] d287ab97295c: Verifying Checksum [2021-10-14T13:40:08.221Z] d287ab97295c: Download complete [2021-10-14T13:40:08.805Z] b4d181a07f80: Pull complete [2021-10-14T13:40:09.067Z] a1111a8f2ec3: Pull complete [2021-10-14T13:40:09.644Z] ed53099fbce6: Pull complete [2021-10-14T13:40:09.644Z] dc539afda2c1: Pull complete [2021-10-14T13:40:10.224Z] 77bc0d833cb6: Pull complete [2021-10-14T13:40:10.224Z] 9065ff56babe: Pull complete [2021-10-14T13:40:15.560Z] d287ab97295c: Pull complete [2021-10-14T13:40:15.560Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-14T13:40:15.560Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T13:40:15.560Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-14T13:40:15.659Z] prd-centos7-docker-4c-2g-1406 does not seem to be running inside a container [2021-10-14T13:40:15.697Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-14T13:40:17.754Z] $ docker top cdc068805428ed7864e75eb7c4459e22d460c9acec90d8d55582719c5e2e4e5f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T13:40:18.194Z] ---> job-cost.sh [2021-10-14T13:40:18.194Z] lf-activate-venv: SKIPPING [2021-10-14T13:40:18.194Z] INFO: No Stack... [2021-10-14T13:40:44.799Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-14T13:40:44.799Z] INFO: Archiving Costs [Pipeline] sh [2021-10-14T13:40:45.112Z] + cat /w/workspace/device-sdk-c/1/archives/cost.csv [2021-10-14T13:40:45.113Z] + cut -d, -f6 [Pipeline] lock [2021-10-14T13:40:45.159Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-382-1-stack-cost] [2021-10-14T13:40:45.164Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-382-1-stack-cost] did not exist. Created. [2021-10-14T13:40:45.164Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-382-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-14T13:40:45.535Z] /w/workspace/device-sdk-c/1@tmp/durable-65ae87a7/script.sh: 1: /w/workspace/device-sdk-c/1@tmp/durable-65ae87a7/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-14T13:40:45.865Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-14T13:40:45.891Z] Warning: overwriting stash ‘stack-cost’ [2021-10-14T13:40:46.072Z] Stashed 1 file(s) [Pipeline] } [2021-10-14T13:40:46.086Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-382-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-14T13:40:46.144Z] $ docker stop --time=1 cdc068805428ed7864e75eb7c4459e22d460c9acec90d8d55582719c5e2e4e5f [2021-10-14T13:40:47.291Z] $ docker rm -f cdc068805428ed7864e75eb7c4459e22d460c9acec90d8d55582719c5e2e4e5f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-14T13:40:47.860Z] Failed in branch amd64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-10-14T13:40:49.118Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-c_PR-382/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-14T13:40:49.453Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T13:40:50.041Z] ---> package-listing.sh [2021-10-14T13:40:50.041Z] ++ facter osfamily [2021-10-14T13:40:50.041Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-14T13:40:50.321Z] + OS_FAMILY=redhat [2021-10-14T13:40:50.321Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-382 [2021-10-14T13:40:50.321Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-14T13:40:50.321Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-14T13:40:50.321Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-14T13:40:50.321Z] + PACKAGES=/tmp/packages_start.txt [2021-10-14T13:40:50.321Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-382 ']' [2021-10-14T13:40:50.321Z] + PACKAGES=/tmp/packages_end.txt [2021-10-14T13:40:50.321Z] + case "${OS_FAMILY}" in [2021-10-14T13:40:50.321Z] + sort [2021-10-14T13:40:50.321Z] + rpm -qa [2021-10-14T13:40:50.897Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-14T13:40:50.897Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-14T13:40:50.897Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-14T13:40:50.897Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-382 ']' [2021-10-14T13:40:50.897Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-382/archives/ [2021-10-14T13:40:50.897Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-382/archives/ [Pipeline] echo [2021-10-14T13:40:50.919Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-382/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-10-14T13:40:51.214Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-14T13:40:51.800Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T13:40:51.800Z] [2021-10-14T13:40:51.800Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T13:40:52.135Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T13:40:52.136Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-14T13:40:52.136Z] b4d181a07f80: Pulling fs layer [2021-10-14T13:40:52.136Z] a1111a8f2ec3: Pulling fs layer [2021-10-14T13:40:52.136Z] ed53099fbce6: Pulling fs layer [2021-10-14T13:40:52.136Z] dc539afda2c1: Pulling fs layer [2021-10-14T13:40:52.136Z] 77bc0d833cb6: Pulling fs layer [2021-10-14T13:40:52.136Z] 9065ff56babe: Pulling fs layer [2021-10-14T13:40:52.136Z] d287ab97295c: Pulling fs layer [2021-10-14T13:40:52.136Z] dc539afda2c1: Waiting [2021-10-14T13:40:52.136Z] 77bc0d833cb6: Waiting [2021-10-14T13:40:52.136Z] 9065ff56babe: Waiting [2021-10-14T13:40:52.136Z] d287ab97295c: Waiting [2021-10-14T13:40:52.136Z] a1111a8f2ec3: Verifying Checksum [2021-10-14T13:40:52.136Z] a1111a8f2ec3: Download complete [2021-10-14T13:40:52.136Z] dc539afda2c1: Verifying Checksum [2021-10-14T13:40:52.136Z] dc539afda2c1: Download complete [2021-10-14T13:40:52.401Z] ed53099fbce6: Verifying Checksum [2021-10-14T13:40:52.401Z] ed53099fbce6: Download complete [2021-10-14T13:40:52.401Z] 77bc0d833cb6: Verifying Checksum [2021-10-14T13:40:52.401Z] 77bc0d833cb6: Download complete [2021-10-14T13:40:52.401Z] 9065ff56babe: Verifying Checksum [2021-10-14T13:40:52.401Z] 9065ff56babe: Download complete [2021-10-14T13:40:52.401Z] b4d181a07f80: Download complete [2021-10-14T13:40:53.001Z] d287ab97295c: Verifying Checksum [2021-10-14T13:40:53.001Z] d287ab97295c: Download complete [2021-10-14T13:40:53.961Z] b4d181a07f80: Pull complete [2021-10-14T13:40:54.238Z] a1111a8f2ec3: Pull complete [2021-10-14T13:40:54.824Z] ed53099fbce6: Pull complete [2021-10-14T13:40:54.824Z] dc539afda2c1: Pull complete [2021-10-14T13:40:55.087Z] 77bc0d833cb6: Pull complete [2021-10-14T13:40:55.087Z] 9065ff56babe: Pull complete [2021-10-14T13:41:00.407Z] d287ab97295c: Pull complete [2021-10-14T13:41:00.407Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-14T13:41:00.407Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T13:41:00.407Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-14T13:41:00.492Z] prd-centos7-docker-4c-2g-1404 does not seem to be running inside a container [2021-10-14T13:41:00.529Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-382/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-382 -v /w/workspace/edgexfoundry_device-sdk-c_PR-382:/w/workspace/edgexfoundry_device-sdk-c_PR-382:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-382@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-382@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-14T13:41:03.621Z] $ docker top 09d4b83d1f42547e9f523c24e36ade66bb0447c2d63cf0102a01f5d5910c3ae4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-14T13:41:04.022Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-14T13:41:04.330Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-14T13:41:04.640Z] + ls /var/log/sa-host [2021-10-14T13:41:04.641Z] + sadf -c /var/log/sa-host/sa14 [2021-10-14T13:41:04.641Z] file_magic: OK [2021-10-14T13:41:04.641Z] HZ: Using current value: 100 [2021-10-14T13:41:04.641Z] file_header: OK [2021-10-14T13:41:04.641Z] 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-10-14T13:41:04.641Z] Statistics: [2021-10-14T13:41:04.641Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-14T13:41:04.641Z] File successfully converted to sysstat format version 12.0.3 [2021-10-14T13:41:04.641Z] + sadf -c /var/log/sa-host/sa30 [2021-10-14T13:41:04.641Z] file_magic: OK [2021-10-14T13:41:04.641Z] HZ: Using current value: 100 [2021-10-14T13:41:04.641Z] file_header: OK [2021-10-14T13:41:04.641Z] 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-10-14T13:41:04.641Z] Statistics: [2021-10-14T13:41:04.641Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-14T13:41:04.641Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T13:41:04.920Z] provisioning config files... [2021-10-14T13:41:04.933Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-382@tmp/config7830609681578424943tmp [Pipeline] { [Pipeline] echo [2021-10-14T13:41:04.969Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T13:41:05.289Z] ---> create-netrc.sh [Pipeline] } [2021-10-14T13:41:05.309Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-14T13:41:05.699Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-14T13:41:05.724Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T13:41:06.044Z] ---> sudo-logs.sh [2021-10-14T13:41:06.044Z] Archiving 'sudo' log.. [2021-10-14T13:41:06.044Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1404.novalocal: Name or service not known [2021-10-14T13:41:06.044Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1404.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-14T13:41:06.107Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T13:41:06.432Z] ---> job-cost.sh [2021-10-14T13:41:06.432Z] lf-activate-venv: SKIPPING [2021-10-14T13:41:06.432Z] DEBUG: total: 0.05999999865889549 [2021-10-14T13:41:06.432Z] INFO: Retrieving Stack Cost... [2021-10-14T13:41:14.586Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-14T13:41:15.158Z] INFO: Archiving Costs [Pipeline] echo [2021-10-14T13:41:15.192Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T13:41:15.514Z] ---> logs-deploy.sh [2021-10-14T13:41:15.514Z] lf-activate-venv: SKIPPING [2021-10-14T13:41:15.514Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-382/1 [2021-10-14T13:41:15.514Z] INFO: archiving workspace using pattern(s): [2021-10-14T13:41:16.084Z] Archives upload complete. [2021-10-14T13:41:16.344Z] INFO: archiving logs to Nexus