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 13:34:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:34:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:34:15 ========================================================= 13:34:15 EdgeX Global Pipelines Version Info 13:34:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:34:16 ------------------- 13:34:16 stable info: 13:34:16 ------------------- 13:34:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:34:16 Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 13:34:16 Message: update stable to v1.0.210 13:34:17 ------------------- 13:34:17 experimental info: 13:34:17 ------------------- 13:34:17 Commited By: **** collab-it+edgex@linuxfoundation.org 13:34:17 Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 13:34:17 Message: update experimental to v1.0.210 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:34:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 13:34:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 13:34:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:34:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:34:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:34:17 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo 13:34:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 13:34:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 13:34:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:34:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:34:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 13:34:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:34:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:34:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:34:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 13:34:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:34:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:34:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:34:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-382 [Pipeline] echo 13:34:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-382 [Pipeline] echo 13:34:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-382 [Pipeline] echo 13:34:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f03c50308885a995362517539d634d306aa31a75 [Pipeline] echo 13:34:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f03c503 [Pipeline] echo 13:34:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:34:18 provisioning config files... 13:34:18 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-382@tmp/config5818944412113407831tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:34:18 ---> docker-login.sh 13:34:18 nexus3.edgexfoundry.org:10001 13:34:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:34:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:34:19 Configure a credential helper to remove this warning. See 13:34:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:34:19 13:34:19 Login Succeeded 13:34:19 nexus3.edgexfoundry.org:10002 13:34:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:34:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:34:19 Configure a credential helper to remove this warning. See 13:34:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:34:19 13:34:19 Login Succeeded 13:34:19 nexus3.edgexfoundry.org:10003 13:34:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:34:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:34:19 Configure a credential helper to remove this warning. See 13:34:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:34:19 13:34:19 Login Succeeded 13:34:19 nexus3.edgexfoundry.org:10004 13:34:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:34:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:34:19 Configure a credential helper to remove this warning. See 13:34:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:34:19 13:34:19 Login Succeeded 13:34:19 docker.io 13:34:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:34:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:34:19 Configure a credential helper to remove this warning. See 13:34:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:34:19 13:34:19 Login Succeeded 13:34:19 ---> docker-login.sh ends [Pipeline] } 13:34:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 13:34:20 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:34:20 13:34:20 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 13:34:21 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:34:21 latest: Pulling from edgex-devops/git-semver 13:34:21 a0d0a0d46f8b: Pulling fs layer 13:34:21 3e5f54012d9b: Pulling fs layer 13:34:21 4c7163046ea9: Pulling fs layer 13:34:21 0c2d73faf560: Pulling fs layer 13:34:21 0c2d73faf560: Waiting 13:34:21 3e5f54012d9b: Verifying Checksum 13:34:21 3e5f54012d9b: Download complete 13:34:21 a0d0a0d46f8b: Verifying Checksum 13:34:21 a0d0a0d46f8b: Download complete 13:34:21 0c2d73faf560: Verifying Checksum 13:34:21 0c2d73faf560: Download complete 13:34:21 4c7163046ea9: Verifying Checksum 13:34:21 4c7163046ea9: Download complete 13:34:21 a0d0a0d46f8b: Pull complete 13:34:21 3e5f54012d9b: Pull complete 13:34:22 4c7163046ea9: Pull complete 13:34:22 0c2d73faf560: Pull complete 13:34:22 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 13:34:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:34:22 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 13:34:22 prd-centos7-docker-4c-2g-1404 does not seem to be running inside a container 13:34:22 $ 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 13:34:22 $ docker top 3e9dad9b738f11e151ac082adc332c8a150c6cc0599b97c6949aaf6c4d6968df -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:34:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:34:23 [ssh-agent] Looking for ssh-agent implementation... 13:34:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:34:23 $ docker exec 3e9dad9b738f11e151ac082adc332c8a150c6cc0599b97c6949aaf6c4d6968df ssh-agent 13:34:23 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCffaIP/agent.14 13:34:23 SSH_AGENT_PID=20 13:34:23 Running ssh-add (command line suppressed) 13:34:23 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) 13:34:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:34:23 + git tag --points-at HEAD [Pipeline] } 13:34:23 $ docker exec --env ******** --env ******** 3e9dad9b738f11e151ac082adc332c8a150c6cc0599b97c6949aaf6c4d6968df ssh-agent -k 13:34:23 unset SSH_AUTH_SOCK; 13:34:23 unset SSH_AGENT_PID; 13:34:23 echo Agent pid 20 killed; 13:34:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:34:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:34:24 [ssh-agent] Looking for ssh-agent implementation... 13:34:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:34:24 $ docker exec 3e9dad9b738f11e151ac082adc332c8a150c6cc0599b97c6949aaf6c4d6968df ssh-agent 13:34:24 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPbNdaK/agent.53 13:34:24 SSH_AGENT_PID=59 13:34:24 Running ssh-add (command line suppressed) 13:34:24 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) 13:34:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:34:24 + git semver init 13:34:24 # -> Open(): unable to determine branch for HEAD 13:34:24 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-382/.git 13:34:24 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-382 13:34:24 # $SEMVER_REMOTE_NAME = origin 13:34:24 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 13:34:24 # $SEMVER_USER_NAME = edgex-jenkins 13:34:24 # $SEMVER_BRANCH = PR-382 13:34:24 # $SEMVER_TEMP = /tmp/semver-148848010 13:34:24 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 13:34:25 # '/tmp/semver-148848010' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-382/.semver' 13:34:25 # -> Force: false 13:34:25 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-382/.semver [Pipeline] } 13:34:25 $ docker exec --env ******** --env ******** 3e9dad9b738f11e151ac082adc332c8a150c6cc0599b97c6949aaf6c4d6968df ssh-agent -k 13:34:25 unset SSH_AUTH_SOCK; 13:34:25 unset SSH_AGENT_PID; 13:34:25 echo Agent pid 59 killed; 13:34:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:34:26 + git semver [Pipeline] } 13:34:26 $ docker stop --time=1 3e9dad9b738f11e151ac082adc332c8a150c6cc0599b97c6949aaf6c4d6968df 13:34:27 $ docker rm -f 3e9dad9b738f11e151ac082adc332c8a150c6cc0599b97c6949aaf6c4d6968df [Pipeline] // withDockerContainer [Pipeline] sh 13:34:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:34:28 Stashed 1 file(s) [Pipeline] echo 13:34:28 [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 13:34:28 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1393 in /w/workspace/edgexfoundry_device-sdk-c_PR-382 [Pipeline] { [Pipeline] ws 13:34:28 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 13:34:28 Selected Git installation does not exist. Using Default 13:34:28 The recommended git tool is: NONE 13:34:33 using credential edgex-jenkins-ssh 13:34:33 Cloning the remote Git repository 13:34:33 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 13:34:34 > git init /w/workspace/device-sdk-c/1 # timeout=10 13:34:34 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 13:34:34 > git --version # timeout=10 13:34:34 > git --version # 'git version 2.17.1' 13:34:34 using GIT_SSH to set credentials SSH Credentials for GitHub 13:34:34 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:34:35 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 13:34:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:34:35 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 13:34:35 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 13:34:35 using GIT_SSH to set credentials SSH Credentials for GitHub 13:34:35 > 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 13:34:36 Merging remotes/origin/main commit b33a799834278c94191ed5db2afedc6f631595ea into PR head commit f03c50308885a995362517539d634d306aa31a75 13:34:36 Merge succeeded, producing f03c50308885a995362517539d634d306aa31a75 13:34:36 Checking out Revision f03c50308885a995362517539d634d306aa31a75 (PR-382) 13:34:36 > git config core.sparsecheckout # timeout=10 13:34:36 > git checkout -f f03c50308885a995362517539d634d306aa31a75 # timeout=10 13:34:36 > git remote # timeout=10 13:34:36 > git config --get remote.origin.url # timeout=10 13:34:36 using GIT_SSH to set credentials SSH Credentials for GitHub 13:34:36 > git merge b33a799834278c94191ed5db2afedc6f631595ea # timeout=10 13:34:36 > git rev-parse HEAD^{commit} # timeout=10 13:34:36 > git config core.sparsecheckout # timeout=10 13:34:36 > git checkout -f f03c50308885a995362517539d634d306aa31a75 # timeout=10 13:34:41 Commit message: "fix: stop device autoevents before releasing memory refac: eliminate recursion from dup/free list functions" 13:34:41 > git --version # timeout=10 13:34:41 > git --version # 'git version 2.17.1' 13:34:41 fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:34:42 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:34:42 % Total % Received % Xferd Average Speed Time Time Time Current 13:34:42 Dload Upload Total Spent Left Speed 13:34:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 78826 0 --:--:-- --:--:-- --:--:-- 79355 [Pipeline] sh 13:34:42 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:34:43 + + sudo tee /etc/docker/daemon.newsudo 13:34:43 jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:34:43 { 13:34:43 "registry-mirrors": [ 13:34:43 "https://nexus3.edgexfoundry.org:10001" 13:34:43 ], 13:34:43 "bip": "10.250.0.254/24", 13:34:43 "hosts": [ 13:34:43 "tcp://0.0.0.0:5555", 13:34:43 "unix:///var/run/docker.sock" 13:34:43 ], 13:34:43 "mtu": 1458, 13:34:43 "selinux-enabled": true, 13:34:43 "seccomp-profile": "/etc/docker/seccomp.json" 13:34:43 } [Pipeline] sh 13:34:43 Still waiting to schedule task 13:34:43 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1404’ 13:34:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:34:43 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:35:02 provisioning config files... 13:35:02 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config4017106279312581831tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:35:02 ---> docker-login.sh 13:35:02 nexus3.edgexfoundry.org:10001 13:35:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:35:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:35:05 Configure a credential helper to remove this warning. See 13:35:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:35:05 13:35:05 Login Succeeded 13:35:05 nexus3.edgexfoundry.org:10002 13:35:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:35:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:35:05 Configure a credential helper to remove this warning. See 13:35:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:35:05 13:35:05 Login Succeeded 13:35:05 nexus3.edgexfoundry.org:10003 13:35:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:35:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:35:06 Configure a credential helper to remove this warning. See 13:35:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:35:06 13:35:06 Login Succeeded 13:35:06 nexus3.edgexfoundry.org:10004 13:35:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:35:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:35:06 Configure a credential helper to remove this warning. See 13:35:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:35:06 13:35:06 Login Succeeded 13:35:06 docker.io 13:35:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:35:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:35:07 Configure a credential helper to remove this warning. See 13:35:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:35:07 13:35:07 Login Succeeded 13:35:07 ---> docker-login.sh ends [Pipeline] } 13:35:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:35:08 ========================================================= 13:35:08 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 13:35:08 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 13:35:08 + 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 . 13:35:09 Sending build context to Docker daemon 2.733MB 13:35:09 Step 1/25 : ARG BASE=alpine:3.14 13:35:09 Step 2/25 : FROM ${BASE} as builder 13:35:09 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 13:35:09 552d1f2373af: Pulling fs layer 13:35:09 f2be2b6548c6: Pulling fs layer 13:35:09 ee4ac2fe028c: Pulling fs layer 13:35:09 f2be2b6548c6: Verifying Checksum 13:35:09 f2be2b6548c6: Download complete 13:35:09 552d1f2373af: Verifying Checksum 13:35:09 552d1f2373af: Download complete 13:35:10 552d1f2373af: Pull complete 13:35:10 f2be2b6548c6: Pull complete 13:35:11 ee4ac2fe028c: Verifying Checksum 13:35:11 ee4ac2fe028c: Download complete 13:35:19 ee4ac2fe028c: Pull complete 13:35:19 Digest: sha256:4c85ded81933cf54d6808eb239bc3fea8e3bb42c9130537b51c88bfc6b01a02b 13:35:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 13:35:19 ---> b6d714ea7bf2 13:35:19 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 13:35:21 ---> Running in b6e072b98060 13:35:23 Connecting to iotech.jfrog.io (54.229.110.245:443) 13:35:23 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 13:35:23 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 13:35:23 '/etc/apk/keys/alpine.dev.rsa.pub' saved 13:35:25 Removing intermediate container b6e072b98060 13:35:25 ---> ecd104ba8d26 13:35:25 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 13:35:25 ---> Running in 3a5a2d37e4f2 13:35:27 Removing intermediate container 3a5a2d37e4f2 13:35:27 ---> 2d2d4493cdc8 13:35:27 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 13:35:27 ---> Running in c33feaa756b4 13:35:28 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 13:35:29 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 13:35:29 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz 13:35:30 WARNING: This apk-tools is OLD! Some packages might not function properly. 13:35:30 (1/27) Installing hiredis (1.0.0-r0) 13:35:30 (2/27) Installing hiredis-dev (1.0.0-r0) 13:35:30 (3/27) Installing ncurses-dev (6.2_p20210612-r0) 13:35:31 (4/27) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 13:35:32 (5/27) Installing libblkid (2.37-r0) 13:35:32 (6/27) Installing blkid (2.37-r0) 13:35:32 (7/27) Installing libcap-ng (0.8.2-r0) 13:35:32 (8/27) Installing setpriv (2.37-r0) 13:35:32 (9/27) Installing libmount (2.37-r0) 13:35:32 (10/27) Installing libsmartcols (2.37-r0) 13:35:32 (11/27) Installing findmnt (2.37-r0) 13:35:32 (12/27) Installing mcookie (2.37-r0) 13:35:32 (13/27) Installing hexdump (2.37-r0) 13:35:33 (14/27) Installing lsblk (2.37-r0) 13:35:33 (15/27) Installing libuuid (2.37-r0) 13:35:33 (16/27) Installing libfdisk (2.37-r0) 13:35:33 (17/27) Installing sfdisk (2.37-r0) 13:35:33 (18/27) Installing cfdisk (2.37-r0) 13:35:33 (19/27) Installing partx (2.37-r0) 13:35:33 (20/27) Installing flock (2.37-r0) 13:35:33 (21/27) Installing logger (2.37-r0) 13:35:34 (22/27) Installing uuidgen (2.37-r0) 13:35:34 (23/27) Installing libeconf (0.3.8-r1) 13:35:34 (24/27) Installing util-linux (2.37-r0) 13:35:34 (25/27) Installing util-linux-dev (2.37-r0) 13:35:34 (26/27) Installing libidn2 (2.3.1-r0) 13:35:34 (27/27) Installing wget (1.21.1-r1) 13:35:34 Executing busybox-1.33.1-r3.trigger 13:35:34 OK: 286 MiB in 104 packages 13:35:36 Removing intermediate container c33feaa756b4 13:35:36 ---> 8e97c8f833e2 13:35:36 Step 6/25 : ENV CBOR_VERSION=0.5.0 13:35:36 ---> Running in 32bfc56194fe 13:35:37 Removing intermediate container 32bfc56194fe 13:35:37 ---> 40eeee63ecca 13:35:37 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 13:35:37 ---> Running in 61dc541b0bec 13:35:38 --2021-10-14 13:35:38-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 13:35:38 Resolving github.com (github.com)... 140.82.113.4 13:35:38 Connecting to github.com (github.com)|140.82.113.4|:443... connected. 13:35:38 HTTP request sent, awaiting response... 302 Found 13:35:38 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 13:35:38 --2021-10-14 13:35:38-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 13:35:38 Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 13:35:38 Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. 13:35:38 HTTP request sent, awaiting response... 200 OK 13:35:38 Length: unspecified [application/x-gzip] 13:35:38 Saving to: 'STDOUT' 13:35:38  13:35:38 0K .......... .......... .......... .......... .......... 954K 13:35:38 50K .......... .......... .......... .......... .......... 2.00M 13:35:38 100K .......... .......... .......... .......... .......... 17.5M 13:35:38 150K .......... .......... .......... .......... .......... 2.02M 13:35:38 200K .......... .......... .......... .......... .......... 18.2M 13:35:38 250K .......... .......... .......... .......... .......... 3.32M 13:35:38 300K .......... .......... .......... .......... .......... 4.05M 13:35:38 350K .......... .......... .......... .......... .......... 4.88M 13:35:39 400K .......... .......... .......... .......... .......... 3.84M 13:35:39 450K .......... .......... .......... .......... .......... 7.65M 13:35:39 500K .......... .......... .......... .......... .......... 5.82M 13:35:39 550K .......... .......... .......... .......... .......... 5.24M 13:35:39 600K .......... .......... .......... .......... .......... 853K 13:35:39 650K .......... .......... .......... .......... .......... 2.89M 13:35:39 700K ..  4.63T=0.3s 13:35:39 13:35:39 2021-10-14 13:35:39 (2.68 MB/s) - written to stdout [719348] 13:35:39 13:35:39 -- The C compiler identification is GNU 10.3.1 13:35:39 -- The CXX compiler identification is GNU 10.3.1 13:35:39 -- Detecting C compiler ABI info 13:35:40 -- Detecting C compiler ABI info - done 13:35:40 -- Check for working C compiler: /usr/bin/cc - skipped 13:35:40 -- Detecting C compile features 13:35:40 -- Detecting C compile features - done 13:35:40 -- Detecting CXX compiler ABI info 13:35:40 -- Detecting CXX compiler ABI info - done 13:35:40 -- Check for working CXX compiler: /usr/bin/c++ - skipped 13:35:40 -- Detecting CXX compile features 13:35:40 -- Detecting CXX compile features - done 13:35:40 -- Looking for include file endian.h 13:35:40 -- Looking for include file endian.h - found 13:35:40 -- Looking for sys/types.h 13:35:41 -- Looking for sys/types.h - found 13:35:41 -- Looking for stdint.h 13:35:41 -- Looking for stdint.h - found 13:35:41 -- Looking for stddef.h 13:35:41 -- Looking for stddef.h - found 13:35:41 -- Check size of size_t 13:35:42 -- Check size of size_t - done 13:35:42 CMake Warning at examples/CMakeLists.txt:16 (find_package): 13:35:42 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 13:35:42 asked CMake to find a package configuration file provided by "cJSON", but 13:35:42 CMake did not find one. 13:35:42 13:35:42 Could not find a package configuration file provided by "cJSON" with any of 13:35:42 the following names: 13:35:42 13:35:42 cJSONConfig.cmake 13:35:42 cjson-config.cmake 13:35:42 13:35:42 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 13:35:42 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 13:35:42 provides a separate development package or SDK, be sure it has been 13:35:42 installed. 13:35:42 13:35:42 13:35:42 -- Configuring done 13:35:42 -- Generating done 13:35:42 -- Build files have been written to: /tmp/cbor 13:35:42 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 13:35:43 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 13:35:43 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 13:35:44 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 13:35:45 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 13:35:45 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 13:35:45 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 13:35:45 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 13:35:45 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 13:35:46 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 13:35:46 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 13:35:47 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 13:35:47 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 13:35:48 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 13:35:48 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 13:35:48 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 13:35:48 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 13:35:49 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 13:35:49 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 13:35:50 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 13:35:50 [ 40%] Linking C shared library libcbor.so 13:35:50 [ 40%] Built target cbor_shared 13:35:50 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 13:35:51 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 13:35:52 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 13:35:52 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 13:35:54 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 13:35:54 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 13:35:54 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 13:35:54 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 13:35:55 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 13:35:55 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 13:35:56 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 13:35:56 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 13:35:57 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 13:35:57 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 13:35:58 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 13:35:58 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 13:35:58 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 13:35:59 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 13:35:59 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 13:35:59 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 13:35:59 [ 80%] Linking C static library libcbor.a 13:36:00 [ 80%] Built target cbor 13:36:00 [ 82%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 13:36:00 [ 84%] Linking C executable readfile 13:36:00 [ 84%] Built target readfile 13:36:00 [ 86%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 13:36:00 [ 88%] Linking C executable create_items 13:36:00 [ 88%] Built target create_items 13:36:00 [ 90%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 13:36:00 [ 92%] Linking C executable sort 13:36:01 [ 92%] Built target sort 13:36:01 [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 13:36:01 [ 96%] Linking C executable hello 13:36:01 [ 96%] Built target hello 13:36:01 [ 98%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 13:36:01 [100%] Linking C executable streaming_parser 13:36:01 [100%] Built target streaming_parser 13:36:02 Install the project... 13:36:02 -- Install configuration: "Release" 13:36:02 -- Installing: /usr/local/include/cbor/configuration.h 13:36:02 -- Installing: /usr/local/lib/libcbor.a 13:36:02 -- Installing: /usr/local/lib/libcbor.so.0.0.0 13:36:02 -- Installing: /usr/local/lib/libcbor.so.0 13:36:02 -- Installing: /usr/local/lib/libcbor.so 13:36:02 -- Up-to-date: /usr/local/include/cbor 13:36:02 -- Installing: /usr/local/include/cbor/streaming.h 13:36:02 -- Installing: /usr/local/include/cbor/ints.h 13:36:02 -- Installing: /usr/local/include/cbor/floats_ctrls.h 13:36:02 -- Installing: /usr/local/include/cbor/bytestrings.h 13:36:02 -- Installing: /usr/local/include/cbor/encoding.h 13:36:02 -- Installing: /usr/local/include/cbor/serialization.h 13:36:02 -- Installing: /usr/local/include/cbor/data.h 13:36:02 -- Installing: /usr/local/include/cbor/common.h 13:36:02 -- Installing: /usr/local/include/cbor/callbacks.h 13:36:02 -- Installing: /usr/local/include/cbor/strings.h 13:36:02 -- Installing: /usr/local/include/cbor/tags.h 13:36:02 -- Installing: /usr/local/include/cbor/internal 13:36:02 -- Installing: /usr/local/include/cbor/internal/encoders.h 13:36:02 -- Installing: /usr/local/include/cbor/internal/loaders.h 13:36:02 -- Installing: /usr/local/include/cbor/internal/stack.h 13:36:02 -- Installing: /usr/local/include/cbor/internal/unicode.h 13:36:02 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 13:36:02 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 13:36:02 -- Installing: /usr/local/include/cbor/arrays.h 13:36:02 -- Installing: /usr/local/include/cbor/maps.h 13:36:02 -- Installing: /usr/local/include/cbor.h 13:36:02 -- Installing: /usr/local/lib/pkgconfig/libcbor.pc 13:36:04 Removing intermediate container 61dc541b0bec 13:36:04 ---> ecc80de9c42e 13:36:04 Step 8/25 : RUN mkdir /tmp/sdk 13:36:04 ---> Running in 50a8194f21e7 13:36:06 Removing intermediate container 50a8194f21e7 13:36:06 ---> cd02c262ff48 13:36:06 Step 9/25 : COPY VERSION /tmp/sdk 13:36:07 ---> 73ba8685fea5 13:36:07 Step 10/25 : COPY src /tmp/sdk/src 13:36:08 ---> b9d374ea3370 13:36:08 Step 11/25 : COPY include /tmp/sdk/include 13:36:08 ---> 041964f34bcc 13:36:08 Step 12/25 : COPY scripts /tmp/sdk/scripts 13:36:09 ---> 3eed023090dd 13:36:09 Step 13/25 : COPY LICENSE /tmp/sdk 13:36:10 ---> 2ba9c5eb4ddc 13:36:10 Step 14/25 : COPY Attribution.txt /tmp/sdk 13:36:11 ---> 530b83db06e3 13:36:11 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 13:36:11 ---> Running in 84dcb51046b4 13:36:12 + CPPCHECK=false 13:36:12 + DOCGEN=false 13:36:12 + TOMLVER=SDK-0.2 13:36:12 + CUTILVER=1.2.2 13:36:12 + '[' 0 -gt 0 ] 13:36:12 + readlink -f ./scripts/build.sh 13:36:12 + dirname /tmp/sdk/scripts/build.sh 13:36:12 + dirname /tmp/sdk/scripts 13:36:12 + ROOT=/tmp/sdk 13:36:12 + cd /tmp/sdk 13:36:12 + '[' '!' -d deps ] 13:36:12 + mkdir deps 13:36:12 + + tarwget -C -O deps - -z https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 13:36:12 -x -f - 13:36:12 --2021-10-14 13:36:12-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 13:36:12 Resolving github.com (github.com)... 140.82.113.3 13:36:12 Connecting to github.com (github.com)|140.82.113.3|:443... connected. 13:36:12 HTTP request sent, awaiting response... 302 Found 13:36:12 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 13:36:12 --2021-10-14 13:36:12-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 13:36:12 Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 13:36:12 Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. 13:36:13 HTTP request sent, awaiting response... 200 OK 13:36:13 Length: unspecified [application/x-gzip] 13:36:13 Saving to: 'STDOUT' 13:36:13  13:36:13 0K .......... ......   815K=0.02s 13:36:13 13:36:13 2021-10-14 13:36:13 (815 KB/s) - written to stdout [16451] 13:36:13 13:36:13 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 13:36:13 + + tarwget -C -O deps - -z https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz -x 13:36:13 -f - 13:36:13 --2021-10-14 13:36:13-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 13:36:13 Resolving github.com (github.com)... 140.82.113.3 13:36:13 Connecting to github.com (github.com)|140.82.113.3|:443... connected. 13:36:13 HTTP request sent, awaiting response... 302 Found 13:36:13 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] 13:36:13 --2021-10-14 13:36:13-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 13:36:13 Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 13:36:13 Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. 13:36:13 HTTP request sent, awaiting response... 200 OK 13:36:13 Length: unspecified [application/x-gzip] 13:36:13 Saving to: 'STDOUT' 13:36:13  13:36:13 0K .......... .......... .......... .......... .......... 1.10M 13:36:13 50K .......... .......... .......... .......... .......... 2.13M 13:36:13 100K .......... .......... .......... .......... .......... 2.36M 13:36:13 150K .......... .......... .......... .........   3.18M=0.1s 13:36:13 13:36:13 2021-10-14 13:36:13 (1.85 MB/s) - written to stdout [193961] 13:36:13 13:36:13 + mkdir -p src/c/iot 13:36:13 + 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 13:36:13 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 13:36:13 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 13:36:13 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 13:36:13 + mkdir -p include/iot 13:36:13 + 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 13:36:13 + mkdir -p include/iot/os 13:36:13 + 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 13:36:13 + mkdir -p /tmp/sdk/build/release 13:36:13 + cd /tmp/sdk/build/release 13:36:13 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 13:36:14 -- The C compiler identification is GNU 10.3.1 13:36:14 -- Detecting C compiler ABI info 13:36:14 -- Detecting C compiler ABI info - done 13:36:14 -- Check for working C compiler: /usr/bin/cc - skipped 13:36:14 -- Detecting C compile features 13:36:14 -- Detecting C compile features - done 13:36:14 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:36:14 -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") 13:36:14 -- Found LIBYAML: /usr/lib/libyaml.so 13:36:14 -- Found LIBUUID: /usr/lib/libuuid.so 13:36:14 -- Found LIBCBOR: /usr/local/lib/libcbor.so 13:36:14 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 13:36:14 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 13:36:14 -- C SDK 0.0.0 for Linux 13:36:14 -- Performing Test CSDK_HAVE_ATOMIC 13:36:15 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:36:15 -- Found Curses: /usr/lib/libcurses.so 13:36:15 -- Configuring done 13:36:15 -- Generating done 13:36:15 -- Build files have been written to: /tmp/sdk/build/release 13:36:15 + tee release.log 13:36:15 + make all package 13:36:15 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:36:16 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 13:36:16 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 13:36:19 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 13:36:20 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 13:36:20 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 13:36:21 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 13:36:21 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 13:36:21 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 13:36:23 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 13:36:25 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 13:36:25 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:36:26 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 13:36:27 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 13:36:27 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 13:36:28 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 13:36:28 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 13:36:31 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 13:36:31 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 13:36:32 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 13:36:32 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 13:36:33 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 13:36:33 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 13:36:33 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 13:36:33 275 | const iot_component_factory_t * factory; 13:36:33 | ^~~~~~~ 13:36:33 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 13:36:39 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 13:36:39 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 13:36:39 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 13:36:39 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 13:36:40 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 13:36:40 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 13:36:42 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 13:36:42 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 13:36:43 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 13:36:44 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 13:36:44 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 13:36:46 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 13:36:47 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 13:36:48 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 13:36:48 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 13:36:53 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 13:36:53 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 13:36:54 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 13:36:55 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 13:36:55 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 13:36:55 /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] 13:36:55 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 13:36:55 | ^~~~~~~~~~~~~ 13:36:55 | | 13:36:55 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 13:36:55 In file included from /tmp/sdk/src/c/rest-server.c:21: 13:36:55 /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 *)' 13:36:55 2714 | MHD_KeyValueIterator iterator, 13:36:55 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 13:36:55 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 13:36:55 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 13:36:55 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 13:36:55 | ^~~~~~~~~~~~ 13:36:55 | | 13:36:55 | 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 **)} 13:36:55 In file included from /tmp/sdk/src/c/rest-server.c:21: 13:36:55 /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 **)'} 13:36:55 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 13:36:55 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 13:36:55 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 13:36:55 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 13:36:55 | ^~~~~~~~~~~~ 13:36:55 | | 13:36:55 | 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 **)} 13:36:55 In file included from /tmp/sdk/src/c/rest-server.c:21: 13:36:55 /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 **)'} 13:36:55 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 13:36:55 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 13:36:56 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 13:36:58 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 13:36:58 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 13:36:58 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 13:36:59 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 13:37:01 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 13:37:06 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 13:37:06 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 13:37:07 [ 76%] Linking C shared library libcsdk.so 13:37:07 [ 76%] Built target csdk 13:37:07 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 13:37:08 [ 79%] Linking C executable template 13:37:08 [ 79%] Built target template 13:37:08 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 13:37:08 [ 82%] Linking C executable device-counter 13:37:09 [ 82%] Built target device-counter 13:37:09 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 13:37:09 [ 85%] Linking C executable device-random 13:37:09 [ 85%] Built target device-random 13:37:10 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 13:37:10 [ 88%] Linking C executable device-gyro 13:37:10 [ 88%] Built target device-gyro 13:37:10 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 13:37:11 [ 91%] Linking C executable device-bitfields 13:37:11 [ 91%] Built target device-bitfields 13:37:11 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 13:37:12 [ 94%] Linking C executable template-discovery 13:37:12 [ 94%] Built target template-discovery 13:37:12 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 13:37:13 [ 97%] Linking C executable device-file 13:37:13 [ 97%] Built target device-file 13:37:13 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 13:37:14 [100%] Linking C executable device-terminal 13:37:14 [100%] Built target device-terminal 13:37:14 Run CPack packaging tool... 13:37:14 CPack: Create package using TGZ 13:37:14 CPack: Install projects 13:37:14 CPack: - Run preinstall target for: Csdk 13:37:15 CPack: - Install project: Csdk [] 13:37:15 CPack: Create package 13:37:15 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 13:37:15 + '[' false '=' true ] 13:37:15 + '[' false '=' true ] 13:37:15 + mkdir -p /tmp/sdk/build/debug 13:37:15 + cd /tmp/sdk/build/debug 13:37:15 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 13:37:15 -- The C compiler identification is GNU 10.3.1 13:37:15 -- Detecting C compiler ABI info 13:37:16 -- Detecting C compiler ABI info - done 13:37:16 -- Check for working C compiler: /usr/bin/cc - skipped 13:37:16 -- Detecting C compile features 13:37:16 -- Detecting C compile features - done 13:37:16 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:37:16 -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") 13:37:16 -- Found LIBYAML: /usr/lib/libyaml.so 13:37:16 -- Found LIBUUID: /usr/lib/libuuid.so 13:37:16 -- Found LIBCBOR: /usr/local/lib/libcbor.so 13:37:16 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 13:37:16 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 13:37:16 -- C SDK 0.0.0 for Linux 13:37:16 -- Performing Test CSDK_HAVE_ATOMIC 13:37:16 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:37:16 -- Found Curses: /usr/lib/libcurses.so 13:37:17 -- Configuring done 13:37:17 -- Generating done 13:37:17 -- Build files have been written to: /tmp/sdk/build/debug 13:37:17 + + maketee 13:37:17 debug.log 13:37:17 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:37:17 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 13:37:18 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 13:37:18 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 13:37:19 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 13:37:19 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 13:37:19 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 13:37:19 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 13:37:20 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 13:37:20 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 13:37:21 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 13:37:21 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:37:21 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 13:37:22 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 13:37:22 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 13:37:22 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 13:37:23 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 13:37:24 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 13:37:24 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 13:37:24 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 13:37:24 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 13:37:24 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 13:37:24 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 13:37:24 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 13:37:24 275 | const iot_component_factory_t * factory; 13:37:24 | ^~~~~~~ 13:37:25 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 13:37:26 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 13:37:26 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 13:37:26 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 13:37:27 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 13:37:27 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 13:37:27 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 13:37:28 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 13:37:28 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 13:37:28 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 13:37:28 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 13:37:28 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 13:37:29 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 13:37:29 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 13:37:30 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 13:37:30 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 13:37:31 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 13:37:31 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 13:37:31 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 13:37:32 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 13:37:32 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 13:37:32 /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] 13:37:32 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 13:37:32 | ^~~~~~~~~~~~~ 13:37:32 | | 13:37:32 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 13:37:32 In file included from /tmp/sdk/src/c/rest-server.c:21: 13:37:32 /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 *)' 13:37:32 2714 | MHD_KeyValueIterator iterator, 13:37:32 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 13:37:32 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 13:37:32 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 13:37:32 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 13:37:32 | ^~~~~~~~~~~~ 13:37:32 | | 13:37:32 | 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 **)} 13:37:32 In file included from /tmp/sdk/src/c/rest-server.c:21: 13:37:32 /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 **)'} 13:37:32 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 13:37:32 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 13:37:32 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 13:37:32 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 13:37:32 | ^~~~~~~~~~~~ 13:37:32 | | 13:37:32 | 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 **)} 13:37:32 In file included from /tmp/sdk/src/c/rest-server.c:21: 13:37:32 /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 **)'} 13:37:32 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 13:37:32 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 13:37:32 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 13:37:34 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 13:37:34 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 13:37:34 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 13:37:34 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 13:37:35 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 13:37:36 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 13:37:36 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 13:37:36 [ 76%] Linking C shared library libcsdk.so 13:37:37 [ 76%] Built target csdk 13:37:37 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 13:37:37 [ 79%] Linking C executable template 13:37:37 [ 79%] Built target template 13:37:37 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 13:37:37 [ 82%] Linking C executable device-counter 13:37:38 [ 82%] Built target device-counter 13:37:38 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 13:37:38 [ 85%] Linking C executable device-random 13:37:39 [ 85%] Built target device-random 13:37:39 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 13:37:39 [ 88%] Linking C executable device-gyro 13:37:39 [ 88%] Built target device-gyro 13:37:39 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 13:37:40 [ 91%] Linking C executable device-bitfields 13:37:40 [ 91%] Built target device-bitfields 13:37:40 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 13:37:40 [ 94%] Linking C executable template-discovery 13:37:40 [ 94%] Built target template-discovery 13:37:40 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 13:37:41 [ 97%] Linking C executable device-file 13:37:41 [ 97%] Built target device-file 13:37:41 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 13:37:42 [100%] Linking C executable device-terminal 13:37:42 [100%] Built target device-terminal 13:37:42 make: Entering directory '/tmp/sdk/build/release' 13:37:42 make[1]: Entering directory '/tmp/sdk/build/release' 13:37:42 make[2]: Entering directory '/tmp/sdk/build/release' 13:37:42 make[2]: Leaving directory '/tmp/sdk/build/release' 13:37:42 [ 76%] Built target csdk 13:37:42 make[2]: Entering directory '/tmp/sdk/build/release' 13:37:42 make[2]: Leaving directory '/tmp/sdk/build/release' 13:37:42 [ 79%] Built target template 13:37:42 make[2]: Entering directory '/tmp/sdk/build/release' 13:37:42 make[2]: Leaving directory '/tmp/sdk/build/release' 13:37:42 [ 82%] Built target device-counter 13:37:42 make[2]: Entering directory '/tmp/sdk/build/release' 13:37:42 make[2]: Leaving directory '/tmp/sdk/build/release' 13:37:42 [ 85%] Built target device-random 13:37:42 make[2]: Entering directory '/tmp/sdk/build/release' 13:37:42 make[2]: Leaving directory '/tmp/sdk/build/release' 13:37:42 [ 88%] Built target device-gyro 13:37:42 make[2]: Entering directory '/tmp/sdk/build/release' 13:37:42 make[2]: Leaving directory '/tmp/sdk/build/release' 13:37:42 [ 91%] Built target device-bitfields 13:37:42 make[2]: Entering directory '/tmp/sdk/build/release' 13:37:42 make[2]: Leaving directory '/tmp/sdk/build/release' 13:37:42 [ 94%] Built target template-discovery 13:37:42 make[2]: Entering directory '/tmp/sdk/build/release' 13:37:42 make[2]: Leaving directory '/tmp/sdk/build/release' 13:37:42 [ 97%] Built target device-file 13:37:42 make[2]: Entering directory '/tmp/sdk/build/release' 13:37:42 make[2]: Leaving directory '/tmp/sdk/build/release' 13:37:42 [100%] Built target device-terminal 13:37:42 make[1]: Leaving directory '/tmp/sdk/build/release' 13:37:42 Install the project... 13:37:42 -- Install configuration: "Release" 13:37:42 -- Installing: /usr/local/lib/libcsdk.so 13:37:42 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 13:37:42 -- Up-to-date: /usr/local/include 13:37:42 -- Installing: /usr/local/include/edgex 13:37:42 -- Installing: /usr/local/include/edgex/rest-server.h 13:37:42 -- Installing: /usr/local/include/edgex/edgex-base.h 13:37:42 -- Installing: /usr/local/include/edgex/edgex.h 13:37:42 -- Installing: /usr/local/include/edgex/devices.h 13:37:42 -- Installing: /usr/local/include/edgex/profiles.h 13:37:42 -- Installing: /usr/local/include/edgex/csdk-defs.h 13:37:42 -- Installing: /usr/local/include/devsdk 13:37:42 -- Installing: /usr/local/include/devsdk/devsdk-base.h 13:37:42 -- Installing: /usr/local/include/devsdk/devsdk.h 13:37:42 -- Installing: /usr/local/include/iot 13:37:42 -- Installing: /usr/local/include/iot/json.h 13:37:42 -- Installing: /usr/local/include/iot/container.h 13:37:42 -- Installing: /usr/local/include/iot/component.h 13:37:42 -- Installing: /usr/local/include/iot/typecode.h 13:37:42 -- Installing: /usr/local/include/iot/iot.h 13:37:42 -- Installing: /usr/local/include/iot/uuid.h 13:37:42 -- Installing: /usr/local/include/iot/time.h 13:37:42 -- Installing: /usr/local/include/iot/hash.h 13:37:42 -- Installing: /usr/local/include/iot/logger.h 13:37:42 -- Installing: /usr/local/include/iot/os 13:37:42 -- Installing: /usr/local/include/iot/os/zephyr.h 13:37:42 -- Installing: /usr/local/include/iot/os/linux.h 13:37:42 -- Installing: /usr/local/include/iot/os/macos.h 13:37:42 -- Installing: /usr/local/include/iot/scheduler.h 13:37:42 -- Installing: /usr/local/include/iot/data.h 13:37:42 -- Installing: /usr/local/include/iot/thread.h 13:37:42 -- Installing: /usr/local/include/iot/os.h 13:37:42 -- Installing: /usr/local/include/iot/base64.h 13:37:42 -- Installing: /usr/local/include/iot/defs.h 13:37:42 -- Installing: /usr/local/include/iot/threadpool.h 13:37:42 -- Installing: /usr/local/include/iot/config.h 13:37:42 -- Installing: /usr/local/share/device-sdk-c/LICENSE 13:37:42 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 13:37:42 make: Leaving directory '/tmp/sdk/build/release' 13:37:44 Removing intermediate container 84dcb51046b4 13:37:44 ---> 91c6efff32d4 13:37:44 Step 16/25 : FROM ${BASE} 13:37:44 ---> b6d714ea7bf2 13:37:44 Step 17/25 : LABEL maintainer="IOTech " 13:37:45 ---> Running in 93276a678f05 13:37:45 Removing intermediate container 93276a678f05 13:37:45 ---> 06e50dd2de1e 13:37:45 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 13:37:45 ---> Running in 1a2aa7341034 13:37:47 Connecting to iotech.jfrog.io (54.195.244.87:443) 13:37:47 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 13:37:47 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 13:37:47 '/etc/apk/keys/alpine.dev.rsa.pub' saved 13:37:48 Removing intermediate container 1a2aa7341034 13:37:48 ---> 436283e8d73b 13:37:48 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 13:37:48 ---> Running in c7739f3298fb 13:37:50 Removing intermediate container c7739f3298fb 13:37:50 ---> 692d3a0d1e19 13:37:50 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 13:37:50 ---> Running in e72fe1fd4318 13:37:52 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 13:37:53 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 13:37:53 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz 13:37:54 WARNING: This apk-tools is OLD! Some packages might not function properly. 13:37:54 (1/7) Installing curl (7.79.1-r0) 13:37:54 (2/7) Installing hiredis (1.0.0-r0) 13:37:54 (3/7) Installing hiredis-dev (1.0.0-r0) 13:37:54 (4/7) Installing libuuid (2.37-r0) 13:37:54 (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 13:37:55 (6/7) Installing libidn2 (2.3.1-r0) 13:37:55 (7/7) Installing wget (1.21.1-r1) 13:37:55 Executing busybox-1.33.1-r3.trigger 13:37:55 OK: 276 MiB in 84 packages 13:37:57 Removing intermediate container e72fe1fd4318 13:37:57 ---> 8095ec9a25f2 13:37:57 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 13:37:58 ---> 3f31f097fd74 13:37:58 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 13:37:59 ---> 0ea077a6049c 13:37:59 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 13:37:59 ---> 09d301172e3b 13:37:59 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 13:37:59 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 13:38:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:38:00 13:38:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 13:38:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:38:01 arm64: Pulling from edgex-lftools-log-publisher 13:38:01 448f6bf000e3: Pulling fs layer 13:38:01 f757da607395: Pulling fs layer 13:38:01 05883995daec: Pulling fs layer 13:38:01 8603b9c90790: Pulling fs layer 13:38:01 1560dd03e051: Pulling fs layer 13:38:01 27f5ce0e4adf: Pulling fs layer 13:38:01 c2d8d7efcc4b: Pulling fs layer 13:38:01 8603b9c90790: Waiting 13:38:01 1560dd03e051: Waiting 13:38:01 27f5ce0e4adf: Waiting 13:38:01 c2d8d7efcc4b: Waiting 13:38:01 f757da607395: Verifying Checksum 13:38:01 f757da607395: Download complete 13:38:01 8603b9c90790: Verifying Checksum 13:38:01 8603b9c90790: Download complete 13:38:01 05883995daec: Verifying Checksum 13:38:01 05883995daec: Download complete 13:38:01 1560dd03e051: Verifying Checksum 13:38:01 1560dd03e051: Download complete 13:38:01 27f5ce0e4adf: Verifying Checksum 13:38:01 27f5ce0e4adf: Download complete 13:38:02 448f6bf000e3: Download complete 13:38:04 c2d8d7efcc4b: Verifying Checksum 13:38:04 c2d8d7efcc4b: Download complete 13:38:06 448f6bf000e3: Pull complete 13:38:06 f757da607395: Pull complete 13:38:08 05883995daec: Pull complete 13:38:08 8603b9c90790: Pull complete 13:38:09 1560dd03e051: Pull complete 13:38:09 27f5ce0e4adf: Pull complete 13:38:25 c2d8d7efcc4b: Pull complete 13:38:25 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 13:38:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:38:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 13:38:25 prd-ubuntu18.04-docker-arm64-4c-16g-1393 does not seem to be running inside a container 13:38:25 $ 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 13:38:30 $ docker top 7a8853eb2069ca28ad51c6541851ababe1fe1186b8296f0c4d59a28b37db92bd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:38:31 ---> job-cost.sh 13:38:31 lf-activate-venv: SKIPPING 13:38:31 INFO: No Stack... 13:38:32 INFO: Retrieving Pricing Info for: v3-standard-4 13:38:32 INFO: Archiving Costs [Pipeline] sh 13:38:33 + cat /w/workspace/device-sdk-c/1/archives/cost.csv 13:38:33 + cut -d, -f6 [Pipeline] lock 13:38:33 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-382-1-stack-cost] 13:38:33 Resource [jenkins-edgexfoundry-device-sdk-c-PR-382-1-stack-cost] did not exist. Created. 13:38:33 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-382-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:38:34 + echo total: 0.550000011920929 [Pipeline] stash 13:38:34 Stashed 1 file(s) [Pipeline] } 13:38:34 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-382-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:38:34 $ docker stop --time=1 7a8853eb2069ca28ad51c6541851ababe1fe1186b8296f0c4d59a28b37db92bd 13:38:36 $ 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] } 13:38:37 Failed in branch arm64 13:39:08 Running on prd-centos7-docker-4c-2g-1406 in /w/workspace/edgexfoundry_device-sdk-c_PR-382 [Pipeline] { [Pipeline] ws 13:39:08 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 13:39:08 Selected Git installation does not exist. Using Default 13:39:08 The recommended git tool is: NONE 13:39:10 using credential edgex-jenkins-ssh 13:39:10 Cloning the remote Git repository 13:39:10 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 13:39:10 > git init /w/workspace/device-sdk-c/1 # timeout=10 13:39:10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 13:39:10 > git --version # timeout=10 13:39:10 > git --version # 'git version 2.24.4' 13:39:10 using GIT_SSH to set credentials SSH Credentials for GitHub 13:39:10 [INFO] Currently running in a labeled security context 13:39:10 [INFO] Currently SELinux is 'enforcing' on the host 13:39:10 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh7884339683465495499.key 13:39:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:39:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 13:39:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:39:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 13:39:11 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 13:39:11 using GIT_SSH to set credentials SSH Credentials for GitHub 13:39:11 [INFO] Currently running in a labeled security context 13:39:11 [INFO] Currently SELinux is 'enforcing' on the host 13:39:11 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh438576793607800673.key 13:39:11 > 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 13:39:12 Merging remotes/origin/main commit b33a799834278c94191ed5db2afedc6f631595ea into PR head commit f03c50308885a995362517539d634d306aa31a75 13:39:12 Merge succeeded, producing f03c50308885a995362517539d634d306aa31a75 13:39:12 Checking out Revision f03c50308885a995362517539d634d306aa31a75 (PR-382) 13:39:11 > git config core.sparsecheckout # timeout=10 13:39:11 > git checkout -f f03c50308885a995362517539d634d306aa31a75 # timeout=10 13:39:11 > git remote # timeout=10 13:39:11 > git config --get remote.origin.url # timeout=10 13:39:11 using GIT_SSH to set credentials SSH Credentials for GitHub 13:39:11 [INFO] Currently running in a labeled security context 13:39:11 [INFO] Currently SELinux is 'enforcing' on the host 13:39:11 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh2802994688908113466.key 13:39:11 > git merge b33a799834278c94191ed5db2afedc6f631595ea # timeout=10 13:39:11 > git rev-parse HEAD^{commit} # timeout=10 13:39:11 > git config core.sparsecheckout # timeout=10 13:39:11 > git checkout -f f03c50308885a995362517539d634d306aa31a75 # timeout=10 13:39:15 Commit message: "fix: stop device autoevents before releasing memory refac: eliminate recursion from dup/free list functions" 13:39:15 > git --version # timeout=10 13:39:15 > git --version # 'git version 2.24.4' 13:39:15 fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:39:16 provisioning config files... 13:39:16 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config7338282173698159477tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:39:17 ---> docker-login.sh 13:39:17 nexus3.edgexfoundry.org:10001 13:39:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:39:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:39:17 Configure a credential helper to remove this warning. See 13:39:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:39:17 13:39:17 Login Succeeded 13:39:17 nexus3.edgexfoundry.org:10002 13:39:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:39:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:39:17 Configure a credential helper to remove this warning. See 13:39:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:39:17 13:39:17 Login Succeeded 13:39:17 nexus3.edgexfoundry.org:10003 13:39:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:39:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:39:17 Configure a credential helper to remove this warning. See 13:39:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:39:17 13:39:17 Login Succeeded 13:39:17 nexus3.edgexfoundry.org:10004 13:39:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:39:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:39:17 Configure a credential helper to remove this warning. See 13:39:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:39:17 13:39:17 Login Succeeded 13:39:17 docker.io 13:39:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:39:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:39:18 Configure a credential helper to remove this warning. See 13:39:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:39:18 13:39:18 Login Succeeded 13:39:18 ---> docker-login.sh ends [Pipeline] } 13:39:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:39:18 ========================================================= 13:39:18 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 13:39:18 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 13:39:18 + 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 . 13:39:18 Sending build context to Docker daemon 2.734MB 13:39:18 Step 1/25 : ARG BASE=alpine:3.14 13:39:18 Step 2/25 : FROM ${BASE} as builder 13:39:19 latest: Pulling from edgex-devops/edgex-gcc-base 13:39:19 a0d0a0d46f8b: Pulling fs layer 13:39:19 39017ce70367: Pulling fs layer 13:39:19 dcf9283bb20a: Pulling fs layer 13:39:19 39017ce70367: Verifying Checksum 13:39:19 39017ce70367: Download complete 13:39:19 a0d0a0d46f8b: Verifying Checksum 13:39:19 a0d0a0d46f8b: Download complete 13:39:19 a0d0a0d46f8b: Pull complete 13:39:19 39017ce70367: Pull complete 13:39:19 dcf9283bb20a: Verifying Checksum 13:39:19 dcf9283bb20a: Download complete 13:39:23 dcf9283bb20a: Pull complete 13:39:23 Digest: sha256:2a2af42e0978abc69143d34e5140e0e2b13385d9fcf9e2292ee97f6b0c1f1d72 13:39:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 13:39:23 ---> a4e04833b611 13:39:23 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 13:39:23 ---> Running in 70bedc627069 13:39:23 Connecting to iotech.jfrog.io (54.195.244.87:443) 13:39:24 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 13:39:24 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 13:39:24 '/etc/apk/keys/alpine.dev.rsa.pub' saved 13:39:24 Removing intermediate container 70bedc627069 13:39:24 ---> 45c710af8820 13:39:24 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 13:39:24 ---> Running in d44cac2869b4 13:39:25 Removing intermediate container d44cac2869b4 13:39:25 ---> ea1b6c348237 13:39:25 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 13:39:25 ---> Running in 697927a97863 13:39:25 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 13:39:26 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 13:39:26 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz 13:39:27 WARNING: This apk-tools is OLD! Some packages might not function properly. 13:39:27 (1/27) Installing hiredis (1.0.0-r0) 13:39:27 (2/27) Installing hiredis-dev (1.0.0-r0) 13:39:27 (3/27) Installing ncurses-dev (6.2_p20210612-r0) 13:39:27 (4/27) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 13:39:27 (5/27) Installing libblkid (2.37-r0) 13:39:27 (6/27) Installing blkid (2.37-r0) 13:39:28 (7/27) Installing libcap-ng (0.8.2-r0) 13:39:28 (8/27) Installing setpriv (2.37-r0) 13:39:28 (9/27) Installing libmount (2.37-r0) 13:39:28 (10/27) Installing libsmartcols (2.37-r0) 13:39:28 (11/27) Installing findmnt (2.37-r0) 13:39:28 (12/27) Installing mcookie (2.37-r0) 13:39:28 (13/27) Installing hexdump (2.37-r0) 13:39:28 (14/27) Installing lsblk (2.37-r0) 13:39:29 (15/27) Installing libuuid (2.37-r0) 13:39:29 (16/27) Installing libfdisk (2.37-r0) 13:39:29 (17/27) Installing sfdisk (2.37-r0) 13:39:29 (18/27) Installing cfdisk (2.37-r0) 13:39:29 (19/27) Installing partx (2.37-r0) 13:39:29 (20/27) Installing flock (2.37-r0) 13:39:29 (21/27) Installing logger (2.37-r0) 13:39:29 (22/27) Installing uuidgen (2.37-r0) 13:39:29 (23/27) Installing libeconf (0.3.8-r1) 13:39:29 (24/27) Installing util-linux (2.37-r0) 13:39:30 (25/27) Installing util-linux-dev (2.37-r0) 13:39:30 (26/27) Installing libidn2 (2.3.1-r0) 13:39:30 (27/27) Installing wget (1.21.1-r1) 13:39:30 Executing busybox-1.33.1-r3.trigger 13:39:30 OK: 291 MiB in 104 packages 13:39:30 Removing intermediate container 697927a97863 13:39:30 ---> 95b9ba906001 13:39:30 Step 6/25 : ENV CBOR_VERSION=0.5.0 13:39:30 ---> Running in 353004b30657 13:39:30 Removing intermediate container 353004b30657 13:39:30 ---> d0390e960c98 13:39:30 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 13:39:30 ---> Running in 267dd66941c4 13:39:31 --2021-10-14 13:39:31-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 13:39:31 Resolving github.com (github.com)... 140.82.114.4 13:39:31 Connecting to github.com (github.com)|140.82.114.4|:443... connected. 13:39:31 HTTP request sent, awaiting response... 302 Found 13:39:31 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 13:39:31 --2021-10-14 13:39:31-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 13:39:31 Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 13:39:31 Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. 13:39:31 HTTP request sent, awaiting response... 200 OK 13:39:31 Length: unspecified [application/x-gzip] 13:39:31 Saving to: 'STDOUT' 13:39:31 13:39:31 0K .......... .......... .......... .......... .......... 1.25M 13:39:31 50K .......... .......... .......... .......... .......... 2.58M 13:39:31 100K .......... .......... .......... .......... .......... 24.0M 13:39:31 150K .......... .......... .......... .......... .......... 16.0M 13:39:31 200K .......... .......... .......... .......... .......... 3.32M 13:39:31 250K .......... .......... .......... .......... .......... 6.58M 13:39:31 300K .......... .......... .......... .......... .......... 8.54M 13:39:31 350K .......... .......... .......... .......... .......... 6.04M 13:39:31 400K .......... .......... .......... .......... .......... 5.35M 13:39:31 450K .......... .......... .......... .......... .......... 10.6M 13:39:31 500K .......... .......... .......... .......... .......... 38.4M 13:39:31 550K .......... .......... .......... .......... .......... 6.16M 13:39:31 600K .......... .......... .......... .......... .......... 3.79M 13:39:31 650K .......... .......... .......... .......... .......... 6.50M 13:39:31 700K .. 75.4M=0.1s 13:39:31 13:39:31 2021-10-14 13:39:31 (4.82 MB/s) - written to stdout [719348] 13:39:31 13:39:31 -- The C compiler identification is GNU 10.3.1 13:39:31 -- The CXX compiler identification is GNU 10.3.1 13:39:31 -- Detecting C compiler ABI info 13:39:31 -- Detecting C compiler ABI info - done 13:39:31 -- Check for working C compiler: /usr/bin/cc - skipped 13:39:31 -- Detecting C compile features 13:39:31 -- Detecting C compile features - done 13:39:31 -- Detecting CXX compiler ABI info 13:39:31 -- Detecting CXX compiler ABI info - done 13:39:31 -- Check for working CXX compiler: /usr/bin/c++ - skipped 13:39:31 -- Detecting CXX compile features 13:39:31 -- Detecting CXX compile features - done 13:39:31 -- Looking for include file endian.h 13:39:32 -- Looking for include file endian.h - found 13:39:32 -- Looking for sys/types.h 13:39:32 -- Looking for sys/types.h - found 13:39:32 -- Looking for stdint.h 13:39:32 -- Looking for stdint.h - found 13:39:32 -- Looking for stddef.h 13:39:32 -- Looking for stddef.h - found 13:39:32 -- Check size of size_t 13:39:32 -- Check size of size_t - done 13:39:32 CMake Warning at examples/CMakeLists.txt:16 (find_package): 13:39:32 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 13:39:32 asked CMake to find a package configuration file provided by "cJSON", but 13:39:32 CMake did not find one. 13:39:32 13:39:32 Could not find a package configuration file provided by "cJSON" with any of 13:39:32 the following names: 13:39:32 13:39:32 cJSONConfig.cmake 13:39:32 cjson-config.cmake 13:39:32 13:39:32 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 13:39:32 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 13:39:32 provides a separate development package or SDK, be sure it has been 13:39:32 installed. 13:39:32 13:39:32 13:39:32 -- Configuring done 13:39:32 -- Generating done 13:39:32 -- Build files have been written to: /tmp/cbor 13:39:32 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 13:39:32 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 13:39:33 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 13:39:33 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 13:39:33 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 13:39:33 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 13:39:33 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 13:39:33 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 13:39:33 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 13:39:33 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 13:39:33 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 13:39:33 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 13:39:33 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 13:39:33 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 13:39:33 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 13:39:33 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 13:39:34 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 13:39:34 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 13:39:34 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 13:39:34 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 13:39:34 [ 40%] Linking C shared library libcbor.so 13:39:34 [ 40%] Built target cbor_shared 13:39:34 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 13:39:34 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 13:39:34 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 13:39:34 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 13:39:35 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 13:39:35 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 13:39:35 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 13:39:35 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 13:39:35 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 13:39:35 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 13:39:35 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 13:39:35 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 13:39:35 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 13:39:36 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 13:39:36 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 13:39:36 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 13:39:36 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 13:39:36 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 13:39:36 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 13:39:36 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 13:39:36 [ 80%] Linking C static library libcbor.a 13:39:36 [ 80%] Built target cbor 13:39:36 [ 82%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 13:39:36 [ 84%] Linking C executable readfile 13:39:36 [ 84%] Built target readfile 13:39:36 [ 86%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 13:39:36 [ 88%] Linking C executable create_items 13:39:36 [ 88%] Built target create_items 13:39:36 [ 90%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 13:39:36 [ 92%] Linking C executable sort 13:39:36 [ 92%] Built target sort 13:39:36 [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 13:39:36 [ 96%] Linking C executable hello 13:39:36 [ 96%] Built target hello 13:39:36 [ 98%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 13:39:36 [100%] Linking C executable streaming_parser 13:39:37 [100%] Built target streaming_parser 13:39:37 Install the project... 13:39:37 -- Install configuration: "Release" 13:39:37 -- Installing: /usr/local/include/cbor/configuration.h 13:39:37 -- Installing: /usr/local/lib/libcbor.a 13:39:37 -- Installing: /usr/local/lib/libcbor.so.0.0.0 13:39:37 -- Installing: /usr/local/lib/libcbor.so.0 13:39:37 -- Installing: /usr/local/lib/libcbor.so 13:39:37 -- Up-to-date: /usr/local/include/cbor 13:39:37 -- Installing: /usr/local/include/cbor/arrays.h 13:39:37 -- Installing: /usr/local/include/cbor/bytestrings.h 13:39:37 -- Installing: /usr/local/include/cbor/callbacks.h 13:39:37 -- Installing: /usr/local/include/cbor/common.h 13:39:37 -- Installing: /usr/local/include/cbor/data.h 13:39:37 -- Installing: /usr/local/include/cbor/encoding.h 13:39:37 -- Installing: /usr/local/include/cbor/floats_ctrls.h 13:39:37 -- Installing: /usr/local/include/cbor/internal 13:39:37 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 13:39:37 -- Installing: /usr/local/include/cbor/internal/encoders.h 13:39:37 -- Installing: /usr/local/include/cbor/internal/loaders.h 13:39:37 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 13:39:37 -- Installing: /usr/local/include/cbor/internal/stack.h 13:39:37 -- Installing: /usr/local/include/cbor/internal/unicode.h 13:39:37 -- Installing: /usr/local/include/cbor/ints.h 13:39:37 -- Installing: /usr/local/include/cbor/maps.h 13:39:37 -- Installing: /usr/local/include/cbor/serialization.h 13:39:37 -- Installing: /usr/local/include/cbor/streaming.h 13:39:37 -- Installing: /usr/local/include/cbor/strings.h 13:39:37 -- Installing: /usr/local/include/cbor/tags.h 13:39:37 -- Installing: /usr/local/include/cbor.h 13:39:37 -- Installing: /usr/local/lib/pkgconfig/libcbor.pc 13:39:37 Removing intermediate container 267dd66941c4 13:39:37 ---> b73272e673d4 13:39:37 Step 8/25 : RUN mkdir /tmp/sdk 13:39:37 ---> Running in eb4868fc85a2 13:39:38 Removing intermediate container eb4868fc85a2 13:39:38 ---> 21f30107f1b0 13:39:38 Step 9/25 : COPY VERSION /tmp/sdk 13:39:38 ---> 9104b9cca69d 13:39:38 Step 10/25 : COPY src /tmp/sdk/src 13:39:38 ---> b49138959629 13:39:38 Step 11/25 : COPY include /tmp/sdk/include 13:39:38 ---> 7680030db817 13:39:38 Step 12/25 : COPY scripts /tmp/sdk/scripts 13:39:39 ---> e7b4b47d964e 13:39:39 Step 13/25 : COPY LICENSE /tmp/sdk 13:39:39 ---> c4411050e918 13:39:39 Step 14/25 : COPY Attribution.txt /tmp/sdk 13:39:39 ---> 5c4ed2f8fab5 13:39:39 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 13:39:39 ---> Running in d17d98d9fd15 13:39:39 + CPPCHECK=false 13:39:39 + DOCGEN=false 13:39:39 + TOMLVER=SDK-0.2 13:39:39 + CUTILVER=1.2.2 13:39:39 + '[' 0 -gt 0 ] 13:39:39 + readlink -f ./scripts/build.sh 13:39:39 + dirname /tmp/sdk/scripts/build.sh 13:39:39 + dirname /tmp/sdk/scripts 13:39:39 + ROOT=/tmp/sdk 13:39:39 + cd /tmp/sdk 13:39:39 + '[' '!' -d deps ] 13:39:39 + mkdir deps 13:39:39 + tar -C deps -z -x -f - 13:39:39 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 13:39:39 --2021-10-14 13:39:39-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 13:39:39 Resolving github.com (github.com)... 140.82.114.4 13:39:39 Connecting to github.com (github.com)|140.82.114.4|:443... connected. 13:39:39 HTTP request sent, awaiting response... 302 Found 13:39:39 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 13:39:39 --2021-10-14 13:39:39-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 13:39:39 Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 13:39:39 Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. 13:39:40 HTTP request sent, awaiting response... 200 OK 13:39:40 Length: unspecified [application/x-gzip] 13:39:40 Saving to: 'STDOUT' 13:39:40 13:39:40 0K .......... ...... 854K=0.02s 13:39:40 13:39:40 2021-10-14 13:39:39 (854 KB/s) - written to stdout [16451] 13:39:40 13:39:40 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 13:39:40 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 13:39:40 --2021-10-14 13:39:39-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 13:39:40 + tar -C deps -z -x -f - 13:39:40 Resolving github.com (github.com)... 140.82.114.4 13:39:40 Connecting to github.com (github.com)|140.82.114.4|:443... connected. 13:39:40 HTTP request sent, awaiting response... 302 Found 13:39:40 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] 13:39:40 --2021-10-14 13:39:40-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 13:39:40 Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 13:39:40 Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. 13:39:40 HTTP request sent, awaiting response... 200 OK 13:39:40 Length: unspecified [application/x-gzip] 13:39:40 Saving to: 'STDOUT' 13:39:40  13:39:40 0K .......... .......... .......... .......... .......... 1.28M 13:39:40 50K .......... .......... .......... .......... .......... 2.51M 13:39:40 100K .......... .......... .......... .......... .......... 36.0M 13:39:40 150K .......... .......... .......... ......... 7.78M=0.06s 13:39:40 13:39:40 2021-10-14 13:39:40 (2.90 MB/s) - written to stdout [193961] 13:39:40 13:39:40 + mkdir -p src/c/iot 13:39:40 + 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 13:39:40 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 13:39:40 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 13:39:40 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 13:39:40 + mkdir -p include/iot 13:39:40 + 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 13:39:40 + mkdir -p include/iot/os 13:39:40 + 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 13:39:40 + mkdir -p /tmp/sdk/build/release 13:39:40 + cd /tmp/sdk/build/release 13:39:40 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 13:39:40 -- The C compiler identification is GNU 10.3.1 13:39:40 -- Detecting C compiler ABI info 13:39:40 -- Detecting C compiler ABI info - done 13:39:40 -- Check for working C compiler: /usr/bin/cc - skipped 13:39:40 -- Detecting C compile features 13:39:40 -- Detecting C compile features - done 13:39:40 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:39:40 -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") 13:39:40 -- Found LIBYAML: /usr/lib/libyaml.so 13:39:40 -- Found LIBUUID: /usr/lib/libuuid.so 13:39:40 -- Found LIBCBOR: /usr/local/lib/libcbor.so 13:39:40 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 13:39:40 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 13:39:40 -- C SDK 0.0.0 for Linux 13:39:40 -- Performing Test CSDK_HAVE_ATOMIC 13:39:40 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:39:40 -- Found Curses: /usr/lib/libcurses.so 13:39:40 -- Configuring done 13:39:40 -- Generating done 13:39:40 -- Build files have been written to: /tmp/sdk/build/release 13:39:40 + tee release.log 13:39:40 + make all package 13:39:41 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:39:41 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 13:39:41 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 13:39:41 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 13:39:41 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 13:39:41 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 13:39:41 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 13:39:42 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 13:39:42 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 13:39:42 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 13:39:42 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 13:39:42 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:39:42 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 13:39:43 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 13:39:43 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 13:39:43 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 13:39:43 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 13:39:44 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 13:39:44 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 13:39:44 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 13:39:44 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 13:39:44 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 13:39:44 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 13:39:44 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 13:39:44 275 | const iot_component_factory_t * factory; 13:39:44 | ^~~~~~~ 13:39:44 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 13:39:45 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 13:39:45 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 13:39:45 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 13:39:45 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 13:39:45 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 13:39:45 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 13:39:46 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 13:39:46 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 13:39:46 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 13:39:46 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 13:39:46 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 13:39:46 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 13:39:46 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 13:39:47 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 13:39:47 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 13:39:48 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 13:39:48 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 13:39:48 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 13:39:48 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 13:39:48 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 13:39:48 /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] 13:39:48 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 13:39:48 | ^~~~~~~~~~~~~ 13:39:48 | | 13:39:48 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 13:39:48 In file included from /tmp/sdk/src/c/rest-server.c:21: 13:39:48 /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 *)' 13:39:48 2714 | MHD_KeyValueIterator iterator, 13:39:48 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 13:39:48 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 13:39:48 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 13:39:48 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 13:39:48 | ^~~~~~~~~~~~ 13:39:48 | | 13:39:48 | 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 **)} 13:39:48 In file included from /tmp/sdk/src/c/rest-server.c:21: 13:39:48 /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 **)'} 13:39:48 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 13:39:48 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 13:39:48 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 13:39:48 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 13:39:48 | ^~~~~~~~~~~~ 13:39:48 | | 13:39:48 | 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 **)} 13:39:48 In file included from /tmp/sdk/src/c/rest-server.c:21: 13:39:48 /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 **)'} 13:39:48 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 13:39:48 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 13:39:48 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 13:39:48 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 13:39:48 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 13:39:48 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 13:39:49 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 13:39:49 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 13:39:50 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 13:39:50 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 13:39:50 [ 76%] Linking C shared library libcsdk.so 13:39:50 [ 76%] Built target csdk 13:39:50 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 13:39:50 [ 79%] Linking C executable template 13:39:50 [ 79%] Built target template 13:39:50 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 13:39:50 [ 82%] Linking C executable device-counter 13:39:50 [ 82%] Built target device-counter 13:39:50 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 13:39:51 [ 85%] Linking C executable device-random 13:39:51 [ 85%] Built target device-random 13:39:51 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 13:39:51 [ 88%] Linking C executable device-gyro 13:39:51 [ 88%] Built target device-gyro 13:39:51 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 13:39:51 [ 91%] Linking C executable device-bitfields 13:39:51 [ 91%] Built target device-bitfields 13:39:51 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 13:39:51 [ 94%] Linking C executable template-discovery 13:39:51 [ 94%] Built target template-discovery 13:39:51 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 13:39:51 [ 97%] Linking C executable device-file 13:39:51 [ 97%] Built target device-file 13:39:51 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 13:39:52 [100%] Linking C executable device-terminal 13:39:52 [100%] Built target device-terminal 13:39:52 Run CPack packaging tool... 13:39:52 CPack: Create package using TGZ 13:39:52 CPack: Install projects 13:39:52 CPack: - Run preinstall target for: Csdk 13:39:52 CPack: - Install project: Csdk [] 13:39:52 CPack: Create package 13:39:52 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 13:39:52 + '[' false '=' true ] 13:39:52 + '[' false '=' true ] 13:39:52 + mkdir -p /tmp/sdk/build/debug 13:39:52 + cd /tmp/sdk/build/debug 13:39:52 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 13:39:52 -- The C compiler identification is GNU 10.3.1 13:39:52 -- Detecting C compiler ABI info 13:39:52 -- Detecting C compiler ABI info - done 13:39:52 -- Check for working C compiler: /usr/bin/cc - skipped 13:39:52 -- Detecting C compile features 13:39:52 -- Detecting C compile features - done 13:39:52 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:39:52 -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") 13:39:52 -- Found LIBYAML: /usr/lib/libyaml.so 13:39:52 -- Found LIBUUID: /usr/lib/libuuid.so 13:39:52 -- Found LIBCBOR: /usr/local/lib/libcbor.so 13:39:52 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 13:39:52 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 13:39:52 -- C SDK 0.0.0 for Linux 13:39:52 -- Performing Test CSDK_HAVE_ATOMIC 13:39:52 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:39:53 -- Found Curses: /usr/lib/libcurses.so 13:39:53 -- Configuring done 13:39:53 -- Generating done 13:39:53 -- Build files have been written to: /tmp/sdk/build/debug 13:39:53 + + tee debug.log 13:39:53 make 13:39:53 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:39:53 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 13:39:53 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 13:39:53 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 13:39:53 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 13:39:53 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 13:39:53 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 13:39:53 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 13:39:53 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 13:39:53 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 13:39:53 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 13:39:54 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:39:54 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 13:39:54 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 13:39:54 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 13:39:54 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 13:39:54 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 13:39:54 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 13:39:54 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 13:39:54 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 13:39:54 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 13:39:54 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 13:39:54 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 13:39:54 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 13:39:54 275 | const iot_component_factory_t * factory; 13:39:54 | ^~~~~~~ 13:39:54 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 13:39:55 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 13:39:55 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 13:39:55 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 13:39:55 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 13:39:55 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 13:39:55 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 13:39:55 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 13:39:55 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 13:39:55 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 13:39:55 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 13:39:55 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 13:39:55 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 13:39:55 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 13:39:55 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 13:39:55 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 13:39:56 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 13:39:56 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 13:39:56 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 13:39:56 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 13:39:56 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 13:39:56 /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] 13:39:56 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 13:39:56 | ^~~~~~~~~~~~~ 13:39:56 | | 13:39:56 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 13:39:56 In file included from /tmp/sdk/src/c/rest-server.c:21: 13:39:56 /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 *)' 13:39:56 2714 | MHD_KeyValueIterator iterator, 13:39:56 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 13:39:56 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 13:39:56 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 13:39:56 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 13:39:56 | ^~~~~~~~~~~~ 13:39:56 | | 13:39:56 | 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 **)} 13:39:56 In file included from /tmp/sdk/src/c/rest-server.c:21: 13:39:56 /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 **)'} 13:39:56 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 13:39:56 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 13:39:56 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 13:39:56 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 13:39:56 | ^~~~~~~~~~~~ 13:39:56 | | 13:39:56 | 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 **)} 13:39:56 In file included from /tmp/sdk/src/c/rest-server.c:21: 13:39:56 /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 **)'} 13:39:56 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 13:39:56 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 13:39:56 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 13:39:56 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 13:39:56 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 13:39:56 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 13:39:56 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 13:39:56 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 13:39:57 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 13:39:57 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 13:39:57 [ 76%] Linking C shared library libcsdk.so 13:39:57 [ 76%] Built target csdk 13:39:57 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 13:39:57 [ 79%] Linking C executable template 13:39:57 [ 79%] Built target template 13:39:57 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 13:39:57 [ 82%] Linking C executable device-counter 13:39:57 [ 82%] Built target device-counter 13:39:57 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 13:39:57 [ 85%] Linking C executable device-random 13:39:58 [ 85%] Built target device-random 13:39:58 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 13:39:58 [ 88%] Linking C executable device-gyro 13:39:58 [ 88%] Built target device-gyro 13:39:58 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 13:39:58 [ 91%] Linking C executable device-bitfields 13:39:58 [ 91%] Built target device-bitfields 13:39:58 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 13:39:58 [ 94%] Linking C executable template-discovery 13:39:58 [ 94%] Built target template-discovery 13:39:58 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 13:39:58 [ 97%] Linking C executable device-file 13:39:58 [ 97%] Built target device-file 13:39:58 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 13:39:58 [100%] Linking C executable device-terminal 13:39:58 [100%] Built target device-terminal 13:39:58 make: Entering directory '/tmp/sdk/build/release' 13:39:58 make[1]: Entering directory '/tmp/sdk/build/release' 13:39:58 make[2]: Entering directory '/tmp/sdk/build/release' 13:39:58 make[2]: Leaving directory '/tmp/sdk/build/release' 13:39:58 [ 76%] Built target csdk 13:39:58 make[2]: Entering directory '/tmp/sdk/build/release' 13:39:58 make[2]: Leaving directory '/tmp/sdk/build/release' 13:39:58 [ 79%] Built target template 13:39:58 make[2]: Entering directory '/tmp/sdk/build/release' 13:39:58 make[2]: Leaving directory '/tmp/sdk/build/release' 13:39:58 [ 82%] Built target device-counter 13:39:58 make[2]: Entering directory '/tmp/sdk/build/release' 13:39:58 make[2]: Leaving directory '/tmp/sdk/build/release' 13:39:58 [ 85%] Built target device-random 13:39:58 make[2]: Entering directory '/tmp/sdk/build/release' 13:39:58 make[2]: Leaving directory '/tmp/sdk/build/release' 13:39:58 [ 88%] Built target device-gyro 13:39:58 make[2]: Entering directory '/tmp/sdk/build/release' 13:39:58 make[2]: Leaving directory '/tmp/sdk/build/release' 13:39:58 [ 91%] Built target device-bitfields 13:39:58 make[2]: Entering directory '/tmp/sdk/build/release' 13:39:58 make[2]: Leaving directory '/tmp/sdk/build/release' 13:39:58 [ 94%] Built target template-discovery 13:39:58 make[2]: Entering directory '/tmp/sdk/build/release' 13:39:58 make[2]: Leaving directory '/tmp/sdk/build/release' 13:39:58 [ 97%] Built target device-file 13:39:58 make[2]: Entering directory '/tmp/sdk/build/release' 13:39:58 make[2]: Leaving directory '/tmp/sdk/build/release' 13:39:58 [100%] Built target device-terminal 13:39:58 make[1]: Leaving directory '/tmp/sdk/build/release' 13:39:58 Install the project... 13:39:58 -- Install configuration: "Release" 13:39:58 -- Installing: /usr/local/lib/libcsdk.so 13:39:58 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 13:39:58 -- Up-to-date: /usr/local/include 13:39:58 -- Installing: /usr/local/include/devsdk 13:39:58 -- Installing: /usr/local/include/devsdk/devsdk-base.h 13:39:58 -- Installing: /usr/local/include/devsdk/devsdk.h 13:39:58 -- Installing: /usr/local/include/edgex 13:39:58 -- Installing: /usr/local/include/edgex/devices.h 13:39:58 -- Installing: /usr/local/include/edgex/edgex-base.h 13:39:58 -- Installing: /usr/local/include/edgex/edgex.h 13:39:58 -- Installing: /usr/local/include/edgex/profiles.h 13:39:58 -- Installing: /usr/local/include/edgex/rest-server.h 13:39:58 -- Installing: /usr/local/include/edgex/csdk-defs.h 13:39:58 -- Installing: /usr/local/include/iot 13:39:58 -- Installing: /usr/local/include/iot/base64.h 13:39:58 -- Installing: /usr/local/include/iot/component.h 13:39:58 -- Installing: /usr/local/include/iot/config.h 13:39:58 -- Installing: /usr/local/include/iot/container.h 13:39:58 -- Installing: /usr/local/include/iot/data.h 13:39:58 -- Installing: /usr/local/include/iot/hash.h 13:39:58 -- Installing: /usr/local/include/iot/iot.h 13:39:58 -- Installing: /usr/local/include/iot/json.h 13:39:58 -- Installing: /usr/local/include/iot/logger.h 13:39:58 -- Installing: /usr/local/include/iot/os.h 13:39:58 -- Installing: /usr/local/include/iot/scheduler.h 13:39:58 -- Installing: /usr/local/include/iot/thread.h 13:39:58 -- Installing: /usr/local/include/iot/threadpool.h 13:39:58 -- Installing: /usr/local/include/iot/time.h 13:39:58 -- Installing: /usr/local/include/iot/typecode.h 13:39:58 -- Installing: /usr/local/include/iot/uuid.h 13:39:58 -- Installing: /usr/local/include/iot/os 13:39:58 -- Installing: /usr/local/include/iot/os/linux.h 13:39:58 -- Installing: /usr/local/include/iot/os/macos.h 13:39:58 -- Installing: /usr/local/include/iot/os/zephyr.h 13:39:58 -- Installing: /usr/local/include/iot/defs.h 13:39:58 -- Installing: /usr/local/share/device-sdk-c/LICENSE 13:39:58 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 13:39:58 make: Leaving directory '/tmp/sdk/build/release' 13:39:59 Removing intermediate container d17d98d9fd15 13:39:59 ---> 909ef816826f 13:39:59 Step 16/25 : FROM ${BASE} 13:39:59 ---> a4e04833b611 13:39:59 Step 17/25 : LABEL maintainer="IOTech " 13:39:59 ---> Running in 6b98abfc5029 13:39:59 Removing intermediate container 6b98abfc5029 13:39:59 ---> 55476af0bac5 13:39:59 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 13:39:59 ---> Running in 555cebd77cd8 13:39:59 Connecting to iotech.jfrog.io (54.72.115.12:443) 13:40:00 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 13:40:00 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 13:40:00 '/etc/apk/keys/alpine.dev.rsa.pub' saved 13:40:00 Removing intermediate container 555cebd77cd8 13:40:00 ---> bf68506acc16 13:40:00 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 13:40:00 ---> Running in d6e2c518e8ab 13:40:01 Removing intermediate container d6e2c518e8ab 13:40:01 ---> 2240444310d1 13:40:01 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 13:40:01 ---> Running in 2df8d2804d96 13:40:01 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 13:40:02 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 13:40:02 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz 13:40:02 WARNING: This apk-tools is OLD! Some packages might not function properly. 13:40:02 (1/7) Installing curl (7.79.1-r0) 13:40:03 (2/7) Installing hiredis (1.0.0-r0) 13:40:03 (3/7) Installing hiredis-dev (1.0.0-r0) 13:40:03 (4/7) Installing libuuid (2.37-r0) 13:40:03 (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 13:40:04 (6/7) Installing libidn2 (2.3.1-r0) 13:40:04 (7/7) Installing wget (1.21.1-r1) 13:40:04 Executing busybox-1.33.1-r3.trigger 13:40:04 OK: 282 MiB in 84 packages 13:40:04 Removing intermediate container 2df8d2804d96 13:40:04 ---> 2bd130fd750b 13:40:04 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 13:40:04 ---> ed1b8e403583 13:40:04 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 13:40:05 ---> 88962da49012 13:40:05 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 13:40:05 ---> 8480b265038b 13:40:05 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 13:40:05 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 13:40:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:40:06 13:40:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 13:40:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:40:06 latest: Pulling from edgex-lftools-log-publisher 13:40:06 b4d181a07f80: Pulling fs layer 13:40:06 a1111a8f2ec3: Pulling fs layer 13:40:06 ed53099fbce6: Pulling fs layer 13:40:06 dc539afda2c1: Pulling fs layer 13:40:06 77bc0d833cb6: Pulling fs layer 13:40:06 9065ff56babe: Pulling fs layer 13:40:06 d287ab97295c: Pulling fs layer 13:40:06 dc539afda2c1: Waiting 13:40:06 77bc0d833cb6: Waiting 13:40:06 9065ff56babe: Waiting 13:40:06 d287ab97295c: Waiting 13:40:06 a1111a8f2ec3: Verifying Checksum 13:40:06 a1111a8f2ec3: Download complete 13:40:06 dc539afda2c1: Verifying Checksum 13:40:06 dc539afda2c1: Download complete 13:40:07 ed53099fbce6: Verifying Checksum 13:40:07 ed53099fbce6: Download complete 13:40:07 9065ff56babe: Verifying Checksum 13:40:07 9065ff56babe: Download complete 13:40:07 77bc0d833cb6: Verifying Checksum 13:40:07 77bc0d833cb6: Download complete 13:40:07 b4d181a07f80: Verifying Checksum 13:40:07 b4d181a07f80: Download complete 13:40:08 d287ab97295c: Verifying Checksum 13:40:08 d287ab97295c: Download complete 13:40:08 b4d181a07f80: Pull complete 13:40:09 a1111a8f2ec3: Pull complete 13:40:09 ed53099fbce6: Pull complete 13:40:09 dc539afda2c1: Pull complete 13:40:10 77bc0d833cb6: Pull complete 13:40:10 9065ff56babe: Pull complete 13:40:15 d287ab97295c: Pull complete 13:40:15 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 13:40:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:40:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 13:40:15 prd-centos7-docker-4c-2g-1406 does not seem to be running inside a container 13:40:15 $ 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 13:40:17 $ docker top cdc068805428ed7864e75eb7c4459e22d460c9acec90d8d55582719c5e2e4e5f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:40:18 ---> job-cost.sh 13:40:18 lf-activate-venv: SKIPPING 13:40:18 INFO: No Stack... 13:40:44 INFO: Retrieving Pricing Info for: v3-standard-2 13:40:44 INFO: Archiving Costs [Pipeline] sh 13:40:45 + cat /w/workspace/device-sdk-c/1/archives/cost.csv 13:40:45 + cut -d, -f6 [Pipeline] lock 13:40:45 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-382-1-stack-cost] 13:40:45 Resource [jenkins-edgexfoundry-device-sdk-c-PR-382-1-stack-cost] did not exist. Created. 13:40:45 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-382-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:40:45 /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 13:40:45 + echo total: 0.05999999865889549 [Pipeline] stash 13:40:45 Warning: overwriting stash ‘stack-cost’ 13:40:46 Stashed 1 file(s) [Pipeline] } 13:40:46 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-382-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:40:46 $ docker stop --time=1 cdc068805428ed7864e75eb7c4459e22d460c9acec90d8d55582719c5e2e4e5f 13:40:47 $ 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] } 13:40:47 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 13:40:49 + '[' -d /w/workspace/edgexfoundry_device-sdk-c_PR-382/archives ']' [Pipeline] libraryResource [Pipeline] sh 13:40:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:40:50 ---> package-listing.sh 13:40:50 ++ facter osfamily 13:40:50 ++ tr '[:upper:]' '[:lower:]' 13:40:50 + OS_FAMILY=redhat 13:40:50 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-382 13:40:50 + START_PACKAGES=/tmp/packages_start.txt 13:40:50 + END_PACKAGES=/tmp/packages_end.txt 13:40:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:40:50 + PACKAGES=/tmp/packages_start.txt 13:40:50 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-382 ']' 13:40:50 + PACKAGES=/tmp/packages_end.txt 13:40:50 + case "${OS_FAMILY}" in 13:40:50 + sort 13:40:50 + rpm -qa 13:40:50 + '[' -f /tmp/packages_start.txt ']' 13:40:50 + '[' -f /tmp/packages_end.txt ']' 13:40:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:40:50 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-382 ']' 13:40:50 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-382/archives/ 13:40:50 + 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 13:40:50 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 13:40:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 13:40:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:40:51 13:40:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 13:40:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:40:52 latest: Pulling from edgex-lftools-log-publisher 13:40:52 b4d181a07f80: Pulling fs layer 13:40:52 a1111a8f2ec3: Pulling fs layer 13:40:52 ed53099fbce6: Pulling fs layer 13:40:52 dc539afda2c1: Pulling fs layer 13:40:52 77bc0d833cb6: Pulling fs layer 13:40:52 9065ff56babe: Pulling fs layer 13:40:52 d287ab97295c: Pulling fs layer 13:40:52 dc539afda2c1: Waiting 13:40:52 77bc0d833cb6: Waiting 13:40:52 9065ff56babe: Waiting 13:40:52 d287ab97295c: Waiting 13:40:52 a1111a8f2ec3: Verifying Checksum 13:40:52 a1111a8f2ec3: Download complete 13:40:52 dc539afda2c1: Verifying Checksum 13:40:52 dc539afda2c1: Download complete 13:40:52 ed53099fbce6: Verifying Checksum 13:40:52 ed53099fbce6: Download complete 13:40:52 77bc0d833cb6: Verifying Checksum 13:40:52 77bc0d833cb6: Download complete 13:40:52 9065ff56babe: Verifying Checksum 13:40:52 9065ff56babe: Download complete 13:40:52 b4d181a07f80: Download complete 13:40:53 d287ab97295c: Verifying Checksum 13:40:53 d287ab97295c: Download complete 13:40:53 b4d181a07f80: Pull complete 13:40:54 a1111a8f2ec3: Pull complete 13:40:54 ed53099fbce6: Pull complete 13:40:54 dc539afda2c1: Pull complete 13:40:55 77bc0d833cb6: Pull complete 13:40:55 9065ff56babe: Pull complete 13:41:00 d287ab97295c: Pull complete 13:41:00 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 13:41:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:41:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 13:41:00 prd-centos7-docker-4c-2g-1404 does not seem to be running inside a container 13:41:00 $ 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 13:41:03 $ docker top 09d4b83d1f42547e9f523c24e36ade66bb0447c2d63cf0102a01f5d5910c3ae4 -eo pid,comm [Pipeline] { [Pipeline] sh 13:41:04 + touch /tmp/pre-build-complete [Pipeline] sh 13:41:04 + mkdir -p /var/log/sysstat [Pipeline] sh 13:41:04 + ls /var/log/sa-host 13:41:04 + sadf -c /var/log/sa-host/sa14 13:41:04 file_magic: OK 13:41:04 HZ: Using current value: 100 13:41:04 file_header: OK 13:41:04 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 13:41:04 Statistics: 13:41:04 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 13:41:04 File successfully converted to sysstat format version 12.0.3 13:41:04 + sadf -c /var/log/sa-host/sa30 13:41:04 file_magic: OK 13:41:04 HZ: Using current value: 100 13:41:04 file_header: OK 13:41:04 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 13:41:04 Statistics: 13:41:04 Hnuu...uuuununununu...Hnuu...uuuununununu... 13:41:04 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:41:04 provisioning config files... 13:41:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-382@tmp/config7830609681578424943tmp [Pipeline] { [Pipeline] echo 13:41:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:41:05 ---> create-netrc.sh [Pipeline] } 13:41:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:41:05 ---> python-tools-install.sh [Pipeline] echo 13:41:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:41:06 ---> sudo-logs.sh 13:41:06 Archiving 'sudo' log.. 13:41:06 sudo: unable to resolve host prd-centos7-docker-4c-2g-1404.novalocal: Name or service not known 13:41:06 sudo: unable to resolve host prd-centos7-docker-4c-2g-1404.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 13:41:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:41:06 ---> job-cost.sh 13:41:06 lf-activate-venv: SKIPPING 13:41:06 DEBUG: total: 0.05999999865889549 13:41:06 INFO: Retrieving Stack Cost... 13:41:14 INFO: Retrieving Pricing Info for: v3-standard-2 13:41:15 INFO: Archiving Costs [Pipeline] echo 13:41:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:41:15 ---> logs-deploy.sh 13:41:15 lf-activate-venv: SKIPPING 13:41:15 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-382/1 13:41:15 INFO: archiving workspace using pattern(s): 13:41:16 Archives upload complete. 13:41:16 INFO: archiving logs to Nexus 13:41:16 ---> uname -a: 13:41:16 Linux prd-centos7-docker-4c-2g-1404.novalocal 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 GNU/Linux 13:41:16 13:41:16 13:41:16 ---> lscpu: 13:41:16 Architecture: x86_64 13:41:16 CPU op-mode(s): 32-bit, 64-bit 13:41:16 Byte Order: Little Endian 13:41:16 Address sizes: 40 bits physical, 48 bits virtual 13:41:16 CPU(s): 2 13:41:16 On-line CPU(s) list: 0,1 13:41:16 Thread(s) per core: 1 13:41:16 Core(s) per socket: 1 13:41:16 Socket(s): 2 13:41:16 NUMA node(s): 1 13:41:16 Vendor ID: AuthenticAMD 13:41:16 CPU family: 23 13:41:16 Model: 49 13:41:16 Model name: AMD EPYC-Rome Processor 13:41:16 Stepping: 0 13:41:16 CPU MHz: 2799.998 13:41:16 BogoMIPS: 5599.99 13:41:16 Virtualization: AMD-V 13:41:16 Hypervisor vendor: KVM 13:41:16 Virtualization type: full 13:41:16 L1d cache: 32K 13:41:16 L1i cache: 32K 13:41:16 L2 cache: 512K 13:41:16 L3 cache: 16384K 13:41:16 NUMA node0 CPU(s): 0,1 13:41:16 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 13:41:16 13:41:16 13:41:16 ---> nproc: 13:41:16 2 13:41:16 13:41:16 13:41:16 ---> df -h: 13:41:16 Filesystem Size Used Avail Use% Mounted on 13:41:16 overlay 40G 7.7G 33G 20% / 13:41:16 tmpfs 64M 0 64M 0% /dev 13:41:16 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 13:41:16 shm 64M 0 64M 0% /dev/shm 13:41:16 /dev/vda1 40G 7.7G 33G 20% /facter-os 13:41:16 13:41:16 13:41:16 ---> sar -b -r -n DEV: 13:41:16 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/14/21 _x86_64_ (2 CPU) 13:41:16 13:41:16 13:33:13 LINUX RESTART (2 CPU) 13:41:16 13:41:16 13:34:01 tps rtps wtps bread/s bwrtn/s 13:41:16 13:35:01 89.84 15.82 74.02 4378.88 3276.20 13:41:16 13:36:01 2.17 0.02 2.15 0.53 39.76 13:41:16 13:37:01 0.55 0.00 0.55 0.00 6.13 13:41:16 13:38:01 0.38 0.00 0.38 0.00 5.61 13:41:16 13:39:01 0.23 0.00 0.23 0.00 3.53 13:41:16 13:40:01 0.20 0.00 0.20 0.00 1.75 13:41:16 13:41:01 26.60 0.13 26.47 11.06 4917.24 13:41:16 Average: 17.14 2.28 14.86 627.36 1178.77 13:41:16 13:41:16 13:34:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 13:41:16 13:35:01 5688344 0 618688 7.72 2620 1699288 1255576 13.86 562252 1524028 8 13:41:16 13:36:01 5700976 0 606048 7.57 2620 1699296 1154972 12.75 552220 1523988 16 13:41:16 13:37:01 5699732 0 607292 7.58 2620 1699296 1154972 12.75 552956 1524588 8 13:41:16 13:38:01 5699624 0 607392 7.58 2620 1699304 1154972 12.75 552996 1524588 16 13:41:16 13:39:01 5705300 0 601708 7.51 2620 1699312 1154972 12.75 546564 1525404 8 13:41:16 13:40:01 5701228 0 605780 7.56 2620 1699312 1155468 12.76 550724 1525404 8 13:41:16 13:41:01 5071332 0 745412 9.31 2620 2189576 1334052 14.73 740224 1862892 305504 13:41:16 Average: 5609505 0 627474 7.83 2620 1769341 1194998 13.19 579705 1572985 43653 13:41:16 13:41:16 13:34:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 13:41:16 13:35:01 eth0 535.22 335.49 1027.67 79.57 0.00 0.00 0.00 0.00 13:41:16 13:35:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:41:16 13:35:01 docker0 8.53 4.85 1.09 26.50 0.00 0.00 0.00 0.00 13:41:16 13:36:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 13:41:16 13:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:41:16 13:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:41:16 13:37:01 eth0 0.52 0.03 0.05 0.00 0.00 0.00 0.00 0.00 13:41:16 13:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:41:16 13:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:41:16 13:38:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 13:41:16 13:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:41:16 13:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:41:16 13:39:01 eth0 0.60 0.10 0.06 0.01 0.00 0.00 0.00 0.00 13:41:16 13:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:41:16 13:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:41:16 13:40:01 eth0 0.68 0.47 0.41 0.27 0.00 0.00 0.00 0.00 13:41:16 13:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:41:16 13:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:41:16 13:41:01 eth0 116.64 71.45 2597.37 10.86 0.00 0.00 0.00 0.00 13:41:16 13:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:41:16 13:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:41:16 Average: eth0 93.43 58.26 518.00 12.96 0.00 0.00 0.00 0.00 13:41:16 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:41:16 Average: docker0 1.22 0.69 0.16 3.79 0.00 0.00 0.00 0.00 13:41:16 13:41:16 13:41:16 ---> sar -P ALL: 13:41:16 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/14/21 _x86_64_ (2 CPU) 13:41:16 13:41:16 13:33:13 LINUX RESTART (2 CPU) 13:41:16 13:41:16 13:34:01 CPU %user %nice %system %iowait %steal %idle 13:41:16 13:35:01 all 11.24 0.00 2.84 2.27 0.05 83.60 13:41:16 13:35:01 0 10.51 0.00 2.90 1.33 0.05 85.21 13:41:16 13:35:01 1 11.98 0.00 2.78 3.20 0.05 81.99 13:41:16 13:36:01 all 0.23 0.00 0.06 0.00 0.02 99.70 13:41:16 13:36:01 0 0.07 0.00 0.07 0.00 0.02 99.85 13:41:16 13:36:01 1 0.38 0.00 0.05 0.00 0.02 99.55 13:41:16 13:37:01 all 0.28 0.00 0.04 0.00 0.01 99.67 13:41:16 13:37:01 0 0.10 0.00 0.05 0.00 0.02 99.83 13:41:16 13:37:01 1 0.45 0.00 0.03 0.00 0.00 99.52 13:41:16 13:38:01 all 0.22 0.00 0.05 0.00 0.02 99.72 13:41:16 13:38:01 0 0.07 0.00 0.07 0.00 0.02 99.85 13:41:16 13:38:01 1 0.37 0.00 0.03 0.00 0.02 99.58 13:41:16 13:39:01 all 0.21 0.00 0.04 0.00 0.02 99.73 13:41:16 13:39:01 0 0.20 0.00 0.03 0.00 0.02 99.75 13:41:16 13:39:01 1 0.22 0.00 0.05 0.00 0.02 99.72 13:41:16 13:40:01 all 0.13 0.00 0.05 0.00 0.01 99.82 13:41:16 13:40:01 0 0.07 0.00 0.05 0.00 0.00 99.88 13:41:16 13:40:01 1 0.18 0.00 0.05 0.00 0.02 99.75 13:41:16 13:41:01 all 8.36 0.00 2.73 0.24 0.03 88.65 13:41:16 13:41:01 0 8.85 0.00 2.98 0.24 0.03 87.89 13:41:16 13:41:01 1 7.87 0.00 2.48 0.24 0.02 89.40 13:41:16 Average: all 2.91 0.00 0.82 0.35 0.02 95.89 13:41:16 Average: 0 2.80 0.00 0.87 0.22 0.02 96.09 13:41:16 Average: 1 3.03 0.00 0.77 0.48 0.02 95.70 13:41:16 13:41:16 13:41:16