Pull request #390 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 jpwhitemn for edgexfoundry/device-sdk-c Loading trusted files from base branch main at 9c093d915178364b5ad4a5f89c558c84b05f4943 rather than dc8742ecb02bdc9fb61c4decdcfae028f2de6039 Obtained Jenkinsfile from 9c093d915178364b5ad4a5f89c558c84b05f4943 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-ssh5081278026799176621.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-ssh5112837144930044086.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 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-390/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-390/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10199480487251606391.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-390/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3593092730328078484.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 32edd24ee733e309d05e35b1f887f14b07bde6d0 # timeout=10 Commit message: "Merge pull request #369 from ernestojeda/revert-script-move" > 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-ssh9566190751407394635.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-390/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-390/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh11332214961536623372.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 32edd24ee733e309d05e35b1f887f14b07bde6d0 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-864 in /w/workspace/edgexfoundry_device-sdk-c_PR-390 [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-390 # 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-390@tmp/jenkins-gitclient-ssh1915417705866271021.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 9c093d915178364b5ad4a5f89c558c84b05f4943 into PR head commit dc8742ecb02bdc9fb61c4decdcfae028f2de6039 Merge succeeded, producing dc8742ecb02bdc9fb61c4decdcfae028f2de6039 Checking out Revision dc8742ecb02bdc9fb61c4decdcfae028f2de6039 (PR-390) > 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-390@tmp/jenkins-gitclient-ssh5154359329836212295.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/390/head:refs/remotes/origin/PR-390 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dc8742ecb02bdc9fb61c4decdcfae028f2de6039 # 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-390@tmp/jenkins-gitclient-ssh7090692571988204710.key > git merge 9c093d915178364b5ad4a5f89c558c84b05f4943 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dc8742ecb02bdc9fb61c4decdcfae028f2de6039 # timeout=10 Commit message: "docs: update issue templates to include required sections" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:59:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:59:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:59:54 ========================================================= 20:59:54 EdgeX Global Pipelines Version Info 20:59:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:59:55 ------------------- 20:59:55 stable info: 20:59:55 ------------------- 20:59:55 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:59:55 Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 20:59:55 Message: update stable to v1.0.217 20:59:55 ------------------- 20:59:55 experimental info: 20:59:55 ------------------- 20:59:55 Commited By: **** collab-it+edgex@linuxfoundation.org 20:59:55 Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 20:59:55 Message: update experimental to v1.0.217 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:59:56 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 20:59:56 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 20:59:56 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:59:56 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:59:56 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:59:56 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 20:59:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 20:59:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:59:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:59:56 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 20:59:56 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:59:56 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:59:56 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:59:56 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 20:59:56 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:59:56 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:59:56 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:59:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-390 [Pipeline] echo 20:59:56 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-390 [Pipeline] echo 20:59:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-390 [Pipeline] echo 20:59:56 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dc8742ecb02bdc9fb61c4decdcfae028f2de6039 [Pipeline] echo 20:59:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dc8742e [Pipeline] echo 20:59:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:59:57 provisioning config files... 20:59:57 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-390@tmp/config7342625248186756304tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:59:57 ---> docker-login.sh 20:59:57 nexus3.edgexfoundry.org:10001 20:59:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:57 Configure a credential helper to remove this warning. See 20:59:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:57 20:59:57 Login Succeeded 20:59:57 nexus3.edgexfoundry.org:10002 20:59:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:57 Configure a credential helper to remove this warning. See 20:59:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:57 20:59:57 Login Succeeded 20:59:57 nexus3.edgexfoundry.org:10003 20:59:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:57 Configure a credential helper to remove this warning. See 20:59:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:57 20:59:57 Login Succeeded 20:59:57 nexus3.edgexfoundry.org:10004 20:59:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:57 Configure a credential helper to remove this warning. See 20:59:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:57 20:59:57 Login Succeeded 20:59:57 docker.io 20:59:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:58 Configure a credential helper to remove this warning. See 20:59:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:58 20:59:58 Login Succeeded 20:59:58 ---> docker-login.sh ends [Pipeline] } 20:59:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 20:59:59 + git rev-list -1 --merges dc8742ecb02bdc9fb61c4decdcfae028f2de6039~1..dc8742ecb02bdc9fb61c4decdcfae028f2de6039 [Pipeline] echo 20:59:59 -----------> git rev-list -1 --merges dc8742ecb02bdc9fb61c4decdcfae028f2de6039~1..dc8742ecb02bdc9fb61c4decdcfae028f2de6039 dc8742ecb02bdc9fb61c4decdcfae028f2de6039 [false] [Pipeline] sh 20:59:59 + git log --format=format:%s -1 dc8742ecb02bdc9fb61c4decdcfae028f2de6039 [Pipeline] echo 20:59:59 ========================================================= 20:59:59 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:59:59 ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:00:00 + git rev-list -1 --merges dc8742ecb02bdc9fb61c4decdcfae028f2de6039~1..dc8742ecb02bdc9fb61c4decdcfae028f2de6039 [Pipeline] echo 21:00:00 -----------> git rev-list -1 --merges dc8742ecb02bdc9fb61c4decdcfae028f2de6039~1..dc8742ecb02bdc9fb61c4decdcfae028f2de6039 dc8742ecb02bdc9fb61c4decdcfae028f2de6039 [false] [Pipeline] sh 21:00:00 + git log --format=format:%s -1 dc8742ecb02bdc9fb61c4decdcfae028f2de6039 [Pipeline] echo 21:00:00 ========================================================= 21:00:00 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:00:00 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 21:00:01 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 21:00:01 + grep -v github /etc/ssh/ssh_known_hosts 21:00:01 + '[' -e /tmp/ssh_known_hosts ']' 21:00:01 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:00:01 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 21:00:01 + sudo tee -a /etc/ssh/ssh_known_hosts 21:00:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 21:00:01 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:00:01 21:00:01 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 21:00:01 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:00:01 latest: Pulling from edgex-devops/git-semver 21:00:01 a0d0a0d46f8b: Pulling fs layer 21:00:01 3e5f54012d9b: Pulling fs layer 21:00:01 4c7163046ea9: Pulling fs layer 21:00:01 0c2d73faf560: Pulling fs layer 21:00:01 0c2d73faf560: Waiting 21:00:01 3e5f54012d9b: Download complete 21:00:01 a0d0a0d46f8b: Verifying Checksum 21:00:01 a0d0a0d46f8b: Download complete 21:00:02 0c2d73faf560: Verifying Checksum 21:00:02 0c2d73faf560: Download complete 21:00:02 4c7163046ea9: Verifying Checksum 21:00:02 4c7163046ea9: Download complete 21:00:02 a0d0a0d46f8b: Pull complete 21:00:02 3e5f54012d9b: Pull complete 21:00:02 4c7163046ea9: Pull complete 21:00:02 0c2d73faf560: Pull complete 21:00:02 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 21:00:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:00:02 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 21:00:02 prd-centos7-docker-4c-2g-864 does not seem to be running inside a container 21:00:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-390 -v /w/workspace/edgexfoundry_device-sdk-c_PR-390:/w/workspace/edgexfoundry_device-sdk-c_PR-390:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-390@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-390@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 21:00:03 $ docker top f32fecd7308a81622377a1e04c4d90ae5507908e29f82ce4a7d65695268b907a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:00:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:00:03 [ssh-agent] Looking for ssh-agent implementation... 21:00:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:00:03 $ docker exec f32fecd7308a81622377a1e04c4d90ae5507908e29f82ce4a7d65695268b907a ssh-agent 21:00:03 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjkKAbe/agent.13 21:00:03 SSH_AGENT_PID=20 21:00:03 Running ssh-add (command line suppressed) 21:00:03 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-390@tmp/private_key_2267240530574029122.key (/w/workspace/edgexfoundry_device-sdk-c_PR-390@tmp/private_key_2267240530574029122.key) 21:00:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:00:04 + git tag --points-at HEAD [Pipeline] } 21:00:04 $ docker exec --env ******** --env ******** f32fecd7308a81622377a1e04c4d90ae5507908e29f82ce4a7d65695268b907a ssh-agent -k 21:00:04 unset SSH_AUTH_SOCK; 21:00:04 unset SSH_AGENT_PID; 21:00:04 echo Agent pid 20 killed; 21:00:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:00:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:00:04 [ssh-agent] Looking for ssh-agent implementation... 21:00:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:00:04 $ docker exec f32fecd7308a81622377a1e04c4d90ae5507908e29f82ce4a7d65695268b907a ssh-agent 21:00:04 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcOHFKe/agent.54 21:00:04 SSH_AGENT_PID=60 21:00:04 Running ssh-add (command line suppressed) 21:00:04 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-390@tmp/private_key_5498451141067168621.key (/w/workspace/edgexfoundry_device-sdk-c_PR-390@tmp/private_key_5498451141067168621.key) 21:00:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:00:05 + git semver init 21:00:05 # -> Open(): unable to determine branch for HEAD 21:00:05 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-390/.git 21:00:05 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-390 21:00:05 # $SEMVER_REMOTE_NAME = origin 21:00:05 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 21:00:05 # $SEMVER_USER_NAME = edgex-jenkins 21:00:05 # $SEMVER_BRANCH = PR-390 21:00:05 # $SEMVER_TEMP = /tmp/semver-734238936 21:00:05 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 21:00:06 # '/tmp/semver-734238936' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-390/.semver' 21:00:06 # -> Force: false 21:00:06 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-390/.semver [Pipeline] } 21:00:06 $ docker exec --env ******** --env ******** f32fecd7308a81622377a1e04c4d90ae5507908e29f82ce4a7d65695268b907a ssh-agent -k 21:00:06 unset SSH_AUTH_SOCK; 21:00:06 unset SSH_AGENT_PID; 21:00:06 echo Agent pid 60 killed; 21:00:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:00:06 + git semver [Pipeline] } 21:00:06 $ docker stop --time=1 f32fecd7308a81622377a1e04c4d90ae5507908e29f82ce4a7d65695268b907a 21:00:07 $ docker rm -f f32fecd7308a81622377a1e04c4d90ae5507908e29f82ce4a7d65695268b907a [Pipeline] // withDockerContainer [Pipeline] sh 21:00:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:00:08 Stashed 1 file(s) [Pipeline] echo 21:00:08 [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 21:00:23 Still waiting to schedule task 21:00:23 Waiting for next available executor on ‘centos7-docker-4c-2g’ 21:00:23 Still waiting to schedule task 21:00:23 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-862’ 21:02:35 Running on prd-centos7-docker-4c-2g-865 in /w/workspace/edgexfoundry_device-sdk-c_PR-390 [Pipeline] { [Pipeline] ws 21:02:35 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 21:02:35 Selected Git installation does not exist. Using Default 21:02:35 The recommended git tool is: NONE 21:02:37 using credential edgex-jenkins-ssh 21:02:37 Cloning the remote Git repository 21:02:36 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 21:02:36 > git init /w/workspace/device-sdk-c/1 # timeout=10 21:02:36 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 21:02:36 > git --version # timeout=10 21:02:36 > git --version # 'git version 2.24.4' 21:02:36 using GIT_SSH to set credentials SSH Credentials for GitHub 21:02:36 [INFO] Currently running in a labeled security context 21:02:36 [INFO] Currently SELinux is 'enforcing' on the host 21:02:36 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh2062735682386371064.key 21:02:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:02:38 Merging remotes/origin/main commit 9c093d915178364b5ad4a5f89c558c84b05f4943 into PR head commit dc8742ecb02bdc9fb61c4decdcfae028f2de6039 21:02:38 Merge succeeded, producing dc8742ecb02bdc9fb61c4decdcfae028f2de6039 21:02:38 Checking out Revision dc8742ecb02bdc9fb61c4decdcfae028f2de6039 (PR-390) 21:02:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 21:02:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:02:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 21:02:37 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 21:02:37 using GIT_SSH to set credentials SSH Credentials for GitHub 21:02:37 [INFO] Currently running in a labeled security context 21:02:37 [INFO] Currently SELinux is 'enforcing' on the host 21:02:37 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh5147809427170456312.key 21:02:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/390/head:refs/remotes/origin/PR-390 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:02:38 > git config core.sparsecheckout # timeout=10 21:02:38 > git checkout -f dc8742ecb02bdc9fb61c4decdcfae028f2de6039 # timeout=10 21:02:38 > git remote # timeout=10 21:02:38 > git config --get remote.origin.url # timeout=10 21:02:38 using GIT_SSH to set credentials SSH Credentials for GitHub 21:02:38 [INFO] Currently running in a labeled security context 21:02:38 [INFO] Currently SELinux is 'enforcing' on the host 21:02:38 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh6514229381198959898.key 21:02:38 > git merge 9c093d915178364b5ad4a5f89c558c84b05f4943 # timeout=10 21:02:38 > git rev-parse HEAD^{commit} # timeout=10 21:02:38 > git config core.sparsecheckout # timeout=10 21:02:38 > git checkout -f dc8742ecb02bdc9fb61c4decdcfae028f2de6039 # timeout=10 21:02:42 Commit message: "docs: update issue templates to include required sections" 21:02:41 > git --version # timeout=10 21:02:41 > git --version # 'git version 2.24.4' 21:02:41 fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:02:42 provisioning config files... 21:02:42 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config8583017957918987824tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:02:43 ---> docker-login.sh 21:02:43 nexus3.edgexfoundry.org:10001 21:02:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:02:43 Configure a credential helper to remove this warning. See 21:02:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:02:43 21:02:43 Login Succeeded 21:02:43 nexus3.edgexfoundry.org:10002 21:02:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:02:43 Configure a credential helper to remove this warning. See 21:02:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:02:43 21:02:43 Login Succeeded 21:02:43 nexus3.edgexfoundry.org:10003 21:02:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:02:43 Configure a credential helper to remove this warning. See 21:02:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:02:43 21:02:43 Login Succeeded 21:02:43 nexus3.edgexfoundry.org:10004 21:02:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:02:43 Configure a credential helper to remove this warning. See 21:02:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:02:43 21:02:43 Login Succeeded 21:02:43 docker.io 21:02:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:02:44 Configure a credential helper to remove this warning. See 21:02:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:02:44 21:02:44 Login Succeeded 21:02:44 ---> docker-login.sh ends [Pipeline] } 21:02:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:02:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:02:44 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 21:02:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:02:44 ========================================================= 21:02:44 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 21:02:44 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 21:02:44 + 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 . 21:02:44 Sending build context to Docker daemon 2.738MB 21:02:44 Step 1/24 : ARG BASE=alpine:3.14 21:02:44 Step 2/24 : FROM ${BASE} as builder 21:02:44 latest: Pulling from edgex-devops/edgex-gcc-base 21:02:44 a0d0a0d46f8b: Pulling fs layer 21:02:44 39017ce70367: Pulling fs layer 21:02:44 dcf9283bb20a: Pulling fs layer 21:02:44 39017ce70367: Verifying Checksum 21:02:44 39017ce70367: Download complete 21:02:45 a0d0a0d46f8b: Verifying Checksum 21:02:45 a0d0a0d46f8b: Download complete 21:02:45 a0d0a0d46f8b: Pull complete 21:02:45 39017ce70367: Pull complete 21:02:45 dcf9283bb20a: Verifying Checksum 21:02:45 dcf9283bb20a: Download complete 21:02:48 dcf9283bb20a: Pull complete 21:02:48 Digest: sha256:2a2af42e0978abc69143d34e5140e0e2b13385d9fcf9e2292ee97f6b0c1f1d72 21:02:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 21:02:48 ---> a4e04833b611 21:02:48 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 21:02:49 ---> Running in 0013b0626452 21:02:49 Connecting to iotech.jfrog.io (54.229.110.245:443) 21:02:49 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 21:02:49 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 21:02:49 '/etc/apk/keys/alpine.dev.rsa.pub' saved 21:02:50 Removing intermediate container 0013b0626452 21:02:50 ---> 76a1132df1b8 21:02:50 Step 4/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 21:02:50 ---> Running in 8e096c5efa7d 21:02:50 Removing intermediate container 8e096c5efa7d 21:02:50 ---> 71369d45491d 21:02:50 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 21:02:50 ---> Running in 9c15ac092b1c 21:02:50 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 21:02:51 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 21:02:51 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz 21:02:52 WARNING: This apk-tools is OLD! Some packages might not function properly. 21:02:52 (1/27) Installing hiredis (1.0.0-r0) 21:02:52 (2/27) Installing hiredis-dev (1.0.0-r0) 21:02:52 (3/27) Installing ncurses-dev (6.2_p20210612-r0) 21:02:52 (4/27) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 21:02:53 (5/27) Installing libblkid (2.37.2-r0) 21:02:53 (6/27) Installing blkid (2.37.2-r0) 21:02:53 (7/27) Installing libcap-ng (0.8.2-r0) 21:02:53 (8/27) Installing setpriv (2.37.2-r0) 21:02:53 (9/27) Installing libmount (2.37.2-r0) 21:02:53 (10/27) Installing libsmartcols (2.37.2-r0) 21:02:53 (11/27) Installing findmnt (2.37.2-r0) 21:02:54 (12/27) Installing mcookie (2.37.2-r0) 21:02:54 (13/27) Installing hexdump (2.37.2-r0) 21:02:54 (14/27) Installing lsblk (2.37.2-r0) 21:02:54 (15/27) Installing libuuid (2.37.2-r0) 21:02:54 (16/27) Installing libfdisk (2.37.2-r0) 21:02:54 (17/27) Installing sfdisk (2.37.2-r0) 21:02:54 (18/27) Installing cfdisk (2.37.2-r0) 21:02:54 (19/27) Installing partx (2.37.2-r0) 21:02:54 (20/27) Installing flock (2.37.2-r0) 21:02:54 (21/27) Installing logger (2.37.2-r0) 21:02:54 (22/27) Installing uuidgen (2.37.2-r0) 21:02:54 (23/27) Installing libeconf (0.3.8-r1) 21:02:55 (24/27) Installing util-linux (2.37.2-r0) 21:02:55 (25/27) Installing util-linux-dev (2.37.2-r0) 21:02:55 (26/27) Installing libidn2 (2.3.1-r0) 21:02:55 (27/27) Installing wget (1.21.1-r1) 21:02:55 Executing busybox-1.33.1-r3.trigger 21:02:55 OK: 290 MiB in 104 packages 21:02:55 Removing intermediate container 9c15ac092b1c 21:02:55 ---> acf67897631f 21:02:55 Step 6/24 : ENV CBOR_VERSION=0.5.0 21:02:55 ---> Running in 9c0ed2abd2bd 21:02:56 Removing intermediate container 9c0ed2abd2bd 21:02:56 ---> 9927359524c1 21:02:56 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 21:02:56 ---> Running in 14f0426e42a5 21:02:56 --2021-12-14 21:02:56-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 21:02:56 Resolving github.com (github.com)... 140.82.112.4 21:02:56 Connecting to github.com (github.com)|140.82.112.4|:443... connected. 21:02:56 HTTP request sent, awaiting response... 302 Found 21:02:56 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 21:02:56 --2021-12-14 21:02:56-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 21:02:56 Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 21:02:56 Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. 21:02:56 HTTP request sent, awaiting response... 200 OK 21:02:56 Length: unspecified [application/x-gzip] 21:02:56 Saving to: 'STDOUT' 21:02:56 21:02:56 0K .......... .......... .......... .......... .......... 1.19M 21:02:56 50K .......... .......... .......... .......... .......... 2.53M 21:02:56 100K .......... .......... .......... .......... .......... 32.7M 21:02:56 150K .......... .......... .......... .......... .......... 26.8M 21:02:56 200K .......... .......... .......... .......... .......... 2.91M 21:02:56 250K .......... .......... .......... .......... .......... 4.59M 21:02:56 300K .......... .......... .......... .......... .......... 9.78M 21:02:56 350K .......... .......... .......... .......... .......... 10.7M 21:02:56 400K .......... .......... .......... .......... .......... 5.96M 21:02:56 450K .......... .......... .......... .......... .......... 11.8M 21:02:56 500K .......... .......... .......... .......... .......... 21.5M 21:02:56 550K .......... .......... .......... .......... .......... 6.54M 21:02:56 600K .......... .......... .......... .......... .......... 5.20M 21:02:56 650K .......... .......... .......... .......... .......... 6.09M 21:02:56 700K .. 74.1M=0.1s 21:02:56 21:02:56 2021-12-14 21:02:56 (4.90 MB/s) - written to stdout [719348] 21:02:56 21:02:56 -- The C compiler identification is GNU 10.3.1 21:02:56 -- The CXX compiler identification is GNU 10.3.1 21:02:56 -- Detecting C compiler ABI info 21:02:56 -- Detecting C compiler ABI info - done 21:02:56 -- Check for working C compiler: /usr/bin/cc - skipped 21:02:56 -- Detecting C compile features 21:02:56 -- Detecting C compile features - done 21:02:56 -- Detecting CXX compiler ABI info 21:02:57 -- Detecting CXX compiler ABI info - done 21:02:57 -- Check for working CXX compiler: /usr/bin/c++ - skipped 21:02:57 -- Detecting CXX compile features 21:02:57 -- Detecting CXX compile features - done 21:02:57 -- Looking for include file endian.h 21:02:57 -- Looking for include file endian.h - found 21:02:57 -- Looking for sys/types.h 21:02:57 -- Looking for sys/types.h - found 21:02:57 -- Looking for stdint.h 21:02:57 -- Looking for stdint.h - found 21:02:57 -- Looking for stddef.h 21:02:57 -- Looking for stddef.h - found 21:02:57 -- Check size of size_t 21:02:57 -- Check size of size_t - done 21:02:57 CMake Warning at examples/CMakeLists.txt:16 (find_package): 21:02:57 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 21:02:57 asked CMake to find a package configuration file provided by "cJSON", but 21:02:57 CMake did not find one. 21:02:57 21:02:57 Could not find a package configuration file provided by "cJSON" with any of 21:02:57 the following names: 21:02:57 21:02:57 cJSONConfig.cmake 21:02:57 cjson-config.cmake 21:02:57 21:02:57 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 21:02:57 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 21:02:57 provides a separate development package or SDK, be sure it has been 21:02:57 installed. 21:02:57 21:02:57 21:02:57 -- Configuring done 21:02:57 -- Generating done 21:02:57 -- Build files have been written to: /tmp/cbor 21:02:57 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 21:02:57 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 21:02:57 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 21:02:57 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 21:02:57 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 21:02:58 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 21:02:58 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 21:02:58 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 21:02:58 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 21:02:58 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 21:02:58 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 21:02:58 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 21:02:58 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 21:02:58 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 21:02:58 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 21:02:58 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 21:02:59 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 21:02:59 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 21:02:59 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 21:02:59 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 21:02:59 [ 40%] Linking C shared library libcbor.so 21:02:59 [ 40%] Built target cbor_shared 21:02:59 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 21:02:59 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 21:02:59 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 21:02:59 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 21:02:59 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 21:03:00 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 21:03:00 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 21:03:00 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 21:03:00 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 21:03:00 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 21:03:00 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 21:03:00 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 21:03:00 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 21:03:00 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 21:03:00 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 21:03:00 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 21:03:00 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 21:03:00 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 21:03:00 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 21:03:01 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 21:03:01 [ 80%] Linking C static library libcbor.a 21:03:01 [ 80%] Built target cbor 21:03:01 [ 82%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 21:03:01 [ 84%] Linking C executable readfile 21:03:01 [ 84%] Built target readfile 21:03:01 [ 86%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 21:03:01 [ 88%] Linking C executable create_items 21:03:01 [ 88%] Built target create_items 21:03:01 [ 90%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 21:03:01 [ 92%] Linking C executable sort 21:03:01 [ 92%] Built target sort 21:03:01 [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 21:03:01 [ 96%] Linking C executable hello 21:03:01 [ 96%] Built target hello 21:03:01 [ 98%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 21:03:01 [100%] Linking C executable streaming_parser 21:03:01 [100%] Built target streaming_parser 21:03:01 Install the project... 21:03:01 -- Install configuration: "Release" 21:03:01 -- Installing: /usr/local/include/cbor/configuration.h 21:03:01 -- Installing: /usr/local/lib/libcbor.a 21:03:01 -- Installing: /usr/local/lib/libcbor.so.0.0.0 21:03:01 -- Installing: /usr/local/lib/libcbor.so.0 21:03:01 -- Installing: /usr/local/lib/libcbor.so 21:03:01 -- Up-to-date: /usr/local/include/cbor 21:03:01 -- Installing: /usr/local/include/cbor/arrays.h 21:03:01 -- Installing: /usr/local/include/cbor/bytestrings.h 21:03:01 -- Installing: /usr/local/include/cbor/callbacks.h 21:03:01 -- Installing: /usr/local/include/cbor/common.h 21:03:01 -- Installing: /usr/local/include/cbor/data.h 21:03:01 -- Installing: /usr/local/include/cbor/encoding.h 21:03:01 -- Installing: /usr/local/include/cbor/floats_ctrls.h 21:03:01 -- Installing: /usr/local/include/cbor/internal 21:03:01 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 21:03:01 -- Installing: /usr/local/include/cbor/internal/encoders.h 21:03:01 -- Installing: /usr/local/include/cbor/internal/loaders.h 21:03:01 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 21:03:01 -- Installing: /usr/local/include/cbor/internal/stack.h 21:03:01 -- Installing: /usr/local/include/cbor/internal/unicode.h 21:03:01 -- Installing: /usr/local/include/cbor/ints.h 21:03:01 -- Installing: /usr/local/include/cbor/maps.h 21:03:01 -- Installing: /usr/local/include/cbor/serialization.h 21:03:01 -- Installing: /usr/local/include/cbor/streaming.h 21:03:01 -- Installing: /usr/local/include/cbor/strings.h 21:03:01 -- Installing: /usr/local/include/cbor/tags.h 21:03:01 -- Installing: /usr/local/include/cbor.h 21:03:01 -- Installing: /usr/local/lib/pkgconfig/libcbor.pc 21:03:02 Removing intermediate container 14f0426e42a5 21:03:02 ---> d9c30abebaa6 21:03:02 Step 8/24 : RUN mkdir /tmp/sdk 21:03:02 ---> Running in cbf1a020a935 21:03:02 Removing intermediate container cbf1a020a935 21:03:02 ---> 52b1c1d93caa 21:03:02 Step 9/24 : COPY VERSION /tmp/sdk 21:03:02 ---> 5314879005f5 21:03:02 Step 10/24 : COPY src /tmp/sdk/src 21:03:03 ---> 4dc62a44603a 21:03:03 Step 11/24 : COPY include /tmp/sdk/include 21:03:03 ---> 5383b8fe294d 21:03:03 Step 12/24 : COPY scripts /tmp/sdk/scripts 21:03:03 ---> 179384f0edd3 21:03:03 Step 13/24 : COPY LICENSE /tmp/sdk 21:03:03 ---> 27584686e3d6 21:03:03 Step 14/24 : COPY Attribution.txt /tmp/sdk 21:03:03 ---> 2a2819985400 21:03:03 Step 15/24 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 21:03:03 ---> Running in 101525c9be44 21:03:03 + CPPCHECK=false 21:03:03 + DOCGEN=false 21:03:03 + TOMLVER=SDK-0.2 21:03:03 + CUTILVER=1.2.2 21:03:03 + '[' 0 -gt 0 ] 21:03:03 + readlink -f ./scripts/build.sh 21:03:03 + dirname /tmp/sdk/scripts/build.sh 21:03:03 + dirname /tmp/sdk/scripts 21:03:03 + ROOT=/tmp/sdk 21:03:03 + cd /tmp/sdk 21:03:03 + '[' '!' -d deps ] 21:03:03 + mkdir deps 21:03:03 + tar -C deps -z -x -f - 21:03:03 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 21:03:03 --2021-12-14 21:03:03-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 21:03:03 Resolving github.com (github.com)... 140.82.112.4 21:03:03 Connecting to github.com (github.com)|140.82.112.4|:443... connected. 21:03:04 HTTP request sent, awaiting response... 302 Found 21:03:04 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 21:03:04 --2021-12-14 21:03:03-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 21:03:04 Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 21:03:04 Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. 21:03:04 HTTP request sent, awaiting response... 200 OK 21:03:04 Length: unspecified [application/x-gzip] 21:03:04 Saving to: 'STDOUT' 21:03:04 21:03:04 0K .......... ...... 832K=0.02s 21:03:04 21:03:04 2021-12-14 21:03:04 (832 KB/s) - written to stdout [16451] 21:03:04 21:03:04 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 21:03:04 + + wgettar -O - -C deps -z -x https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz -f - 21:03:04 21:03:04 --2021-12-14 21:03:04-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 21:03:04 Resolving github.com (github.com)... 140.82.112.4 21:03:04 Connecting to github.com (github.com)|140.82.112.4|:443... connected. 21:03:04 HTTP request sent, awaiting response... 302 Found 21:03:04 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] 21:03:04 --2021-12-14 21:03:04-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 21:03:04 Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 21:03:04 Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. 21:03:04 HTTP request sent, awaiting response... 200 OK 21:03:04 Length: unspecified [application/x-gzip] 21:03:04 Saving to: 'STDOUT' 21:03:04 21:03:04 0K .......... .......... .......... .......... .......... 1.25M 21:03:04 50K .......... .......... .......... .......... .......... 2.45M 21:03:04 100K .......... .......... .......... .......... .......... 24.6M 21:03:04 150K .......... .......... .......... ......... 3.54M=0.07s 21:03:04 21:03:04 2021-12-14 21:03:04 (2.57 MB/s) - written to stdout [193961] 21:03:04 21:03:04 + mkdir -p src/c/iot 21:03:04 + 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 21:03:04 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 21:03:04 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 21:03:04 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 21:03:04 + mkdir -p include/iot 21:03:04 + 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 21:03:04 + mkdir -p include/iot/os 21:03:04 + 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 21:03:04 + mkdir -p /tmp/sdk/build/release 21:03:04 + cd /tmp/sdk/build/release 21:03:04 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 21:03:04 -- The C compiler identification is GNU 10.3.1 21:03:04 -- Detecting C compiler ABI info 21:03:04 -- Detecting C compiler ABI info - done 21:03:05 -- Check for working C compiler: /usr/bin/cc - skipped 21:03:05 -- Detecting C compile features 21:03:05 -- Detecting C compile features - done 21:03:05 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 21:03:05 -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") 21:03:05 -- Found LIBYAML: /usr/lib/libyaml.so 21:03:05 -- Found LIBUUID: /usr/lib/libuuid.so 21:03:05 -- Found LIBCBOR: /usr/local/lib/libcbor.so 21:03:05 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 21:03:05 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 21:03:05 -- C SDK 0.0.0 for Linux 21:03:05 -- Performing Test CSDK_HAVE_ATOMIC 21:03:05 -- Performing Test CSDK_HAVE_ATOMIC - Success 21:03:05 -- Found Curses: /usr/lib/libcurses.so 21:03:05 -- Configuring done 21:03:05 -- Generating done 21:03:05 -- Build files have been written to: /tmp/sdk/build/release 21:03:05 + make all package 21:03:05 + tee release.log 21:03:05 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 21:03:05 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 21:03:05 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 21:03:05 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 21:03:05 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 21:03:05 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 21:03:06 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 21:03:06 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 21:03:06 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 21:03:06 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 21:03:07 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 21:03:07 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 21:03:07 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 21:03:07 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 21:03:07 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 21:03:07 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 21:03:07 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 21:03:08 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 21:03:08 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 21:03:08 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 21:03:08 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 21:03:08 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 21:03:08 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 21:03:08 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 21:03:08 275 | const iot_component_factory_t * factory; 21:03:08 | ^~~~~~~ 21:03:08 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 21:03:09 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 21:03:09 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 21:03:09 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 21:03:09 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 21:03:09 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 21:03:09 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 21:03:10 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 21:03:10 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 21:03:10 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 21:03:10 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 21:03:10 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 21:03:10 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 21:03:10 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 21:03:11 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 21:03:11 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 21:03:12 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 21:03:12 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 21:03:12 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 21:03:12 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 21:03:12 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 21:03:12 /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] 21:03:12 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 21:03:12 | ^~~~~~~~~~~~~ 21:03:12 | | 21:03:12 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 21:03:12 In file included from /tmp/sdk/src/c/rest-server.c:21: 21:03:12 /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 *)' 21:03:12 2714 | MHD_KeyValueIterator iterator, 21:03:12 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 21:03:12 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 21:03:12 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 21:03:12 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 21:03:12 | ^~~~~~~~~~~~ 21:03:12 | | 21:03:12 | 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 **)} 21:03:12 In file included from /tmp/sdk/src/c/rest-server.c:21: 21:03:12 /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 **)'} 21:03:12 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 21:03:12 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 21:03:12 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 21:03:12 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 21:03:12 | ^~~~~~~~~~~~ 21:03:12 | | 21:03:12 | 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 **)} 21:03:12 In file included from /tmp/sdk/src/c/rest-server.c:21: 21:03:12 /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 **)'} 21:03:12 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 21:03:12 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 21:03:12 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 21:03:12 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 21:03:12 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 21:03:12 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 21:03:13 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 21:03:13 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 21:03:14 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 21:03:14 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 21:03:14 [ 76%] Linking C shared library libcsdk.so 21:03:14 [ 76%] Built target csdk 21:03:14 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 21:03:14 [ 79%] Linking C executable template 21:03:14 [ 79%] Built target template 21:03:14 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 21:03:14 [ 82%] Linking C executable device-counter 21:03:14 [ 82%] Built target device-counter 21:03:14 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 21:03:14 [ 85%] Linking C executable device-random 21:03:15 [ 85%] Built target device-random 21:03:15 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 21:03:15 [ 88%] Linking C executable device-gyro 21:03:15 [ 88%] Built target device-gyro 21:03:15 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 21:03:15 [ 91%] Linking C executable device-bitfields 21:03:15 [ 91%] Built target device-bitfields 21:03:15 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 21:03:15 [ 94%] Linking C executable template-discovery 21:03:15 [ 94%] Built target template-discovery 21:03:15 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 21:03:15 [ 97%] Linking C executable device-file 21:03:15 [ 97%] Built target device-file 21:03:15 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 21:03:16 [100%] Linking C executable device-terminal 21:03:16 [100%] Built target device-terminal 21:03:16 Run CPack packaging tool... 21:03:16 CPack: Create package using TGZ 21:03:16 CPack: Install projects 21:03:16 CPack: - Run preinstall target for: Csdk 21:03:16 CPack: - Install project: Csdk [] 21:03:16 CPack: Create package 21:03:16 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 21:03:16 + '[' false '=' true ] 21:03:16 + '[' false '=' true ] 21:03:16 + mkdir -p /tmp/sdk/build/debug 21:03:16 + cd /tmp/sdk/build/debug 21:03:16 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 21:03:16 -- The C compiler identification is GNU 10.3.1 21:03:16 -- Detecting C compiler ABI info 21:03:16 -- Detecting C compiler ABI info - done 21:03:16 -- Check for working C compiler: /usr/bin/cc - skipped 21:03:16 -- Detecting C compile features 21:03:16 -- Detecting C compile features - done 21:03:16 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 21:03:16 -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") 21:03:16 -- Found LIBYAML: /usr/lib/libyaml.so 21:03:16 -- Found LIBUUID: /usr/lib/libuuid.so 21:03:16 -- Found LIBCBOR: /usr/local/lib/libcbor.so 21:03:16 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 21:03:16 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 21:03:16 -- C SDK 0.0.0 for Linux 21:03:16 -- Performing Test CSDK_HAVE_ATOMIC 21:03:16 -- Performing Test CSDK_HAVE_ATOMIC - Success 21:03:16 -- Found Curses: /usr/lib/libcurses.so 21:03:16 -- Configuring done 21:03:16 -- Generating done 21:03:16 -- Build files have been written to: /tmp/sdk/build/debug 21:03:16 + tee debug.log 21:03:16 + make 21:03:16 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 21:03:16 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 21:03:16 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 21:03:17 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 21:03:17 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 21:03:17 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 21:03:17 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 21:03:17 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 21:03:17 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 21:03:17 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 21:03:17 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 21:03:17 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 21:03:17 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 21:03:17 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 21:03:17 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 21:03:17 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 21:03:17 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 21:03:18 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 21:03:18 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 21:03:18 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 21:03:18 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 21:03:18 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 21:03:18 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 21:03:18 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 21:03:18 275 | const iot_component_factory_t * factory; 21:03:18 | ^~~~~~~ 21:03:18 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 21:03:18 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 21:03:18 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 21:03:18 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 21:03:18 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 21:03:18 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 21:03:18 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 21:03:18 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 21:03:18 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 21:03:19 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 21:03:19 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 21:03:19 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 21:03:19 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 21:03:19 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 21:03:19 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 21:03:19 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 21:03:19 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 21:03:19 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 21:03:19 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 21:03:19 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 21:03:19 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 21:03:19 /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] 21:03:19 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 21:03:19 | ^~~~~~~~~~~~~ 21:03:19 | | 21:03:19 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 21:03:19 In file included from /tmp/sdk/src/c/rest-server.c:21: 21:03:19 /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 *)' 21:03:19 2714 | MHD_KeyValueIterator iterator, 21:03:19 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 21:03:19 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 21:03:19 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 21:03:19 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 21:03:19 | ^~~~~~~~~~~~ 21:03:19 | | 21:03:19 | 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 **)} 21:03:19 In file included from /tmp/sdk/src/c/rest-server.c:21: 21:03:19 /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 **)'} 21:03:19 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 21:03:19 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 21:03:19 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 21:03:19 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 21:03:19 | ^~~~~~~~~~~~ 21:03:19 | | 21:03:19 | 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 **)} 21:03:19 In file included from /tmp/sdk/src/c/rest-server.c:21: 21:03:19 /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 **)'} 21:03:19 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 21:03:19 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 21:03:19 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 21:03:20 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 21:03:20 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 21:03:20 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 21:03:20 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 21:03:20 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 21:03:20 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 21:03:20 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 21:03:20 [ 76%] Linking C shared library libcsdk.so 21:03:21 [ 76%] Built target csdk 21:03:21 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 21:03:21 [ 79%] Linking C executable template 21:03:21 [ 79%] Built target template 21:03:21 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 21:03:21 [ 82%] Linking C executable device-counter 21:03:21 [ 82%] Built target device-counter 21:03:21 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 21:03:21 [ 85%] Linking C executable device-random 21:03:21 [ 85%] Built target device-random 21:03:21 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 21:03:21 [ 88%] Linking C executable device-gyro 21:03:21 [ 88%] Built target device-gyro 21:03:21 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 21:03:21 [ 91%] Linking C executable device-bitfields 21:03:21 [ 91%] Built target device-bitfields 21:03:21 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 21:03:21 [ 94%] Linking C executable template-discovery 21:03:21 [ 94%] Built target template-discovery 21:03:21 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 21:03:21 [ 97%] Linking C executable device-file 21:03:21 [ 97%] Built target device-file 21:03:21 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 21:03:22 [100%] Linking C executable device-terminal 21:03:22 [100%] Built target device-terminal 21:03:22 make: Entering directory '/tmp/sdk/build/release' 21:03:22 make[1]: Entering directory '/tmp/sdk/build/release' 21:03:22 make[2]: Entering directory '/tmp/sdk/build/release' 21:03:22 make[2]: Leaving directory '/tmp/sdk/build/release' 21:03:22 [ 76%] Built target csdk 21:03:22 make[2]: Entering directory '/tmp/sdk/build/release' 21:03:22 make[2]: Leaving directory '/tmp/sdk/build/release' 21:03:22 [ 79%] Built target template 21:03:22 make[2]: Entering directory '/tmp/sdk/build/release' 21:03:22 make[2]: Leaving directory '/tmp/sdk/build/release' 21:03:22 [ 82%] Built target device-counter 21:03:22 make[2]: Entering directory '/tmp/sdk/build/release' 21:03:22 make[2]: Leaving directory '/tmp/sdk/build/release' 21:03:22 [ 85%] Built target device-random 21:03:22 make[2]: Entering directory '/tmp/sdk/build/release' 21:03:22 make[2]: Leaving directory '/tmp/sdk/build/release' 21:03:22 [ 88%] Built target device-gyro 21:03:22 make[2]: Entering directory '/tmp/sdk/build/release' 21:03:22 make[2]: Leaving directory '/tmp/sdk/build/release' 21:03:22 [ 91%] Built target device-bitfields 21:03:22 make[2]: Entering directory '/tmp/sdk/build/release' 21:03:22 make[2]: Leaving directory '/tmp/sdk/build/release' 21:03:22 [ 94%] Built target template-discovery 21:03:22 make[2]: Entering directory '/tmp/sdk/build/release' 21:03:22 make[2]: Leaving directory '/tmp/sdk/build/release' 21:03:22 [ 97%] Built target device-file 21:03:22 make[2]: Entering directory '/tmp/sdk/build/release' 21:03:22 make[2]: Leaving directory '/tmp/sdk/build/release' 21:03:22 [100%] Built target device-terminal 21:03:22 make[1]: Leaving directory '/tmp/sdk/build/release' 21:03:22 Install the project... 21:03:22 -- Install configuration: "Release" 21:03:22 -- Installing: /usr/local/lib/libcsdk.so 21:03:22 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 21:03:22 -- Up-to-date: /usr/local/include 21:03:22 -- Installing: /usr/local/include/devsdk 21:03:22 -- Installing: /usr/local/include/devsdk/devsdk-base.h 21:03:22 -- Installing: /usr/local/include/devsdk/devsdk.h 21:03:22 -- Installing: /usr/local/include/edgex 21:03:22 -- Installing: /usr/local/include/edgex/devices.h 21:03:22 -- Installing: /usr/local/include/edgex/edgex-base.h 21:03:22 -- Installing: /usr/local/include/edgex/edgex.h 21:03:22 -- Installing: /usr/local/include/edgex/profiles.h 21:03:22 -- Installing: /usr/local/include/edgex/rest-server.h 21:03:22 -- Installing: /usr/local/include/edgex/csdk-defs.h 21:03:22 -- Installing: /usr/local/include/iot 21:03:22 -- Installing: /usr/local/include/iot/base64.h 21:03:22 -- Installing: /usr/local/include/iot/component.h 21:03:22 -- Installing: /usr/local/include/iot/config.h 21:03:22 -- Installing: /usr/local/include/iot/container.h 21:03:22 -- Installing: /usr/local/include/iot/data.h 21:03:22 -- Installing: /usr/local/include/iot/hash.h 21:03:22 -- Installing: /usr/local/include/iot/iot.h 21:03:22 -- Installing: /usr/local/include/iot/json.h 21:03:22 -- Installing: /usr/local/include/iot/logger.h 21:03:22 -- Installing: /usr/local/include/iot/os.h 21:03:22 -- Installing: /usr/local/include/iot/scheduler.h 21:03:22 -- Installing: /usr/local/include/iot/thread.h 21:03:22 -- Installing: /usr/local/include/iot/threadpool.h 21:03:22 -- Installing: /usr/local/include/iot/time.h 21:03:22 -- Installing: /usr/local/include/iot/typecode.h 21:03:22 -- Installing: /usr/local/include/iot/uuid.h 21:03:22 -- Installing: /usr/local/include/iot/os 21:03:22 -- Installing: /usr/local/include/iot/os/linux.h 21:03:22 -- Installing: /usr/local/include/iot/os/macos.h 21:03:22 -- Installing: /usr/local/include/iot/os/zephyr.h 21:03:22 -- Installing: /usr/local/include/iot/defs.h 21:03:22 -- Installing: /usr/local/share/device-sdk-c/LICENSE 21:03:22 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 21:03:22 make: Leaving directory '/tmp/sdk/build/release' 21:03:22 Removing intermediate container 101525c9be44 21:03:22 ---> 4ac6b6a80159 21:03:22 Step 16/24 : FROM ${BASE} 21:03:22 ---> a4e04833b611 21:03:22 Step 17/24 : LABEL maintainer="IOTech " 21:03:22 ---> Running in 7ac02ade27a0 21:03:22 Removing intermediate container 7ac02ade27a0 21:03:22 ---> d8c15e72769b 21:03:22 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 21:03:22 ---> Running in 5ffb54a1b5a8 21:03:23 Connecting to iotech.jfrog.io (34.243.182.113:443) 21:03:23 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 21:03:23 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 21:03:23 '/etc/apk/keys/alpine.dev.rsa.pub' saved 21:03:23 Removing intermediate container 5ffb54a1b5a8 21:03:23 ---> c20dfbf9f385 21:03:23 Step 19/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 21:03:23 ---> Running in 8ff5152ee446 21:03:24 Removing intermediate container 8ff5152ee446 21:03:24 ---> 565d9d92bd6a 21:03:24 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 21:03:24 ---> Running in f03e870b5933 21:03:24 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 21:03:25 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 21:03:25 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz 21:03:26 WARNING: This apk-tools is OLD! Some packages might not function properly. 21:03:26 (1/7) Installing curl (7.79.1-r0) 21:03:26 (2/7) Installing hiredis (1.0.0-r0) 21:03:26 (3/7) Installing hiredis-dev (1.0.0-r0) 21:03:26 (4/7) Installing libuuid (2.37.2-r0) 21:03:26 (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 21:03:27 (6/7) Installing libidn2 (2.3.1-r0) 21:03:27 (7/7) Installing wget (1.21.1-r1) 21:03:27 Executing busybox-1.33.1-r3.trigger 21:03:27 OK: 281 MiB in 84 packages 21:03:27 Removing intermediate container f03e870b5933 21:03:27 ---> cbaa7adb748f 21:03:27 Step 21/24 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 21:03:28 ---> 44255f1080c0 21:03:28 Step 22/24 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 21:03:28 ---> c3ef87fff02b 21:03:28 Step 23/24 : COPY --from=builder /usr/local/lib /usr/local/lib 21:03:28 ---> cecb78f12914 21:03:28 Step 24/24 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 21:03:28 ---> 64b2ecdeb747 21:03:28 Successfully built 64b2ecdeb747 21:03:28 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:03:28 + docker inspect -f . ci-base-image-x86_64 21:03:28 . [Pipeline] withDockerContainer 21:03:28 prd-centos7-docker-4c-2g-865 does not seem to be running inside a container 21:03:28 $ 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 21:03:29 $ docker top 8de545fe9492693beb449cb3564a77dddbff959591ca27d09c30902356e72eac -eo pid,comm [Pipeline] { [Pipeline] sh 21:03:29 + make test 21:03:29 echo "make test" 21:03:29 make test [Pipeline] } 21:03:29 $ docker stop --time=1 8de545fe9492693beb449cb3564a77dddbff959591ca27d09c30902356e72eac 21:03:30 $ docker rm -f 8de545fe9492693beb449cb3564a77dddbff959591ca27d09c30902356e72eac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:03:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:03:32 + ls -al . 21:03:32 total 172 21:03:32 drwxrwxr-x. 8 jenkins jenkins 4096 Dec 14 21:02 . 21:03:32 drwxrwxr-x. 4 jenkins jenkins 28 Dec 14 21:02 .. 21:03:32 -rw-rw-r--. 1 jenkins jenkins 3104 Dec 14 21:02 Attribution.txt 21:03:32 -rw-rw-r--. 1 jenkins jenkins 7880 Dec 14 21:02 CHANGES 21:03:32 drwxrwxr-x. 2 jenkins jenkins 121 Dec 14 21:02 docs 21:03:32 -rw-rw-r--. 1 jenkins jenkins 108574 Dec 14 21:02 Doxyfile 21:03:32 drwxrwxr-x. 8 jenkins jenkins 179 Dec 14 21:02 .git 21:03:32 drwxrwxr-x. 3 jenkins jenkins 103 Dec 14 21:02 .github 21:03:32 -rw-rw-r--. 1 jenkins jenkins 176 Dec 14 21:02 .gitignore 21:03:32 -rw-rw-r--. 1 jenkins jenkins 677 Dec 14 21:02 GOVERNANCE.md 21:03:32 drwxrwxr-x. 4 jenkins jenkins 33 Dec 14 21:02 include 21:03:32 -rw-rw-r--. 1 jenkins jenkins 784 Dec 14 21:02 Jenkinsfile 21:03:32 -rw-rw-r--. 1 jenkins jenkins 10174 Dec 14 21:02 LICENSE 21:03:32 -rw-rw-r--. 1 jenkins jenkins 444 Dec 14 21:02 Makefile 21:03:32 -rw-rw-r--. 1 jenkins jenkins 618 Dec 14 21:02 OWNERS.md 21:03:32 -rw-rw-r--. 1 jenkins jenkins 4086 Dec 14 21:02 README.md 21:03:32 -rw-rw-r--. 1 jenkins jenkins 7422 Dec 14 21:02 README.v2.md 21:03:32 drwxrwxr-x. 2 jenkins jenkins 98 Dec 14 21:02 scripts 21:03:32 drwxrwxr-x. 4 jenkins jenkins 50 Dec 14 21:02 src 21:03:32 -rw-rw-r--. 1 jenkins jenkins 5 Dec 14 21:00 VERSION [Pipeline] isUnix [Pipeline] sh 21:03:32 + 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=dc8742ecb02bdc9fb61c4decdcfae028f2de6039 --label arch=amd64 --label version=0.0.0 . 21:03:32 Sending build context to Docker daemon 2.738MB 21:03:32 Step 1/17 : ARG BASE=alpine:3.14 21:03:32 Step 2/17 : FROM ${BASE} 21:03:32 ---> 64b2ecdeb747 21:03:32 Step 3/17 : LABEL maintainer="IOTech " 21:03:32 ---> Running in 78eb10873b0f 21:03:32 Removing intermediate container 78eb10873b0f 21:03:32 ---> 99c85b7dc132 21:03:32 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 21:03:32 ---> Running in f8b0345109ab 21:03:32 --2021-12-14 21:03:32-- https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release 21:03:32 Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.170.66.44, 54.74.239.58, 54.72.115.12, ... 21:03:32 Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.170.66.44|:443... connected. 21:03:33 HTTP request sent, awaiting response... 200 OK 21:03:33 Length: unspecified [application/json] 21:03:33 Saving to: '/etc/apk/keys/alpine.dev.rsa.pub' 21:03:33 21:03:33 0K  194M=0s 21:03:33 21:03:33 2021-12-14 21:03:33 (194 MB/s) - '/etc/apk/keys/alpine.dev.rsa.pub' saved [451] 21:03:33 21:03:33 Removing intermediate container f8b0345109ab 21:03:33 ---> ed6d1f954c47 21:03:33 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 21:03:33 ---> Running in 635eafb516ce 21:03:34 Removing intermediate container 635eafb516ce 21:03:34 ---> 2cdf0fa61c8d 21:03:34 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 21:03:34 ---> Running in e9064aab9e24 21:03:34 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 21:03:34 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 21:03:35 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz 21:03:35 WARNING: This apk-tools is OLD! Some packages might not function properly. 21:03:35 (1/21) Installing ncurses-dev (6.2_p20210612-r0) 21:03:35 (2/21) Installing libblkid (2.37.2-r0) 21:03:36 (3/21) Installing blkid (2.37.2-r0) 21:03:36 (4/21) Installing libcap-ng (0.8.2-r0) 21:03:36 (5/21) Installing setpriv (2.37.2-r0) 21:03:36 (6/21) Installing libmount (2.37.2-r0) 21:03:36 (7/21) Installing libsmartcols (2.37.2-r0) 21:03:36 (8/21) Installing findmnt (2.37.2-r0) 21:03:36 (9/21) Installing mcookie (2.37.2-r0) 21:03:36 (10/21) Installing hexdump (2.37.2-r0) 21:03:36 (11/21) Installing lsblk (2.37.2-r0) 21:03:36 (12/21) Installing libfdisk (2.37.2-r0) 21:03:36 (13/21) Installing sfdisk (2.37.2-r0) 21:03:36 (14/21) Installing cfdisk (2.37.2-r0) 21:03:37 (15/21) Installing partx (2.37.2-r0) 21:03:37 (16/21) Installing flock (2.37.2-r0) 21:03:37 (17/21) Installing logger (2.37.2-r0) 21:03:37 (18/21) Installing uuidgen (2.37.2-r0) 21:03:37 (19/21) Installing libeconf (0.3.8-r1) 21:03:37 (20/21) Installing util-linux (2.37.2-r0) 21:03:37 (21/21) Installing util-linux-dev (2.37.2-r0) 21:03:37 Executing busybox-1.33.1-r3.trigger 21:03:37 OK: 291 MiB in 105 packages 21:03:38 Removing intermediate container e9064aab9e24 21:03:38 ---> 82cb72e846f1 21:03:38 Step 7/17 : COPY VERSION /edgex-c-sdk/ 21:03:38 ---> 3ae0a1cff2f7 21:03:38 Step 8/17 : COPY src /edgex-c-sdk/src/ 21:03:38 ---> ece19e2fdd86 21:03:38 Step 9/17 : COPY include /edgex-c-sdk/include/ 21:03:38 ---> 5f91d1c683e8 21:03:38 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 21:03:38 ---> 4e8a629ed2c6 21:03:38 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 21:03:38 ---> 427b8e8c5bc5 21:03:38 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 21:03:38 ---> 01006fb93dc0 21:03:38 Step 13/17 : WORKDIR /edgex-c-sdk 21:03:38 ---> Running in 089db88d4534 21:03:39 Removing intermediate container 089db88d4534 21:03:39 ---> 8fa8cd1c787f 21:03:39 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 21:03:39 ---> Running in 0c64278b3875 21:03:39 Removing intermediate container 0c64278b3875 21:03:39 ---> 62db7f0e9ff0 21:03:39 Step 15/17 : LABEL arch=amd64 21:03:39 ---> Running in 2ea85a91e4a6 21:03:39 Removing intermediate container 2ea85a91e4a6 21:03:39 ---> 28283b9ec99b 21:03:39 Step 16/17 : LABEL git_sha=dc8742ecb02bdc9fb61c4decdcfae028f2de6039 21:03:39 ---> Running in 9bdba585be23 21:03:39 Removing intermediate container 9bdba585be23 21:03:39 ---> 5fa6a90b9b7f 21:03:39 Step 17/17 : LABEL version=0.0.0 21:03:39 ---> Running in 28f436aaf1e8 21:03:39 Removing intermediate container 28f436aaf1e8 21:03:39 ---> fcb18a852279 21:03:39 [Warning] One or more build-args [MAKE ARCH] were not consumed 21:03:39 Successfully built fcb18a852279 21:03:39 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 21:03:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:03:40 21:03:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 21:03:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:03:40 latest: Pulling from edgex-lftools-log-publisher 21:03:40 b4d181a07f80: Pulling fs layer 21:03:40 a1111a8f2ec3: Pulling fs layer 21:03:40 ed53099fbce6: Pulling fs layer 21:03:40 dc539afda2c1: Pulling fs layer 21:03:40 77bc0d833cb6: Pulling fs layer 21:03:40 9065ff56babe: Pulling fs layer 21:03:40 d287ab97295c: Pulling fs layer 21:03:40 dc539afda2c1: Waiting 21:03:40 77bc0d833cb6: Waiting 21:03:40 9065ff56babe: Waiting 21:03:40 d287ab97295c: Waiting 21:03:40 a1111a8f2ec3: Verifying Checksum 21:03:40 a1111a8f2ec3: Download complete 21:03:40 dc539afda2c1: Verifying Checksum 21:03:40 dc539afda2c1: Download complete 21:03:40 ed53099fbce6: Verifying Checksum 21:03:40 ed53099fbce6: Download complete 21:03:40 9065ff56babe: Verifying Checksum 21:03:40 9065ff56babe: Download complete 21:03:40 77bc0d833cb6: Verifying Checksum 21:03:40 77bc0d833cb6: Download complete 21:03:40 b4d181a07f80: Verifying Checksum 21:03:40 b4d181a07f80: Download complete 21:03:41 d287ab97295c: Verifying Checksum 21:03:41 d287ab97295c: Download complete 21:03:42 b4d181a07f80: Pull complete 21:03:42 a1111a8f2ec3: Pull complete 21:03:43 ed53099fbce6: Pull complete 21:03:43 dc539afda2c1: Pull complete 21:03:43 77bc0d833cb6: Pull complete 21:03:43 9065ff56babe: Pull complete 21:03:48 d287ab97295c: Pull complete 21:03:48 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 21:03:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:03:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 21:03:48 prd-centos7-docker-4c-2g-865 does not seem to be running inside a container 21:03:48 $ 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 21:03:50 Running on prd-ubuntu18.04-docker-arm64-4c-16g-866 in /w/workspace/edgexfoundry_device-sdk-c_PR-390 21:03:51 $ docker top f3e79f410a8bfd29bc7563495741b3b071ee3e804a641ef41cf4df6e142ef919 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 21:03:51 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 21:03:51 ---> job-cost.sh 21:03:51 lf-activate-venv: SKIPPING 21:03:51 INFO: No Stack... 21:03:51 Selected Git installation does not exist. Using Default 21:03:51 The recommended git tool is: NONE 21:03:51 INFO: Retrieving Pricing Info for: v3-standard-2 21:03:52 INFO: Archiving Costs [Pipeline] sh 21:03:52 + cut -d, -f6 21:03:52 + cat /w/workspace/device-sdk-c/1/archives/cost.csv [Pipeline] lock 21:03:52 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-390-1-stack-cost] 21:03:52 Resource [jenkins-edgexfoundry-device-sdk-c-PR-390-1-stack-cost] did not exist. Created. 21:03:52 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-390-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:03:52 + echo total: 0.05999999865889549 [Pipeline] stash 21:03:52 Stashed 1 file(s) [Pipeline] } 21:03:52 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-390-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:03:53 $ docker stop --time=1 f3e79f410a8bfd29bc7563495741b3b071ee3e804a641ef41cf4df6e142ef919 21:03:54 $ docker rm -f f3e79f410a8bfd29bc7563495741b3b071ee3e804a641ef41cf4df6e142ef919 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 21:03:55 using credential edgex-jenkins-ssh 21:03:55 Cloning the remote Git repository 21:03:55 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 21:03:55 > git init /w/workspace/device-sdk-c/1 # timeout=10 21:03:55 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 21:03:55 > git --version # timeout=10 21:03:55 > git --version # 'git version 2.17.1' 21:03:55 using GIT_SSH to set credentials SSH Credentials for GitHub 21:03:56 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:03:57 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 21:03:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:03:57 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 21:03:57 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 21:03:57 using GIT_SSH to set credentials SSH Credentials for GitHub 21:03:57 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/390/head:refs/remotes/origin/PR-390 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:03:57 Merging remotes/origin/main commit 9c093d915178364b5ad4a5f89c558c84b05f4943 into PR head commit dc8742ecb02bdc9fb61c4decdcfae028f2de6039 21:03:58 Merge succeeded, producing dc8742ecb02bdc9fb61c4decdcfae028f2de6039 21:03:58 Checking out Revision dc8742ecb02bdc9fb61c4decdcfae028f2de6039 (PR-390) 21:03:57 > git config core.sparsecheckout # timeout=10 21:03:57 > git checkout -f dc8742ecb02bdc9fb61c4decdcfae028f2de6039 # timeout=10 21:03:58 > git remote # timeout=10 21:03:58 > git config --get remote.origin.url # timeout=10 21:03:58 using GIT_SSH to set credentials SSH Credentials for GitHub 21:03:58 > git merge 9c093d915178364b5ad4a5f89c558c84b05f4943 # timeout=10 21:03:58 > git rev-parse HEAD^{commit} # timeout=10 21:03:58 > git config core.sparsecheckout # timeout=10 21:03:58 > git checkout -f dc8742ecb02bdc9fb61c4decdcfae028f2de6039 # timeout=10 21:04:02 Commit message: "docs: update issue templates to include required sections" 21:04:02 > git --version # timeout=10 21:04:02 > git --version # 'git version 2.17.1' 21:04:02 fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:04:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:04:03 % Total % Received % Xferd Average Speed Time Time Time Current 21:04:03 Dload Upload Total Spent Left Speed 21:04:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 63229 0 --:--:-- --:--:-- --:--:-- 62893 [Pipeline] sh 21:04:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:04:04 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:04:04 + sudo tee /etc/docker/daemon.new 21:04:04 { 21:04:04 "registry-mirrors": [ 21:04:04 "https://nexus3.edgexfoundry.org:10001" 21:04:04 ], 21:04:04 "bip": "10.250.0.254/24", 21:04:04 "hosts": [ 21:04:04 "tcp://0.0.0.0:5555", 21:04:04 "unix:///var/run/docker.sock" 21:04:04 ], 21:04:04 "mtu": 1458, 21:04:04 "selinux-enabled": true, 21:04:04 "seccomp-profile": "/etc/docker/seccomp.json" 21:04:04 } [Pipeline] sh 21:04:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:04:05 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:04:23 provisioning config files... 21:04:23 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config3230617399135022831tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:04:24 ---> docker-login.sh 21:04:24 nexus3.edgexfoundry.org:10001 21:04:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:24 Configure a credential helper to remove this warning. See 21:04:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:24 21:04:24 Login Succeeded 21:04:24 nexus3.edgexfoundry.org:10002 21:04:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:25 Configure a credential helper to remove this warning. See 21:04:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:25 21:04:25 Login Succeeded 21:04:25 nexus3.edgexfoundry.org:10003 21:04:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:25 Configure a credential helper to remove this warning. See 21:04:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:25 21:04:25 Login Succeeded 21:04:25 nexus3.edgexfoundry.org:10004 21:04:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:26 Configure a credential helper to remove this warning. See 21:04:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:26 21:04:26 Login Succeeded 21:04:26 docker.io 21:04:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:26 Configure a credential helper to remove this warning. See 21:04:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:26 21:04:26 Login Succeeded 21:04:26 ---> docker-login.sh ends [Pipeline] } 21:04:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:04:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:04:27 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 21:04:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:04:27 ========================================================= 21:04:27 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 21:04:27 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 21:04:27 + 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 . 21:04:28 Sending build context to Docker daemon 2.737MB 21:04:28 Step 1/24 : ARG BASE=alpine:3.14 21:04:28 Step 2/24 : FROM ${BASE} as builder 21:04:28 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 21:04:28 552d1f2373af: Pulling fs layer 21:04:28 f2be2b6548c6: Pulling fs layer 21:04:28 ee4ac2fe028c: Pulling fs layer 21:04:28 f2be2b6548c6: Download complete 21:04:28 552d1f2373af: Verifying Checksum 21:04:28 552d1f2373af: Download complete 21:04:29 552d1f2373af: Pull complete 21:04:29 f2be2b6548c6: Pull complete 21:04:30 ee4ac2fe028c: Verifying Checksum 21:04:30 ee4ac2fe028c: Download complete 21:04:38 ee4ac2fe028c: Pull complete 21:04:38 Digest: sha256:4c85ded81933cf54d6808eb239bc3fea8e3bb42c9130537b51c88bfc6b01a02b 21:04:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 21:04:38 ---> b6d714ea7bf2 21:04:38 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 21:04:39 ---> Running in 4dd4992dae68 21:04:40 Connecting to iotech.jfrog.io (54.74.239.58:443) 21:04:40 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 21:04:40 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 21:04:40 '/etc/apk/keys/alpine.dev.rsa.pub' saved 21:04:41 Removing intermediate container 4dd4992dae68 21:04:41 ---> f513439c298d 21:04:41 Step 4/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 21:04:41 ---> Running in a129c82de375 21:04:43 Removing intermediate container a129c82de375 21:04:43 ---> e181ed7821d7 21:04:43 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 21:04:43 ---> Running in f6ab7d2c3859 21:04:44 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 21:04:45 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 21:04:45 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz 21:04:46 WARNING: This apk-tools is OLD! Some packages might not function properly. 21:04:46 (1/27) Installing hiredis (1.0.0-r0) 21:04:46 (2/27) Installing hiredis-dev (1.0.0-r0) 21:04:46 (3/27) Installing ncurses-dev (6.2_p20210612-r0) 21:04:46 (4/27) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 21:04:47 (5/27) Installing libblkid (2.37.2-r0) 21:04:47 (6/27) Installing blkid (2.37.2-r0) 21:04:47 (7/27) Installing libcap-ng (0.8.2-r0) 21:04:47 (8/27) Installing setpriv (2.37.2-r0) 21:04:47 (9/27) Installing libmount (2.37.2-r0) 21:04:47 (10/27) Installing libsmartcols (2.37.2-r0) 21:04:48 (11/27) Installing findmnt (2.37.2-r0) 21:04:48 (12/27) Installing mcookie (2.37.2-r0) 21:04:48 (13/27) Installing hexdump (2.37.2-r0) 21:04:48 (14/27) Installing lsblk (2.37.2-r0) 21:04:48 (15/27) Installing libuuid (2.37.2-r0) 21:04:48 (16/27) Installing libfdisk (2.37.2-r0) 21:04:48 (17/27) Installing sfdisk (2.37.2-r0) 21:04:48 (18/27) Installing cfdisk (2.37.2-r0) 21:04:48 (19/27) Installing partx (2.37.2-r0) 21:04:48 (20/27) Installing flock (2.37.2-r0) 21:04:48 (21/27) Installing logger (2.37.2-r0) 21:04:48 (22/27) Installing uuidgen (2.37.2-r0) 21:04:48 (23/27) Installing libeconf (0.3.8-r1) 21:04:49 (24/27) Installing util-linux (2.37.2-r0) 21:04:49 (25/27) Installing util-linux-dev (2.37.2-r0) 21:04:49 (26/27) Installing libidn2 (2.3.1-r0) 21:04:49 (27/27) Installing wget (1.21.1-r1) 21:04:49 Executing busybox-1.33.1-r3.trigger 21:04:49 OK: 286 MiB in 104 packages 21:04:51 Removing intermediate container f6ab7d2c3859 21:04:51 ---> da63a054bce2 21:04:51 Step 6/24 : ENV CBOR_VERSION=0.5.0 21:04:51 ---> Running in 4244e2527dc9 21:04:51 Removing intermediate container 4244e2527dc9 21:04:51 ---> fe708833c01f 21:04:51 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 21:04:51 ---> Running in 8d73a36c91a1 21:04:52 --2021-12-14 21:04:52-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 21:04:52 Resolving github.com (github.com)... 140.82.114.3 21:04:52 Connecting to github.com (github.com)|140.82.114.3|:443... connected. 21:04:52 HTTP request sent, awaiting response... 302 Found 21:04:52 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 21:04:52 --2021-12-14 21:04:52-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 21:04:52 Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 21:04:52 Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. 21:04:53 HTTP request sent, awaiting response... 200 OK 21:04:53 Length: unspecified [application/x-gzip] 21:04:53 Saving to: 'STDOUT' 21:04:53 21:04:53 0K .......... .......... .......... .......... .......... 1.20M 21:04:53 50K .......... .......... .......... .......... .......... 2.32M 21:04:53 100K .......... .......... .......... .......... .......... 15.3M 21:04:53 150K .......... .......... .......... .......... .......... 2.80M 21:04:53 200K .......... .......... .......... .......... .......... 13.7M 21:04:53 250K .......... .......... .......... .......... .......... 3.56M 21:04:53 300K .......... .......... .......... .......... .......... 5.08M 21:04:53 350K .......... .......... .......... .......... .......... 3.63M 21:04:53 400K .......... .......... .......... .......... .......... 3.75M 21:04:53 450K .......... .......... .......... .......... .......... 3.79M 21:04:53 500K .......... .......... .......... .......... .......... 6.48M 21:04:53 550K .......... .......... .......... .......... .......... 1.86M 21:04:53 600K .......... .......... .......... .......... .......... 1.03M 21:04:53 650K .......... .......... .......... .......... .......... 2.18M 21:04:53 700K ..     8.38M=0.3s 21:04:53 21:04:53 2021-12-14 21:04:53 (2.71 MB/s) - written to stdout [719348] 21:04:53 21:04:53 -- The C compiler identification is GNU 10.3.1 21:04:53 -- The CXX compiler identification is GNU 10.3.1 21:04:54 -- Detecting C compiler ABI info 21:04:54 -- Detecting C compiler ABI info - done 21:04:54 -- Check for working C compiler: /usr/bin/cc - skipped 21:04:54 -- Detecting C compile features 21:04:54 -- Detecting C compile features - done 21:04:54 -- Detecting CXX compiler ABI info 21:04:54 -- Detecting CXX compiler ABI info - done 21:04:54 -- Check for working CXX compiler: /usr/bin/c++ - skipped 21:04:54 -- Detecting CXX compile features 21:04:54 -- Detecting CXX compile features - done 21:04:54 -- Looking for include file endian.h 21:04:54 -- Looking for include file endian.h - found 21:04:54 -- Looking for sys/types.h 21:04:55 -- Looking for sys/types.h - found 21:04:55 -- Looking for stdint.h 21:04:55 -- Looking for stdint.h - found 21:04:55 -- Looking for stddef.h 21:04:55 -- Looking for stddef.h - found 21:04:55 -- Check size of size_t 21:04:56 -- Check size of size_t - done 21:04:56 CMake Warning at examples/CMakeLists.txt:16 (find_package): 21:04:56 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 21:04:56 asked CMake to find a package configuration file provided by "cJSON", but 21:04:56 CMake did not find one. 21:04:56 21:04:56 Could not find a package configuration file provided by "cJSON" with any of 21:04:56 the following names: 21:04:56 21:04:56 cJSONConfig.cmake 21:04:56 cjson-config.cmake 21:04:56 21:04:56 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 21:04:56 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 21:04:56 provides a separate development package or SDK, be sure it has been 21:04:56 installed. 21:04:56 21:04:56 21:04:56 -- Configuring done 21:04:56 -- Generating done 21:04:56 -- Build files have been written to: /tmp/cbor 21:04:56 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 21:04:57 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 21:04:58 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 21:04:58 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 21:04:59 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 21:04:59 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 21:04:59 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 21:04:59 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 21:05:00 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 21:05:00 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 21:05:01 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 21:05:01 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 21:05:01 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 21:05:02 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 21:05:02 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 21:05:03 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 21:05:03 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 21:05:03 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 21:05:03 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 21:05:04 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 21:05:04 [ 40%] Linking C shared library libcbor.so 21:05:04 [ 40%] Built target cbor_shared 21:05:04 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 21:05:05 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 21:05:06 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 21:05:06 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 21:05:08 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 21:05:08 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 21:05:09 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 21:05:09 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 21:05:09 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 21:05:09 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 21:05:10 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 21:05:11 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 21:05:11 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 21:05:12 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 21:05:12 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 21:05:12 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 21:05:13 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 21:05:13 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 21:05:13 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 21:05:14 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 21:05:14 [ 80%] Linking C static library libcbor.a 21:05:14 [ 80%] Built target cbor 21:05:14 [ 82%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 21:05:14 [ 84%] Linking C executable readfile 21:05:14 [ 84%] Built target readfile 21:05:14 [ 86%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 21:05:15 [ 88%] Linking C executable create_items 21:05:15 [ 88%] Built target create_items 21:05:15 [ 90%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 21:05:15 [ 92%] Linking C executable sort 21:05:15 [ 92%] Built target sort 21:05:15 [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 21:05:15 [ 96%] Linking C executable hello 21:05:15 [ 96%] Built target hello 21:05:15 [ 98%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 21:05:16 [100%] Linking C executable streaming_parser 21:05:16 [100%] Built target streaming_parser 21:05:16 Install the project... 21:05:16 -- Install configuration: "Release" 21:05:16 -- Installing: /usr/local/include/cbor/configuration.h 21:05:16 -- Installing: /usr/local/lib/libcbor.a 21:05:16 -- Installing: /usr/local/lib/libcbor.so.0.0.0 21:05:16 -- Installing: /usr/local/lib/libcbor.so.0 21:05:16 -- Installing: /usr/local/lib/libcbor.so 21:05:16 -- Up-to-date: /usr/local/include/cbor 21:05:16 -- Installing: /usr/local/include/cbor/data.h 21:05:16 -- Installing: /usr/local/include/cbor/callbacks.h 21:05:16 -- Installing: /usr/local/include/cbor/ints.h 21:05:16 -- Installing: /usr/local/include/cbor/arrays.h 21:05:16 -- Installing: /usr/local/include/cbor/maps.h 21:05:16 -- Installing: /usr/local/include/cbor/tags.h 21:05:16 -- Installing: /usr/local/include/cbor/serialization.h 21:05:16 -- Installing: /usr/local/include/cbor/common.h 21:05:16 -- Installing: /usr/local/include/cbor/floats_ctrls.h 21:05:16 -- Installing: /usr/local/include/cbor/internal 21:05:16 -- Installing: /usr/local/include/cbor/internal/encoders.h 21:05:16 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 21:05:16 -- Installing: /usr/local/include/cbor/internal/stack.h 21:05:16 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 21:05:16 -- Installing: /usr/local/include/cbor/internal/unicode.h 21:05:16 -- Installing: /usr/local/include/cbor/internal/loaders.h 21:05:16 -- Installing: /usr/local/include/cbor/bytestrings.h 21:05:16 -- Installing: /usr/local/include/cbor/encoding.h 21:05:16 -- Installing: /usr/local/include/cbor/streaming.h 21:05:16 -- Installing: /usr/local/include/cbor/strings.h 21:05:16 -- Installing: /usr/local/include/cbor.h 21:05:16 -- Installing: /usr/local/lib/pkgconfig/libcbor.pc 21:05:18 Removing intermediate container 8d73a36c91a1 21:05:18 ---> f076f334d395 21:05:18 Step 8/24 : RUN mkdir /tmp/sdk 21:05:18 ---> Running in bb61b1bfd097 21:05:19 Removing intermediate container bb61b1bfd097 21:05:19 ---> 1cd6a03c7731 21:05:19 Step 9/24 : COPY VERSION /tmp/sdk 21:05:20 ---> 847f05805235 21:05:20 Step 10/24 : COPY src /tmp/sdk/src 21:05:21 ---> 2051b88ba310 21:05:21 Step 11/24 : COPY include /tmp/sdk/include 21:05:21 ---> a5f109c553c2 21:05:21 Step 12/24 : COPY scripts /tmp/sdk/scripts 21:05:22 ---> ded34be1eabc 21:05:22 Step 13/24 : COPY LICENSE /tmp/sdk 21:05:22 ---> 0c8e52a557d8 21:05:22 Step 14/24 : COPY Attribution.txt /tmp/sdk 21:05:23 ---> 87c7b746a841 21:05:23 Step 15/24 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 21:05:23 ---> Running in 5f4ef269d860 21:05:24 + CPPCHECK=false 21:05:24 + DOCGEN=false 21:05:24 + TOMLVER=SDK-0.2 21:05:24 + CUTILVER=1.2.2 21:05:24 + '[' 0 -gt 0 ] 21:05:24 + readlink -f ./scripts/build.sh 21:05:24 + dirname /tmp/sdk/scripts/build.sh 21:05:24 + dirname /tmp/sdk/scripts 21:05:24 + ROOT=/tmp/sdk 21:05:24 + cd /tmp/sdk 21:05:24 + '[' '!' -d deps ] 21:05:24 + mkdir deps 21:05:24 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 21:05:24 + tar -C deps -z -x -f - 21:05:24 --2021-12-14 21:05:24-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 21:05:24 Resolving github.com (github.com)... 140.82.114.3 21:05:24 Connecting to github.com (github.com)|140.82.114.3|:443... connected. 21:05:24 HTTP request sent, awaiting response... 302 Found 21:05:24 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 21:05:24 --2021-12-14 21:05:24-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 21:05:24 Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 21:05:24 Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. 21:05:24 HTTP request sent, awaiting response... 200 OK 21:05:24 Length: unspecified [application/x-gzip] 21:05:24 Saving to: 'STDOUT' 21:05:24  21:05:24 0K .......... ......    718K=0.02s 21:05:24 21:05:24 2021-12-14 21:05:24 (718 KB/s) - written to stdout [16451] 21:05:24 21:05:24 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 21:05:24 + + wgettar -O -C - deps https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz -z 21:05:24 -x -f - 21:05:24 --2021-12-14 21:05:24-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 21:05:24 Resolving github.com (github.com)... 140.82.114.3 21:05:24 Connecting to github.com (github.com)|140.82.114.3|:443... connected. 21:05:25 HTTP request sent, awaiting response... 302 Found 21:05:25 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] 21:05:25 --2021-12-14 21:05:25-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 21:05:25 Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 21:05:25 Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. 21:05:25 HTTP request sent, awaiting response... 200 OK 21:05:25 Length: unspecified [application/x-gzip] 21:05:25 Saving to: 'STDOUT' 21:05:25  21:05:25 0K .......... .......... .......... .......... .......... 1.21M 21:05:25 50K .......... .......... .......... .......... .......... 2.10M 21:05:25 100K .......... .......... .......... .......... .......... 6.90M 21:05:25 150K .......... .......... .......... ......... 2.75M=0.08s 21:05:25 21:05:25 2021-12-14 21:05:25 (2.18 MB/s) - written to stdout [193961] 21:05:25 21:05:25 + mkdir -p src/c/iot 21:05:25 + 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 21:05:25 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 21:05:25 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 21:05:25 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 21:05:25 + mkdir -p include/iot 21:05:25 + 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 21:05:25 + mkdir -p include/iot/os 21:05:25 + 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 21:05:25 + mkdir -p /tmp/sdk/build/release 21:05:25 + cd /tmp/sdk/build/release 21:05:25 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 21:05:26 -- The C compiler identification is GNU 10.3.1 21:05:26 -- Detecting C compiler ABI info 21:05:26 -- Detecting C compiler ABI info - done 21:05:26 -- Check for working C compiler: /usr/bin/cc - skipped 21:05:26 -- Detecting C compile features 21:05:26 -- Detecting C compile features - done 21:05:26 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 21:05:26 -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") 21:05:26 -- Found LIBYAML: /usr/lib/libyaml.so 21:05:26 -- Found LIBUUID: /usr/lib/libuuid.so 21:05:26 -- Found LIBCBOR: /usr/local/lib/libcbor.so 21:05:26 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 21:05:26 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 21:05:26 -- C SDK 0.0.0 for Linux 21:05:26 -- Performing Test CSDK_HAVE_ATOMIC 21:05:26 -- Performing Test CSDK_HAVE_ATOMIC - Success 21:05:26 -- Found Curses: /usr/lib/libcurses.so 21:05:27 -- Configuring done 21:05:27 -- Generating done 21:05:27 -- Build files have been written to: /tmp/sdk/build/release 21:05:27 + + teemake release.log 21:05:27 all package 21:05:27 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 21:05:28 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 21:05:28 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 21:05:31 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 21:05:31 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 21:05:32 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 21:05:33 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 21:05:33 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 21:05:33 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 21:05:35 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 21:05:37 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 21:05:37 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 21:05:38 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 21:05:39 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 21:05:39 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 21:05:39 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 21:05:40 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 21:05:43 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 21:05:43 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 21:05:44 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 21:05:44 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 21:05:44 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 21:05:45 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 21:05:45 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 21:05:45 275 | const iot_component_factory_t * factory; 21:05:45 | ^~~~~~~ 21:05:45 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 21:05:51 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 21:05:51 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 21:05:51 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 21:05:51 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 21:05:52 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 21:05:52 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 21:05:53 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 21:05:54 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 21:05:54 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 21:05:55 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 21:05:55 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 21:05:58 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 21:05:58 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 21:05:59 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 21:06:00 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 21:06:05 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 21:06:05 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 21:06:05 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 21:06:06 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 21:06:06 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 21:06:06 /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] 21:06:06 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 21:06:06 | ^~~~~~~~~~~~~ 21:06:06 | | 21:06:06 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 21:06:06 In file included from /tmp/sdk/src/c/rest-server.c:21: 21:06:06 /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 *)' 21:06:06 2714 | MHD_KeyValueIterator iterator, 21:06:06 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 21:06:06 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 21:06:06 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 21:06:06 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 21:06:06 | ^~~~~~~~~~~~ 21:06:06 | | 21:06:06 | 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 **)} 21:06:06 In file included from /tmp/sdk/src/c/rest-server.c:21: 21:06:06 /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 **)'} 21:06:06 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 21:06:06 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 21:06:06 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 21:06:06 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 21:06:06 | ^~~~~~~~~~~~ 21:06:06 | | 21:06:06 | 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 **)} 21:06:06 In file included from /tmp/sdk/src/c/rest-server.c:21: 21:06:06 /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 **)'} 21:06:06 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 21:06:06 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 21:06:07 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 21:06:09 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 21:06:09 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 21:06:10 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 21:06:10 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 21:06:13 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 21:06:17 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 21:06:17 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 21:06:18 [ 76%] Linking C shared library libcsdk.so 21:06:18 [ 76%] Built target csdk 21:06:18 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 21:06:19 [ 79%] Linking C executable template 21:06:19 [ 79%] Built target template 21:06:19 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 21:06:20 [ 82%] Linking C executable device-counter 21:06:20 [ 82%] Built target device-counter 21:06:20 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 21:06:21 [ 85%] Linking C executable device-random 21:06:21 [ 85%] Built target device-random 21:06:21 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 21:06:21 [ 88%] Linking C executable device-gyro 21:06:21 [ 88%] Built target device-gyro 21:06:21 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 21:06:22 [ 91%] Linking C executable device-bitfields 21:06:22 [ 91%] Built target device-bitfields 21:06:22 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 21:06:23 [ 94%] Linking C executable template-discovery 21:06:23 [ 94%] Built target template-discovery 21:06:24 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 21:06:24 [ 97%] Linking C executable device-file 21:06:24 [ 97%] Built target device-file 21:06:24 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 21:06:25 [100%] Linking C executable device-terminal 21:06:25 [100%] Built target device-terminal 21:06:25 Run CPack packaging tool... 21:06:26 CPack: Create package using TGZ 21:06:26 CPack: Install projects 21:06:26 CPack: - Run preinstall target for: Csdk 21:06:26 CPack: - Install project: Csdk [] 21:06:26 CPack: Create package 21:06:26 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 21:06:26 + '[' false '=' true ] 21:06:26 + '[' false '=' true ] 21:06:26 + mkdir -p /tmp/sdk/build/debug 21:06:26 + cd /tmp/sdk/build/debug 21:06:26 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 21:06:27 -- The C compiler identification is GNU 10.3.1 21:06:27 -- Detecting C compiler ABI info 21:06:27 -- Detecting C compiler ABI info - done 21:06:27 -- Check for working C compiler: /usr/bin/cc - skipped 21:06:27 -- Detecting C compile features 21:06:27 -- Detecting C compile features - done 21:06:27 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 21:06:27 -- Found CURL: /usr/lib/libcurl.so (found version "7.79.1") 21:06:27 -- Found LIBYAML: /usr/lib/libyaml.so 21:06:27 -- Found LIBUUID: /usr/lib/libuuid.so 21:06:27 -- Found LIBCBOR: /usr/local/lib/libcbor.so 21:06:27 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 21:06:27 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 21:06:27 -- C SDK 0.0.0 for Linux 21:06:27 -- Performing Test CSDK_HAVE_ATOMIC 21:06:28 -- Performing Test CSDK_HAVE_ATOMIC - Success 21:06:28 -- Found Curses: /usr/lib/libcurses.so 21:06:28 -- Configuring done 21:06:28 -- Generating done 21:06:28 -- Build files have been written to: /tmp/sdk/build/debug 21:06:28 + make 21:06:28 + tee debug.log 21:06:28 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 21:06:29 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 21:06:29 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 21:06:30 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 21:06:30 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 21:06:30 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 21:06:30 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 21:06:31 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 21:06:31 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 21:06:32 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 21:06:32 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 21:06:32 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 21:06:33 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 21:06:33 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 21:06:34 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 21:06:34 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 21:06:34 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 21:06:35 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 21:06:35 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 21:06:35 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 21:06:35 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 21:06:36 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 21:06:36 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 21:06:36 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 21:06:36 275 | const iot_component_factory_t * factory; 21:06:36 | ^~~~~~~ 21:06:36 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 21:06:37 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 21:06:37 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 21:06:38 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 21:06:38 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 21:06:38 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 21:06:38 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 21:06:38 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 21:06:39 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 21:06:39 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 21:06:39 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 21:06:40 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 21:06:40 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 21:06:40 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 21:06:41 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 21:06:41 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 21:06:42 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 21:06:43 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 21:06:43 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 21:06:43 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 21:06:43 /tmp/sdk/src/c/rest-server.c: In function 'http_handler': 21:06:43 /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] 21:06:43 250 | MHD_get_connection_values (conn, MHD_GET_ARGUMENT_KIND, queryIterator, req.qparams); 21:06:43 | ^~~~~~~~~~~~~ 21:06:43 | | 21:06:43 | int (*)(void *, enum MHD_ValueKind, const char *, const char *) 21:06:43 In file included from /tmp/sdk/src/c/rest-server.c:21: 21:06:43 /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 *)' 21:06:43 2714 | MHD_KeyValueIterator iterator, 21:06:43 | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 21:06:43 /tmp/sdk/src/c/rest-server.c: In function 'edgex_rest_server_create': 21:06:43 /tmp/sdk/src/c/rest-server.c:348:58: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 21:06:43 348 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_SOCK_ADDR, res->ai_addr, MHD_OPTION_END); 21:06:43 | ^~~~~~~~~~~~ 21:06:43 | | 21:06:43 | 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 **)} 21:06:43 In file included from /tmp/sdk/src/c/rest-server.c:21: 21:06:43 /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 **)'} 21:06:43 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 21:06:43 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 21:06:43 /tmp/sdk/src/c/rest-server.c:359:56: warning: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [-Wincompatible-pointer-types] 21:06:43 359 | svr->daemon = MHD_start_daemon (flags, port, 0, 0, http_handler, svr, MHD_OPTION_END); 21:06:43 | ^~~~~~~~~~~~ 21:06:43 | | 21:06:43 | 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 **)} 21:06:43 In file included from /tmp/sdk/src/c/rest-server.c:21: 21:06:43 /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 **)'} 21:06:43 2443 | MHD_AccessHandlerCallback dh, void *dh_cls, 21:06:43 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 21:06:43 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 21:06:45 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 21:06:45 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 21:06:45 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 21:06:46 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 21:06:46 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 21:06:47 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 21:06:48 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 21:06:48 [ 76%] Linking C shared library libcsdk.so 21:06:48 [ 76%] Built target csdk 21:06:48 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 21:06:48 [ 79%] Linking C executable template 21:06:49 [ 79%] Built target template 21:06:49 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 21:06:49 [ 82%] Linking C executable device-counter 21:06:49 [ 82%] Built target device-counter 21:06:49 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 21:06:49 [ 85%] Linking C executable device-random 21:06:50 [ 85%] Built target device-random 21:06:50 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 21:06:50 [ 88%] Linking C executable device-gyro 21:06:50 [ 88%] Built target device-gyro 21:06:50 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 21:06:50 [ 91%] Linking C executable device-bitfields 21:06:51 [ 91%] Built target device-bitfields 21:06:51 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 21:06:51 [ 94%] Linking C executable template-discovery 21:06:51 [ 94%] Built target template-discovery 21:06:51 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 21:06:52 [ 97%] Linking C executable device-file 21:06:52 [ 97%] Built target device-file 21:06:52 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 21:06:53 [100%] Linking C executable device-terminal 21:06:53 [100%] Built target device-terminal 21:06:53 make: Entering directory '/tmp/sdk/build/release' 21:06:53 make[1]: Entering directory '/tmp/sdk/build/release' 21:06:53 make[2]: Entering directory '/tmp/sdk/build/release' 21:06:53 make[2]: Leaving directory '/tmp/sdk/build/release' 21:06:53 [ 76%] Built target csdk 21:06:53 make[2]: Entering directory '/tmp/sdk/build/release' 21:06:53 make[2]: Leaving directory '/tmp/sdk/build/release' 21:06:53 [ 79%] Built target template 21:06:53 make[2]: Entering directory '/tmp/sdk/build/release' 21:06:53 make[2]: Leaving directory '/tmp/sdk/build/release' 21:06:53 [ 82%] Built target device-counter 21:06:53 make[2]: Entering directory '/tmp/sdk/build/release' 21:06:53 make[2]: Leaving directory '/tmp/sdk/build/release' 21:06:53 [ 85%] Built target device-random 21:06:53 make[2]: Entering directory '/tmp/sdk/build/release' 21:06:53 make[2]: Leaving directory '/tmp/sdk/build/release' 21:06:53 [ 88%] Built target device-gyro 21:06:53 make[2]: Entering directory '/tmp/sdk/build/release' 21:06:53 make[2]: Leaving directory '/tmp/sdk/build/release' 21:06:53 [ 91%] Built target device-bitfields 21:06:53 make[2]: Entering directory '/tmp/sdk/build/release' 21:06:53 make[2]: Leaving directory '/tmp/sdk/build/release' 21:06:53 [ 94%] Built target template-discovery 21:06:53 make[2]: Entering directory '/tmp/sdk/build/release' 21:06:53 make[2]: Leaving directory '/tmp/sdk/build/release' 21:06:53 [ 97%] Built target device-file 21:06:53 make[2]: Entering directory '/tmp/sdk/build/release' 21:06:53 make[2]: Leaving directory '/tmp/sdk/build/release' 21:06:53 [100%] Built target device-terminal 21:06:53 make[1]: Leaving directory '/tmp/sdk/build/release' 21:06:53 Install the project... 21:06:53 -- Install configuration: "Release" 21:06:53 -- Installing: /usr/local/lib/libcsdk.so 21:06:53 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 21:06:53 -- Up-to-date: /usr/local/include 21:06:53 -- Installing: /usr/local/include/edgex 21:06:53 -- Installing: /usr/local/include/edgex/edgex-base.h 21:06:53 -- Installing: /usr/local/include/edgex/devices.h 21:06:53 -- Installing: /usr/local/include/edgex/rest-server.h 21:06:53 -- Installing: /usr/local/include/edgex/profiles.h 21:06:53 -- Installing: /usr/local/include/edgex/edgex.h 21:06:53 -- Installing: /usr/local/include/edgex/csdk-defs.h 21:06:53 -- Installing: /usr/local/include/devsdk 21:06:53 -- Installing: /usr/local/include/devsdk/devsdk.h 21:06:53 -- Installing: /usr/local/include/devsdk/devsdk-base.h 21:06:53 -- Installing: /usr/local/include/iot 21:06:53 -- Installing: /usr/local/include/iot/data.h 21:06:53 -- Installing: /usr/local/include/iot/config.h 21:06:53 -- Installing: /usr/local/include/iot/container.h 21:06:53 -- Installing: /usr/local/include/iot/typecode.h 21:06:53 -- Installing: /usr/local/include/iot/thread.h 21:06:53 -- Installing: /usr/local/include/iot/hash.h 21:06:53 -- Installing: /usr/local/include/iot/iot.h 21:06:53 -- Installing: /usr/local/include/iot/defs.h 21:06:53 -- Installing: /usr/local/include/iot/uuid.h 21:06:53 -- Installing: /usr/local/include/iot/component.h 21:06:53 -- Installing: /usr/local/include/iot/threadpool.h 21:06:53 -- Installing: /usr/local/include/iot/time.h 21:06:53 -- Installing: /usr/local/include/iot/logger.h 21:06:53 -- Installing: /usr/local/include/iot/os 21:06:53 -- Installing: /usr/local/include/iot/os/zephyr.h 21:06:53 -- Installing: /usr/local/include/iot/os/macos.h 21:06:53 -- Installing: /usr/local/include/iot/os/linux.h 21:06:53 -- Installing: /usr/local/include/iot/json.h 21:06:53 -- Installing: /usr/local/include/iot/scheduler.h 21:06:53 -- Installing: /usr/local/include/iot/base64.h 21:06:53 -- Installing: /usr/local/include/iot/os.h 21:06:53 -- Installing: /usr/local/share/device-sdk-c/LICENSE 21:06:53 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 21:06:53 make: Leaving directory '/tmp/sdk/build/release' 21:06:55 Removing intermediate container 5f4ef269d860 21:06:55 ---> 78fa63c38626 21:06:55 Step 16/24 : FROM ${BASE} 21:06:55 ---> b6d714ea7bf2 21:06:55 Step 17/24 : LABEL maintainer="IOTech " 21:06:55 ---> Running in 8d6139b381b0 21:06:56 Removing intermediate container 8d6139b381b0 21:06:56 ---> 5c312eae939a 21:06:56 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 21:06:56 ---> Running in 22101b1624ef 21:06:57 Connecting to iotech.jfrog.io (54.170.66.44:443) 21:06:57 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 21:06:57 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 21:06:57 '/etc/apk/keys/alpine.dev.rsa.pub' saved 21:06:58 Removing intermediate container 22101b1624ef 21:06:58 ---> eb988cff5e35 21:06:58 Step 19/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 21:06:58 ---> Running in 1115bde65471 21:06:59 Removing intermediate container 1115bde65471 21:06:59 ---> 423a51b02105 21:06:59 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 21:07:00 ---> Running in dfefb634325d 21:07:01 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 21:07:02 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 21:07:02 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz 21:07:03 WARNING: This apk-tools is OLD! Some packages might not function properly. 21:07:03 (1/7) Installing curl (7.79.1-r0) 21:07:03 (2/7) Installing hiredis (1.0.0-r0) 21:07:03 (3/7) Installing hiredis-dev (1.0.0-r0) 21:07:03 (4/7) Installing libuuid (2.37.2-r0) 21:07:03 (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 21:07:04 (6/7) Installing libidn2 (2.3.1-r0) 21:07:04 (7/7) Installing wget (1.21.1-r1) 21:07:04 Executing busybox-1.33.1-r3.trigger 21:07:04 OK: 276 MiB in 84 packages 21:07:05 Removing intermediate container dfefb634325d 21:07:05 ---> da294f400c82 21:07:05 Step 21/24 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 21:07:06 ---> f8349796cf57 21:07:06 Step 22/24 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 21:07:07 ---> 068fbb50b38d 21:07:07 Step 23/24 : COPY --from=builder /usr/local/lib /usr/local/lib 21:07:07 ---> d1db87f6afdc 21:07:07 Step 24/24 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 21:07:08 ---> 24fa203d0b1e 21:07:08 Successfully built 24fa203d0b1e 21:07:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:07:08 + docker inspect -f . ci-base-image-arm64 21:07:08 . [Pipeline] withDockerContainer 21:07:09 prd-ubuntu18.04-docker-arm64-4c-16g-866 does not seem to be running inside a container 21:07:09 $ 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 21:07:10 $ docker top 439ae0b2246cf19f4549c0cd215f35d45b3efb62db7514d6c01eefff587b06d8 -eo pid,comm [Pipeline] { [Pipeline] sh 21:07:11 + make test 21:07:11 echo "make test" 21:07:11 make test [Pipeline] } 21:07:11 $ docker stop --time=1 439ae0b2246cf19f4549c0cd215f35d45b3efb62db7514d6c01eefff587b06d8 21:07:13 $ docker rm -f 439ae0b2246cf19f4549c0cd215f35d45b3efb62db7514d6c01eefff587b06d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:07:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:07:14 + ls -al . 21:07:14 total 200 21:07:14 drwxrwxr-x 8 jenkins jenkins 4096 Dec 14 21:03 . 21:07:14 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 21:03 .. 21:07:14 drwxrwxr-x 8 jenkins jenkins 4096 Dec 14 21:04 .git 21:07:14 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 21:03 .github 21:07:14 -rw-rw-r-- 1 jenkins jenkins 176 Dec 14 21:03 .gitignore 21:07:14 -rw-rw-r-- 1 jenkins jenkins 3104 Dec 14 21:03 Attribution.txt 21:07:14 -rw-rw-r-- 1 jenkins jenkins 7880 Dec 14 21:03 CHANGES 21:07:14 -rw-rw-r-- 1 jenkins jenkins 108574 Dec 14 21:03 Doxyfile 21:07:14 -rw-rw-r-- 1 jenkins jenkins 677 Dec 14 21:03 GOVERNANCE.md 21:07:14 -rw-rw-r-- 1 jenkins jenkins 784 Dec 14 21:03 Jenkinsfile 21:07:14 -rw-rw-r-- 1 jenkins jenkins 10174 Dec 14 21:03 LICENSE 21:07:14 -rw-rw-r-- 1 jenkins jenkins 444 Dec 14 21:03 Makefile 21:07:14 -rw-rw-r-- 1 jenkins jenkins 618 Dec 14 21:03 OWNERS.md 21:07:14 -rw-rw-r-- 1 jenkins jenkins 4086 Dec 14 21:03 README.md 21:07:14 -rw-rw-r-- 1 jenkins jenkins 7422 Dec 14 21:03 README.v2.md 21:07:14 -rw-rw-r-- 1 jenkins jenkins 5 Dec 14 21:00 VERSION 21:07:14 drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 21:03 docs 21:07:14 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 21:03 include 21:07:14 drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 21:03 scripts 21:07:14 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 21:03 src [Pipeline] isUnix [Pipeline] sh 21:07:14 + 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=dc8742ecb02bdc9fb61c4decdcfae028f2de6039 --label arch=arm64 --label version=0.0.0 . 21:07:15 Sending build context to Docker daemon 2.737MB 21:07:15 Step 1/17 : ARG BASE=alpine:3.14 21:07:15 Step 2/17 : FROM ${BASE} 21:07:15 ---> 24fa203d0b1e 21:07:15 Step 3/17 : LABEL maintainer="IOTech " 21:07:15 ---> Running in 84bf7e5a46cc 21:07:15 Removing intermediate container 84bf7e5a46cc 21:07:15 ---> 00cb4c7010d8 21:07:15 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 21:07:15 ---> Running in 15c323848a68 21:07:16 --2021-12-14 21:07:16-- https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release 21:07:16 Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.74.239.58, 54.170.66.44, 54.229.110.245, ... 21:07:16 Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.74.239.58|:443... connected. 21:07:17 HTTP request sent, awaiting response... 200 OK 21:07:17 Length: unspecified [application/json] 21:07:17 Saving to: '/etc/apk/keys/alpine.dev.rsa.pub' 21:07:17  21:07:17 0K     42.0M=0s 21:07:17 21:07:17 2021-12-14 21:07:16 (42.0 MB/s) - '/etc/apk/keys/alpine.dev.rsa.pub' saved [451] 21:07:17 21:07:17 Removing intermediate container 15c323848a68 21:07:17 ---> bb376f70f9e6 21:07:17 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 21:07:17 ---> Running in 25c820e5d3ab 21:07:19 Removing intermediate container 25c820e5d3ab 21:07:19 ---> a5ec24c79720 21:07:19 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 21:07:19 ---> Running in 81bd200a66c5 21:07:20 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 21:07:21 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 21:07:21 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz 21:07:22 WARNING: This apk-tools is OLD! Some packages might not function properly. 21:07:22 (1/21) Installing ncurses-dev (6.2_p20210612-r0) 21:07:22 (2/21) Installing libblkid (2.37.2-r0) 21:07:22 (3/21) Installing blkid (2.37.2-r0) 21:07:22 (4/21) Installing libcap-ng (0.8.2-r0) 21:07:22 (5/21) Installing setpriv (2.37.2-r0) 21:07:22 (6/21) Installing libmount (2.37.2-r0) 21:07:22 (7/21) Installing libsmartcols (2.37.2-r0) 21:07:23 (8/21) Installing findmnt (2.37.2-r0) 21:07:23 (9/21) Installing mcookie (2.37.2-r0) 21:07:23 (10/21) Installing hexdump (2.37.2-r0) 21:07:23 (11/21) Installing lsblk (2.37.2-r0) 21:07:23 (12/21) Installing libfdisk (2.37.2-r0) 21:07:23 (13/21) Installing sfdisk (2.37.2-r0) 21:07:23 (14/21) Installing cfdisk (2.37.2-r0) 21:07:23 (15/21) Installing partx (2.37.2-r0) 21:07:23 (16/21) Installing flock (2.37.2-r0) 21:07:24 (17/21) Installing logger (2.37.2-r0) 21:07:24 (18/21) Installing uuidgen (2.37.2-r0) 21:07:24 (19/21) Installing libeconf (0.3.8-r1) 21:07:24 (20/21) Installing util-linux (2.37.2-r0) 21:07:24 (21/21) Installing util-linux-dev (2.37.2-r0) 21:07:24 Executing busybox-1.33.1-r3.trigger 21:07:24 OK: 286 MiB in 105 packages 21:07:25 Removing intermediate container 81bd200a66c5 21:07:25 ---> 938c2d960e30 21:07:25 Step 7/17 : COPY VERSION /edgex-c-sdk/ 21:07:26 ---> be53fde8b0a1 21:07:26 Step 8/17 : COPY src /edgex-c-sdk/src/ 21:07:27 ---> 5c14bdb12ef5 21:07:27 Step 9/17 : COPY include /edgex-c-sdk/include/ 21:07:27 ---> c00893c05f5b 21:07:27 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 21:07:28 ---> f0d5ef2dd9bb 21:07:28 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 21:07:28 ---> 4f2bddda7b8a 21:07:28 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 21:07:29 ---> 9c11055cb2e3 21:07:29 Step 13/17 : WORKDIR /edgex-c-sdk 21:07:29 ---> Running in c7a0645da943 21:07:30 Removing intermediate container c7a0645da943 21:07:30 ---> 569c6e85b761 21:07:30 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 21:07:30 ---> Running in dda99a8519a7 21:07:30 Removing intermediate container dda99a8519a7 21:07:30 ---> 4bf229510f70 21:07:30 Step 15/17 : LABEL arch=arm64 21:07:30 ---> Running in 7d3cb28c0023 21:07:30 Removing intermediate container 7d3cb28c0023 21:07:30 ---> 1242c2af6bd0 21:07:30 Step 16/17 : LABEL git_sha=dc8742ecb02bdc9fb61c4decdcfae028f2de6039 21:07:30 ---> Running in 74e931ba55ac 21:07:31 Removing intermediate container 74e931ba55ac 21:07:31 ---> c595d0a5e7e8 21:07:31 Step 17/17 : LABEL version=0.0.0 21:07:31 ---> Running in a82b842e2a10 21:07:31 Removing intermediate container a82b842e2a10 21:07:31 ---> b7827b12a9ea 21:07:31 [Warning] One or more build-args [ARCH MAKE] were not consumed 21:07:31 Successfully built b7827b12a9ea 21:07:31 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 21:07:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:07:32 21:07:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 21:07:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:07:33 arm64: Pulling from edgex-lftools-log-publisher 21:07:33 448f6bf000e3: Pulling fs layer 21:07:33 f757da607395: Pulling fs layer 21:07:33 05883995daec: Pulling fs layer 21:07:33 8603b9c90790: Pulling fs layer 21:07:33 1560dd03e051: Pulling fs layer 21:07:33 27f5ce0e4adf: Pulling fs layer 21:07:33 c2d8d7efcc4b: Pulling fs layer 21:07:33 1560dd03e051: Waiting 21:07:33 27f5ce0e4adf: Waiting 21:07:33 c2d8d7efcc4b: Waiting 21:07:33 8603b9c90790: Waiting 21:07:33 f757da607395: Verifying Checksum 21:07:33 f757da607395: Download complete 21:07:33 8603b9c90790: Verifying Checksum 21:07:33 8603b9c90790: Download complete 21:07:33 1560dd03e051: Verifying Checksum 21:07:33 1560dd03e051: Download complete 21:07:33 27f5ce0e4adf: Download complete 21:07:33 05883995daec: Verifying Checksum 21:07:33 05883995daec: Download complete 21:07:33 448f6bf000e3: Verifying Checksum 21:07:33 448f6bf000e3: Download complete 21:07:36 c2d8d7efcc4b: Verifying Checksum 21:07:36 c2d8d7efcc4b: Download complete 21:07:37 448f6bf000e3: Pull complete 21:07:38 f757da607395: Pull complete 21:07:39 05883995daec: Pull complete 21:07:39 8603b9c90790: Pull complete 21:07:40 1560dd03e051: Pull complete 21:07:41 27f5ce0e4adf: Pull complete 21:07:56 c2d8d7efcc4b: Pull complete 21:07:56 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 21:07:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:07:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 21:07:56 prd-ubuntu18.04-docker-arm64-4c-16g-866 does not seem to be running inside a container 21:07:56 $ 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 21:07:58 $ docker top 270d5687b8e45a2fd1cee79c7a6e73f3e958014b4e146d3ac3a92ba0a6356ec4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:07:59 ---> job-cost.sh 21:07:59 lf-activate-venv: SKIPPING 21:07:59 INFO: No Stack... 21:08:00 INFO: Retrieving Pricing Info for: v3-standard-4 21:08:00 INFO: Archiving Costs [Pipeline] sh 21:08:01 + cat /w/workspace/device-sdk-c/1/archives/cost.csv 21:08:01 + cut -d, -f6 [Pipeline] lock 21:08:01 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-390-1-stack-cost] 21:08:01 Resource [jenkins-edgexfoundry-device-sdk-c-PR-390-1-stack-cost] did not exist. Created. 21:08:01 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-390-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:08:01 /w/workspace/device-sdk-c/1@tmp/durable-ee39a464/script.sh: 1: /w/workspace/device-sdk-c/1@tmp/durable-ee39a464/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 21:08:02 + echo total: 0.10999999940395355 [Pipeline] stash 21:08:02 Warning: overwriting stash ‘stack-cost’ 21:08:03 Stashed 1 file(s) [Pipeline] } 21:08:03 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-390-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:08:03 $ docker stop --time=1 270d5687b8e45a2fd1cee79c7a6e73f3e958014b4e146d3ac3a92ba0a6356ec4 21:08:04 $ docker rm -f 270d5687b8e45a2fd1cee79c7a6e73f3e958014b4e146d3ac3a92ba0a6356ec4 [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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:08:06 + '[' -d /w/workspace/edgexfoundry_device-sdk-c_PR-390/archives ']' [Pipeline] libraryResource [Pipeline] sh 21:08:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:08:07 ---> package-listing.sh 21:08:07 ++ facter osfamily 21:08:07 ++ tr '[:upper:]' '[:lower:]' 21:08:07 + OS_FAMILY=redhat 21:08:07 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-390 21:08:07 + START_PACKAGES=/tmp/packages_start.txt 21:08:07 + END_PACKAGES=/tmp/packages_end.txt 21:08:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:08:07 + PACKAGES=/tmp/packages_start.txt 21:08:07 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-390 ']' 21:08:07 + PACKAGES=/tmp/packages_end.txt 21:08:07 + case "${OS_FAMILY}" in 21:08:07 + rpm -qa 21:08:07 + sort 21:08:08 + '[' -f /tmp/packages_start.txt ']' 21:08:08 + '[' -f /tmp/packages_end.txt ']' 21:08:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:08:08 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-390 ']' 21:08:08 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-390/archives/ 21:08:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-390/archives/ [Pipeline] echo 21:08:08 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-390/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:08:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 21:08:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:08:09 21:08:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 21:08:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:08:09 latest: Pulling from edgex-lftools-log-publisher 21:08:09 b4d181a07f80: Pulling fs layer 21:08:09 a1111a8f2ec3: Pulling fs layer 21:08:09 ed53099fbce6: Pulling fs layer 21:08:09 dc539afda2c1: Pulling fs layer 21:08:09 77bc0d833cb6: Pulling fs layer 21:08:09 9065ff56babe: Pulling fs layer 21:08:09 d287ab97295c: Pulling fs layer 21:08:09 77bc0d833cb6: Waiting 21:08:09 9065ff56babe: Waiting 21:08:09 d287ab97295c: Waiting 21:08:09 dc539afda2c1: Waiting 21:08:09 a1111a8f2ec3: Verifying Checksum 21:08:09 a1111a8f2ec3: Download complete 21:08:09 dc539afda2c1: Verifying Checksum 21:08:09 dc539afda2c1: Download complete 21:08:09 ed53099fbce6: Verifying Checksum 21:08:09 ed53099fbce6: Download complete 21:08:09 b4d181a07f80: Verifying Checksum 21:08:09 b4d181a07f80: Download complete 21:08:09 9065ff56babe: Verifying Checksum 21:08:09 9065ff56babe: Download complete 21:08:09 77bc0d833cb6: Verifying Checksum 21:08:09 77bc0d833cb6: Download complete 21:08:10 d287ab97295c: Verifying Checksum 21:08:10 d287ab97295c: Download complete 21:08:11 b4d181a07f80: Pull complete 21:08:11 a1111a8f2ec3: Pull complete 21:08:12 ed53099fbce6: Pull complete 21:08:12 dc539afda2c1: Pull complete 21:08:12 77bc0d833cb6: Pull complete 21:08:12 9065ff56babe: Pull complete 21:08:16 d287ab97295c: Pull complete 21:08:16 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 21:08:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:08:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 21:08:16 prd-centos7-docker-4c-2g-864 does not seem to be running inside a container 21:08:16 $ 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-390/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-390 -v /w/workspace/edgexfoundry_device-sdk-c_PR-390:/w/workspace/edgexfoundry_device-sdk-c_PR-390:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-390@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-390@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:08:19 $ docker top 2ba60c49c97654bd6a9b19485ea924c6dc8f2c617c94ebe371e775e3acad9c8c -eo pid,comm [Pipeline] { [Pipeline] sh 21:08:19 + touch /tmp/pre-build-complete [Pipeline] sh 21:08:20 + mkdir -p /var/log/sysstat [Pipeline] sh 21:08:20 + ls /var/log/sa-host 21:08:20 + sadf -c /var/log/sa-host/sa14 21:08:20 file_magic: OK 21:08:20 HZ: Using current value: 100 21:08:20 file_header: OK 21:08:20 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 21:08:20 Statistics: 21:08:20 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 21:08:20 File successfully converted to sysstat format version 12.0.3 21:08:20 + sadf -c /var/log/sa-host/sa17 21:08:20 file_magic: OK 21:08:20 HZ: Using current value: 100 21:08:20 file_header: OK 21:08:20 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 21:08:20 Statistics: 21:08:20 Hnuu...uuuununununu...Hnuu...uuuununununu... 21:08:20 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:08:20 provisioning config files... 21:08:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-390@tmp/config5144227857855471996tmp [Pipeline] { [Pipeline] echo 21:08:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:08:20 ---> create-netrc.sh [Pipeline] } 21:08:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:08:21 ---> python-tools-install.sh [Pipeline] echo 21:08:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:08:21 ---> sudo-logs.sh 21:08:21 Archiving 'sudo' log.. 21:08:21 sudo: unable to resolve host prd-centos7-docker-4c-2g-864.novalocal: Name or service not known 21:08:21 sudo: unable to resolve host prd-centos7-docker-4c-2g-864.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 21:08:21 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:08:22 ---> job-cost.sh 21:08:22 lf-activate-venv: SKIPPING 21:08:22 DEBUG: total: 0.10999999940395355 21:08:22 INFO: Retrieving Stack Cost... 21:08:22 INFO: Retrieving Pricing Info for: v3-standard-2 21:08:22 INFO: Archiving Costs [Pipeline] echo 21:08:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:08:23 ---> logs-deploy.sh 21:08:23 lf-activate-venv: SKIPPING 21:08:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-390/1 21:08:23 INFO: archiving workspace using pattern(s): 21:08:24 Archives upload complete. 21:08:24 INFO: archiving logs to Nexus 21:08:24 ---> uname -a: 21:08:24 Linux prd-centos7-docker-4c-2g-864.novalocal 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64 GNU/Linux 21:08:24 21:08:24 21:08:24 ---> lscpu: 21:08:24 Architecture: x86_64 21:08:24 CPU op-mode(s): 32-bit, 64-bit 21:08:24 Byte Order: Little Endian 21:08:24 Address sizes: 40 bits physical, 48 bits virtual 21:08:24 CPU(s): 2 21:08:24 On-line CPU(s) list: 0,1 21:08:24 Thread(s) per core: 1 21:08:24 Core(s) per socket: 1 21:08:24 Socket(s): 2 21:08:24 NUMA node(s): 1 21:08:24 Vendor ID: AuthenticAMD 21:08:24 CPU family: 23 21:08:24 Model: 49 21:08:24 Model name: AMD EPYC-Rome Processor 21:08:24 Stepping: 0 21:08:24 CPU MHz: 2799.994 21:08:24 BogoMIPS: 5599.98 21:08:24 Virtualization: AMD-V 21:08:24 Hypervisor vendor: KVM 21:08:24 Virtualization type: full 21:08:24 L1d cache: 32K 21:08:24 L1i cache: 32K 21:08:24 L2 cache: 512K 21:08:24 L3 cache: 16384K 21:08:24 NUMA node0 CPU(s): 0,1 21:08:24 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 21:08:24 21:08:24 21:08:24 ---> nproc: 21:08:24 2 21:08:24 21:08:24 21:08:24 ---> df -h: 21:08:24 Filesystem Size Used Avail Use% Mounted on 21:08:24 overlay 40G 7.7G 33G 20% / 21:08:24 tmpfs 64M 0 64M 0% /dev 21:08:24 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 21:08:24 shm 64M 0 64M 0% /dev/shm 21:08:24 /dev/vda1 40G 7.7G 33G 20% /facter-os 21:08:24 21:08:24 21:08:24 ---> sar -b -r -n DEV: 21:08:24 Linux 3.10.0-1160.45.1.el7.x86_64 (centos-7-docker-61956895-6fad-6945-99d6-2040f50c295e.novalocal) 12/14/21 _x86_64_ (2 CPU) 21:08:24 21:08:24 20:59:21 LINUX RESTART (2 CPU) 21:08:24 21:08:24 21:00:01 tps rtps wtps bread/s bwrtn/s 21:08:24 21:01:01 14.68 0.53 14.15 291.26 2567.25 21:08:24 21:02:01 0.63 0.08 0.55 1.60 9.21 21:08:24 21:03:01 0.32 0.00 0.32 0.00 4.98 21:08:24 21:04:01 0.13 0.00 0.13 0.00 2.15 21:08:24 21:05:01 0.27 0.00 0.27 0.00 4.08 21:08:24 21:06:01 0.30 0.00 0.30 0.00 4.18 21:08:24 21:07:01 0.17 0.00 0.17 0.00 1.62 21:08:24 21:08:01 0.20 0.00 0.20 0.00 1.90 21:08:24 Average: 2.09 0.08 2.01 36.63 324.59 21:08:24 21:08:24 21:00:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 21:08:24 21:01:01 5692896 0 616780 7.70 2620 1696644 1205708 13.31 564224 1518780 32 21:08:24 21:02:01 5696696 0 612852 7.65 2620 1696772 1163424 12.84 561468 1518808 24 21:08:24 21:03:01 5696416 0 613128 7.66 2620 1696776 1168200 12.90 561032 1518800 20 21:08:24 21:04:01 5696500 0 613040 7.65 2620 1696780 1163596 12.85 561364 1518800 20 21:08:24 21:05:01 5700264 0 609272 7.61 2620 1696784 1163680 12.85 558084 1518800 20 21:08:24 21:06:01 5701692 0 607840 7.59 2620 1696788 1163404 12.84 556536 1518800 16 21:08:24 21:07:01 5700760 0 608768 7.60 2620 1696792 1163404 12.84 557420 1518800 8 21:08:24 21:08:01 5691432 0 618088 7.72 2620 1696800 1163584 12.85 566824 1518800 8 21:08:24 Average: 5697082 0 612471 7.65 2620 1696767 1169375 12.91 560869 1518798 18 21:08:24 21:08:24 21:00:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 21:08:24 21:01:01 eth0 47.98 38.84 335.60 10.97 0.00 0.00 0.00 0.00 21:08:24 21:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:08:24 21:01:01 docker0 7.87 5.41 1.02 27.59 0.00 0.00 0.00 0.00 21:08:24 21:02:01 eth0 0.17 0.13 0.01 0.01 0.00 0.00 0.00 0.00 21:08:24 21:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:08:24 21:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:08:24 21:03:01 eth0 9.83 2.87 9.66 0.38 0.00 0.00 0.00 0.00 21:08:24 21:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:08:24 21:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:08:24 21:04:01 eth0 1.70 0.52 0.45 0.27 0.00 0.00 0.00 0.00 21:08:24 21:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:08:24 21:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:08:24 21:05:01 eth0 0.65 0.43 0.34 0.24 0.00 0.00 0.00 0.00 21:08:24 21:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:08:24 21:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:08:24 21:06:01 eth0 0.12 0.08 0.01 0.03 0.00 0.00 0.00 0.00 21:08:24 21:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:08:24 21:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:08:24 21:07:01 eth0 0.08 0.10 0.01 0.01 0.00 0.00 0.00 0.00 21:08:24 21:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:08:24 21:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:08:24 21:08:01 eth0 0.23 0.12 0.07 0.01 0.00 0.00 0.00 0.00 21:08:24 21:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:08:24 21:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:08:24 Average: eth0 7.60 5.39 43.29 1.49 0.00 0.00 0.00 0.00 21:08:24 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:08:24 Average: docker0 0.98 0.68 0.13 3.45 0.00 0.00 0.00 0.00 21:08:24 21:08:24 21:08:24 ---> sar -P ALL: 21:08:24 Linux 3.10.0-1160.45.1.el7.x86_64 (centos-7-docker-61956895-6fad-6945-99d6-2040f50c295e.novalocal) 12/14/21 _x86_64_ (2 CPU) 21:08:24 21:08:24 20:59:21 LINUX RESTART (2 CPU) 21:08:24 21:08:24 21:00:01 CPU %user %nice %system %iowait %steal %idle 21:08:24 21:01:01 all 2.37 0.00 1.17 0.22 0.03 96.22 21:08:24 21:01:01 0 2.18 0.00 1.24 0.29 0.02 96.27 21:08:24 21:01:01 1 2.56 0.00 1.09 0.15 0.03 96.16 21:08:24 21:02:01 all 0.13 0.00 0.07 0.01 0.03 99.77 21:08:24 21:02:01 0 0.13 0.00 0.07 0.00 0.03 99.77 21:08:24 21:02:01 1 0.13 0.00 0.07 0.02 0.02 99.77 21:08:24 21:03:01 all 0.36 0.00 0.08 0.00 0.02 99.54 21:08:24 21:03:01 0 0.17 0.00 0.08 0.00 0.02 99.73 21:08:24 21:03:01 1 0.55 0.00 0.08 0.00 0.02 99.35 21:08:24 21:04:01 all 0.19 0.00 0.06 0.00 0.03 99.72 21:08:24 21:04:01 0 0.23 0.00 0.08 0.00 0.03 99.65 21:08:24 21:04:01 1 0.15 0.00 0.03 0.00 0.02 99.80 21:08:24 21:05:01 all 0.17 0.00 0.06 0.00 0.03 99.75 21:08:24 21:05:01 0 0.10 0.00 0.03 0.00 0.03 99.83 21:08:24 21:05:01 1 0.23 0.00 0.08 0.00 0.02 99.67 21:08:24 21:06:01 all 0.16 0.00 0.04 0.00 0.03 99.77 21:08:24 21:06:01 0 0.03 0.00 0.05 0.00 0.02 99.90 21:08:24 21:06:01 1 0.28 0.00 0.03 0.00 0.03 99.65 21:08:24 21:07:01 all 0.20 0.00 0.04 0.00 0.01 99.75 21:08:24 21:07:01 0 0.05 0.00 0.03 0.00 0.02 99.90 21:08:24 21:07:01 1 0.35 0.00 0.05 0.00 0.00 99.60 21:08:24 21:08:01 all 0.17 0.00 0.03 0.00 0.03 99.77 21:08:24 21:08:01 0 0.05 0.00 0.03 0.00 0.03 99.88 21:08:24 21:08:01 1 0.28 0.00 0.03 0.00 0.02 99.67 21:08:24 Average: all 0.47 0.00 0.19 0.03 0.02 99.29 21:08:24 Average: 0 0.37 0.00 0.20 0.04 0.03 99.37 21:08:24 Average: 1 0.57 0.00 0.18 0.02 0.02 99.21 21:08:24 21:08:24 21:08:24