Pull request #384 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 eaton-coreymutter for edgexfoundry/device-sdk-c Loading trusted files from base branch main at 989fcf480b12b46cf08b8d06d57a888d847882bb rather than e64122104add324c714acf1d14cb311d02ae154f Obtained Jenkinsfile from 989fcf480b12b46cf08b8d06d57a888d847882bb 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-ssh2909170088292789918.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-ssh6453059756686603700.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-384/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-384/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3815066662189544481.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-384/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1920465760972424187.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-ssh2733102342467531182.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-384/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-384/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5739478888785586234.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 ‘prd-centos7-docker-4c-2g-729’ is offline Running on prd-centos7-docker-4c-2g-732 in /w/workspace/edgexfoundry_device-sdk-c_PR-384 [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-384 # 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-384@tmp/jenkins-gitclient-ssh8545249297304626032.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-384@tmp/jenkins-gitclient-ssh7539262604885875696.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/384/head:refs/remotes/origin/PR-384 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 989fcf480b12b46cf08b8d06d57a888d847882bb into PR head commit e64122104add324c714acf1d14cb311d02ae154f Merge succeeded, producing e64122104add324c714acf1d14cb311d02ae154f Checking out Revision e64122104add324c714acf1d14cb311d02ae154f (PR-384) > git config core.sparsecheckout # timeout=10 > git checkout -f e64122104add324c714acf1d14cb311d02ae154f # 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-384@tmp/jenkins-gitclient-ssh2347466076268580012.key > git merge 989fcf480b12b46cf08b8d06d57a888d847882bb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e64122104add324c714acf1d14cb311d02ae154f # timeout=10 Commit message: "Fix: Remove trailing null from MQTT message envelope (383)" 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 23:53:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:53:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:53:30 ========================================================= 23:53:30 EdgeX Global Pipelines Version Info 23:53:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:53:31 ------------------- 23:53:31 stable info: 23:53:31 ------------------- 23:53:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:53:31 Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 23:53:31 Message: update stable to v1.0.210 23:53:32 ------------------- 23:53:32 experimental info: 23:53:32 ------------------- 23:53:32 Commited By: **** collab-it+edgex@linuxfoundation.org 23:53:32 Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 23:53:32 Message: update experimental to v1.0.210 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:53:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 23:53:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 23:53:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:53:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:53:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:53:32 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo 23:53:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 23:53:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 23:53:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:53:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:53:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 23:53:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:53:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:53:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:53:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 23:53:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:53:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:53:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:53:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-384 [Pipeline] echo 23:53:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-384 [Pipeline] echo 23:53:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-384 [Pipeline] echo 23:53:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e64122104add324c714acf1d14cb311d02ae154f [Pipeline] echo 23:53:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e641221 [Pipeline] echo 23:53:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:53:33 provisioning config files... 23:53:33 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-384@tmp/config8239095158007477981tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:53:33 ---> docker-login.sh 23:53:33 nexus3.edgexfoundry.org:10001 23:53:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:53:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:53:33 Configure a credential helper to remove this warning. See 23:53:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:53:33 23:53:33 Login Succeeded 23:53:33 nexus3.edgexfoundry.org:10002 23:53:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:53:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:53:33 Configure a credential helper to remove this warning. See 23:53:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:53:33 23:53:33 Login Succeeded 23:53:33 nexus3.edgexfoundry.org:10003 23:53:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:53:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:53:33 Configure a credential helper to remove this warning. See 23:53:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:53:33 23:53:33 Login Succeeded 23:53:33 nexus3.edgexfoundry.org:10004 23:53:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:53:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:53:34 Configure a credential helper to remove this warning. See 23:53:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:53:34 23:53:34 Login Succeeded 23:53:34 docker.io 23:53:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:53:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:53:34 Configure a credential helper to remove this warning. See 23:53:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:53:34 23:53:34 Login Succeeded 23:53:34 ---> docker-login.sh ends [Pipeline] } 23:53:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 23:53:35 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:53:35 23:53:35 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:53:35 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:53:35 latest: Pulling from edgex-devops/git-semver 23:53:35 a0d0a0d46f8b: Pulling fs layer 23:53:35 3e5f54012d9b: Pulling fs layer 23:53:35 4c7163046ea9: Pulling fs layer 23:53:35 0c2d73faf560: Pulling fs layer 23:53:35 0c2d73faf560: Waiting 23:53:35 3e5f54012d9b: Verifying Checksum 23:53:35 3e5f54012d9b: Download complete 23:53:35 a0d0a0d46f8b: Verifying Checksum 23:53:35 a0d0a0d46f8b: Download complete 23:53:35 0c2d73faf560: Verifying Checksum 23:53:35 0c2d73faf560: Download complete 23:53:35 4c7163046ea9: Verifying Checksum 23:53:35 4c7163046ea9: Download complete 23:53:36 a0d0a0d46f8b: Pull complete 23:53:36 3e5f54012d9b: Pull complete 23:53:36 4c7163046ea9: Pull complete 23:53:36 0c2d73faf560: Pull complete 23:53:36 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 23:53:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:53:36 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:53:36 prd-centos7-docker-4c-2g-732 does not seem to be running inside a container 23:53:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-384 -v /w/workspace/edgexfoundry_device-sdk-c_PR-384:/w/workspace/edgexfoundry_device-sdk-c_PR-384:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-384@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-384@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 23:53:37 $ docker top d73a5b654e8125e57cb1d4ea773ea498f85dd510c4e358fd3376a3ca68edde1c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:53:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:53:37 [ssh-agent] Looking for ssh-agent implementation... 23:53:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:53:37 $ docker exec d73a5b654e8125e57cb1d4ea773ea498f85dd510c4e358fd3376a3ca68edde1c ssh-agent 23:53:37 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLALfgh/agent.14 23:53:37 SSH_AGENT_PID=20 23:53:37 Running ssh-add (command line suppressed) 23:53:37 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-384@tmp/private_key_2617587128932293902.key (/w/workspace/edgexfoundry_device-sdk-c_PR-384@tmp/private_key_2617587128932293902.key) 23:53:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:53:38 + git tag --points-at HEAD [Pipeline] } 23:53:38 $ docker exec --env ******** --env ******** d73a5b654e8125e57cb1d4ea773ea498f85dd510c4e358fd3376a3ca68edde1c ssh-agent -k 23:53:38 unset SSH_AUTH_SOCK; 23:53:38 unset SSH_AGENT_PID; 23:53:38 echo Agent pid 20 killed; 23:53:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:53:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:53:38 [ssh-agent] Looking for ssh-agent implementation... 23:53:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:53:38 $ docker exec d73a5b654e8125e57cb1d4ea773ea498f85dd510c4e358fd3376a3ca68edde1c ssh-agent 23:53:38 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHMEkBJ/agent.52 23:53:38 SSH_AGENT_PID=58 23:53:38 Running ssh-add (command line suppressed) 23:53:38 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-384@tmp/private_key_5583264374003407269.key (/w/workspace/edgexfoundry_device-sdk-c_PR-384@tmp/private_key_5583264374003407269.key) 23:53:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:53:39 + git semver init 23:53:39 # -> Open(): unable to determine branch for HEAD 23:53:39 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-384/.git 23:53:39 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-384 23:53:39 # $SEMVER_REMOTE_NAME = origin 23:53:39 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:53:39 # $SEMVER_USER_NAME = edgex-jenkins 23:53:39 # $SEMVER_BRANCH = PR-384 23:53:39 # $SEMVER_TEMP = /tmp/semver-182119121 23:53:39 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 23:53:40 # '/tmp/semver-182119121' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-384/.semver' 23:53:40 # -> Force: false 23:53:40 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-384/.semver [Pipeline] } 23:53:40 $ docker exec --env ******** --env ******** d73a5b654e8125e57cb1d4ea773ea498f85dd510c4e358fd3376a3ca68edde1c ssh-agent -k 23:53:40 unset SSH_AUTH_SOCK; 23:53:40 unset SSH_AGENT_PID; 23:53:40 echo Agent pid 58 killed; 23:53:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:53:40 + git semver [Pipeline] } 23:53:40 $ docker stop --time=1 d73a5b654e8125e57cb1d4ea773ea498f85dd510c4e358fd3376a3ca68edde1c 23:53:41 $ docker rm -f d73a5b654e8125e57cb1d4ea773ea498f85dd510c4e358fd3376a3ca68edde1c [Pipeline] // withDockerContainer [Pipeline] sh 23:53:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:53:42 Stashed 1 file(s) [Pipeline] echo 23:53:42 [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 23:53:57 Still waiting to schedule task 23:53:57 Waiting for next available executor on ‘centos7-docker-4c-2g’ 23:53:57 Still waiting to schedule task 23:53:57 ‘prd-ubuntu18.04-docker-arm64-4c-16g-730’ is offline 23:58:41 Running on prd-centos7-docker-4c-2g-738 in /w/workspace/edgexfoundry_device-sdk-c_PR-384 [Pipeline] { [Pipeline] ws 23:58:41 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 23:58:41 Selected Git installation does not exist. Using Default 23:58:41 The recommended git tool is: NONE 23:58:43 using credential edgex-jenkins-ssh 23:58:43 Cloning the remote Git repository 23:58:43 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 23:58:43 > git init /w/workspace/device-sdk-c/1 # timeout=10 23:58:43 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 23:58:43 > git --version # timeout=10 23:58:43 > git --version # 'git version 2.24.4' 23:58:43 using GIT_SSH to set credentials SSH Credentials for GitHub 23:58:43 [INFO] Currently running in a labeled security context 23:58:43 [INFO] Currently SELinux is 'enforcing' on the host 23:58:43 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh3807754424645429548.key 23:58:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:58:44 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 23:58:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:58:44 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 23:58:44 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 23:58:44 using GIT_SSH to set credentials SSH Credentials for GitHub 23:58:44 [INFO] Currently running in a labeled security context 23:58:44 [INFO] Currently SELinux is 'enforcing' on the host 23:58:44 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh3902693727326467393.key 23:58:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/384/head:refs/remotes/origin/PR-384 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:58:45 Merging remotes/origin/main commit 989fcf480b12b46cf08b8d06d57a888d847882bb into PR head commit e64122104add324c714acf1d14cb311d02ae154f 23:58:45 Merge succeeded, producing e64122104add324c714acf1d14cb311d02ae154f 23:58:45 Checking out Revision e64122104add324c714acf1d14cb311d02ae154f (PR-384) 23:58:45 > git config core.sparsecheckout # timeout=10 23:58:45 > git checkout -f e64122104add324c714acf1d14cb311d02ae154f # timeout=10 23:58:45 > git remote # timeout=10 23:58:45 > git config --get remote.origin.url # timeout=10 23:58:45 using GIT_SSH to set credentials SSH Credentials for GitHub 23:58:45 [INFO] Currently running in a labeled security context 23:58:45 [INFO] Currently SELinux is 'enforcing' on the host 23:58:45 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh4933228626179085742.key 23:58:45 > git merge 989fcf480b12b46cf08b8d06d57a888d847882bb # timeout=10 23:58:45 > git rev-parse HEAD^{commit} # timeout=10 23:58:45 > git config core.sparsecheckout # timeout=10 23:58:45 > git checkout -f e64122104add324c714acf1d14cb311d02ae154f # timeout=10 23:58:48 Commit message: "Fix: Remove trailing null from MQTT message envelope (383)" 23:58:48 > git --version # timeout=10 23:58:48 > git --version # 'git version 2.24.4' 23:58:48 fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:58:49 provisioning config files... 23:58:49 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config2930475473667728133tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:58:49 ---> docker-login.sh 23:58:49 nexus3.edgexfoundry.org:10001 23:58:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:58:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:58:50 Configure a credential helper to remove this warning. See 23:58:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:58:50 23:58:50 Login Succeeded 23:58:50 nexus3.edgexfoundry.org:10002 23:58:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:58:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:58:50 Configure a credential helper to remove this warning. See 23:58:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:58:50 23:58:50 Login Succeeded 23:58:50 nexus3.edgexfoundry.org:10003 23:58:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:58:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:58:50 Configure a credential helper to remove this warning. See 23:58:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:58:50 23:58:50 Login Succeeded 23:58:50 nexus3.edgexfoundry.org:10004 23:58:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:58:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:58:50 Configure a credential helper to remove this warning. See 23:58:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:58:50 23:58:50 Login Succeeded 23:58:50 docker.io 23:58:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:58:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:58:50 Configure a credential helper to remove this warning. See 23:58:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:58:50 23:58:50 Login Succeeded 23:58:50 ---> docker-login.sh ends [Pipeline] } 23:58:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:58:51 ========================================================= 23:58:51 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 23:58:51 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:58:51 + 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 . 23:58:51 Sending build context to Docker daemon 2.724MB 23:58:51 Step 1/24 : ARG BASE=alpine:3.14 23:58:51 Step 2/24 : FROM ${BASE} as builder 23:58:51 latest: Pulling from edgex-devops/edgex-gcc-base 23:58:51 a0d0a0d46f8b: Pulling fs layer 23:58:51 39017ce70367: Pulling fs layer 23:58:51 dcf9283bb20a: Pulling fs layer 23:58:51 39017ce70367: Verifying Checksum 23:58:51 39017ce70367: Download complete 23:58:51 a0d0a0d46f8b: Verifying Checksum 23:58:51 a0d0a0d46f8b: Download complete 23:58:51 a0d0a0d46f8b: Pull complete 23:58:52 39017ce70367: Pull complete 23:58:52 dcf9283bb20a: Verifying Checksum 23:58:52 dcf9283bb20a: Download complete 23:58:55 dcf9283bb20a: Pull complete 23:58:55 Digest: sha256:2a2af42e0978abc69143d34e5140e0e2b13385d9fcf9e2292ee97f6b0c1f1d72 23:58:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 23:58:55 ---> a4e04833b611 23:58:55 Step 3/24 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 23:58:56 ---> Running in dead5066d6d6 23:58:56 Connecting to iotech.jfrog.io (54.72.115.12:443) 23:58:57 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 23:58:57 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 23:58:57 '/etc/apk/keys/alpine.dev.rsa.pub' saved 23:58:57 Removing intermediate container dead5066d6d6 23:58:57 ---> 4a5af7d5faba 23:58:57 Step 4/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 23:58:57 ---> Running in 12314e9ac0b0 23:58:57 Removing intermediate container 12314e9ac0b0 23:58:57 ---> 388823cf90aa 23:58:57 Step 5/24 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev-1.3 hiredis-dev 23:58:57 ---> Running in 5f0737f6c511 23:58:58 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 23:58:59 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 23:58:59 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz 23:58:59 WARNING: This apk-tools is OLD! Some packages might not function properly. 23:58:59 (1/27) Installing hiredis (1.0.0-r0) 23:58:59 (2/27) Installing hiredis-dev (1.0.0-r0) 23:59:00 (3/27) Installing ncurses-dev (6.2_p20210612-r0) 23:59:00 (4/27) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 23:59:01 (5/27) Installing libblkid (2.37-r0) 23:59:01 (6/27) Installing blkid (2.37-r0) 23:59:01 (7/27) Installing libcap-ng (0.8.2-r0) 23:59:01 (8/27) Installing setpriv (2.37-r0) 23:59:01 (9/27) Installing libmount (2.37-r0) 23:59:01 (10/27) Installing libsmartcols (2.37-r0) 23:59:01 (11/27) Installing findmnt (2.37-r0) 23:59:01 (12/27) Installing mcookie (2.37-r0) 23:59:01 (13/27) Installing hexdump (2.37-r0) 23:59:01 (14/27) Installing lsblk (2.37-r0) 23:59:01 (15/27) Installing libuuid (2.37-r0) 23:59:02 (16/27) Installing libfdisk (2.37-r0) 23:59:02 (17/27) Installing sfdisk (2.37-r0) 23:59:02 (18/27) Installing cfdisk (2.37-r0) 23:59:02 (19/27) Installing partx (2.37-r0) 23:59:02 (20/27) Installing flock (2.37-r0) 23:59:02 (21/27) Installing logger (2.37-r0) 23:59:02 (22/27) Installing uuidgen (2.37-r0) 23:59:02 (23/27) Installing libeconf (0.3.8-r1) 23:59:02 (24/27) Installing util-linux (2.37-r0) 23:59:03 (25/27) Installing util-linux-dev (2.37-r0) 23:59:03 (26/27) Installing libidn2 (2.3.1-r0) 23:59:03 (27/27) Installing wget (1.21.1-r1) 23:59:03 Executing busybox-1.33.1-r3.trigger 23:59:03 OK: 291 MiB in 104 packages 23:59:04 Removing intermediate container 5f0737f6c511 23:59:04 ---> a840e7944032 23:59:04 Step 6/24 : ENV CBOR_VERSION=0.5.0 23:59:04 ---> Running in e531e696657d 23:59:04 Removing intermediate container e531e696657d 23:59:04 ---> b4ef28a8f36e 23:59:04 Step 7/24 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install 23:59:04 ---> Running in bb103a0b0ced 23:59:04 --2021-10-20 23:59:04-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 23:59:04 Resolving github.com (github.com)... 140.82.113.3 23:59:04 Connecting to github.com (github.com)|140.82.113.3|:443... connected. 23:59:04 HTTP request sent, awaiting response... 302 Found 23:59:04 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 23:59:04 --2021-10-20 23:59:04-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 23:59:04 Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 23:59:04 Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected. 23:59:04 HTTP request sent, awaiting response... 200 OK 23:59:04 Length: unspecified [application/x-gzip] 23:59:04 Saving to: 'STDOUT' 23:59:04 23:59:04 0K .......... .......... .......... .......... .......... 1.27M 23:59:04 50K .......... .......... .......... .......... .......... 2.52M 23:59:04 100K .......... .......... .......... .......... .......... 23.6M 23:59:04 150K .......... .......... .......... .......... .......... 35.4M 23:59:04 200K .......... .......... .......... .......... .......... 2.69M 23:59:05 250K .......... .......... .......... .......... .......... 8.68M 23:59:05 300K .......... .......... .......... .......... .......... 8.55M 23:59:05 350K .......... .......... .......... .......... .......... 8.63M 23:59:05 400K .......... .......... .......... .......... .......... 29.3M 23:59:05 450K .......... .......... .......... .......... .......... 13.5M 23:59:05 500K .......... .......... .......... .......... .......... 3.35M 23:59:05 550K .......... .......... .......... .......... .......... 22.8M 23:59:05 600K .......... .......... .......... .......... .......... 4.72M 23:59:05 650K .......... .......... .......... .......... .......... 4.45M 23:59:05 700K .. 4.63T=0.1s 23:59:05 23:59:05 2021-10-20 23:59:04 (4.91 MB/s) - written to stdout [719348] 23:59:05 23:59:05 -- The C compiler identification is GNU 10.3.1 23:59:05 -- The CXX compiler identification is GNU 10.3.1 23:59:05 -- Detecting C compiler ABI info 23:59:05 -- Detecting C compiler ABI info - done 23:59:05 -- Check for working C compiler: /usr/bin/cc - skipped 23:59:05 -- Detecting C compile features 23:59:05 -- Detecting C compile features - done 23:59:05 -- Detecting CXX compiler ABI info 23:59:05 -- Detecting CXX compiler ABI info - done 23:59:05 -- Check for working CXX compiler: /usr/bin/c++ - skipped 23:59:05 -- Detecting CXX compile features 23:59:05 -- Detecting CXX compile features - done 23:59:05 -- Looking for include file endian.h 23:59:05 -- Looking for include file endian.h - found 23:59:05 -- Looking for sys/types.h 23:59:05 -- Looking for sys/types.h - found 23:59:05 -- Looking for stdint.h 23:59:05 -- Looking for stdint.h - found 23:59:05 -- Looking for stddef.h 23:59:05 -- Looking for stddef.h - found 23:59:05 -- Check size of size_t 23:59:05 -- Check size of size_t - done 23:59:05 CMake Warning at examples/CMakeLists.txt:16 (find_package): 23:59:05 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 23:59:05 asked CMake to find a package configuration file provided by "cJSON", but 23:59:05 CMake did not find one. 23:59:05 23:59:05 Could not find a package configuration file provided by "cJSON" with any of 23:59:05 the following names: 23:59:05 23:59:05 cJSONConfig.cmake 23:59:05 cjson-config.cmake 23:59:05 23:59:05 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 23:59:05 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 23:59:05 provides a separate development package or SDK, be sure it has been 23:59:05 installed. 23:59:05 23:59:05 23:59:05 -- Configuring done 23:59:05 -- Generating done 23:59:05 -- Build files have been written to: /tmp/cbor 23:59:05 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 23:59:05 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 23:59:06 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 23:59:06 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 23:59:06 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 23:59:06 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 23:59:06 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 23:59:06 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 23:59:06 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 23:59:06 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 23:59:06 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 23:59:06 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 23:59:06 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 23:59:06 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 23:59:06 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 23:59:06 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 23:59:07 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 23:59:07 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 23:59:07 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 23:59:07 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 23:59:07 [ 40%] Linking C shared library libcbor.so 23:59:07 [ 40%] Built target cbor_shared 23:59:07 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 23:59:07 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 23:59:07 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 23:59:07 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 23:59:08 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 23:59:08 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 23:59:08 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 23:59:08 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 23:59:08 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 23:59:08 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 23:59:08 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 23:59:08 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 23:59:08 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 23:59:08 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 23:59:08 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 23:59:09 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 23:59:09 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 23:59:09 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 23:59:09 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 23:59:09 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 23:59:09 [ 80%] Linking C static library libcbor.a 23:59:09 [ 80%] Built target cbor 23:59:09 [ 82%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 23:59:09 [ 84%] Linking C executable readfile 23:59:09 [ 84%] Built target readfile 23:59:09 [ 86%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 23:59:09 [ 88%] Linking C executable create_items 23:59:09 [ 88%] Built target create_items 23:59:09 [ 90%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 23:59:09 [ 92%] Linking C executable sort 23:59:09 [ 92%] Built target sort 23:59:09 [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 23:59:09 [ 96%] Linking C executable hello 23:59:09 [ 96%] Built target hello 23:59:09 [ 98%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 23:59:09 [100%] Linking C executable streaming_parser 23:59:09 [100%] Built target streaming_parser 23:59:09 Install the project... 23:59:09 -- Install configuration: "Release" 23:59:09 -- Installing: /usr/local/include/cbor/configuration.h 23:59:09 -- Installing: /usr/local/lib/libcbor.a 23:59:09 -- Installing: /usr/local/lib/libcbor.so.0.0.0 23:59:09 -- Installing: /usr/local/lib/libcbor.so.0 23:59:09 -- Installing: /usr/local/lib/libcbor.so 23:59:09 -- Up-to-date: /usr/local/include/cbor 23:59:09 -- Installing: /usr/local/include/cbor/arrays.h 23:59:09 -- Installing: /usr/local/include/cbor/bytestrings.h 23:59:09 -- Installing: /usr/local/include/cbor/callbacks.h 23:59:09 -- Installing: /usr/local/include/cbor/common.h 23:59:09 -- Installing: /usr/local/include/cbor/data.h 23:59:09 -- Installing: /usr/local/include/cbor/encoding.h 23:59:09 -- Installing: /usr/local/include/cbor/floats_ctrls.h 23:59:09 -- Installing: /usr/local/include/cbor/internal 23:59:09 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 23:59:09 -- Installing: /usr/local/include/cbor/internal/encoders.h 23:59:09 -- Installing: /usr/local/include/cbor/internal/loaders.h 23:59:09 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 23:59:09 -- Installing: /usr/local/include/cbor/internal/stack.h 23:59:09 -- Installing: /usr/local/include/cbor/internal/unicode.h 23:59:09 -- Installing: /usr/local/include/cbor/ints.h 23:59:09 -- Installing: /usr/local/include/cbor/maps.h 23:59:09 -- Installing: /usr/local/include/cbor/serialization.h 23:59:09 -- Installing: /usr/local/include/cbor/streaming.h 23:59:09 -- Installing: /usr/local/include/cbor/strings.h 23:59:09 -- Installing: /usr/local/include/cbor/tags.h 23:59:09 -- Installing: /usr/local/include/cbor.h 23:59:09 -- Installing: /usr/local/lib/pkgconfig/libcbor.pc 23:59:10 Removing intermediate container bb103a0b0ced 23:59:10 ---> 923516b19b29 23:59:10 Step 8/24 : RUN mkdir /tmp/sdk 23:59:10 ---> Running in b0f5b099cbca 23:59:10 Removing intermediate container b0f5b099cbca 23:59:10 ---> 472ad4045a4d 23:59:10 Step 9/24 : COPY VERSION /tmp/sdk 23:59:11 ---> 960ffe2c3916 23:59:11 Step 10/24 : COPY src /tmp/sdk/src 23:59:11 ---> 3e952ad82966 23:59:11 Step 11/24 : COPY include /tmp/sdk/include 23:59:11 ---> 58540065e6b5 23:59:11 Step 12/24 : COPY scripts /tmp/sdk/scripts 23:59:11 ---> 19e485380ef3 23:59:11 Step 13/24 : COPY LICENSE /tmp/sdk 23:59:11 ---> dd9a6c35b806 23:59:11 Step 14/24 : COPY Attribution.txt /tmp/sdk 23:59:11 ---> f5bc84ba0e39 23:59:11 Step 15/24 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 23:59:11 ---> Running in 89978de85e6b 23:59:12 + CPPCHECK=false 23:59:12 + DOCGEN=false 23:59:12 + TOMLVER=SDK-0.2 23:59:12 + CUTILVER=1.2.2 23:59:12 + '[' 0 -gt 0 ] 23:59:12 + readlink -f ./scripts/build.sh 23:59:12 + dirname /tmp/sdk/scripts/build.sh 23:59:12 + dirname /tmp/sdk/scripts 23:59:12 + ROOT=/tmp/sdk 23:59:12 + cd /tmp/sdk 23:59:12 + '[' '!' -d deps ] 23:59:12 + mkdir deps 23:59:12 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 23:59:12 --2021-10-20 23:59:11-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 23:59:12 + tar -C deps -z -x -f - 23:59:12 Resolving github.com (github.com)... 140.82.113.3 23:59:12 Connecting to github.com (github.com)|140.82.113.3|:443... connected. 23:59:12 HTTP request sent, awaiting response... 302 Found 23:59:12 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 23:59:12 --2021-10-20 23:59:12-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 23:59:12 Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 23:59:12 Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected. 23:59:12 HTTP request sent, awaiting response... 200 OK 23:59:12 Length: unspecified [application/x-gzip] 23:59:12 Saving to: 'STDOUT' 23:59:12 23:59:12 0K .......... ...... 838K=0.02s 23:59:12 23:59:12 2021-10-20 23:59:12 (838 KB/s) - written to stdout [16451] 23:59:12 23:59:12 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 23:59:12 + tar -C deps -z -x -f - 23:59:12 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 23:59:12 --2021-10-20 23:59:12-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 23:59:12 Resolving github.com (github.com)... 140.82.113.3 23:59:12 Connecting to github.com (github.com)|140.82.113.3|:443... connected. 23:59:12 HTTP request sent, awaiting response... 302 Found 23:59:12 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] 23:59:12 --2021-10-20 23:59:12-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 23:59:12 Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 23:59:12 Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected. 23:59:12 HTTP request sent, awaiting response... 200 OK 23:59:12 Length: unspecified [application/x-gzip] 23:59:12 Saving to: 'STDOUT' 23:59:12 23:59:12 0K .......... .......... .......... .......... .......... 1.25M 23:59:12 50K .......... .......... .......... .......... .......... 2.63M 23:59:12 100K .......... .......... .......... .......... .......... 24.3M 23:59:12 150K .......... .......... .......... ......... 3.43M=0.07s 23:59:12 23:59:12 2021-10-20 23:59:12 (2.62 MB/s) - written to stdout [193961] 23:59:12 23:59:12 + mkdir -p src/c/iot 23:59:12 + 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 23:59:12 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 23:59:12 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 23:59:12 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 23:59:12 + mkdir -p include/iot 23:59:12 + 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 23:59:12 + mkdir -p include/iot/os 23:59:12 + 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 23:59:12 + mkdir -p /tmp/sdk/build/release 23:59:12 + cd /tmp/sdk/build/release 23:59:12 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 23:59:13 -- The C compiler identification is GNU 10.3.1 23:59:13 -- Detecting C compiler ABI info 23:59:13 -- Detecting C compiler ABI info - done 23:59:13 -- Check for working C compiler: /usr/bin/cc - skipped 23:59:13 -- Detecting C compile features 23:59:13 -- Detecting C compile features - done 23:59:13 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 23:59:13 -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") 23:59:13 -- Found LIBYAML: /usr/lib/libyaml.so 23:59:13 -- Found LIBUUID: /usr/lib/libuuid.so 23:59:13 -- Found LIBCBOR: /usr/local/lib/libcbor.so 23:59:13 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 23:59:13 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 23:59:13 -- C SDK 0.0.0 for Linux 23:59:13 -- Performing Test CSDK_HAVE_ATOMIC 23:59:13 -- Performing Test CSDK_HAVE_ATOMIC - Success 23:59:13 -- Found Curses: /usr/lib/libcurses.so 23:59:13 -- Configuring done 23:59:13 -- Generating done 23:59:13 -- Build files have been written to: /tmp/sdk/build/release 23:59:13 + tee release.log 23:59:13 + make all package 23:59:13 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 23:59:13 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 23:59:13 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 23:59:13 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 23:59:14 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 23:59:14 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 23:59:14 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 23:59:14 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 23:59:14 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 23:59:14 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 23:59:14 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 23:59:15 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 23:59:15 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 23:59:15 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 23:59:15 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 23:59:15 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 23:59:15 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 23:59:16 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 23:59:16 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 23:59:16 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 23:59:16 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 23:59:16 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 23:59:16 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 23:59:16 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 23:59:16 275 | const iot_component_factory_t * factory; 23:59:16 | ^~~~~~~ 23:59:16 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 23:59:17 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 23:59:17 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 23:59:17 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 23:59:17 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 23:59:17 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 23:59:17 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 23:59:18 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 23:59:18 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 23:59:18 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 23:59:18 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 23:59:18 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 23:59:19 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 23:59:19 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 23:59:19 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 23:59:19 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 23:59:20 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 23:59:20 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 23:59:20 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 23:59:20 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 23:59:20 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 23:59:20 /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] 23:59:20 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 23:59:20 | ^~~~~~~~~~~~~ 23:59:20 | | 23:59:20 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 23:59:20 In file included from /tmp/sdk/src/c/rest-server.c:21: 23:59:20 /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 *)' 23:59:20 2714 | MHD_KeyValueIterator iterator, 23:59:20 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 23:59:20 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 23:59:20 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 23:59:20 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 23:59:20 | ^~~~~~~~~~~~ 23:59:20 | | 23:59:20 | 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 **)} 23:59:20 In file included from /tmp/sdk/src/c/rest-server.c:21: 23:59:20 /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 **)'} 23:59:20 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 23:59:20 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 23:59:20 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 23:59:20 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 23:59:20 | ^~~~~~~~~~~~ 23:59:20 | | 23:59:20 | 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 **)} 23:59:20 In file included from /tmp/sdk/src/c/rest-server.c:21: 23:59:20 /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 **)'} 23:59:20 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 23:59:20 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 23:59:20 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 23:59:21 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 23:59:21 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 23:59:21 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 23:59:21 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 23:59:21 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 23:59:22 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 23:59:22 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 23:59:22 [ 76%] Linking C shared library libcsdk.so 23:59:22 [ 76%] Built target csdk 23:59:22 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 23:59:22 [ 79%] Linking C executable template 23:59:22 [ 79%] Built target template 23:59:22 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 23:59:23 [ 82%] Linking C executable device-counter 23:59:23 [ 82%] Built target device-counter 23:59:23 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 23:59:23 [ 85%] Linking C executable device-random 23:59:23 [ 85%] Built target device-random 23:59:23 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 23:59:23 [ 88%] Linking C executable device-gyro 23:59:23 [ 88%] Built target device-gyro 23:59:23 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 23:59:23 [ 91%] Linking C executable device-bitfields 23:59:23 [ 91%] Built target device-bitfields 23:59:23 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 23:59:23 [ 94%] Linking C executable template-discovery 23:59:23 [ 94%] Built target template-discovery 23:59:23 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 23:59:23 [ 97%] Linking C executable device-file 23:59:23 [ 97%] Built target device-file 23:59:23 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 23:59:24 [100%] Linking C executable device-terminal 23:59:24 [100%] Built target device-terminal 23:59:24 Run CPack packaging tool... 23:59:24 CPack: Create package using TGZ 23:59:24 CPack: Install projects 23:59:24 CPack: - Run preinstall target for: Csdk 23:59:24 CPack: - Install project: Csdk [] 23:59:24 CPack: Create package 23:59:24 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 23:59:24 + '[' false '=' true ] 23:59:24 + '[' false '=' true ] 23:59:24 + mkdir -p /tmp/sdk/build/debug 23:59:24 + cd /tmp/sdk/build/debug 23:59:24 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 23:59:24 -- The C compiler identification is GNU 10.3.1 23:59:24 -- Detecting C compiler ABI info 23:59:24 -- Detecting C compiler ABI info - done 23:59:24 -- Check for working C compiler: /usr/bin/cc - skipped 23:59:24 -- Detecting C compile features 23:59:24 -- Detecting C compile features - done 23:59:24 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 23:59:24 -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") 23:59:24 -- Found LIBYAML: /usr/lib/libyaml.so 23:59:24 -- Found LIBUUID: /usr/lib/libuuid.so 23:59:24 -- Found LIBCBOR: /usr/local/lib/libcbor.so 23:59:24 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 23:59:24 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 23:59:24 -- C SDK 0.0.0 for Linux 23:59:24 -- Performing Test CSDK_HAVE_ATOMIC 23:59:24 -- Performing Test CSDK_HAVE_ATOMIC - Success 23:59:24 -- Found Curses: /usr/lib/libcurses.so 23:59:24 -- Configuring done 23:59:24 -- Generating done 23:59:24 -- Build files have been written to: /tmp/sdk/build/debug 23:59:24 + make 23:59:24 + tee debug.log 23:59:24 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 23:59:24 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 23:59:25 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 23:59:25 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 23:59:25 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 23:59:25 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 23:59:25 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 23:59:25 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 23:59:25 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 23:59:25 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 23:59:25 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 23:59:25 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 23:59:25 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 23:59:25 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 23:59:25 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 23:59:25 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 23:59:26 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 23:59:26 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 23:59:26 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 23:59:26 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 23:59:26 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 23:59:26 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 23:59:26 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 23:59:26 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 23:59:26 275 | const iot_component_factory_t * factory; 23:59:26 | ^~~~~~~ 23:59:26 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 23:59:26 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 23:59:26 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 23:59:26 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 23:59:26 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 23:59:26 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 23:59:26 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 23:59:27 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 23:59:27 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 23:59:27 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 23:59:27 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 23:59:27 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 23:59:27 Running on prd-ubuntu18.04-docker-arm64-4c-16g-737 in /w/workspace/edgexfoundry_device-sdk-c_PR-384 [Pipeline] { [Pipeline] ws 23:59:27 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 23:59:27 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 23:59:27 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 23:59:27 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 23:59:27 Selected Git installation does not exist. Using Default 23:59:27 The recommended git tool is: NONE 23:59:27 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 23:59:27 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 23:59:28 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 23:59:28 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 23:59:28 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 23:59:28 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 23:59:28 /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] 23:59:28 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 23:59:28 | ^~~~~~~~~~~~~ 23:59:28 | | 23:59:28 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 23:59:28 In file included from /tmp/sdk/src/c/rest-server.c:21: 23:59:28 /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 *)' 23:59:28 2714 | MHD_KeyValueIterator iterator, 23:59:28 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 23:59:28 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 23:59:28 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 23:59:28 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 23:59:28 | ^~~~~~~~~~~~ 23:59:28 | | 23:59:28 | 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 **)} 23:59:28 In file included from /tmp/sdk/src/c/rest-server.c:21: 23:59:28 /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 **)'} 23:59:28 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 23:59:28 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 23:59:28 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 23:59:28 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 23:59:28 | ^~~~~~~~~~~~ 23:59:28 | | 23:59:28 | 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 **)} 23:59:28 In file included from /tmp/sdk/src/c/rest-server.c:21: 23:59:28 /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 **)'} 23:59:28 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 23:59:28 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 23:59:28 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 23:59:28 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 23:59:28 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 23:59:28 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 23:59:28 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 23:59:28 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 23:59:28 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 23:59:29 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 23:59:29 [ 76%] Linking C shared library libcsdk.so 23:59:29 [ 76%] Built target csdk 23:59:29 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 23:59:29 [ 79%] Linking C executable template 23:59:29 [ 79%] Built target template 23:59:29 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 23:59:29 [ 82%] Linking C executable device-counter 23:59:29 [ 82%] Built target device-counter 23:59:29 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 23:59:29 [ 85%] Linking C executable device-random 23:59:29 [ 85%] Built target device-random 23:59:29 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 23:59:29 [ 88%] Linking C executable device-gyro 23:59:29 [ 88%] Built target device-gyro 23:59:29 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 23:59:29 [ 91%] Linking C executable device-bitfields 23:59:29 [ 91%] Built target device-bitfields 23:59:29 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 23:59:29 [ 94%] Linking C executable template-discovery 23:59:29 [ 94%] Built target template-discovery 23:59:29 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 23:59:29 [ 97%] Linking C executable device-file 23:59:29 [ 97%] Built target device-file 23:59:29 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 23:59:30 [100%] Linking C executable device-terminal 23:59:30 [100%] Built target device-terminal 23:59:30 make: Entering directory '/tmp/sdk/build/release' 23:59:30 make[1]: Entering directory '/tmp/sdk/build/release' 23:59:30 make[2]: Entering directory '/tmp/sdk/build/release' 23:59:30 make[2]: Leaving directory '/tmp/sdk/build/release' 23:59:30 [ 76%] Built target csdk 23:59:30 make[2]: Entering directory '/tmp/sdk/build/release' 23:59:30 make[2]: Leaving directory '/tmp/sdk/build/release' 23:59:30 [ 79%] Built target template 23:59:30 make[2]: Entering directory '/tmp/sdk/build/release' 23:59:30 make[2]: Leaving directory '/tmp/sdk/build/release' 23:59:30 [ 82%] Built target device-counter 23:59:30 make[2]: Entering directory '/tmp/sdk/build/release' 23:59:30 make[2]: Leaving directory '/tmp/sdk/build/release' 23:59:30 [ 85%] Built target device-random 23:59:30 make[2]: Entering directory '/tmp/sdk/build/release' 23:59:30 make[2]: Leaving directory '/tmp/sdk/build/release' 23:59:30 [ 88%] Built target device-gyro 23:59:30 make[2]: Entering directory '/tmp/sdk/build/release' 23:59:30 make[2]: Leaving directory '/tmp/sdk/build/release' 23:59:30 [ 91%] Built target device-bitfields 23:59:30 make[2]: Entering directory '/tmp/sdk/build/release' 23:59:30 make[2]: Leaving directory '/tmp/sdk/build/release' 23:59:30 [ 94%] Built target template-discovery 23:59:30 make[2]: Entering directory '/tmp/sdk/build/release' 23:59:30 make[2]: Leaving directory '/tmp/sdk/build/release' 23:59:30 [ 97%] Built target device-file 23:59:30 make[2]: Entering directory '/tmp/sdk/build/release' 23:59:30 make[2]: Leaving directory '/tmp/sdk/build/release' 23:59:30 [100%] Built target device-terminal 23:59:30 make[1]: Leaving directory '/tmp/sdk/build/release' 23:59:30 Install the project... 23:59:30 -- Install configuration: "Release" 23:59:30 -- Installing: /usr/local/lib/libcsdk.so 23:59:30 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 23:59:30 -- Up-to-date: /usr/local/include 23:59:30 -- Installing: /usr/local/include/devsdk 23:59:30 -- Installing: /usr/local/include/devsdk/devsdk-base.h 23:59:30 -- Installing: /usr/local/include/devsdk/devsdk.h 23:59:30 -- Installing: /usr/local/include/edgex 23:59:30 -- Installing: /usr/local/include/edgex/devices.h 23:59:30 -- Installing: /usr/local/include/edgex/edgex-base.h 23:59:30 -- Installing: /usr/local/include/edgex/edgex.h 23:59:30 -- Installing: /usr/local/include/edgex/profiles.h 23:59:30 -- Installing: /usr/local/include/edgex/rest-server.h 23:59:30 -- Installing: /usr/local/include/edgex/csdk-defs.h 23:59:30 -- Installing: /usr/local/include/iot 23:59:30 -- Installing: /usr/local/include/iot/base64.h 23:59:30 -- Installing: /usr/local/include/iot/component.h 23:59:30 -- Installing: /usr/local/include/iot/config.h 23:59:30 -- Installing: /usr/local/include/iot/container.h 23:59:30 -- Installing: /usr/local/include/iot/data.h 23:59:30 -- Installing: /usr/local/include/iot/hash.h 23:59:30 -- Installing: /usr/local/include/iot/iot.h 23:59:30 -- Installing: /usr/local/include/iot/json.h 23:59:30 -- Installing: /usr/local/include/iot/logger.h 23:59:30 -- Installing: /usr/local/include/iot/os.h 23:59:30 -- Installing: /usr/local/include/iot/scheduler.h 23:59:30 -- Installing: /usr/local/include/iot/thread.h 23:59:30 -- Installing: /usr/local/include/iot/threadpool.h 23:59:30 -- Installing: /usr/local/include/iot/time.h 23:59:30 -- Installing: /usr/local/include/iot/typecode.h 23:59:30 -- Installing: /usr/local/include/iot/uuid.h 23:59:30 -- Installing: /usr/local/include/iot/os 23:59:30 -- Installing: /usr/local/include/iot/os/linux.h 23:59:30 -- Installing: /usr/local/include/iot/os/macos.h 23:59:30 -- Installing: /usr/local/include/iot/os/zephyr.h 23:59:30 -- Installing: /usr/local/include/iot/defs.h 23:59:30 -- Installing: /usr/local/share/device-sdk-c/LICENSE 23:59:30 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 23:59:30 make: Leaving directory '/tmp/sdk/build/release' 23:59:30 Removing intermediate container 89978de85e6b 23:59:30 ---> 9c4ce7df832b 23:59:30 Step 16/24 : FROM ${BASE} 23:59:30 ---> a4e04833b611 23:59:30 Step 17/24 : LABEL maintainer="IOTech " 23:59:30 ---> Running in d10f0095f360 23:59:30 Removing intermediate container d10f0095f360 23:59:30 ---> d462f1e18d6d 23:59:30 Step 18/24 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 23:59:30 ---> Running in d764736592e7 23:59:31 Connecting to iotech.jfrog.io (54.229.110.245:443) 23:59:31 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 23:59:31 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 23:59:31 '/etc/apk/keys/alpine.dev.rsa.pub' saved 23:59:31 Removing intermediate container d764736592e7 23:59:31 ---> c0995e617afa 23:59:31 Step 19/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 23:59:31 ---> Running in 9df43161aafc 23:59:32 Removing intermediate container 9df43161aafc 23:59:32 ---> 8c3d203bdbf1 23:59:32 Step 20/24 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev-1.3 hiredis-dev 23:59:32 ---> Running in 1c2530d79a62 23:59:32 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 23:59:33 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 23:59:33 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz 23:59:33 using credential edgex-jenkins-ssh 23:59:33 Cloning the remote Git repository 23:59:34 WARNING: This apk-tools is OLD! Some packages might not function properly. 23:59:34 (1/7) Installing curl (7.79.1-r0) 23:59:34 (2/7) Installing hiredis (1.0.0-r0) 23:59:34 (3/7) Installing hiredis-dev (1.0.0-r0) 23:59:34 (4/7) Installing libuuid (2.37-r0) 23:59:34 (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 23:59:33 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 23:59:34 > git init /w/workspace/device-sdk-c/1 # timeout=10 23:59:34 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 23:59:34 > git --version # timeout=10 23:59:34 > git --version # 'git version 2.17.1' 23:59:34 using GIT_SSH to set credentials SSH Credentials for GitHub 23:59:34 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:59:35 (6/7) Installing libidn2 (2.3.1-r0) 23:59:35 (7/7) Installing wget (1.21.1-r1) 23:59:35 Executing busybox-1.33.1-r3.trigger 23:59:35 OK: 282 MiB in 84 packages 23:59:35 Removing intermediate container 1c2530d79a62 23:59:35 ---> 2dac06632566 23:59:35 Step 21/24 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 23:59:36 ---> 1f0239fd5962 23:59:36 Step 22/24 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 23:59:36 ---> 1db1e326023f 23:59:36 Step 23/24 : COPY --from=builder /usr/local/lib /usr/local/lib 23:59:36 ---> a83abe6d53c1 23:59:36 Step 24/24 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 23:59:36 ---> 5caed3dddbed 23:59:36 Successfully built 5caed3dddbed 23:59:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script 23:59:35 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 23:59:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:59:35 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 23:59:35 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 23:59:35 using GIT_SSH to set credentials SSH Credentials for GitHub 23:59:35 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/384/head:refs/remotes/origin/PR-384 +refs/heads/main:refs/remotes/origin/main # timeout=10 [Pipeline] } 23:59:36 Merging remotes/origin/main commit 989fcf480b12b46cf08b8d06d57a888d847882bb into PR head commit e64122104add324c714acf1d14cb311d02ae154f [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:59:36 Merge succeeded, producing e64122104add324c714acf1d14cb311d02ae154f 23:59:36 Checking out Revision e64122104add324c714acf1d14cb311d02ae154f (PR-384) 23:59:36 + docker inspect -f . ci-base-image-x86_64 23:59:36 . [Pipeline] withDockerContainer 23:59:36 prd-centos7-docker-4c-2g-738 does not seem to be running inside a container 23:59:37 $ docker run -t -d -u 1001:1001 -u 0:0 -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 ******** -e ******** ci-base-image-x86_64 cat 23:59:37 $ docker top fe7401e6f00e5f21806f1be96c5692585bf970d6f2e9558f2e96c8b1cd4f50ff -eo pid,comm [Pipeline] { [Pipeline] sh 23:59:37 + make test 23:59:37 echo "make test" 23:59:37 make test [Pipeline] } 23:59:37 $ docker stop --time=1 fe7401e6f00e5f21806f1be96c5692585bf970d6f2e9558f2e96c8b1cd4f50ff 23:59:36 > git config core.sparsecheckout # timeout=10 23:59:36 > git checkout -f e64122104add324c714acf1d14cb311d02ae154f # timeout=10 23:59:36 > git remote # timeout=10 23:59:36 > git config --get remote.origin.url # timeout=10 23:59:36 using GIT_SSH to set credentials SSH Credentials for GitHub 23:59:36 > git merge 989fcf480b12b46cf08b8d06d57a888d847882bb # timeout=10 23:59:36 > git rev-parse HEAD^{commit} # timeout=10 23:59:36 > git config core.sparsecheckout # timeout=10 23:59:36 > git checkout -f e64122104add324c714acf1d14cb311d02ae154f # timeout=10 23:59:38 $ docker rm -f fe7401e6f00e5f21806f1be96c5692585bf970d6f2e9558f2e96c8b1cd4f50ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:59:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:59:40 + ls -al . 23:59:40 total 172 23:59:40 drwxrwxr-x. 8 jenkins jenkins 4096 Oct 20 23:58 . 23:59:40 drwxrwxr-x. 4 jenkins jenkins 28 Oct 20 23:58 .. 23:59:40 -rw-rw-r--. 1 jenkins jenkins 3104 Oct 20 23:58 Attribution.txt 23:59:40 -rw-rw-r--. 1 jenkins jenkins 7767 Oct 20 23:58 CHANGES 23:59:40 drwxrwxr-x. 2 jenkins jenkins 121 Oct 20 23:58 docs 23:59:40 -rw-rw-r--. 1 jenkins jenkins 108574 Oct 20 23:58 Doxyfile 23:59:40 drwxrwxr-x. 8 jenkins jenkins 179 Oct 20 23:58 .git 23:59:40 drwxrwxr-x. 3 jenkins jenkins 103 Oct 20 23:58 .github 23:59:40 -rw-rw-r--. 1 jenkins jenkins 176 Oct 20 23:58 .gitignore 23:59:40 -rw-rw-r--. 1 jenkins jenkins 677 Oct 20 23:58 GOVERNANCE.md 23:59:40 drwxrwxr-x. 4 jenkins jenkins 33 Oct 20 23:58 include 23:59:40 -rw-rw-r--. 1 jenkins jenkins 784 Oct 20 23:58 Jenkinsfile 23:59:40 -rw-rw-r--. 1 jenkins jenkins 10174 Oct 20 23:58 LICENSE 23:59:40 -rw-rw-r--. 1 jenkins jenkins 444 Oct 20 23:58 Makefile 23:59:40 -rw-rw-r--. 1 jenkins jenkins 618 Oct 20 23:58 OWNERS.md 23:59:40 -rw-rw-r--. 1 jenkins jenkins 4086 Oct 20 23:58 README.md 23:59:40 -rw-rw-r--. 1 jenkins jenkins 7422 Oct 20 23:58 README.v2.md 23:59:40 drwxrwxr-x. 2 jenkins jenkins 98 Oct 20 23:58 scripts 23:59:40 drwxrwxr-x. 4 jenkins jenkins 50 Oct 20 23:58 src 23:59:40 -rw-rw-r--. 1 jenkins jenkins 5 Oct 20 23:53 VERSION [Pipeline] isUnix [Pipeline] sh 23:59:40 + docker build -t device-sdk -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=e64122104add324c714acf1d14cb311d02ae154f --label arch=amd64 --label version=0.0.0 . 23:59:40 Sending build context to Docker daemon 2.724MB 23:59:40 Step 1/17 : ARG BASE=alpine:3.14 23:59:40 Step 2/17 : FROM ${BASE} 23:59:40 ---> 5caed3dddbed 23:59:40 Step 3/17 : LABEL maintainer="IOTech " 23:59:40 ---> Running in 4a1d61984b12 23:59:40 Removing intermediate container 4a1d61984b12 23:59:40 ---> c1b650ec7569 23:59:40 Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 23:59:40 ---> Running in 2c9654114d50 23:59:40 --2021-10-20 23:59:40-- https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release 23:59:40 Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.229.110.245, 54.72.115.12, 54.195.244.87 23:59:40 Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.229.110.245|:443... connected. 23:59:41 Commit message: "Fix: Remove trailing null from MQTT message envelope (383)" 23:59:41 > git --version # timeout=10 23:59:41 > git --version # 'git version 2.17.1' 23:59:41 fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 23:59:41 HTTP request sent, awaiting response... 200 OK 23:59:41 Length: unspecified [application/json] 23:59:41 Saving to: '/etc/apk/keys/alpine.dev.rsa.pub' 23:59:41  23:59:41 0K  154M=0s 23:59:41 23:59:41 2021-10-20 23:59:41 (154 MB/s) - '/etc/apk/keys/alpine.dev.rsa.pub' saved [451] 23:59:41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 23:59:41 Removing intermediate container 2c9654114d50 23:59:41 ---> 856c383e6c85 23:59:41 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 23:59:41 ---> Running in f63823f22b79 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:59:42 Removing intermediate container f63823f22b79 23:59:42 ---> e3b83eda5ca1 23:59:42 Step 6/17 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev-1.3 hiredis-dev && mkdir -p /edgex-c-sdk/build 23:59:42 ---> Running in a06bddb0b877 23:59:42 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 23:59:42 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:59:42 % Total % Received % Xferd Average Speed Time Time Time Current 23:59:42 Dload Upload Total Spent Left Speed 23:59:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 63913 0 --:--:-- --:--:-- --:--:-- 63913 [Pipeline] sh 23:59:42 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:59:43 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 23:59:43 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 23:59:43 /etc/docker/daemon.new 23:59:43 { 23:59:43 "registry-mirrors": [ 23:59:43 "https://nexus3.edgexfoundry.org:10001" 23:59:43 ], 23:59:43 "bip": "10.250.0.254/24", 23:59:43 "hosts": [ 23:59:43 "tcp://0.0.0.0:5555", 23:59:43 "unix:///var/run/docker.sock" 23:59:43 ], 23:59:43 "mtu": 1458, 23:59:43 "selinux-enabled": true, 23:59:43 "seccomp-profile": "/etc/docker/seccomp.json" 23:59:43 } [Pipeline] sh 23:59:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:59:43 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz 23:59:43 WARNING: This apk-tools is OLD! Some packages might not function properly. 23:59:43 (1/21) Installing ncurses-dev (6.2_p20210612-r0) 23:59:43 + sudo service docker restart 23:59:44 (2/21) Installing libblkid (2.37-r0) 23:59:44 (3/21) Installing blkid (2.37-r0) 23:59:44 (4/21) Installing libcap-ng (0.8.2-r0) 23:59:44 (5/21) Installing setpriv (2.37-r0) 23:59:44 (6/21) Installing libmount (2.37-r0) 23:59:44 (7/21) Installing libsmartcols (2.37-r0) 23:59:44 (8/21) Installing findmnt (2.37-r0) 23:59:44 (9/21) Installing mcookie (2.37-r0) 23:59:44 (10/21) Installing hexdump (2.37-r0) 23:59:44 (11/21) Installing lsblk (2.37-r0) 23:59:45 (12/21) Installing libfdisk (2.37-r0) 23:59:45 (13/21) Installing sfdisk (2.37-r0) 23:59:45 (14/21) Installing cfdisk (2.37-r0) 23:59:45 (15/21) Installing partx (2.37-r0) 23:59:45 (16/21) Installing flock (2.37-r0) 23:59:45 (17/21) Installing logger (2.37-r0) 23:59:45 (18/21) Installing uuidgen (2.37-r0) 23:59:45 (19/21) Installing libeconf (0.3.8-r1) 23:59:45 (20/21) Installing util-linux (2.37-r0) 23:59:46 (21/21) Installing util-linux-dev (2.37-r0) 23:59:46 Executing busybox-1.33.1-r3.trigger 23:59:46 OK: 291 MiB in 105 packages 23:59:46 Removing intermediate container a06bddb0b877 23:59:46 ---> 2173ffcfc2f5 23:59:46 Step 7/17 : COPY VERSION /edgex-c-sdk/ 23:59:46 ---> 25524470babf 23:59:46 Step 8/17 : COPY src /edgex-c-sdk/src/ 23:59:47 ---> 7f23c44dd64c 23:59:47 Step 9/17 : COPY include /edgex-c-sdk/include/ 23:59:47 ---> 569005d512ea 23:59:47 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 23:59:47 ---> 7f7c616dca88 23:59:47 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 23:59:47 ---> 5da0265b8edd 23:59:47 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 23:59:47 ---> 69b73a95b8a3 23:59:47 Step 13/17 : WORKDIR /edgex-c-sdk 23:59:47 ---> Running in 4521178ebec4 23:59:47 Removing intermediate container 4521178ebec4 23:59:47 ---> 98cd3d0d79b6 23:59:47 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 23:59:47 ---> Running in 8663a8046a7d 23:59:47 Removing intermediate container 8663a8046a7d 23:59:47 ---> ca634cda07d8 23:59:47 Step 15/17 : LABEL arch=amd64 23:59:47 ---> Running in e83d7034da3d 23:59:47 Removing intermediate container e83d7034da3d 23:59:47 ---> b55e41d39d9a 23:59:47 Step 16/17 : LABEL git_sha=e64122104add324c714acf1d14cb311d02ae154f 23:59:47 ---> Running in 78adc9f265f3 23:59:48 Removing intermediate container 78adc9f265f3 23:59:48 ---> 263c32cfd40e 23:59:48 Step 17/17 : LABEL version=0.0.0 23:59:48 ---> Running in 6272e342b22c 23:59:48 Removing intermediate container 6272e342b22c 23:59:48 ---> c74c2883b437 23:59:48 [Warning] One or more build-args [ARCH MAKE] were not consumed 23:59:48 Successfully built c74c2883b437 23:59:48 Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:59:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:59:48 23:59:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:59:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:59:49 latest: Pulling from edgex-lftools-log-publisher 23:59:49 b4d181a07f80: Pulling fs layer 23:59:49 a1111a8f2ec3: Pulling fs layer 23:59:49 ed53099fbce6: Pulling fs layer 23:59:49 dc539afda2c1: Pulling fs layer 23:59:49 77bc0d833cb6: Pulling fs layer 23:59:49 9065ff56babe: Pulling fs layer 23:59:49 d287ab97295c: Pulling fs layer 23:59:49 77bc0d833cb6: Waiting 23:59:49 9065ff56babe: Waiting 23:59:49 dc539afda2c1: Waiting 23:59:49 d287ab97295c: Waiting 23:59:49 a1111a8f2ec3: Verifying Checksum 23:59:49 a1111a8f2ec3: Download complete 23:59:49 dc539afda2c1: Verifying Checksum 23:59:49 dc539afda2c1: Download complete 23:59:49 ed53099fbce6: Verifying Checksum 23:59:49 ed53099fbce6: Download complete 23:59:49 9065ff56babe: Verifying Checksum 23:59:49 9065ff56babe: Download complete 23:59:49 77bc0d833cb6: Verifying Checksum 23:59:49 77bc0d833cb6: Download complete 23:59:49 b4d181a07f80: Verifying Checksum 23:59:49 b4d181a07f80: Download complete 23:59:50 d287ab97295c: Verifying Checksum 23:59:50 d287ab97295c: Download complete 23:59:51 b4d181a07f80: Pull complete 23:59:51 a1111a8f2ec3: Pull complete 23:59:52 ed53099fbce6: Pull complete 23:59:52 dc539afda2c1: Pull complete 23:59:52 77bc0d833cb6: Pull complete 23:59:52 9065ff56babe: Pull complete 23:59:57 d287ab97295c: Pull complete 23:59:57 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 23:59:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:59:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:59:57 prd-centos7-docker-4c-2g-738 does not seem to be running inside a container 23:59:57 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:00:00 $ docker top 232930fe4e7df00d288c8bea8051d3b4444e5a0cc8986f1faa6675e4973c7be5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:00:00 ---> job-cost.sh 00:00:00 lf-activate-venv: SKIPPING 00:00:00 INFO: No Stack... [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:00:02 provisioning config files... 00:00:02 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config1509752427461995434tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:00:02 ---> docker-login.sh 00:00:02 nexus3.edgexfoundry.org:10001 00:00:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:00:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:00:05 Configure a credential helper to remove this warning. See 00:00:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:00:05 00:00:05 Login Succeeded 00:00:05 nexus3.edgexfoundry.org:10002 00:00:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:00:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:00:05 Configure a credential helper to remove this warning. See 00:00:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:00:05 00:00:05 Login Succeeded 00:00:05 nexus3.edgexfoundry.org:10003 00:00:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:00:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:00:06 Configure a credential helper to remove this warning. See 00:00:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:00:06 00:00:06 Login Succeeded 00:00:06 nexus3.edgexfoundry.org:10004 00:00:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:00:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:00:06 Configure a credential helper to remove this warning. See 00:00:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:00:06 00:00:06 Login Succeeded 00:00:06 docker.io 00:00:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:00:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:00:07 Configure a credential helper to remove this warning. See 00:00:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:00:07 00:00:07 Login Succeeded 00:00:07 ---> docker-login.sh ends [Pipeline] } 00:00:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:00:08 ========================================================= 00:00:08 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 00:00:08 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 00:00: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 . 00:00:09 Sending build context to Docker daemon 2.723MB 00:00:09 Step 1/24 : ARG BASE=alpine:3.14 00:00:09 Step 2/24 : FROM ${BASE} as builder 00:00:09 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 00:00:09 552d1f2373af: Pulling fs layer 00:00:09 f2be2b6548c6: Pulling fs layer 00:00:09 ee4ac2fe028c: Pulling fs layer 00:00:09 f2be2b6548c6: Download complete 00:00:09 552d1f2373af: Download complete 00:00:10 552d1f2373af: Pull complete 00:00:10 f2be2b6548c6: Pull complete 00:00:11 ee4ac2fe028c: Verifying Checksum 00:00:11 ee4ac2fe028c: Download complete 00:00:19 ee4ac2fe028c: Pull complete 00:00:19 Digest: sha256:4c85ded81933cf54d6808eb239bc3fea8e3bb42c9130537b51c88bfc6b01a02b 00:00:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 00:00:19 ---> b6d714ea7bf2 00:00:19 Step 3/24 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 00:00:22 INFO: Retrieving Pricing Info for: v3-standard-2 00:00:22 INFO: Archiving Costs [Pipeline] sh 00:00:22 + cat /w/workspace/device-sdk-c/1/archives/cost.csv 00:00:22 + cut -d, -f6 [Pipeline] lock 00:00:22 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-384-1-stack-cost] 00:00:22 Resource [jenkins-edgexfoundry-device-sdk-c-PR-384-1-stack-cost] did not exist. Created. 00:00:22 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-384-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:00:23 + echo total: 0.05999999865889549 [Pipeline] stash 00:00:23 ---> Running in dc0783206d76 00:00:23 Stashed 1 file(s) [Pipeline] } 00:00:23 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-384-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:00:23 $ docker stop --time=1 232930fe4e7df00d288c8bea8051d3b4444e5a0cc8986f1faa6675e4973c7be5 00:00:24 $ docker rm -f 232930fe4e7df00d288c8bea8051d3b4444e5a0cc8986f1faa6675e4973c7be5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:00:25 Connecting to iotech.jfrog.io (54.229.110.245:443) 00:00:25 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 00:00:25 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 00:00:25 '/etc/apk/keys/alpine.dev.rsa.pub' saved 00:00:26 Removing intermediate container dc0783206d76 00:00:26 ---> a825eca19c3e 00:00:26 Step 4/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 00:00:26 ---> Running in 5c071ae56504 00:00:28 Removing intermediate container 5c071ae56504 00:00:28 ---> 74ccac3ca91b 00:00:28 Step 5/24 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev-1.3 hiredis-dev 00:00:28 ---> Running in e14f4d7cbfe9 00:00:29 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 00:00:31 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 00:00:31 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz 00:00:32 WARNING: This apk-tools is OLD! Some packages might not function properly. 00:00:32 (1/27) Installing hiredis (1.0.0-r0) 00:00:32 (2/27) Installing hiredis-dev (1.0.0-r0) 00:00:32 (3/27) Installing ncurses-dev (6.2_p20210612-r0) 00:00:32 (4/27) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 00:00:33 (5/27) Installing libblkid (2.37-r0) 00:00:33 (6/27) Installing blkid (2.37-r0) 00:00:33 (7/27) Installing libcap-ng (0.8.2-r0) 00:00:33 (8/27) Installing setpriv (2.37-r0) 00:00:33 (9/27) Installing libmount (2.37-r0) 00:00:34 (10/27) Installing libsmartcols (2.37-r0) 00:00:34 (11/27) Installing findmnt (2.37-r0) 00:00:34 (12/27) Installing mcookie (2.37-r0) 00:00:34 (13/27) Installing hexdump (2.37-r0) 00:00:34 (14/27) Installing lsblk (2.37-r0) 00:00:34 (15/27) Installing libuuid (2.37-r0) 00:00:34 (16/27) Installing libfdisk (2.37-r0) 00:00:34 (17/27) Installing sfdisk (2.37-r0) 00:00:34 (18/27) Installing cfdisk (2.37-r0) 00:00:35 (19/27) Installing partx (2.37-r0) 00:00:35 (20/27) Installing flock (2.37-r0) 00:00:35 (21/27) Installing logger (2.37-r0) 00:00:35 (22/27) Installing uuidgen (2.37-r0) 00:00:35 (23/27) Installing libeconf (0.3.8-r1) 00:00:35 (24/27) Installing util-linux (2.37-r0) 00:00:35 (25/27) Installing util-linux-dev (2.37-r0) 00:00:35 (26/27) Installing libidn2 (2.3.1-r0) 00:00:35 (27/27) Installing wget (1.21.1-r1) 00:00:36 Executing busybox-1.33.1-r3.trigger 00:00:36 OK: 286 MiB in 104 packages 00:00:38 Removing intermediate container e14f4d7cbfe9 00:00:38 ---> 951e22aebfd9 00:00:38 Step 6/24 : ENV CBOR_VERSION=0.5.0 00:00:38 ---> Running in 44ce4e1232dd 00:00:38 Removing intermediate container 44ce4e1232dd 00:00:38 ---> 5916a6b47e00 00:00:38 Step 7/24 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install 00:00:38 ---> Running in dd2ca37c9092 00:00:40 --2021-10-21 00:00:39-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 00:00:40 Resolving github.com (github.com)... 140.82.112.4 00:00:40 Connecting to github.com (github.com)|140.82.112.4|:443... connected. 00:00:40 HTTP request sent, awaiting response... 302 Found 00:00:40 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 00:00:40 --2021-10-21 00:00:40-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 00:00:40 Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 00:00:40 Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. 00:00:40 HTTP request sent, awaiting response... 200 OK 00:00:40 Length: unspecified [application/x-gzip] 00:00:40 Saving to: 'STDOUT' 00:00:40  00:00:40 0K .......... .......... .......... .......... .......... 1.14M 00:00:40 50K .......... .......... .......... .......... .......... 2.21M 00:00:40 100K .......... .......... .......... .......... .......... 2.30M 00:00:40 150K .......... .......... .......... .......... .......... 13.9M 00:00:40 200K .......... .......... .......... .......... .......... 9.95M 00:00:40 250K .......... .......... .......... .......... .......... 3.27M 00:00:40 300K .......... .......... .......... .......... .......... 4.46M 00:00:40 350K .......... .......... .......... .......... .......... 4.77M 00:00:40 400K .......... .......... .......... .......... .......... 3.60M 00:00:40 450K .......... .......... .......... .......... .......... 4.17M 00:00:40 500K .......... .......... .......... .......... .......... 7.67M 00:00:40 550K .......... .......... .......... .......... .......... 2.92M 00:00:40 600K .......... .......... .......... .......... .......... 884K 00:00:40 650K .......... .......... .......... .......... .......... 2.96M 00:00:40 700K .. 332K=0.3s 00:00:40 00:00:40 2021-10-21 00:00:40 (2.64 MB/s) - written to stdout [719348] 00:00:40 00:00:41 -- The C compiler identification is GNU 10.3.1 00:00:41 -- The CXX compiler identification is GNU 10.3.1 00:00:41 -- Detecting C compiler ABI info 00:00:41 -- Detecting C compiler ABI info - done 00:00:41 -- Check for working C compiler: /usr/bin/cc - skipped 00:00:41 -- Detecting C compile features 00:00:41 -- Detecting C compile features - done 00:00:41 -- Detecting CXX compiler ABI info 00:00:41 -- Detecting CXX compiler ABI info - done 00:00:41 -- Check for working CXX compiler: /usr/bin/c++ - skipped 00:00:41 -- Detecting CXX compile features 00:00:41 -- Detecting CXX compile features - done 00:00:41 -- Looking for include file endian.h 00:00:42 -- Looking for include file endian.h - found 00:00:42 -- Looking for sys/types.h 00:00:42 -- Looking for sys/types.h - found 00:00:42 -- Looking for stdint.h 00:00:42 -- Looking for stdint.h - found 00:00:42 -- Looking for stddef.h 00:00:43 -- Looking for stddef.h - found 00:00:43 -- Check size of size_t 00:00:43 -- Check size of size_t - done 00:00:43 CMake Warning at examples/CMakeLists.txt:16 (find_package): 00:00:43 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 00:00:43 asked CMake to find a package configuration file provided by "cJSON", but 00:00:43 CMake did not find one. 00:00:43 00:00:43 Could not find a package configuration file provided by "cJSON" with any of 00:00:43 the following names: 00:00:43 00:00:43 cJSONConfig.cmake 00:00:43 cjson-config.cmake 00:00:43 00:00:43 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 00:00:43 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 00:00:43 provides a separate development package or SDK, be sure it has been 00:00:43 installed. 00:00:43 00:00:43 00:00:43 -- Configuring done 00:00:43 -- Generating done 00:00:43 -- Build files have been written to: /tmp/cbor 00:00:43 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 00:00:44 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 00:00:45 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 00:00:45 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 00:00:46 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 00:00:46 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 00:00:47 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 00:00:47 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 00:00:47 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 00:00:48 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 00:00:48 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 00:00:48 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 00:00:49 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 00:00:49 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 00:00:50 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 00:00:50 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 00:00:50 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 00:00:50 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 00:00:51 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 00:00:51 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 00:00:51 [ 40%] Linking C shared library libcbor.so 00:00:52 [ 40%] Built target cbor_shared 00:00:52 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 00:00:53 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 00:00:53 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 00:00:53 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 00:00:55 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 00:00:56 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 00:00:56 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 00:00:56 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 00:00:56 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 00:00:57 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 00:00:57 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 00:00:58 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 00:00:58 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 00:00:59 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 00:00:59 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 00:01:00 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 00:01:00 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 00:01:00 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 00:01:00 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 00:01:01 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 00:01:01 [ 80%] Linking C static library libcbor.a 00:01:01 [ 80%] Built target cbor 00:01:01 [ 82%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 00:01:02 [ 84%] Linking C executable readfile 00:01:02 [ 84%] Built target readfile 00:01:02 [ 86%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 00:01:02 [ 88%] Linking C executable create_items 00:01:02 [ 88%] Built target create_items 00:01:02 [ 90%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 00:01:02 [ 92%] Linking C executable sort 00:01:02 [ 92%] Built target sort 00:01:02 [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 00:01:03 [ 96%] Linking C executable hello 00:01:03 [ 96%] Built target hello 00:01:03 [ 98%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 00:01:03 [100%] Linking C executable streaming_parser 00:01:03 [100%] Built target streaming_parser 00:01:03 Install the project... 00:01:03 -- Install configuration: "Release" 00:01:03 -- Installing: /usr/local/include/cbor/configuration.h 00:01:03 -- Installing: /usr/local/lib/libcbor.a 00:01:03 -- Installing: /usr/local/lib/libcbor.so.0.0.0 00:01:03 -- Installing: /usr/local/lib/libcbor.so.0 00:01:03 -- Installing: /usr/local/lib/libcbor.so 00:01:03 -- Up-to-date: /usr/local/include/cbor 00:01:03 -- Installing: /usr/local/include/cbor/streaming.h 00:01:03 -- Installing: /usr/local/include/cbor/ints.h 00:01:03 -- Installing: /usr/local/include/cbor/floats_ctrls.h 00:01:03 -- Installing: /usr/local/include/cbor/bytestrings.h 00:01:03 -- Installing: /usr/local/include/cbor/encoding.h 00:01:03 -- Installing: /usr/local/include/cbor/serialization.h 00:01:03 -- Installing: /usr/local/include/cbor/data.h 00:01:03 -- Installing: /usr/local/include/cbor/common.h 00:01:03 -- Installing: /usr/local/include/cbor/callbacks.h 00:01:03 -- Installing: /usr/local/include/cbor/strings.h 00:01:03 -- Installing: /usr/local/include/cbor/tags.h 00:01:03 -- Installing: /usr/local/include/cbor/internal 00:01:03 -- Installing: /usr/local/include/cbor/internal/encoders.h 00:01:03 -- Installing: /usr/local/include/cbor/internal/loaders.h 00:01:03 -- Installing: /usr/local/include/cbor/internal/stack.h 00:01:03 -- Installing: /usr/local/include/cbor/internal/unicode.h 00:01:03 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 00:01:03 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 00:01:03 -- Installing: /usr/local/include/cbor/arrays.h 00:01:03 -- Installing: /usr/local/include/cbor/maps.h 00:01:03 -- Installing: /usr/local/include/cbor.h 00:01:03 -- Installing: /usr/local/lib/pkgconfig/libcbor.pc 00:01:06 Removing intermediate container dd2ca37c9092 00:01:06 ---> 7daebef6b4c9 00:01:06 Step 8/24 : RUN mkdir /tmp/sdk 00:01:06 ---> Running in 005330883f01 00:01:08 Removing intermediate container 005330883f01 00:01:08 ---> 7d3a436aea12 00:01:08 Step 9/24 : COPY VERSION /tmp/sdk 00:01:08 ---> 5dd3e5899b3e 00:01:08 Step 10/24 : COPY src /tmp/sdk/src 00:01:09 ---> db0ebe5d6d45 00:01:09 Step 11/24 : COPY include /tmp/sdk/include 00:01:10 ---> 54871ed4b2c7 00:01:10 Step 12/24 : COPY scripts /tmp/sdk/scripts 00:01:11 ---> 2b80399ab720 00:01:11 Step 13/24 : COPY LICENSE /tmp/sdk 00:01:11 ---> 95ccd69754f2 00:01:11 Step 14/24 : COPY Attribution.txt /tmp/sdk 00:01:12 ---> dbda42670c3d 00:01:12 Step 15/24 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 00:01:12 ---> Running in eda9340d756e 00:01:14 + CPPCHECK=false 00:01:14 + DOCGEN=false 00:01:14 + TOMLVER=SDK-0.2 00:01:14 + CUTILVER=1.2.2 00:01:14 + '[' 0 -gt 0 ] 00:01:14 + readlink -f ./scripts/build.sh 00:01:14 + dirname /tmp/sdk/scripts/build.sh 00:01:14 + dirname /tmp/sdk/scripts 00:01:14 + ROOT=/tmp/sdk 00:01:14 + cd /tmp/sdk 00:01:14 + '[' '!' -d deps ] 00:01:14 + mkdir deps 00:01:14 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 00:01:14 + tar -C deps -z -x -f - 00:01:14 --2021-10-21 00:01:13-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 00:01:14 Resolving github.com (github.com)... 140.82.114.3 00:01:14 Connecting to github.com (github.com)|140.82.114.3|:443... connected. 00:01:14 HTTP request sent, awaiting response... 302 Found 00:01:14 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 00:01:14 --2021-10-21 00:01:14-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 00:01:14 Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 00:01:14 Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. 00:01:14 HTTP request sent, awaiting response... 200 OK 00:01:14 Length: unspecified [application/x-gzip] 00:01:14 Saving to: 'STDOUT' 00:01:14  00:01:14 0K .......... ......   804K=0.02s 00:01:14 00:01:14 2021-10-21 00:01:14 (804 KB/s) - written to stdout [16451] 00:01:14 00:01:14 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 00:01:14 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 00:01:14 + tar -C deps -z -x -f - 00:01:14 --2021-10-21 00:01:14-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 00:01:14 Resolving github.com (github.com)... 140.82.114.3 00:01:14 Connecting to github.com (github.com)|140.82.114.3|:443... connected. 00:01:14 HTTP request sent, awaiting response... 302 Found 00:01:14 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] 00:01:14 --2021-10-21 00:01:14-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 00:01:14 Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 00:01:14 Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. 00:01:15 HTTP request sent, awaiting response... 200 OK 00:01:15 Length: unspecified [application/x-gzip] 00:01:15 Saving to: 'STDOUT' 00:01:15  00:01:15 0K .......... .......... .......... .......... .......... 1.15M 00:01:15 50K .......... .......... .......... .......... .......... 2.47M 00:01:15 100K .......... .......... .......... .......... .......... 2.45M 00:01:15 150K .......... .......... .......... .........          6.27M=0.09s 00:01:15 00:01:15 2021-10-21 00:01:15 (2.10 MB/s) - written to stdout [193961] 00:01:15 00:01:15 + mkdir -p src/c/iot 00:01:15 + 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 00:01:15 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 00:01:15 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 00:01:15 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 00:01:15 + mkdir -p include/iot 00:01:15 + 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 00:01:15 + mkdir -p include/iot/os 00:01:15 + 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 00:01:15 + mkdir -p /tmp/sdk/build/release 00:01:15 + cd /tmp/sdk/build/release 00:01:15 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 00:01:15 -- The C compiler identification is GNU 10.3.1 00:01:15 -- Detecting C compiler ABI info 00:01:15 -- Detecting C compiler ABI info - done 00:01:15 -- Check for working C compiler: /usr/bin/cc - skipped 00:01:15 -- Detecting C compile features 00:01:15 -- Detecting C compile features - done 00:01:15 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 00:01:16 -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") 00:01:16 -- Found LIBYAML: /usr/lib/libyaml.so 00:01:16 -- Found LIBUUID: /usr/lib/libuuid.so 00:01:16 -- Found LIBCBOR: /usr/local/lib/libcbor.so 00:01:16 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 00:01:16 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 00:01:16 -- C SDK 0.0.0 for Linux 00:01:16 -- Performing Test CSDK_HAVE_ATOMIC 00:01:16 -- Performing Test CSDK_HAVE_ATOMIC - Success 00:01:16 -- Found Curses: /usr/lib/libcurses.so 00:01:16 -- Configuring done 00:01:17 -- Generating done 00:01:17 -- Build files have been written to: /tmp/sdk/build/release 00:01:17 + make all package 00:01:17 + tee release.log 00:01:17 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 00:01:17 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 00:01:18 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 00:01:20 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 00:01:21 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 00:01:21 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 00:01:22 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 00:01:23 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 00:01:23 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 00:01:24 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 00:01:26 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 00:01:27 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 00:01:28 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 00:01:28 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 00:01:29 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 00:01:29 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 00:01:29 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 00:01:33 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 00:01:33 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 00:01:33 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 00:01:33 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 00:01:34 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 00:01:34 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 00:01:34 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 00:01:34 275 | const iot_component_factory_t * factory; 00:01:34 | ^~~~~~~ 00:01:35 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 00:01:40 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 00:01:40 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 00:01:40 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 00:01:40 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 00:01:41 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 00:01:41 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 00:01:43 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 00:01:43 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 00:01:44 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 00:01:44 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 00:01:45 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 00:01:47 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 00:01:47 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 00:01:48 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 00:01:49 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 00:01:54 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 00:01:54 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 00:01:54 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 00:01:55 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 00:01:55 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 00:01: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] 00:01:55 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 00:01:55 | ^~~~~~~~~~~~~ 00:01:55 | | 00:01:55 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 00:01:55 In file included from /tmp/sdk/src/c/rest-server.c:21: 00:01: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 *)' 00:01:55 2714 | MHD_KeyValueIterator iterator, 00:01:55 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 00:01:55 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 00:01: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] 00:01:55 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 00:01:55 | ^~~~~~~~~~~~ 00:01:55 | | 00:01: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 **)} 00:01:55 In file included from /tmp/sdk/src/c/rest-server.c:21: 00:01: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 **)'} 00:01:55 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 00:01:55 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 00:01: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] 00:01:55 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 00:01:55 | ^~~~~~~~~~~~ 00:01:55 | | 00:01: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 **)} 00:01:55 In file included from /tmp/sdk/src/c/rest-server.c:21: 00:01: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 **)'} 00:01:55 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 00:01:55 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 00:01:56 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 00:01:58 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 00:01:58 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 00:01:59 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 00:01:59 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 00:02:02 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 00:02:06 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 00:02:06 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 00:02:07 [ 76%] Linking C shared library libcsdk.so 00:02:07 [ 76%] Built target csdk 00:02:07 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 00:02:08 [ 79%] Linking C executable template 00:02:08 [ 79%] Built target template 00:02:08 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 00:02:09 [ 82%] Linking C executable device-counter 00:02:09 [ 82%] Built target device-counter 00:02:09 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 00:02:10 [ 85%] Linking C executable device-random 00:02:10 [ 85%] Built target device-random 00:02:10 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 00:02:11 [ 88%] Linking C executable device-gyro 00:02:11 [ 88%] Built target device-gyro 00:02:11 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 00:02:11 [ 91%] Linking C executable device-bitfields 00:02:11 [ 91%] Built target device-bitfields 00:02:12 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 00:02:12 [ 94%] Linking C executable template-discovery 00:02:13 [ 94%] Built target template-discovery 00:02:13 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 00:02:14 [ 97%] Linking C executable device-file 00:02:14 [ 97%] Built target device-file 00:02:14 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 00:02:15 [100%] Linking C executable device-terminal 00:02:15 [100%] Built target device-terminal 00:02:15 Run CPack packaging tool... 00:02:15 CPack: Create package using TGZ 00:02:15 CPack: Install projects 00:02:15 CPack: - Run preinstall target for: Csdk 00:02:15 CPack: - Install project: Csdk [] 00:02:15 CPack: Create package 00:02:16 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 00:02:16 + '[' false '=' true ] 00:02:16 + '[' false '=' true ] 00:02:16 + mkdir -p /tmp/sdk/build/debug 00:02:16 + cd /tmp/sdk/build/debug 00:02:16 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 00:02:16 -- The C compiler identification is GNU 10.3.1 00:02:16 -- Detecting C compiler ABI info 00:02:16 -- Detecting C compiler ABI info - done 00:02:16 -- Check for working C compiler: /usr/bin/cc - skipped 00:02:16 -- Detecting C compile features 00:02:16 -- Detecting C compile features - done 00:02:16 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 00:02:17 -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") 00:02:17 -- Found LIBYAML: /usr/lib/libyaml.so 00:02:17 -- Found LIBUUID: /usr/lib/libuuid.so 00:02:17 -- Found LIBCBOR: /usr/local/lib/libcbor.so 00:02:17 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 00:02:17 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 00:02:17 -- C SDK 0.0.0 for Linux 00:02:17 -- Performing Test CSDK_HAVE_ATOMIC 00:02:17 -- Performing Test CSDK_HAVE_ATOMIC - Success 00:02:17 -- Found Curses: /usr/lib/libcurses.so 00:02:17 -- Configuring done 00:02:17 -- Generating done 00:02:17 -- Build files have been written to: /tmp/sdk/build/debug 00:02:17 + make 00:02:17 + tee debug.log 00:02:17 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 00:02:18 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 00:02:18 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 00:02:19 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 00:02:19 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 00:02:19 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 00:02:20 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 00:02:20 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 00:02:20 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 00:02:21 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 00:02:21 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 00:02:22 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 00:02:22 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 00:02:22 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 00:02:22 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 00:02:23 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 00:02:23 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 00:02:24 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 00:02:24 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 00:02:24 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 00:02:25 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 00:02:25 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 00:02:25 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 00:02:25 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 00:02:25 275 | const iot_component_factory_t * factory; 00:02:25 | ^~~~~~~ 00:02:25 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 00:02:27 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 00:02:27 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 00:02:27 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 00:02:27 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 00:02:27 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 00:02:27 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 00:02:28 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 00:02:28 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 00:02:28 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 00:02:29 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 00:02:29 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 00:02:29 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 00:02:29 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 00:02:30 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 00:02:30 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 00:02:31 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 00:02:32 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 00:02:32 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 00:02:32 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 00:02:32 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 00:02: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] 00:02:32 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 00:02:32 | ^~~~~~~~~~~~~ 00:02:32 | | 00:02:32 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 00:02:32 In file included from /tmp/sdk/src/c/rest-server.c:21: 00:02: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 *)' 00:02:32 2714 | MHD_KeyValueIterator iterator, 00:02:32 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 00:02:32 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 00:02: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] 00:02:32 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 00:02:32 | ^~~~~~~~~~~~ 00:02:32 | | 00:02: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 **)} 00:02:32 In file included from /tmp/sdk/src/c/rest-server.c:21: 00:02: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 **)'} 00:02:32 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 00:02:32 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 00:02: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] 00:02:32 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 00:02:32 | ^~~~~~~~~~~~ 00:02:32 | | 00:02: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 **)} 00:02:32 In file included from /tmp/sdk/src/c/rest-server.c:21: 00:02: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 **)'} 00:02:32 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 00:02:32 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 00:02:33 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 00:02:34 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 00:02:34 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 00:02:34 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 00:02:35 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 00:02:36 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 00:02:36 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 00:02:37 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 00:02:37 [ 76%] Linking C shared library libcsdk.so 00:02:37 [ 76%] Built target csdk 00:02:37 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 00:02:37 [ 79%] Linking C executable template 00:02:38 [ 79%] Built target template 00:02:38 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 00:02:38 [ 82%] Linking C executable device-counter 00:02:38 [ 82%] Built target device-counter 00:02:38 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 00:02:39 [ 85%] Linking C executable device-random 00:02:39 [ 85%] Built target device-random 00:02:39 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 00:02:39 [ 88%] Linking C executable device-gyro 00:02:39 [ 88%] Built target device-gyro 00:02:39 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 00:02:40 [ 91%] Linking C executable device-bitfields 00:02:40 [ 91%] Built target device-bitfields 00:02:40 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 00:02:40 [ 94%] Linking C executable template-discovery 00:02:41 [ 94%] Built target template-discovery 00:02:41 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 00:02:41 [ 97%] Linking C executable device-file 00:02:41 [ 97%] Built target device-file 00:02:41 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 00:02:42 [100%] Linking C executable device-terminal 00:02:42 [100%] Built target device-terminal 00:02:42 make: Entering directory '/tmp/sdk/build/release' 00:02:42 make[1]: Entering directory '/tmp/sdk/build/release' 00:02:42 make[2]: Entering directory '/tmp/sdk/build/release' 00:02:42 make[2]: Leaving directory '/tmp/sdk/build/release' 00:02:42 [ 76%] Built target csdk 00:02:42 make[2]: Entering directory '/tmp/sdk/build/release' 00:02:42 make[2]: Leaving directory '/tmp/sdk/build/release' 00:02:42 [ 79%] Built target template 00:02:42 make[2]: Entering directory '/tmp/sdk/build/release' 00:02:42 make[2]: Leaving directory '/tmp/sdk/build/release' 00:02:42 [ 82%] Built target device-counter 00:02:42 make[2]: Entering directory '/tmp/sdk/build/release' 00:02:42 make[2]: Leaving directory '/tmp/sdk/build/release' 00:02:42 [ 85%] Built target device-random 00:02:42 make[2]: Entering directory '/tmp/sdk/build/release' 00:02:42 make[2]: Leaving directory '/tmp/sdk/build/release' 00:02:42 [ 88%] Built target device-gyro 00:02:42 make[2]: Entering directory '/tmp/sdk/build/release' 00:02:42 make[2]: Leaving directory '/tmp/sdk/build/release' 00:02:42 [ 91%] Built target device-bitfields 00:02:42 make[2]: Entering directory '/tmp/sdk/build/release' 00:02:42 make[2]: Leaving directory '/tmp/sdk/build/release' 00:02:42 [ 94%] Built target template-discovery 00:02:42 make[2]: Entering directory '/tmp/sdk/build/release' 00:02:42 make[2]: Leaving directory '/tmp/sdk/build/release' 00:02:42 [ 97%] Built target device-file 00:02:42 make[2]: Entering directory '/tmp/sdk/build/release' 00:02:42 make[2]: Leaving directory '/tmp/sdk/build/release' 00:02:43 [100%] Built target device-terminal 00:02:43 make[1]: Leaving directory '/tmp/sdk/build/release' 00:02:43 Install the project... 00:02:43 -- Install configuration: "Release" 00:02:43 -- Installing: /usr/local/lib/libcsdk.so 00:02:43 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 00:02:43 -- Up-to-date: /usr/local/include 00:02:43 -- Installing: /usr/local/include/edgex 00:02:43 -- Installing: /usr/local/include/edgex/rest-server.h 00:02:43 -- Installing: /usr/local/include/edgex/edgex-base.h 00:02:43 -- Installing: /usr/local/include/edgex/edgex.h 00:02:43 -- Installing: /usr/local/include/edgex/devices.h 00:02:43 -- Installing: /usr/local/include/edgex/profiles.h 00:02:43 -- Installing: /usr/local/include/edgex/csdk-defs.h 00:02:43 -- Installing: /usr/local/include/devsdk 00:02:43 -- Installing: /usr/local/include/devsdk/devsdk-base.h 00:02:43 -- Installing: /usr/local/include/devsdk/devsdk.h 00:02:43 -- Installing: /usr/local/include/iot 00:02:43 -- Installing: /usr/local/include/iot/json.h 00:02:43 -- Installing: /usr/local/include/iot/container.h 00:02:43 -- Installing: /usr/local/include/iot/component.h 00:02:43 -- Installing: /usr/local/include/iot/typecode.h 00:02:43 -- Installing: /usr/local/include/iot/iot.h 00:02:43 -- Installing: /usr/local/include/iot/uuid.h 00:02:43 -- Installing: /usr/local/include/iot/time.h 00:02:43 -- Installing: /usr/local/include/iot/hash.h 00:02:43 -- Installing: /usr/local/include/iot/logger.h 00:02:43 -- Installing: /usr/local/include/iot/os 00:02:43 -- Installing: /usr/local/include/iot/os/zephyr.h 00:02:43 -- Installing: /usr/local/include/iot/os/linux.h 00:02:43 -- Installing: /usr/local/include/iot/os/macos.h 00:02:43 -- Installing: /usr/local/include/iot/scheduler.h 00:02:43 -- Installing: /usr/local/include/iot/data.h 00:02:43 -- Installing: /usr/local/include/iot/thread.h 00:02:43 -- Installing: /usr/local/include/iot/os.h 00:02:43 -- Installing: /usr/local/include/iot/base64.h 00:02:43 -- Installing: /usr/local/include/iot/defs.h 00:02:43 -- Installing: /usr/local/include/iot/threadpool.h 00:02:43 -- Installing: /usr/local/include/iot/config.h 00:02:43 -- Installing: /usr/local/share/device-sdk-c/LICENSE 00:02:43 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 00:02:43 make: Leaving directory '/tmp/sdk/build/release' 00:02:45 Removing intermediate container eda9340d756e 00:02:45 ---> de3ad70965e9 00:02:45 Step 16/24 : FROM ${BASE} 00:02:45 ---> b6d714ea7bf2 00:02:45 Step 17/24 : LABEL maintainer="IOTech " 00:02:45 ---> Running in f06619227676 00:02:45 Removing intermediate container f06619227676 00:02:45 ---> cf884d4d3d51 00:02:45 Step 18/24 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 00:02:46 ---> Running in 287a14e4265e 00:02:47 Connecting to iotech.jfrog.io (54.195.244.87:443) 00:02:48 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 00:02:48 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 00:02:48 '/etc/apk/keys/alpine.dev.rsa.pub' saved 00:02:49 Removing intermediate container 287a14e4265e 00:02:49 ---> 1beb8ae35917 00:02:49 Step 19/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 00:02:49 ---> Running in dc5df65af00b 00:02:51 Removing intermediate container dc5df65af00b 00:02:51 ---> a83195491695 00:02:51 Step 20/24 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev-1.3 hiredis-dev 00:02:51 ---> Running in 2b83605865f1 00:02:52 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 00:02:53 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 00:02:54 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz 00:02:54 WARNING: This apk-tools is OLD! Some packages might not function properly. 00:02:54 (1/7) Installing curl (7.79.1-r0) 00:02:54 (2/7) Installing hiredis (1.0.0-r0) 00:02:55 (3/7) Installing hiredis-dev (1.0.0-r0) 00:02:55 (4/7) Installing libuuid (2.37-r0) 00:02:55 (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 00:02:56 (6/7) Installing libidn2 (2.3.1-r0) 00:02:56 (7/7) Installing wget (1.21.1-r1) 00:02:56 Executing busybox-1.33.1-r3.trigger 00:02:56 OK: 276 MiB in 84 packages 00:02:57 Removing intermediate container 2b83605865f1 00:02:57 ---> bd82497132e4 00:02:57 Step 21/24 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 00:02:58 ---> 28e25e3e2a66 00:02:58 Step 22/24 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 00:02:59 ---> a3ad3e97158b 00:02:59 Step 23/24 : COPY --from=builder /usr/local/lib /usr/local/lib 00:02:59 ---> b2b22e9f23b6 00:02:59 Step 24/24 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 00:03:00 ---> 497336372f02 00:03:00 Successfully built 497336372f02 00:03:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:03:01 + docker inspect -f . ci-base-image-arm64 00:03:01 . [Pipeline] withDockerContainer 00:03:01 prd-ubuntu18.04-docker-arm64-4c-16g-737 does not seem to be running inside a container 00:03:01 $ docker run -t -d -u 1001:1001 -u 0:0 -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 ******** -e ******** ci-base-image-arm64 cat 00:03:03 $ docker top 4bfec153ea14e6099337c7f5d6a354573e1cdadcc5b8f7ddb287ae44b8dc6573 -eo pid,comm [Pipeline] { [Pipeline] sh 00:03:04 + make test 00:03:04 echo "make test" 00:03:04 make test [Pipeline] } 00:03:04 $ docker stop --time=1 4bfec153ea14e6099337c7f5d6a354573e1cdadcc5b8f7ddb287ae44b8dc6573 00:03:06 $ docker rm -f 4bfec153ea14e6099337c7f5d6a354573e1cdadcc5b8f7ddb287ae44b8dc6573 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:03:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:03:09 + ls -al . 00:03:09 total 200 00:03:09 drwxrwxr-x 8 jenkins jenkins 4096 Oct 20 23:59 . 00:03:09 drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 23:59 .. 00:03:09 drwxrwxr-x 8 jenkins jenkins 4096 Oct 20 23:59 .git 00:03:09 drwxrwxr-x 3 jenkins jenkins 4096 Oct 20 23:59 .github 00:03:09 -rw-rw-r-- 1 jenkins jenkins 176 Oct 20 23:59 .gitignore 00:03:09 -rw-rw-r-- 1 jenkins jenkins 3104 Oct 20 23:59 Attribution.txt 00:03:09 -rw-rw-r-- 1 jenkins jenkins 7767 Oct 20 23:59 CHANGES 00:03:09 -rw-rw-r-- 1 jenkins jenkins 108574 Oct 20 23:59 Doxyfile 00:03:09 -rw-rw-r-- 1 jenkins jenkins 677 Oct 20 23:59 GOVERNANCE.md 00:03:09 -rw-rw-r-- 1 jenkins jenkins 784 Oct 20 23:59 Jenkinsfile 00:03:09 -rw-rw-r-- 1 jenkins jenkins 10174 Oct 20 23:59 LICENSE 00:03:09 -rw-rw-r-- 1 jenkins jenkins 444 Oct 20 23:59 Makefile 00:03:09 -rw-rw-r-- 1 jenkins jenkins 618 Oct 20 23:59 OWNERS.md 00:03:09 -rw-rw-r-- 1 jenkins jenkins 4086 Oct 20 23:59 README.md 00:03:09 -rw-rw-r-- 1 jenkins jenkins 7422 Oct 20 23:59 README.v2.md 00:03:09 -rw-rw-r-- 1 jenkins jenkins 5 Oct 20 23:53 VERSION 00:03:09 drwxrwxr-x 2 jenkins jenkins 4096 Oct 20 23:59 docs 00:03:09 drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 23:59 include 00:03:09 drwxrwxr-x 2 jenkins jenkins 4096 Oct 20 23:59 scripts 00:03:09 drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 23:59 src [Pipeline] isUnix [Pipeline] sh 00:03:09 + docker build -t device-sdk-arm64 -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=e64122104add324c714acf1d14cb311d02ae154f --label arch=arm64 --label version=0.0.0 . 00:03:10 Sending build context to Docker daemon 2.723MB 00:03:10 Step 1/17 : ARG BASE=alpine:3.14 00:03:10 Step 2/17 : FROM ${BASE} 00:03:10 ---> 497336372f02 00:03:10 Step 3/17 : LABEL maintainer="IOTech " 00:03:10 ---> Running in ef1abe1ed2b3 00:03:10 Removing intermediate container ef1abe1ed2b3 00:03:10 ---> 4d11c7cc0c20 00:03:10 Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 00:03:10 ---> Running in 7cd02cbb9b6e 00:03:12 --2021-10-21 00:03:12-- https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release 00:03:12 Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.72.115.12, 54.195.244.87, 54.229.110.245 00:03:12 Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.72.115.12|:443... connected. 00:03:12 HTTP request sent, awaiting response... 200 OK 00:03:12 Length: unspecified [application/json] 00:03:12 Saving to: '/etc/apk/keys/alpine.dev.rsa.pub' 00:03:12  00:03:12 0K    44.3M=0s 00:03:12 00:03:12 2021-10-21 00:03:12 (44.3 MB/s) - '/etc/apk/keys/alpine.dev.rsa.pub' saved [451] 00:03:12 00:03:13 Removing intermediate container 7cd02cbb9b6e 00:03:13 ---> c7bf39287dd2 00:03:13 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 00:03:13 ---> Running in fc191a625898 00:03:16 Removing intermediate container fc191a625898 00:03:16 ---> d95e95cb160a 00:03:16 Step 6/17 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev-1.3 hiredis-dev && mkdir -p /edgex-c-sdk/build 00:03:16 ---> Running in 285a4222a859 00:03:18 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 00:03:18 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 00:03:19 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz 00:03:19 WARNING: This apk-tools is OLD! Some packages might not function properly. 00:03:19 (1/21) Installing ncurses-dev (6.2_p20210612-r0) 00:03:19 (2/21) Installing libblkid (2.37-r0) 00:03:20 (3/21) Installing blkid (2.37-r0) 00:03:20 (4/21) Installing libcap-ng (0.8.2-r0) 00:03:20 (5/21) Installing setpriv (2.37-r0) 00:03:20 (6/21) Installing libmount (2.37-r0) 00:03:20 (7/21) Installing libsmartcols (2.37-r0) 00:03:20 (8/21) Installing findmnt (2.37-r0) 00:03:20 (9/21) Installing mcookie (2.37-r0) 00:03:20 (10/21) Installing hexdump (2.37-r0) 00:03:20 (11/21) Installing lsblk (2.37-r0) 00:03:20 (12/21) Installing libfdisk (2.37-r0) 00:03:20 (13/21) Installing sfdisk (2.37-r0) 00:03:21 (14/21) Installing cfdisk (2.37-r0) 00:03:21 (15/21) Installing partx (2.37-r0) 00:03:21 (16/21) Installing flock (2.37-r0) 00:03:21 (17/21) Installing logger (2.37-r0) 00:03:21 (18/21) Installing uuidgen (2.37-r0) 00:03:21 (19/21) Installing libeconf (0.3.8-r1) 00:03:21 (20/21) Installing util-linux (2.37-r0) 00:03:22 (21/21) Installing util-linux-dev (2.37-r0) 00:03:22 Executing busybox-1.33.1-r3.trigger 00:03:22 OK: 286 MiB in 105 packages 00:03:24 Removing intermediate container 285a4222a859 00:03:24 ---> ce1b8ed99669 00:03:24 Step 7/17 : COPY VERSION /edgex-c-sdk/ 00:03:24 ---> f655252a7eee 00:03:24 Step 8/17 : COPY src /edgex-c-sdk/src/ 00:03:25 ---> 616c563bc5b1 00:03:25 Step 9/17 : COPY include /edgex-c-sdk/include/ 00:03:26 ---> ea5a5ad35166 00:03:26 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 00:03:27 ---> 9d8832a79cb7 00:03:27 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 00:03:28 ---> eef468cd57d8 00:03:28 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 00:03:29 ---> 91c259f1ba90 00:03:29 Step 13/17 : WORKDIR /edgex-c-sdk 00:03:29 ---> Running in d5a04a774c6c 00:03:29 Removing intermediate container d5a04a774c6c 00:03:29 ---> c25f05caf5a7 00:03:29 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 00:03:29 ---> Running in 0e52401b29a0 00:03:30 Removing intermediate container 0e52401b29a0 00:03:30 ---> 12a0cc136966 00:03:30 Step 15/17 : LABEL arch=arm64 00:03:30 ---> Running in e917afe6774f 00:03:30 Removing intermediate container e917afe6774f 00:03:30 ---> 2934618cedcb 00:03:30 Step 16/17 : LABEL git_sha=e64122104add324c714acf1d14cb311d02ae154f 00:03:31 ---> Running in a3f88f3b4d86 00:03:31 Removing intermediate container a3f88f3b4d86 00:03:31 ---> d0f0b4eacfe4 00:03:31 Step 17/17 : LABEL version=0.0.0 00:03:31 ---> Running in 12da142480c0 00:03:32 Removing intermediate container 12da142480c0 00:03:32 ---> 90a5364f0e9c 00:03:32 [Warning] One or more build-args [MAKE ARCH] were not consumed 00:03:32 Successfully built 90a5364f0e9c 00:03:32 Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:03:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:03:33 00:03:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 00:03:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:03:34 arm64: Pulling from edgex-lftools-log-publisher 00:03:34 448f6bf000e3: Pulling fs layer 00:03:34 f757da607395: Pulling fs layer 00:03:34 05883995daec: Pulling fs layer 00:03:34 8603b9c90790: Pulling fs layer 00:03:34 1560dd03e051: Pulling fs layer 00:03:34 27f5ce0e4adf: Pulling fs layer 00:03:34 c2d8d7efcc4b: Pulling fs layer 00:03:34 1560dd03e051: Waiting 00:03:34 27f5ce0e4adf: Waiting 00:03:34 c2d8d7efcc4b: Waiting 00:03:34 8603b9c90790: Waiting 00:03:34 f757da607395: Verifying Checksum 00:03:34 f757da607395: Download complete 00:03:34 8603b9c90790: Verifying Checksum 00:03:34 8603b9c90790: Download complete 00:03:34 05883995daec: Verifying Checksum 00:03:34 05883995daec: Download complete 00:03:34 27f5ce0e4adf: Verifying Checksum 00:03:34 27f5ce0e4adf: Download complete 00:03:34 1560dd03e051: Verifying Checksum 00:03:34 1560dd03e051: Download complete 00:03:34 448f6bf000e3: Verifying Checksum 00:03:34 448f6bf000e3: Download complete 00:03:37 c2d8d7efcc4b: Verifying Checksum 00:03:37 c2d8d7efcc4b: Download complete 00:03:38 448f6bf000e3: Pull complete 00:03:39 f757da607395: Pull complete 00:03:40 05883995daec: Pull complete 00:03:41 8603b9c90790: Pull complete 00:03:42 1560dd03e051: Pull complete 00:03:42 27f5ce0e4adf: Pull complete 00:03:57 c2d8d7efcc4b: Pull complete 00:03:57 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 00:03:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:03:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 00:03:57 prd-ubuntu18.04-docker-arm64-4c-16g-737 does not seem to be running inside a container 00:03:57 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:04:04 $ docker top fcd2fff11c89649bfacef9562a9d40b8ca7655e73ed67d58913744dad0989b38 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:04:05 ---> job-cost.sh 00:04:05 lf-activate-venv: SKIPPING 00:04:05 INFO: No Stack... 00:04:10 INFO: Retrieving Pricing Info for: v3-standard-4 00:04:10 INFO: Archiving Costs [Pipeline] sh 00:04:10 + + cat /w/workspace/device-sdk-c/1/archives/cost.csvcut 00:04:10 -d, -f6 [Pipeline] lock 00:04:11 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-384-1-stack-cost] 00:04:11 Resource [jenkins-edgexfoundry-device-sdk-c-PR-384-1-stack-cost] did not exist. Created. 00:04:11 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-384-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:04:11 /w/workspace/device-sdk-c/1@tmp/durable-32339ed9/script.sh: 1: /w/workspace/device-sdk-c/1@tmp/durable-32339ed9/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 00:04:12 + echo total: 0.10999999940395355 [Pipeline] stash 00:04:12 Warning: overwriting stash ‘stack-cost’ 00:04:13 Stashed 1 file(s) [Pipeline] } 00:04:13 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-384-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:04:13 $ docker stop --time=1 fcd2fff11c89649bfacef9562a9d40b8ca7655e73ed67d58913744dad0989b38 00:04:15 $ docker rm -f fcd2fff11c89649bfacef9562a9d40b8ca7655e73ed67d58913744dad0989b38 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 00:04:16 + '[' -d /w/workspace/edgexfoundry_device-sdk-c_PR-384/archives ']' [Pipeline] libraryResource [Pipeline] sh 00:04:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:04:17 ---> package-listing.sh 00:04:17 ++ facter osfamily 00:04:17 ++ tr '[:upper:]' '[:lower:]' 00:04:18 + OS_FAMILY=redhat 00:04:18 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-384 00:04:18 + START_PACKAGES=/tmp/packages_start.txt 00:04:18 + END_PACKAGES=/tmp/packages_end.txt 00:04:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:04:18 + PACKAGES=/tmp/packages_start.txt 00:04:18 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-384 ']' 00:04:18 + PACKAGES=/tmp/packages_end.txt 00:04:18 + case "${OS_FAMILY}" in 00:04:18 + sort 00:04:18 + rpm -qa 00:04:18 + '[' -f /tmp/packages_start.txt ']' 00:04:18 + '[' -f /tmp/packages_end.txt ']' 00:04:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:04:18 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-384 ']' 00:04:18 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-384/archives/ 00:04:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-384/archives/ [Pipeline] echo 00:04:18 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-384/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:04:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:04:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:04:19 00:04:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 00:04:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:04:19 latest: Pulling from edgex-lftools-log-publisher 00:04:19 b4d181a07f80: Pulling fs layer 00:04:19 a1111a8f2ec3: Pulling fs layer 00:04:19 ed53099fbce6: Pulling fs layer 00:04:19 dc539afda2c1: Pulling fs layer 00:04:19 77bc0d833cb6: Pulling fs layer 00:04:19 9065ff56babe: Pulling fs layer 00:04:19 d287ab97295c: Pulling fs layer 00:04:19 77bc0d833cb6: Waiting 00:04:19 9065ff56babe: Waiting 00:04:19 d287ab97295c: Waiting 00:04:19 dc539afda2c1: Waiting 00:04:19 a1111a8f2ec3: Verifying Checksum 00:04:19 a1111a8f2ec3: Download complete 00:04:19 dc539afda2c1: Verifying Checksum 00:04:19 dc539afda2c1: Download complete 00:04:20 77bc0d833cb6: Verifying Checksum 00:04:20 77bc0d833cb6: Download complete 00:04:20 9065ff56babe: Verifying Checksum 00:04:20 9065ff56babe: Download complete 00:04:20 ed53099fbce6: Verifying Checksum 00:04:20 ed53099fbce6: Download complete 00:04:20 b4d181a07f80: Verifying Checksum 00:04:20 b4d181a07f80: Download complete 00:04:20 d287ab97295c: Verifying Checksum 00:04:20 d287ab97295c: Download complete 00:04:21 b4d181a07f80: Pull complete 00:04:21 a1111a8f2ec3: Pull complete 00:04:22 ed53099fbce6: Pull complete 00:04:22 dc539afda2c1: Pull complete 00:04:22 77bc0d833cb6: Pull complete 00:04:22 9065ff56babe: Pull complete 00:04:27 d287ab97295c: Pull complete 00:04:27 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 00:04:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:04:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 00:04:27 prd-centos7-docker-4c-2g-732 does not seem to be running inside a container 00:04:27 $ 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-384/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-384 -v /w/workspace/edgexfoundry_device-sdk-c_PR-384:/w/workspace/edgexfoundry_device-sdk-c_PR-384:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-384@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-384@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 00:04:30 $ docker top 09ab831f0929de24b393f7ec4028a53bd00edbe321b484082bf05b7d559b53b9 -eo pid,comm [Pipeline] { [Pipeline] sh 00:04:31 + touch /tmp/pre-build-complete [Pipeline] sh 00:04:31 + mkdir -p /var/log/sysstat [Pipeline] sh 00:04:31 + ls /var/log/sa-host 00:04:31 + sadf -c /var/log/sa-host/sa20 00:04:31 file_magic: OK 00:04:31 HZ: Using current value: 100 00:04:31 file_header: OK 00:04:31 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 00:04:31 Statistics: 00:04:31 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:04:31 File successfully converted to sysstat format version 12.0.3 00:04:31 + sadf -c /var/log/sa-host/sa21 00:04:31 file_magic: OK 00:04:31 HZ: Using current value: 100 00:04:31 file_header: OK 00:04:31 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 00:04:31 Statistics: 00:04:31 Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:04:31 File successfully converted to sysstat format version 12.0.3 00:04:31 + sadf -c /var/log/sa-host/sa30 00:04:31 file_magic: OK 00:04:31 HZ: Using current value: 100 00:04:31 file_header: OK 00:04:31 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 00:04:31 Statistics: 00:04:31 Hnuu...uuuununununu...Hnuu...uuuununununu... 00:04:31 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:04:31 provisioning config files... 00:04:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-384@tmp/config2907192880048679825tmp [Pipeline] { [Pipeline] echo 00:04:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:04:32 ---> create-netrc.sh [Pipeline] } 00:04:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:04:32 ---> python-tools-install.sh [Pipeline] echo 00:04:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:04:32 ---> sudo-logs.sh 00:04:32 Archiving 'sudo' log.. 00:04:32 sudo: unable to resolve host prd-centos7-docker-4c-2g-732.novalocal: Name or service not known 00:04:32 sudo: unable to resolve host prd-centos7-docker-4c-2g-732.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 00:04:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:04:33 ---> job-cost.sh 00:04:33 lf-activate-venv: SKIPPING 00:04:33 DEBUG: total: 0.10999999940395355 00:04:33 INFO: Retrieving Stack Cost... 00:04:33 INFO: Retrieving Pricing Info for: v3-standard-2 00:04:34 INFO: Archiving Costs [Pipeline] echo 00:04:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:04:34 ---> logs-deploy.sh 00:04:34 lf-activate-venv: SKIPPING 00:04:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-384/1 00:04:34 INFO: archiving workspace using pattern(s): 00:04:35 Archives upload complete. 00:04:35 INFO: archiving logs to Nexus 00:04:36 ---> uname -a: 00:04:36 Linux prd-centos7-docker-4c-2g-732.novalocal 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 GNU/Linux 00:04:36 00:04:36 00:04:36 ---> lscpu: 00:04:36 Architecture: x86_64 00:04:36 CPU op-mode(s): 32-bit, 64-bit 00:04:36 Byte Order: Little Endian 00:04:36 Address sizes: 40 bits physical, 48 bits virtual 00:04:36 CPU(s): 2 00:04:36 On-line CPU(s) list: 0,1 00:04:36 Thread(s) per core: 1 00:04:36 Core(s) per socket: 1 00:04:36 Socket(s): 2 00:04:36 NUMA node(s): 1 00:04:36 Vendor ID: AuthenticAMD 00:04:36 CPU family: 23 00:04:36 Model: 49 00:04:36 Model name: AMD EPYC-Rome Processor 00:04:36 Stepping: 0 00:04:36 CPU MHz: 2799.998 00:04:36 BogoMIPS: 5599.99 00:04:36 Virtualization: AMD-V 00:04:36 Hypervisor vendor: KVM 00:04:36 Virtualization type: full 00:04:36 L1d cache: 32K 00:04:36 L1i cache: 32K 00:04:36 L2 cache: 512K 00:04:36 L3 cache: 16384K 00:04:36 NUMA node0 CPU(s): 0,1 00:04:36 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 00:04:36 00:04:36 00:04:36 ---> nproc: 00:04:36 2 00:04:36 00:04:36 00:04:36 ---> df -h: 00:04:36 Filesystem Size Used Avail Use% Mounted on 00:04:36 overlay 40G 7.7G 33G 20% / 00:04:36 tmpfs 64M 0 64M 0% /dev 00:04:36 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 00:04:36 shm 64M 0 64M 0% /dev/shm 00:04:36 /dev/vda1 40G 7.7G 33G 20% /facter-os 00:04:36 00:04:36 00:04:36 ---> sar -b -r -n DEV: 00:04:36 Linux 3.10.0-1160.42.2.el7.x86_64 (prd-centos7-docker-4c-2g-732.novalocal) 10/21/21 _x86_64_ (2 CPU) 00:04:36 00:04:36 00:00:01 tps rtps wtps bread/s bwrtn/s 00:04:36 00:01:01 0.45 0.02 0.43 0.13 6.80 00:04:36 00:02:01 0.40 0.08 0.32 1.60 5.43 00:04:36 00:03:01 0.23 0.00 0.23 0.00 2.85 00:04:36 00:04:01 0.20 0.00 0.20 0.00 1.92 00:04:36 Average: 0.32 0.02 0.30 0.43 4.25 00:04:36 00:04:36 00:00:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 00:04:36 00:01:01 5679196 0 627868 7.84 2620 1699248 1166576 12.88 573748 1523768 8 00:04:36 00:02:01 5677868 0 629068 7.85 2620 1699376 1164636 12.86 575024 1523832 8 00:04:36 00:03:01 5679488 0 627444 7.83 2620 1699380 1164396 12.86 575556 1522072 8 00:04:36 00:04:01 5677968 0 628956 7.85 2620 1699388 1164612 12.86 576652 1522072 8 00:04:36 Average: 5678630 0 628334 7.85 2620 1699348 1165055 12.86 575245 1522936 8 00:04:36 00:04:36 00:00:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 00:04:36 00:01:01 eth0 0.37 0.08 0.04 0.01 0.00 0.00 0.00 0.00 00:04:36 00:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:04:36 00:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:04:36 00:02:01 eth0 0.57 0.45 0.28 0.21 0.00 0.00 0.00 0.00 00:04:36 00:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:04:36 00:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:04:36 00:03:01 eth0 0.47 0.08 0.05 0.01 0.00 0.00 0.00 0.00 00:04:36 00:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:04:36 00:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:04:36 00:04:01 eth0 2.20 0.32 0.51 0.23 0.00 0.00 0.00 0.00 00:04:36 00:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:04:36 00:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:04:36 Average: eth0 0.90 0.23 0.22 0.11 0.00 0.00 0.00 0.00 00:04:36 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:04:36 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:04:36 00:04:36 00:04:36 ---> sar -P ALL: 00:04:36 Linux 3.10.0-1160.42.2.el7.x86_64 (prd-centos7-docker-4c-2g-732.novalocal) 10/21/21 _x86_64_ (2 CPU) 00:04:36 00:04:36 00:00:01 CPU %user %nice %system %iowait %steal %idle 00:04:36 00:01:01 all 0.15 0.00 0.06 0.00 0.03 99.76 00:04:36 00:01:01 0 0.03 0.00 0.03 0.00 0.03 99.90 00:04:36 00:01:01 1 0.27 0.00 0.08 0.00 0.03 99.62 00:04:36 00:02:01 all 0.16 0.00 0.04 0.00 0.02 99.78 00:04:36 00:02:01 0 0.03 0.00 0.03 0.00 0.02 99.92 00:04:36 00:02:01 1 0.28 0.00 0.05 0.00 0.02 99.65 00:04:36 00:03:01 all 0.16 0.00 0.04 0.00 0.03 99.77 00:04:36 00:03:01 0 0.27 0.00 0.07 0.00 0.03 99.63 00:04:36 00:03:01 1 0.05 0.00 0.02 0.00 0.02 99.92 00:04:36 00:04:01 all 0.19 0.00 0.03 0.00 0.03 99.75 00:04:36 00:04:01 0 0.33 0.00 0.02 0.00 0.02 99.63 00:04:36 00:04:01 1 0.05 0.00 0.05 0.00 0.03 99.87 00:04:36 Average: all 0.16 0.00 0.04 0.00 0.03 99.77 00:04:36 Average: 0 0.17 0.00 0.04 0.00 0.03 99.77 00:04:36 Average: 1 0.16 0.00 0.05 0.00 0.03 99.76 00:04:36 00:04:36 00:04:36