Pull request #379 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 774d5920950d81e6c80b5877f48bca266cbec194+c0c62495d4cdef51dccef47425bdbc5dfcd4d33e (8c0e5f29bef00778086f9365399b8fc52c03a5b5) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh483200811079729647.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c141c1271097dc03ad291c2451e310eaf98cdd06 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-ssh1910952216117470793.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 c141c1271097dc03ad291c2451e310eaf98cdd06 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-379/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-379/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1613483968324990043.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-379/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8420714802243226677.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c141c1271097dc03ad291c2451e310eaf98cdd06 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c141c1271097dc03ad291c2451e310eaf98cdd06 # timeout=10 Commit message: "Merge pull request #355 from ernestojeda/error-check-post-build" > 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-ssh5066147021402852026.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-379/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-379/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6513647800150006454.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 c141c1271097dc03ad291c2451e310eaf98cdd06 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-388 in /w/workspace/edgexfoundry_device-sdk-c_PR-379 [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-379 # 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-379@tmp/jenkins-gitclient-ssh945627033155627587.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-379@tmp/jenkins-gitclient-ssh1386042899280836570.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/379/head:refs/remotes/origin/PR-379 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c0c62495d4cdef51dccef47425bdbc5dfcd4d33e into PR head commit 774d5920950d81e6c80b5877f48bca266cbec194 Merge succeeded, producing 774d5920950d81e6c80b5877f48bca266cbec194 Checking out Revision 774d5920950d81e6c80b5877f48bca266cbec194 (PR-379) > git config core.sparsecheckout # timeout=10 > git checkout -f 774d5920950d81e6c80b5877f48bca266cbec194 # 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-379@tmp/jenkins-gitclient-ssh1377948718212669113.key > git merge c0c62495d4cdef51dccef47425bdbc5dfcd4d33e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 774d5920950d81e6c80b5877f48bca266cbec194 # timeout=10 Commit message: "feat: Add Object reading type" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object c141c1271097dc03ad291c2451e310eaf98cdd06 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:30:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:30:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:30:56 ========================================================= 15:30:56 EdgeX Global Pipelines Version Info 15:30:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:30:57 ------------------- 15:30:57 stable info: 15:30:57 ------------------- 15:30:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:30:57 Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 15:30:57 Message: update stable to v1.0.206 15:30:58 ------------------- 15:30:58 experimental info: 15:30:58 ------------------- 15:30:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:30:58 Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 15:30:58 Message: update experimental to v1.0.206 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:30:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 15:30:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 15:30:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:30:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:30:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:30:58 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo 15:30:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 15:30:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 15:30:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:30:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:30:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 15:30:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:30:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:30:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:30:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 15:30:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:30:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:30:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:30:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-379 [Pipeline] echo 15:30:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-379 [Pipeline] echo 15:30:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-379 [Pipeline] echo 15:30:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 774d5920950d81e6c80b5877f48bca266cbec194 [Pipeline] echo 15:30:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 774d592 [Pipeline] echo 15:31:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:31:00 provisioning config files... 15:31:00 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-379@tmp/config2230357999905513289tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:31:00 ---> docker-login.sh 15:31:00 nexus3.edgexfoundry.org:10001 15:31:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:31:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:31:00 Configure a credential helper to remove this warning. See 15:31:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:31:00 15:31:00 Login Succeeded 15:31:00 nexus3.edgexfoundry.org:10002 15:31:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:31:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:31:00 Configure a credential helper to remove this warning. See 15:31:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:31:00 15:31:00 Login Succeeded 15:31:00 nexus3.edgexfoundry.org:10003 15:31:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:31:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:31:06 Configure a credential helper to remove this warning. See 15:31:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:31:06 15:31:06 Login Succeeded 15:31:06 nexus3.edgexfoundry.org:10004 15:31:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:31:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:31:06 Configure a credential helper to remove this warning. See 15:31:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:31:06 15:31:06 Login Succeeded 15:31:06 docker.io 15:31:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:31:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:31:06 Configure a credential helper to remove this warning. See 15:31:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:31:06 15:31:06 Login Succeeded 15:31:06 ---> docker-login.sh ends [Pipeline] } 15:31:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 15:31:08 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:31:08 15:31:08 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:31:08 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:31:08 latest: Pulling from edgex-devops/git-semver 15:31:08 31603596830f: Pulling fs layer 15:31:08 04fac38145f0: Pulling fs layer 15:31:08 701f6daf10bf: Pulling fs layer 15:31:08 24f72da36158: Pulling fs layer 15:31:08 24f72da36158: Waiting 15:31:08 04fac38145f0: Verifying Checksum 15:31:08 04fac38145f0: Download complete 15:31:09 31603596830f: Verifying Checksum 15:31:09 31603596830f: Download complete 15:31:09 24f72da36158: Verifying Checksum 15:31:09 24f72da36158: Download complete 15:31:09 31603596830f: Pull complete 15:31:09 04fac38145f0: Pull complete 15:31:09 701f6daf10bf: Verifying Checksum 15:31:09 701f6daf10bf: Download complete 15:31:10 701f6daf10bf: Pull complete 15:31:10 24f72da36158: Pull complete 15:31:10 Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 15:31:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:31:10 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:31:10 prd-centos7-docker-4c-2g-388 does not seem to be running inside a container 15:31:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-379 -v /w/workspace/edgexfoundry_device-sdk-c_PR-379:/w/workspace/edgexfoundry_device-sdk-c_PR-379:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-379@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-379@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:31:11 $ docker top bb8ec3d497cd04dbb14be0d05dae20e073bf0e85c1e2f6d4869fb890a2de6c8b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:31:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:31:11 [ssh-agent] Looking for ssh-agent implementation... 15:31:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:31:11 $ docker exec bb8ec3d497cd04dbb14be0d05dae20e073bf0e85c1e2f6d4869fb890a2de6c8b ssh-agent 15:31:11 SSH_AUTH_SOCK=/tmp/ssh-IMxHtL3GI4ih/agent.13 15:31:11 SSH_AGENT_PID=20 15:31:11 Running ssh-add (command line suppressed) 15:31:11 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-379@tmp/private_key_4742437397499359133.key (/w/workspace/edgexfoundry_device-sdk-c_PR-379@tmp/private_key_4742437397499359133.key) 15:31:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:31:12 + git tag --points-at HEAD [Pipeline] } 15:31:12 $ docker exec --env ******** --env ******** bb8ec3d497cd04dbb14be0d05dae20e073bf0e85c1e2f6d4869fb890a2de6c8b ssh-agent -k 15:31:12 unset SSH_AUTH_SOCK; 15:31:12 unset SSH_AGENT_PID; 15:31:12 echo Agent pid 20 killed; 15:31:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:31:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:31:12 [ssh-agent] Looking for ssh-agent implementation... 15:31:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:31:12 $ docker exec bb8ec3d497cd04dbb14be0d05dae20e073bf0e85c1e2f6d4869fb890a2de6c8b ssh-agent 15:31:12 SSH_AUTH_SOCK=/tmp/ssh-9Ow1QsdRoRTj/agent.54 15:31:12 SSH_AGENT_PID=60 15:31:12 Running ssh-add (command line suppressed) 15:31:12 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-379@tmp/private_key_6783875453633444630.key (/w/workspace/edgexfoundry_device-sdk-c_PR-379@tmp/private_key_6783875453633444630.key) 15:31:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:31:13 + git semver init 15:31:13 # -> Open(): unable to determine branch for HEAD 15:31:13 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-379/.git 15:31:13 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-379 15:31:13 # $SEMVER_REMOTE_NAME = origin 15:31:13 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:31:13 # $SEMVER_USER_NAME = edgex-jenkins 15:31:13 # $SEMVER_BRANCH = PR-379 15:31:13 # $SEMVER_TEMP = /tmp/semver-470609297 15:31:13 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 15:31:14 # '/tmp/semver-470609297' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-379/.semver' 15:31:14 # -> Force: false 15:31:14 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-379/.semver [Pipeline] } 15:31:14 $ docker exec --env ******** --env ******** bb8ec3d497cd04dbb14be0d05dae20e073bf0e85c1e2f6d4869fb890a2de6c8b ssh-agent -k 15:31:14 unset SSH_AUTH_SOCK; 15:31:14 unset SSH_AGENT_PID; 15:31:14 echo Agent pid 60 killed; 15:31:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:31:14 + git semver [Pipeline] } 15:31:14 $ docker stop --time=1 bb8ec3d497cd04dbb14be0d05dae20e073bf0e85c1e2f6d4869fb890a2de6c8b 15:31:16 $ docker rm -f bb8ec3d497cd04dbb14be0d05dae20e073bf0e85c1e2f6d4869fb890a2de6c8b [Pipeline] // withDockerContainer [Pipeline] sh 15:31:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:31:16 Stashed 1 file(s) [Pipeline] echo 15:31:16 [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 15:31:32 Still waiting to schedule task 15:31:32 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-388’ 15:31:32 Still waiting to schedule task 15:31:32 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 15:34:00 Running on prd-ubuntu18.04-docker-arm64-4c-16g-389 in /w/workspace/edgexfoundry_device-sdk-c_PR-379 [Pipeline] { [Pipeline] ws 15:34:00 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 15:34:01 Selected Git installation does not exist. Using Default 15:34:01 The recommended git tool is: NONE 15:34:07 using credential edgex-jenkins-ssh 15:34:07 Cloning the remote Git repository 15:34:07 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 15:34:07 > git init /w/workspace/device-sdk-c/1 # timeout=10 15:34:07 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 15:34:07 > git --version # timeout=10 15:34:07 > git --version # 'git version 2.17.1' 15:34:07 using GIT_SSH to set credentials SSH Credentials for GitHub 15:34:07 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:34:09 Merging remotes/origin/main commit c0c62495d4cdef51dccef47425bdbc5dfcd4d33e into PR head commit 774d5920950d81e6c80b5877f48bca266cbec194 15:34:08 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 15:34:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:34:08 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 15:34:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 15:34:09 using GIT_SSH to set credentials SSH Credentials for GitHub 15:34:09 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/379/head:refs/remotes/origin/PR-379 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:34:09 > git config core.sparsecheckout # timeout=10 15:34:09 > git checkout -f 774d5920950d81e6c80b5877f48bca266cbec194 # timeout=10 15:34:10 Merge succeeded, producing 774d5920950d81e6c80b5877f48bca266cbec194 15:34:10 Checking out Revision 774d5920950d81e6c80b5877f48bca266cbec194 (PR-379) 15:34:09 > git remote # timeout=10 15:34:09 > git config --get remote.origin.url # timeout=10 15:34:10 using GIT_SSH to set credentials SSH Credentials for GitHub 15:34:10 > git merge c0c62495d4cdef51dccef47425bdbc5dfcd4d33e # timeout=10 15:34:10 > git rev-parse HEAD^{commit} # timeout=10 15:34:10 > git config core.sparsecheckout # timeout=10 15:34:10 > git checkout -f 774d5920950d81e6c80b5877f48bca266cbec194 # timeout=10 15:34:14 Commit message: "feat: Add Object reading type" 15:34:14 > git --version # timeout=10 15:34:14 > git --version # 'git version 2.17.1' 15:34:14 fatal: bad object c141c1271097dc03ad291c2451e310eaf98cdd06 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:34:15 provisioning config files... 15:34:15 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config3683916825956744192tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:34:16 ---> docker-login.sh 15:34:16 nexus3.edgexfoundry.org:10001 15:34:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:34:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:34:17 Configure a credential helper to remove this warning. See 15:34:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:34:17 15:34:17 Login Succeeded 15:34:18 nexus3.edgexfoundry.org:10002 15:34:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:34:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:34:18 Configure a credential helper to remove this warning. See 15:34:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:34:18 15:34:18 Login Succeeded 15:34:18 nexus3.edgexfoundry.org:10003 15:34:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:34:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:34:19 Configure a credential helper to remove this warning. See 15:34:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:34:19 15:34:19 Login Succeeded 15:34:19 nexus3.edgexfoundry.org:10004 15:34:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:34:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:34:19 Configure a credential helper to remove this warning. See 15:34:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:34:19 15:34:19 Login Succeeded 15:34:19 docker.io 15:34:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:34:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:34:20 Configure a credential helper to remove this warning. See 15:34:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:34:20 15:34:20 Login Succeeded 15:34:20 ---> docker-login.sh ends [Pipeline] } 15:34:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:34:21 ========================================================= 15:34:21 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 15:34:21 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:34:22 + 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 . 15:34:22 Sending build context to Docker daemon 2.73MB 15:34:22 Step 1/25 : ARG BASE=alpine:3.14 15:34:22 Step 2/25 : FROM ${BASE} as builder 15:34:23 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 15:34:23 d2f70382dc9a: Pulling fs layer 15:34:23 b08cc2eccb4b: Pulling fs layer 15:34:23 7b69db201801: Pulling fs layer 15:34:23 b08cc2eccb4b: Verifying Checksum 15:34:23 b08cc2eccb4b: Download complete 15:34:23 d2f70382dc9a: Verifying Checksum 15:34:23 d2f70382dc9a: Download complete 15:34:23 d2f70382dc9a: Pull complete 15:34:24 b08cc2eccb4b: Pull complete 15:34:25 7b69db201801: Download complete 15:34:33 7b69db201801: Pull complete 15:34:33 Digest: sha256:6402f0ff92f22f5db569dc2a94aef5717e50795d64082fb226716824a8b8ffba 15:34:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 15:34:33 ---> 759262b18b23 15:34:33 Step 3/25 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 15:34:35 ---> Running in 3aab749be33f 15:34:37 Connecting to iotech.jfrog.io (54.72.115.12:443) 15:34:37 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 15:34:37 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 15:34:37 '/etc/apk/keys/alpine.dev.rsa.pub' saved 15:34:38 Removing intermediate container 3aab749be33f 15:34:38 ---> 2189c5d48c65 15:34:38 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 15:34:38 ---> Running in 3eb68c81cead 15:34:41 Removing intermediate container 3eb68c81cead 15:34:41 ---> 4e362ad81592 15:34:41 Step 5/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev-1.3 hiredis-dev 15:34:41 ---> Running in 0cb401d083a4 15:34:42 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 15:34:43 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 15:34:43 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz 15:34:44 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:34:44 (1/22) Installing hiredis (0.14.1-r0) 15:34:44 (2/22) Installing hiredis-dev (0.14.1-r0) 15:34:44 (3/22) Installing ncurses-dev (6.2_p20200523-r0) 15:34:45 (4/22) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 15:34:45 (5/22) Installing libblkid (2.35.2-r0) 15:34:45 (6/22) Installing blkid (2.35.2-r0) 15:34:46 (7/22) Installing libcap-ng (0.7.10-r1) 15:34:46 (8/22) Installing setpriv (2.35.2-r0) 15:34:46 (9/22) Installing libmount (2.35.2-r0) 15:34:46 (10/22) Installing libsmartcols (2.35.2-r0) 15:34:46 (11/22) Installing findmnt (2.35.2-r0) 15:34:46 (12/22) Installing mcookie (2.35.2-r0) 15:34:46 (13/22) Installing hexdump (2.35.2-r0) 15:34:46 (14/22) Installing lsblk (2.35.2-r0) 15:34:47 (15/22) Installing libuuid (2.35.2-r0) 15:34:47 (16/22) Installing libfdisk (2.35.2-r0) 15:34:47 (17/22) Installing sfdisk (2.35.2-r0) 15:34:47 (18/22) Installing cfdisk (2.35.2-r0) 15:34:47 (19/22) Installing util-linux (2.35.2-r0) 15:34:48 (20/22) Installing util-linux-dev (2.35.2-r0) 15:34:50 (21/22) Installing libidn2 (2.3.0-r0) 15:34:50 (22/22) Installing wget (1.20.3-r1) 15:34:50 Executing busybox-1.31.1-r20.trigger 15:34:50 OK: 276 MiB in 97 packages 15:34:52 Removing intermediate container 0cb401d083a4 15:34:52 ---> 4890946123af 15:34:52 Step 6/25 : ENV CBOR_VERSION=0.5.0 15:34:52 ---> Running in 4668d0cad9c5 15:34:53 Removing intermediate container 4668d0cad9c5 15:34:53 ---> 37f0bd4d8baf 15:34:53 Step 7/25 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install 15:34:53 ---> Running in 0a969489577a 15:34:54 --2021-10-01 15:34:54-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 15:34:54 Resolving github.com (github.com)... 140.82.114.3 15:34:54 Connecting to github.com (github.com)|140.82.114.3|:443... connected. 15:34:54 HTTP request sent, awaiting response... 302 Found 15:34:54 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 15:34:54 --2021-10-01 15:34:54-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 15:34:54 Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 15:34:54 Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected. 15:34:54 HTTP request sent, awaiting response... 200 OK 15:34:54 Length: unspecified [application/x-gzip] 15:34:54 Saving to: 'STDOUT' 15:34:54  15:34:54 0K .......... .......... .......... .......... .......... 1.14M 15:34:54 50K .......... .......... .......... .......... .......... 2.27M 15:34:54 100K .......... .......... .......... .......... .......... 2.24M 15:34:54 150K .......... .......... .......... .......... .......... 13.7M 15:34:54 200K .......... .......... .......... .......... .......... 12.0M 15:34:54 250K .......... .......... .......... .......... .......... 2.81M 15:34:54 300K .......... .......... .......... .......... .......... 9.85M 15:34:54 350K .......... .......... .......... .......... .......... 3.73M 15:34:54 400K .......... .......... .......... .......... .......... 2.74M 15:34:54 450K .......... .......... .......... .......... .......... 13.5M 15:34:55 500K .......... .......... .......... .......... .......... 4.22M 15:34:55 550K .......... .......... .......... .......... .......... 12.0M 15:34:55 600K .......... .......... .......... .......... .......... 721K 15:34:55 650K .......... .......... .......... .......... .......... 1.66M 15:34:55 700K ..     1.80M=0.3s 15:34:55 15:34:55 2021-10-01 15:34:54 (2.58 MB/s) - written to stdout [719348] 15:34:55 15:34:55 -- The C compiler identification is GNU 9.3.0 15:34:55 -- The CXX compiler identification is GNU 9.3.0 15:34:55 -- Check for working C compiler: /usr/bin/cc 15:34:55 -- Check for working C compiler: /usr/bin/cc - works 15:34:55 -- Detecting C compiler ABI info 15:34:56 -- Detecting C compiler ABI info - done 15:34:56 -- Detecting C compile features 15:34:56 -- Detecting C compile features - done 15:34:56 -- Check for working CXX compiler: /usr/bin/c++ 15:34:56 -- Check for working CXX compiler: /usr/bin/c++ - works 15:34:56 -- Detecting CXX compiler ABI info 15:34:56 -- Detecting CXX compiler ABI info - done 15:34:56 -- Detecting CXX compile features 15:34:56 -- Detecting CXX compile features - done 15:34:56 -- Looking for include file endian.h 15:34:57 -- Looking for include file endian.h - found 15:34:57 -- Check if the system is big endian 15:34:57 -- Searching 16 bit integer 15:34:57 -- Looking for sys/types.h 15:34:57 -- Looking for sys/types.h - found 15:34:57 -- Looking for stdint.h 15:34:57 -- Looking for stdint.h - found 15:34:57 -- Looking for stddef.h 15:34:58 -- Looking for stddef.h - found 15:34:58 -- Check size of unsigned short 15:34:58 -- Check size of unsigned short - done 15:34:58 -- Searching 16 bit integer - Using unsigned short 15:34:58 -- Check if the system is big endian - little endian 15:34:58 -- Check size of size_t 15:34:58 -- Check size of size_t - done 15:34:58 CMake Warning at examples/CMakeLists.txt:16 (find_package): 15:34:58 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 15:34:58 asked CMake to find a package configuration file provided by "cJSON", but 15:34:58 CMake did not find one. 15:34:58 15:34:58 Could not find a package configuration file provided by "cJSON" with any of 15:34:58 the following names: 15:34:58 15:34:58 cJSONConfig.cmake 15:34:58 cjson-config.cmake 15:34:58 15:34:58 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 15:34:58 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 15:34:58 provides a separate development package or SDK, be sure it has been 15:34:58 installed. 15:34:58 15:34:58 15:34:58 -- Configuring done 15:34:59 -- Generating done 15:34:59 -- Build files have been written to: /tmp/cbor 15:34:59 Scanning dependencies of target cbor_shared 15:34:59 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 15:35:00 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 15:35:01 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 15:35:01 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 15:35:02 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 15:35:02 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 15:35:02 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 15:35:02 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 15:35:02 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 15:35:03 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 15:35:03 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 15:35:04 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 15:35:04 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 15:35:04 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 15:35:05 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 15:35:05 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 15:35:05 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 15:35:05 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 15:35:06 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 15:35:06 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 15:35:06 [ 40%] Linking C shared library libcbor.so 15:35:06 [ 40%] Built target cbor_shared 15:35:06 Scanning dependencies of target cbor 15:35:06 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 15:35:07 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 15:35:08 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 15:35:08 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 15:35:10 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 15:35:11 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 15:35:11 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 15:35:11 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 15:35:11 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 15:35:12 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 15:35:13 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 15:35:13 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 15:35:13 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 15:35:14 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 15:35:14 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 15:35:15 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 15:35:15 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 15:35:15 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 15:35:15 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 15:35:16 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 15:35:16 [ 80%] Linking C static library libcbor.a 15:35:16 [ 80%] Built target cbor 15:35:16 Scanning dependencies of target sort 15:35:16 [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 15:35:16 [ 84%] Linking C executable sort 15:35:17 [ 84%] Built target sort 15:35:17 Scanning dependencies of target readfile 15:35:17 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 15:35:17 [ 88%] Linking C executable readfile 15:35:17 [ 88%] Built target readfile 15:35:17 Scanning dependencies of target streaming_parser 15:35:17 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 15:35:17 [ 92%] Linking C executable streaming_parser 15:35:17 [ 92%] Built target streaming_parser 15:35:17 Scanning dependencies of target hello 15:35:17 [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 15:35:17 [ 96%] Linking C executable hello 15:35:18 [ 96%] Built target hello 15:35:18 Scanning dependencies of target create_items 15:35:18 [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 15:35:18 [100%] Linking C executable create_items 15:35:18 [100%] Built target create_items 15:35:18 Install the project... 15:35:18 -- Install configuration: "Release" 15:35:18 -- Installing: /usr/local/include/cbor/configuration.h 15:35:18 -- Installing: /usr/local/lib64/libcbor.a 15:35:18 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 15:35:18 -- Installing: /usr/local/lib64/libcbor.so.0 15:35:18 -- Installing: /usr/local/lib64/libcbor.so 15:35:18 -- Up-to-date: /usr/local/include/cbor 15:35:18 -- Installing: /usr/local/include/cbor/streaming.h 15:35:18 -- Installing: /usr/local/include/cbor/ints.h 15:35:18 -- Installing: /usr/local/include/cbor/floats_ctrls.h 15:35:18 -- Installing: /usr/local/include/cbor/bytestrings.h 15:35:18 -- Installing: /usr/local/include/cbor/encoding.h 15:35:18 -- Installing: /usr/local/include/cbor/serialization.h 15:35:18 -- Installing: /usr/local/include/cbor/data.h 15:35:18 -- Installing: /usr/local/include/cbor/common.h 15:35:18 -- Installing: /usr/local/include/cbor/callbacks.h 15:35:18 -- Installing: /usr/local/include/cbor/strings.h 15:35:18 -- Installing: /usr/local/include/cbor/tags.h 15:35:18 -- Installing: /usr/local/include/cbor/internal 15:35:18 -- Installing: /usr/local/include/cbor/internal/encoders.h 15:35:18 -- Installing: /usr/local/include/cbor/internal/loaders.h 15:35:18 -- Installing: /usr/local/include/cbor/internal/stack.h 15:35:18 -- Installing: /usr/local/include/cbor/internal/unicode.h 15:35:18 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 15:35:18 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 15:35:18 -- Installing: /usr/local/include/cbor/arrays.h 15:35:18 -- Installing: /usr/local/include/cbor/maps.h 15:35:18 -- Installing: /usr/local/include/cbor.h 15:35:18 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 15:35:21 Removing intermediate container 0a969489577a 15:35:21 ---> 117ef78436f4 15:35:21 Step 8/25 : RUN mkdir /tmp/sdk 15:35:21 ---> Running in 40911c3cf9d0 15:35:23 Removing intermediate container 40911c3cf9d0 15:35:23 ---> e0b9d0d4ec6e 15:35:23 Step 9/25 : COPY VERSION /tmp/sdk 15:35:24 ---> 0f3cdddff362 15:35:24 Step 10/25 : COPY src /tmp/sdk/src 15:35:25 ---> a3d5b0056b1f 15:35:25 Step 11/25 : COPY include /tmp/sdk/include 15:35:26 ---> 5d65835cf404 15:35:26 Step 12/25 : COPY scripts /tmp/sdk/scripts 15:35:26 ---> 4d9d3e0eb41d 15:35:26 Step 13/25 : COPY LICENSE /tmp/sdk 15:35:27 ---> a2de6e71a893 15:35:27 Step 14/25 : COPY Attribution.txt /tmp/sdk 15:35:28 ---> d05db26fde57 15:35:28 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 15:35:28 ---> Running in bfeabcb5a058 15:35:30 + CPPCHECK=false 15:35:30 + DOCGEN=false 15:35:30 + TOMLVER=SDK-0.2 15:35:30 + CUTILVER=1.2.2 15:35:30 + '[' 0 -gt 0 ] 15:35:30 + readlink -f ./scripts/build.sh 15:35:30 + dirname /tmp/sdk/scripts/build.sh 15:35:30 + dirname /tmp/sdk/scripts 15:35:30 + ROOT=/tmp/sdk 15:35:30 + cd /tmp/sdk 15:35:30 + '[' '!' -d deps ] 15:35:30 + mkdir deps 15:35:30 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 15:35:30 + tar -C deps -z -x -f - 15:35:30 --2021-10-01 15:35:29-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 15:35:30 Resolving github.com (github.com)... 140.82.113.4 15:35:30 Connecting to github.com (github.com)|140.82.113.4|:443... connected. 15:35:30 HTTP request sent, awaiting response... 302 Found 15:35:30 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 15:35:30 --2021-10-01 15:35:30-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 15:35:30 Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 15:35:30 Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected. 15:35:30 HTTP request sent, awaiting response... 200 OK 15:35:30 Length: unspecified [application/x-gzip] 15:35:30 Saving to: 'STDOUT' 15:35:30  15:35:30 0K .......... ......       790K=0.02s 15:35:30 15:35:30 2021-10-01 15:35:30 (790 KB/s) - written to stdout [16451] 15:35:30 15:35:30 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 15:35:30 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 15:35:30 + tar -C deps -z -x -f - 15:35:30 --2021-10-01 15:35:30-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 15:35:30 Resolving github.com (github.com)... 140.82.113.4 15:35:30 Connecting to github.com (github.com)|140.82.113.4|:443... connected. 15:35:30 HTTP request sent, awaiting response... 302 Found 15:35:30 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] 15:35:30 --2021-10-01 15:35:30-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 15:35:30 Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 15:35:30 Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected. 15:35:31 HTTP request sent, awaiting response... 200 OK 15:35:31 Length: unspecified [application/x-gzip] 15:35:31 Saving to: 'STDOUT' 15:35:31  15:35:31 0K .......... .......... .......... .......... .......... 1.08M 15:35:31 50K .......... .......... .......... .......... .......... 2.12M 15:35:31 100K .......... .......... .......... .......... .......... 2.57M 15:35:31 150K .......... .......... .......... .........  3.66M=0.1s 15:35:31 15:35:31 2021-10-01 15:35:31 (1.89 MB/s) - written to stdout [193971] 15:35:31 15:35:31 + mkdir -p src/c/iot 15:35:31 + 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 15:35:31 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 15:35:31 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 15:35:31 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 15:35:31 + mkdir -p include/iot 15:35:31 + 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 15:35:31 + mkdir -p include/iot/os 15:35:31 + 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 15:35:31 + mkdir -p /tmp/sdk/build/release 15:35:31 + cd /tmp/sdk/build/release 15:35:31 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 15:35:31 -- The C compiler identification is GNU 9.3.0 15:35:31 -- Check for working C compiler: /usr/bin/cc 15:35:31 -- Check for working C compiler: /usr/bin/cc - works 15:35:31 -- Detecting C compiler ABI info 15:35:32 -- Detecting C compiler ABI info - done 15:35:32 -- Detecting C compile features 15:35:32 -- Detecting C compile features - done 15:35:32 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 15:35:32 -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") 15:35:32 -- Found LIBYAML: /usr/lib/libyaml.so 15:35:32 -- Found LIBUUID: /usr/lib/libuuid.so 15:35:32 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 15:35:32 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 15:35:32 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 15:35:32 -- C SDK 0.0.0 for Linux 15:35:32 -- Performing Test CSDK_HAVE_ATOMIC 15:35:32 -- Performing Test CSDK_HAVE_ATOMIC - Success 15:35:32 -- Found Curses: /usr/lib/libcurses.so 15:35:33 -- Configuring done 15:35:33 -- Generating done 15:35:33 -- Build files have been written to: /tmp/sdk/build/release 15:35:33 + + maketee all release.log package 15:35:33 15:35:33 Scanning dependencies of target csdk 15:35:33 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 15:35:34 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 15:35:34 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 15:35:37 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 15:35:37 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 15:35:38 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 15:35:39 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 15:35:39 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 15:35:39 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 15:35:41 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 15:35:43 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 15:35:43 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 15:35:44 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 15:35:44 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 15:35:45 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 15:35:45 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 15:35:45 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 15:35:50 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 15:35:50 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 15:35:50 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 15:35:50 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 15:35:51 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 15:35:51 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 15:35:51 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 15:35:51 275 | const iot_component_factory_t * factory; 15:35:51 | ^~~~~~~ 15:35:51 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 15:35:58 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 15:35:58 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 15:35:58 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 15:35:59 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 15:35:59 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 15:36:00 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 15:36:01 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 15:36:01 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 15:36:02 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 15:36:02 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 15:36:03 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 15:36:05 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 15:36:05 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 15:36:07 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 15:36:07 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 15:36:12 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 15:36:12 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 15:36:13 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 15:36:14 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 15:36:15 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 15:36:17 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 15:36:17 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 15:36:17 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 15:36:18 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 15:36:20 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 15:36:25 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 15:36:25 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 15:36:26 [ 76%] Linking C shared library libcsdk.so 15:36:26 [ 76%] Built target csdk 15:36:26 Scanning dependencies of target template 15:36:26 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 15:36:26 [ 79%] Linking C executable template 15:36:27 [ 79%] Built target template 15:36:27 Scanning dependencies of target device-counter 15:36:27 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 15:36:27 [ 82%] Linking C executable device-counter 15:36:28 [ 82%] Built target device-counter 15:36:28 Scanning dependencies of target device-random 15:36:28 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 15:36:28 [ 85%] Linking C executable device-random 15:36:28 [ 85%] Built target device-random 15:36:28 Scanning dependencies of target device-gyro 15:36:28 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 15:36:29 [ 88%] Linking C executable device-gyro 15:36:29 [ 88%] Built target device-gyro 15:36:29 Scanning dependencies of target device-bitfields 15:36:29 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 15:36:30 [ 91%] Linking C executable device-bitfields 15:36:30 [ 91%] Built target device-bitfields 15:36:30 Scanning dependencies of target template-discovery 15:36:30 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 15:36:31 [ 94%] Linking C executable template-discovery 15:36:31 [ 94%] Built target template-discovery 15:36:31 Scanning dependencies of target device-file 15:36:31 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 15:36:32 [ 97%] Linking C executable device-file 15:36:32 [ 97%] Built target device-file 15:36:32 Scanning dependencies of target device-terminal 15:36:32 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 15:36:33 [100%] Linking C executable device-terminal 15:36:33 [100%] Built target device-terminal 15:36:33 Run CPack packaging tool... 15:36:33 CPack: Create package using TGZ 15:36:33 CPack: Install projects 15:36:33 CPack: - Run preinstall target for: Csdk 15:36:33 CPack: - Install project: Csdk [] 15:36:33 CPack: Create package 15:36:34 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 15:36:34 + '[' false '=' true ] 15:36:34 + '[' false '=' true ] 15:36:34 + mkdir -p /tmp/sdk/build/debug 15:36:34 + cd /tmp/sdk/build/debug 15:36:34 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 15:36:34 -- The C compiler identification is GNU 9.3.0 15:36:34 -- Check for working C compiler: /usr/bin/cc 15:36:34 -- Check for working C compiler: /usr/bin/cc - works 15:36:34 -- Detecting C compiler ABI info 15:36:35 -- Detecting C compiler ABI info - done 15:36:35 -- Detecting C compile features 15:36:35 -- Detecting C compile features - done 15:36:35 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 15:36:35 -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") 15:36:35 -- Found LIBYAML: /usr/lib/libyaml.so 15:36:35 -- Found LIBUUID: /usr/lib/libuuid.so 15:36:35 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 15:36:35 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 15:36:35 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 15:36:35 -- C SDK 0.0.0 for Linux 15:36:35 -- Performing Test CSDK_HAVE_ATOMIC 15:36:35 -- Performing Test CSDK_HAVE_ATOMIC - Success 15:36:35 -- Found Curses: /usr/lib/libcurses.so 15:36:35 -- Configuring done 15:36:36 -- Generating done 15:36:36 -- Build files have been written to: /tmp/sdk/build/debug 15:36:36 + make 15:36:36 + tee debug.log 15:36:36 Scanning dependencies of target csdk 15:36:36 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 15:36:37 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 15:36:37 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 15:36:37 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 15:36:38 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 15:36:38 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 15:36:38 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 15:36:38 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 15:36:39 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 15:36:39 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 15:36:40 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 15:36:40 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 15:36:41 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 15:36:41 Running on prd-centos7-docker-4c-2g-390 in /w/workspace/edgexfoundry_device-sdk-c_PR-379 [Pipeline] { [Pipeline] ws 15:36:41 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 15:36:41 Selected Git installation does not exist. Using Default 15:36:41 The recommended git tool is: NONE 15:36:41 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 15:36:41 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 15:36:41 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 15:36:42 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 15:36:43 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 15:36:43 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 15:36:43 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 15:36:43 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 15:36:44 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 15:36:44 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 15:36:44 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 15:36:44 275 | const iot_component_factory_t * factory; 15:36:44 | ^~~~~~~ 15:36:44 using credential edgex-jenkins-ssh 15:36:44 Cloning the remote Git repository 15:36:44 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 15:36:44 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 15:36:44 > git init /w/workspace/device-sdk-c/1 # timeout=10 15:36:44 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 15:36:44 > git --version # timeout=10 15:36:44 > git --version # 'git version 2.24.4' 15:36:44 using GIT_SSH to set credentials SSH Credentials for GitHub 15:36:44 [INFO] Currently running in a labeled security context 15:36:44 [INFO] Currently SELinux is 'enforcing' on the host 15:36:44 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh487111801044494088.key 15:36:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:36:45 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 15:36:45 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 15:36:45 Merging remotes/origin/main commit c0c62495d4cdef51dccef47425bdbc5dfcd4d33e into PR head commit 774d5920950d81e6c80b5877f48bca266cbec194 15:36:46 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 15:36:46 Merge succeeded, producing 774d5920950d81e6c80b5877f48bca266cbec194 15:36:46 Checking out Revision 774d5920950d81e6c80b5877f48bca266cbec194 (PR-379) 15:36:45 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 15:36:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:36:45 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 15:36:45 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 15:36:45 using GIT_SSH to set credentials SSH Credentials for GitHub 15:36:45 [INFO] Currently running in a labeled security context 15:36:45 [INFO] Currently SELinux is 'enforcing' on the host 15:36:45 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh1067149292044880553.key 15:36:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/379/head:refs/remotes/origin/PR-379 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:36:45 > git config core.sparsecheckout # timeout=10 15:36:45 > git checkout -f 774d5920950d81e6c80b5877f48bca266cbec194 # timeout=10 15:36:45 > git remote # timeout=10 15:36:45 > git config --get remote.origin.url # timeout=10 15:36:45 using GIT_SSH to set credentials SSH Credentials for GitHub 15:36:45 [INFO] Currently running in a labeled security context 15:36:46 [INFO] Currently SELinux is 'enforcing' on the host 15:36:46 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/1@tmp/jenkins-gitclient-ssh7819597626540434080.key 15:36:46 > git merge c0c62495d4cdef51dccef47425bdbc5dfcd4d33e # timeout=10 15:36:46 > git rev-parse HEAD^{commit} # timeout=10 15:36:46 > git config core.sparsecheckout # timeout=10 15:36:46 > git checkout -f 774d5920950d81e6c80b5877f48bca266cbec194 # timeout=10 15:36:46 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 15:36:46 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 15:36:46 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 15:36:46 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 15:36:47 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 15:36:47 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 15:36:47 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 15:36:47 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 15:36:48 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 15:36:48 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 15:36:49 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 15:36:49 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 15:36:49 Commit message: "feat: Add Object reading type" 15:36:49 > git --version # timeout=10 15:36:49 > git --version # 'git version 2.24.4' 15:36:49 fatal: bad object c141c1271097dc03ad291c2451e310eaf98cdd06 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 15:36:50 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:36:50 provisioning config files... 15:36:50 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config5378939822858764984tmp 15:36:50 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:36:50 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 15:36:51 ---> docker-login.sh 15:36:51 nexus3.edgexfoundry.org:10001 15:36:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:36:51 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 15:36:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:36:51 Configure a credential helper to remove this warning. See 15:36:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:36:51 15:36:51 Login Succeeded 15:36:51 nexus3.edgexfoundry.org:10002 15:36:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:36:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:36:51 Configure a credential helper to remove this warning. See 15:36:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:36:51 15:36:51 Login Succeeded 15:36:51 nexus3.edgexfoundry.org:10003 15:36:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:36:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:36:51 Configure a credential helper to remove this warning. See 15:36:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:36:51 15:36:51 Login Succeeded 15:36:51 nexus3.edgexfoundry.org:10004 15:36:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:36:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:36:51 Configure a credential helper to remove this warning. See 15:36:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:36:51 15:36:51 Login Succeeded 15:36:51 docker.io 15:36:51 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 15:36:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:36:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:36:52 Configure a credential helper to remove this warning. See 15:36:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:36:52 15:36:52 Login Succeeded 15:36:52 ---> docker-login.sh ends [Pipeline] } 15:36:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:36:52 ========================================================= 15:36:52 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 15:36:52 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:36:52 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 15:36:53 + 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 . 15:36:53 Sending build context to Docker daemon 2.732MB 15:36:53 Step 1/25 : ARG BASE=alpine:3.14 15:36:53 Step 2/25 : FROM ${BASE} as builder 15:36:53 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 15:36:53 latest: Pulling from edgex-devops/edgex-gcc-base 15:36:53 339de151aab4: Pulling fs layer 15:36:53 3691962f683c: Pulling fs layer 15:36:53 e1147bf81a45: Pulling fs layer 15:36:53 3691962f683c: Verifying Checksum 15:36:53 3691962f683c: Download complete 15:36:53 339de151aab4: Verifying Checksum 15:36:53 339de151aab4: Download complete 15:36:53 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 15:36:53 339de151aab4: Pull complete 15:36:53 3691962f683c: Pull complete 15:36:53 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 15:36:54 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 15:36:55 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 15:36:55 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 15:36:55 [ 76%] Linking C shared library libcsdk.so 15:36:56 [ 76%] Built target csdk 15:36:56 Scanning dependencies of target template 15:36:56 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 15:36:56 [ 79%] Linking C executable template 15:36:56 [ 79%] Built target template 15:36:56 Scanning dependencies of target device-counter 15:36:56 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 15:36:56 [ 82%] Linking C executable device-counter 15:36:56 e1147bf81a45: Verifying Checksum 15:36:56 e1147bf81a45: Download complete 15:36:57 [ 82%] Built target device-counter 15:36:57 Scanning dependencies of target device-random 15:36:57 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 15:36:57 [ 85%] Linking C executable device-random 15:36:57 [ 85%] Built target device-random 15:36:57 Scanning dependencies of target device-gyro 15:36:57 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 15:36:58 [ 88%] Linking C executable device-gyro 15:36:58 [ 88%] Built target device-gyro 15:36:58 Scanning dependencies of target device-bitfields 15:36:58 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 15:36:58 [ 91%] Linking C executable device-bitfields 15:36:59 [ 91%] Built target device-bitfields 15:36:59 Scanning dependencies of target template-discovery 15:36:59 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 15:36:59 [ 94%] Linking C executable template-discovery 15:36:59 [ 94%] Built target template-discovery 15:36:59 Scanning dependencies of target device-file 15:36:59 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 15:36:59 [ 97%] Linking C executable device-file 15:37:00 [ 97%] Built target device-file 15:37:00 e1147bf81a45: Pull complete 15:37:00 Digest: sha256:32c567f17180c4abff101a0d389449dec7f3f623a221c8a8ae98dcac9b0d9fee 15:37:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 15:37:00 ---> ac6a0feb3254 15:37:00 Step 3/25 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 15:37:00 Scanning dependencies of target device-terminal 15:37:00 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 15:37:00 [100%] Linking C executable device-terminal 15:37:00 ---> Running in aa5f3b9b1be7 15:37:01 [100%] Built target device-terminal 15:37:01 make: Entering directory '/tmp/sdk/build/release' 15:37:01 make[1]: Entering directory '/tmp/sdk/build/release' 15:37:01 make[2]: Entering directory '/tmp/sdk/build/release' 15:37:01 make[2]: Leaving directory '/tmp/sdk/build/release' 15:37:01 [ 76%] Built target csdk 15:37:01 Connecting to iotech.jfrog.io (54.195.244.87:443) 15:37:01 make[2]: Entering directory '/tmp/sdk/build/release' 15:37:01 make[2]: Leaving directory '/tmp/sdk/build/release' 15:37:01 [ 79%] Built target template 15:37:01 make[2]: Entering directory '/tmp/sdk/build/release' 15:37:01 make[2]: Leaving directory '/tmp/sdk/build/release' 15:37:01 [ 82%] Built target device-counter 15:37:01 make[2]: Entering directory '/tmp/sdk/build/release' 15:37:01 make[2]: Leaving directory '/tmp/sdk/build/release' 15:37:01 [ 85%] Built target device-random 15:37:01 make[2]: Entering directory '/tmp/sdk/build/release' 15:37:01 make[2]: Leaving directory '/tmp/sdk/build/release' 15:37:01 [ 88%] Built target device-gyro 15:37:01 make[2]: Entering directory '/tmp/sdk/build/release' 15:37:01 make[2]: Leaving directory '/tmp/sdk/build/release' 15:37:01 [ 91%] Built target device-bitfields 15:37:01 make[2]: Entering directory '/tmp/sdk/build/release' 15:37:01 make[2]: Leaving directory '/tmp/sdk/build/release' 15:37:01 [ 94%] Built target template-discovery 15:37:01 make[2]: Entering directory '/tmp/sdk/build/release' 15:37:01 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 15:37:01 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 15:37:01 '/etc/apk/keys/alpine.dev.rsa.pub' saved 15:37:01 make[2]: Leaving directory '/tmp/sdk/build/release' 15:37:01 [ 97%] Built target device-file 15:37:01 make[2]: Entering directory '/tmp/sdk/build/release' 15:37:01 make[2]: Leaving directory '/tmp/sdk/build/release' 15:37:01 [100%] Built target device-terminal 15:37:01 make[1]: Leaving directory '/tmp/sdk/build/release' 15:37:01 Install the project... 15:37:01 -- Install configuration: "Release" 15:37:01 -- Installing: /usr/local/lib/libcsdk.so 15:37:01 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 15:37:01 -- Up-to-date: /usr/local/include 15:37:01 -- Installing: /usr/local/include/edgex 15:37:01 -- Installing: /usr/local/include/edgex/rest-server.h 15:37:01 -- Installing: /usr/local/include/edgex/edgex-base.h 15:37:01 -- Installing: /usr/local/include/edgex/edgex.h 15:37:01 -- Installing: /usr/local/include/edgex/devices.h 15:37:01 -- Installing: /usr/local/include/edgex/profiles.h 15:37:01 -- Installing: /usr/local/include/edgex/csdk-defs.h 15:37:01 -- Installing: /usr/local/include/devsdk 15:37:01 -- Installing: /usr/local/include/devsdk/devsdk-base.h 15:37:01 -- Installing: /usr/local/include/devsdk/devsdk.h 15:37:01 -- Installing: /usr/local/include/iot 15:37:01 -- Installing: /usr/local/include/iot/json.h 15:37:01 -- Installing: /usr/local/include/iot/container.h 15:37:01 -- Installing: /usr/local/include/iot/component.h 15:37:01 -- Installing: /usr/local/include/iot/typecode.h 15:37:01 -- Installing: /usr/local/include/iot/iot.h 15:37:01 -- Installing: /usr/local/include/iot/uuid.h 15:37:01 -- Installing: /usr/local/include/iot/time.h 15:37:01 -- Installing: /usr/local/include/iot/hash.h 15:37:01 -- Installing: /usr/local/include/iot/logger.h 15:37:01 -- Installing: /usr/local/include/iot/os 15:37:01 -- Installing: /usr/local/include/iot/os/zephyr.h 15:37:01 -- Installing: /usr/local/include/iot/os/linux.h 15:37:01 -- Installing: /usr/local/include/iot/os/macos.h 15:37:01 -- Installing: /usr/local/include/iot/scheduler.h 15:37:01 -- Installing: /usr/local/include/iot/data.h 15:37:01 -- Installing: /usr/local/include/iot/thread.h 15:37:01 -- Installing: /usr/local/include/iot/os.h 15:37:01 -- Installing: /usr/local/include/iot/base64.h 15:37:01 -- Installing: /usr/local/include/iot/defs.h 15:37:01 -- Installing: /usr/local/include/iot/threadpool.h 15:37:01 -- Installing: /usr/local/include/iot/config.h 15:37:01 -- Installing: /usr/local/share/device-sdk-c/LICENSE 15:37:01 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 15:37:01 make: Leaving directory '/tmp/sdk/build/release' 15:37:01 Removing intermediate container aa5f3b9b1be7 15:37:01 ---> f8f1382590b6 15:37:01 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 15:37:01 ---> Running in d201814d7240 15:37:02 Removing intermediate container d201814d7240 15:37:02 ---> 1ec6ea2f70cd 15:37:02 Step 5/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev-1.3 hiredis-dev 15:37:02 ---> Running in b100c96840c1 15:37:02 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 15:37:03 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 15:37:03 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz 15:37:03 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:37:03 (1/22) Installing hiredis (0.14.1-r0) 15:37:04 (2/22) Installing hiredis-dev (0.14.1-r0) 15:37:04 (3/22) Installing ncurses-dev (6.2_p20200523-r0) 15:37:04 (4/22) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 15:37:04 Removing intermediate container bfeabcb5a058 15:37:04 ---> 1f059d3bdfc2 15:37:04 Step 16/25 : FROM ${BASE} 15:37:04 ---> 759262b18b23 15:37:04 Step 17/25 : LABEL maintainer="IOTech " 15:37:04 ---> Running in 1e61fb1f23b7 15:37:04 Removing intermediate container 1e61fb1f23b7 15:37:04 ---> 38833e12bcef 15:37:04 Step 18/25 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 15:37:04 ---> Running in 05c044102abc 15:37:05 (5/22) Installing libblkid (2.35.2-r0) 15:37:05 (6/22) Installing blkid (2.35.2-r0) 15:37:05 (7/22) Installing libcap-ng (0.7.10-r1) 15:37:05 (8/22) Installing setpriv (2.35.2-r0) 15:37:05 (9/22) Installing libmount (2.35.2-r0) 15:37:05 (10/22) Installing libsmartcols (2.35.2-r0) 15:37:05 (11/22) Installing findmnt (2.35.2-r0) 15:37:05 (12/22) Installing mcookie (2.35.2-r0) 15:37:05 (13/22) Installing hexdump (2.35.2-r0) 15:37:06 (14/22) Installing lsblk (2.35.2-r0) 15:37:06 (15/22) Installing libuuid (2.35.2-r0) 15:37:06 (16/22) Installing libfdisk (2.35.2-r0) 15:37:06 Connecting to iotech.jfrog.io (54.72.115.12:443) 15:37:06 (17/22) Installing sfdisk (2.35.2-r0) 15:37:06 (18/22) Installing cfdisk (2.35.2-r0) 15:37:06 (19/22) Installing util-linux (2.35.2-r0) 15:37:06 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 15:37:06 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 15:37:06 '/etc/apk/keys/alpine.dev.rsa.pub' saved 15:37:07 (20/22) Installing util-linux-dev (2.35.2-r0) 15:37:07 Removing intermediate container 05c044102abc 15:37:07 ---> 7885ab01d897 15:37:07 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 15:37:07 (21/22) Installing libidn2 (2.3.0-r0) 15:37:07 (22/22) Installing wget (1.20.3-r1) 15:37:07 ---> Running in 78fab34b823a 15:37:07 Executing busybox-1.31.1-r20.trigger 15:37:07 OK: 295 MiB in 97 packages 15:37:08 Removing intermediate container b100c96840c1 15:37:08 ---> c3708a16d207 15:37:08 Step 6/25 : ENV CBOR_VERSION=0.5.0 15:37:08 ---> Running in 9c67128f36c7 15:37:08 Removing intermediate container 9c67128f36c7 15:37:08 ---> 7637af5dffc4 15:37:08 Step 7/25 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install 15:37:08 ---> Running in ce88b7e9d045 15:37:08 --2021-10-01 15:37:08-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 15:37:08 Resolving github.com (github.com)... 140.82.112.4 15:37:08 Connecting to github.com (github.com)|140.82.112.4|:443... connected. 15:37:08 HTTP request sent, awaiting response... 302 Found 15:37:08 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 15:37:08 --2021-10-01 15:37:08-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 15:37:08 Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 15:37:08 Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. 15:37:08 HTTP request sent, awaiting response... 200 OK 15:37:08 Length: unspecified [application/x-gzip] 15:37:08 Saving to: 'STDOUT' 15:37:08  15:37:09 0K .......... .......... .......... .......... .......... 1.13M 15:37:09 50K .......... .......... .......... .......... .......... 2.23M 15:37:09 100K .......... .......... .......... .......... .......... 24.1M 15:37:09 150K .......... .......... .......... .......... .......... 31.8M 15:37:09 200K .......... .......... .......... .......... .......... 2.24M 15:37:09 250K .......... .......... .......... .......... .......... 2.40M 15:37:09 300K .......... .......... .......... .......... .......... 24.2M 15:37:09 350K .......... .......... .......... .......... .......... 10.4M 15:37:09 400K .......... .......... .......... .......... .......... 7.98M 15:37:09 450K .......... .......... .......... .......... .......... 8.86M 15:37:09 500K .......... .......... .......... .......... .......... 12.8M 15:37:09 550K .......... .......... .......... .......... .......... 4.85M 15:37:09 600K .......... .......... .......... .......... .......... 6.48M 15:37:09 650K .......... .......... .......... .......... .......... 8.34M 15:37:09 700K .. 103M=0.2s 15:37:09 15:37:09 2021-10-01 15:37:09 (4.39 MB/s) - written to stdout [719348] 15:37:09 15:37:09 -- The C compiler identification is GNU 9.3.0 15:37:09 -- The CXX compiler identification is GNU 9.3.0 15:37:09 -- Check for working C compiler: /usr/bin/cc 15:37:09 -- Check for working C compiler: /usr/bin/cc - works 15:37:09 -- Detecting C compiler ABI info 15:37:09 -- Detecting C compiler ABI info - done 15:37:09 -- Detecting C compile features 15:37:09 -- Detecting C compile features - done 15:37:09 -- Check for working CXX compiler: /usr/bin/c++ 15:37:09 -- Check for working CXX compiler: /usr/bin/c++ - works 15:37:09 -- Detecting CXX compiler ABI info 15:37:09 -- Detecting CXX compiler ABI info - done 15:37:09 -- Detecting CXX compile features 15:37:09 -- Detecting CXX compile features - done 15:37:09 -- Looking for include file endian.h 15:37:09 -- Looking for include file endian.h - found 15:37:09 -- Check if the system is big endian 15:37:09 -- Searching 16 bit integer 15:37:09 -- Looking for sys/types.h 15:37:09 -- Looking for sys/types.h - found 15:37:09 -- Looking for stdint.h 15:37:09 -- Looking for stdint.h - found 15:37:09 -- Looking for stddef.h 15:37:09 -- Looking for stddef.h - found 15:37:09 -- Check size of unsigned short 15:37:09 -- Check size of unsigned short - done 15:37:09 -- Searching 16 bit integer - Using unsigned short 15:37:09 -- Check if the system is big endian - little endian 15:37:09 -- Check size of size_t 15:37:09 -- Check size of size_t - done 15:37:09 CMake Warning at examples/CMakeLists.txt:16 (find_package): 15:37:09 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 15:37:09 asked CMake to find a package configuration file provided by "cJSON", but 15:37:09 CMake did not find one. 15:37:09 15:37:09 Could not find a package configuration file provided by "cJSON" with any of 15:37:09 the following names: 15:37:09 15:37:09 cJSONConfig.cmake 15:37:09 cjson-config.cmake 15:37:09 15:37:09 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 15:37:09 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 15:37:09 provides a separate development package or SDK, be sure it has been 15:37:09 installed. 15:37:09 15:37:09 15:37:10 -- Configuring done 15:37:10 -- Generating done 15:37:10 -- Build files have been written to: /tmp/cbor 15:37:10 Scanning dependencies of target cbor_shared 15:37:10 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 15:37:10 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 15:37:10 Removing intermediate container 78fab34b823a 15:37:10 ---> e15d36d77e91 15:37:10 Step 20/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev-1.3 hiredis-dev 15:37:10 ---> Running in 018a3a91ab34 15:37:10 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 15:37:10 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 15:37:10 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 15:37:10 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 15:37:10 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 15:37:10 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 15:37:10 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 15:37:10 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 15:37:11 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 15:37:11 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 15:37:11 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 15:37:11 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 15:37:11 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 15:37:11 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 15:37:11 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 15:37:11 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 15:37:11 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 15:37:11 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 15:37:11 [ 40%] Linking C shared library libcbor.so 15:37:11 [ 40%] Built target cbor_shared 15:37:11 Scanning dependencies of target cbor 15:37:11 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 15:37:11 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 15:37:11 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 15:37:11 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 15:37:11 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 15:37:12 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 15:37:12 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 15:37:12 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 15:37:12 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 15:37:12 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 15:37:12 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 15:37:12 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 15:37:12 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 15:37:12 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 15:37:12 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 15:37:12 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 15:37:12 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 15:37:12 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 15:37:12 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 15:37:13 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 15:37:13 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 15:37:13 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 15:37:13 [ 80%] Linking C static library libcbor.a 15:37:13 [ 80%] Built target cbor 15:37:13 Scanning dependencies of target sort 15:37:13 [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 15:37:13 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz 15:37:13 [ 84%] Linking C executable sort 15:37:13 [ 84%] Built target sort 15:37:13 Scanning dependencies of target readfile 15:37:13 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 15:37:13 [ 88%] Linking C executable readfile 15:37:13 [ 88%] Built target readfile 15:37:13 Scanning dependencies of target streaming_parser 15:37:13 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 15:37:13 [ 92%] Linking C executable streaming_parser 15:37:13 [ 92%] Built target streaming_parser 15:37:13 Scanning dependencies of target hello 15:37:13 [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 15:37:13 [ 96%] Linking C executable hello 15:37:13 [ 96%] Built target hello 15:37:13 Scanning dependencies of target create_items 15:37:13 [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 15:37:13 [100%] Linking C executable create_items 15:37:13 [100%] Built target create_items 15:37:13 Install the project... 15:37:13 -- Install configuration: "Release" 15:37:13 -- Installing: /usr/local/include/cbor/configuration.h 15:37:13 -- Installing: /usr/local/lib64/libcbor.a 15:37:13 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 15:37:13 -- Installing: /usr/local/lib64/libcbor.so.0 15:37:13 -- Installing: /usr/local/lib64/libcbor.so 15:37:13 -- Up-to-date: /usr/local/include/cbor 15:37:13 -- Installing: /usr/local/include/cbor/arrays.h 15:37:13 -- Installing: /usr/local/include/cbor/bytestrings.h 15:37:13 -- Installing: /usr/local/include/cbor/callbacks.h 15:37:13 -- Installing: /usr/local/include/cbor/common.h 15:37:13 -- Installing: /usr/local/include/cbor/data.h 15:37:13 -- Installing: /usr/local/include/cbor/encoding.h 15:37:13 -- Installing: /usr/local/include/cbor/floats_ctrls.h 15:37:13 -- Installing: /usr/local/include/cbor/internal 15:37:13 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 15:37:13 -- Installing: /usr/local/include/cbor/internal/encoders.h 15:37:13 -- Installing: /usr/local/include/cbor/internal/loaders.h 15:37:13 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 15:37:13 -- Installing: /usr/local/include/cbor/internal/stack.h 15:37:13 -- Installing: /usr/local/include/cbor/internal/unicode.h 15:37:13 -- Installing: /usr/local/include/cbor/ints.h 15:37:13 -- Installing: /usr/local/include/cbor/maps.h 15:37:13 -- Installing: /usr/local/include/cbor/serialization.h 15:37:13 -- Installing: /usr/local/include/cbor/streaming.h 15:37:13 -- Installing: /usr/local/include/cbor/strings.h 15:37:13 -- Installing: /usr/local/include/cbor/tags.h 15:37:13 -- Installing: /usr/local/include/cbor.h 15:37:13 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 15:37:14 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:37:14 (1/7) Installing curl (7.79.1-r0) 15:37:14 (2/7) Installing hiredis (0.14.1-r0) 15:37:14 (3/7) Installing hiredis-dev (0.14.1-r0) 15:37:14 Removing intermediate container ce88b7e9d045 15:37:14 ---> 995fc76d13d2 15:37:14 Step 8/25 : RUN mkdir /tmp/sdk 15:37:14 ---> Running in f57361d7ac9b 15:37:14 (4/7) Installing libuuid (2.35.2-r0) 15:37:14 (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 15:37:14 Removing intermediate container f57361d7ac9b 15:37:14 ---> 137152988bca 15:37:14 Step 9/25 : COPY VERSION /tmp/sdk 15:37:14 ---> 12682f9bd69a 15:37:14 Step 10/25 : COPY src /tmp/sdk/src 15:37:15 ---> b6150ab1116c 15:37:15 Step 11/25 : COPY include /tmp/sdk/include 15:37:15 ---> 445a12ae2dcd 15:37:15 Step 12/25 : COPY scripts /tmp/sdk/scripts 15:37:15 ---> d75d23694454 15:37:15 Step 13/25 : COPY LICENSE /tmp/sdk 15:37:15 ---> 8075fdb2df02 15:37:15 Step 14/25 : COPY Attribution.txt /tmp/sdk 15:37:15 (6/7) Installing libidn2 (2.3.0-r0) 15:37:15 ---> 02e42cf9eaa4 15:37:15 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 15:37:15 ---> Running in 1a51c12be5d9 15:37:15 (7/7) Installing wget (1.20.3-r1) 15:37:15 + CPPCHECK=false 15:37:15 + DOCGEN=false 15:37:15 + TOMLVER=SDK-0.2 15:37:15 + CUTILVER=1.2.2 15:37:15 + '[' 0 -gt 0 ] 15:37:15 + readlink -f ./scripts/build.sh 15:37:15 + dirname /tmp/sdk/scripts/build.sh 15:37:15 + dirname /tmp/sdk/scripts 15:37:15 + ROOT=/tmp/sdk 15:37:15 + cd /tmp/sdk 15:37:15 + '[' '!' -d deps ] 15:37:15 + mkdir deps 15:37:15 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 15:37:15 + tar -C deps -z -x -f - 15:37:15 --2021-10-01 15:37:15-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 15:37:15 Resolving github.com (github.com)... 140.82.112.4 15:37:15 Connecting to github.com (github.com)|140.82.112.4|:443... connected. 15:37:15 HTTP request sent, awaiting response... 302 Found 15:37:15 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 15:37:15 --2021-10-01 15:37:15-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 15:37:15 Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 15:37:15 Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. 15:37:16 Executing busybox-1.31.1-r20.trigger 15:37:16 OK: 267 MiB in 82 packages 15:37:16 HTTP request sent, awaiting response... 200 OK 15:37:16 Length: unspecified [application/x-gzip] 15:37:16 Saving to: 'STDOUT' 15:37:16  15:37:16 0K .......... ......  730K=0.02s 15:37:16 15:37:16 2021-10-01 15:37:16 (730 KB/s) - written to stdout [16451] 15:37:16 15:37:16 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 15:37:16 + tar -C deps -z -x -f - 15:37:16 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 15:37:16 --2021-10-01 15:37:16-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 15:37:16 Resolving github.com (github.com)... 140.82.112.4 15:37:16 Connecting to github.com (github.com)|140.82.112.4|:443... connected. 15:37:16 HTTP request sent, awaiting response... 302 Found 15:37:16 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] 15:37:16 --2021-10-01 15:37:16-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 15:37:16 Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 15:37:16 Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. 15:37:16 HTTP request sent, awaiting response... 200 OK 15:37:16 Length: unspecified [application/x-gzip] 15:37:16 Saving to: 'STDOUT' 15:37:16 15:37:16 0K .......... .......... .......... .......... .......... 1.09M 15:37:16 50K .......... .......... .......... .......... .......... 2.23M 15:37:16 100K .......... .......... .......... .......... .......... 36.6M 15:37:16 150K .......... .......... .......... ......... 3.61M=0.08s 15:37:16 15:37:16 2021-10-01 15:37:16 (2.35 MB/s) - written to stdout [193971] 15:37:16 15:37:16 + mkdir -p src/c/iot 15:37:16 + 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 15:37:16 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 15:37:16 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 15:37:16 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 15:37:16 + mkdir -p include/iot 15:37:16 + 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 15:37:16 + mkdir -p include/iot/os 15:37:16 + 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 15:37:16 + mkdir -p /tmp/sdk/build/release 15:37:16 + cd /tmp/sdk/build/release 15:37:16 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 15:37:16 -- The C compiler identification is GNU 9.3.0 15:37:16 -- Check for working C compiler: /usr/bin/cc 15:37:16 -- Check for working C compiler: /usr/bin/cc - works 15:37:16 -- Detecting C compiler ABI info 15:37:17 -- Detecting C compiler ABI info - done 15:37:17 -- Detecting C compile features 15:37:17 -- Detecting C compile features - done 15:37:17 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 15:37:17 -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") 15:37:17 -- Found LIBYAML: /usr/lib/libyaml.so 15:37:17 -- Found LIBUUID: /usr/lib/libuuid.so 15:37:17 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 15:37:17 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 15:37:17 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 15:37:17 -- C SDK 0.0.0 for Linux 15:37:17 -- Performing Test CSDK_HAVE_ATOMIC 15:37:17 -- Performing Test CSDK_HAVE_ATOMIC - Success 15:37:17 -- Found Curses: /usr/lib/libcurses.so 15:37:17 -- Configuring done 15:37:17 -- Generating done 15:37:17 -- Build files have been written to: /tmp/sdk/build/release 15:37:17 + make all package 15:37:17 + tee release.log 15:37:17 Scanning dependencies of target csdk 15:37:17 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 15:37:17 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 15:37:17 Removing intermediate container 018a3a91ab34 15:37:17 ---> f47611a6e973 15:37:17 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 15:37:17 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 15:37:17 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 15:37:17 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 15:37:18 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 15:37:18 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 15:37:18 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 15:37:18 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 15:37:18 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 15:37:18 ---> 665bd23eddc1 15:37:18 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 15:37:18 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 15:37:18 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 15:37:18 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 15:37:19 ---> 3e4b972677bb 15:37:19 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 15:37:19 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 15:37:19 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 15:37:19 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 15:37:19 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 15:37:19 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 15:37:19 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 15:37:20 ---> 8f75de910048 15:37:20 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 15:37:20 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 15:37:20 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 15:37:20 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 15:37:20 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 15:37:20 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 15:37:20 275 | const iot_component_factory_t * factory; 15:37:20 | ^~~~~~~ 15:37:20 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 15:37:21 ---> 9294e839ea06 15:37:21 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 15:37:21 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 15:37:21 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 15:37:21 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 15:37:21 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 15:37:21 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 15:37:21 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 15:37:21 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 15:37:21 ---> d1c6a5897b45 15:37:21 Successfully built d1c6a5897b45 15:37:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } 15:37:21 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 15:37:21 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 15:37:21 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix 15:37:22 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [Pipeline] sh 15:37:22 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 15:37:22 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 15:37:22 + docker inspect -f . ci-base-image-arm64 15:37:22 . [Pipeline] withDockerContainer 15:37:22 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 15:37:22 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 15:37:22 prd-ubuntu18.04-docker-arm64-4c-16g-389 does not seem to be running inside a container 15:37:22 $ 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 ******** ci-base-image-arm64 cat 15:37:23 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 15:37:23 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 15:37:23 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 15:37:23 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 15:37:23 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 15:37:24 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 15:37:24 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 15:37:24 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 15:37:24 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 15:37:24 $ docker top a4b169383c8a9662b2256dbc55cfedb4a121e1544a48e5d76b3792c4946ddf11 -eo pid,comm 15:37:24 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [Pipeline] { [Pipeline] sh 15:37:25 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 15:37:25 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 15:37:25 [ 76%] Linking C shared library libcsdk.so 15:37:25 [ 76%] Built target csdk 15:37:25 Scanning dependencies of target template 15:37:25 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 15:37:25 + make test 15:37:25 echo "make test" 15:37:25 make test [Pipeline] } 15:37:25 $ docker stop --time=1 a4b169383c8a9662b2256dbc55cfedb4a121e1544a48e5d76b3792c4946ddf11 15:37:25 [ 79%] Linking C executable template 15:37:25 [ 79%] Built target template 15:37:25 Scanning dependencies of target device-counter 15:37:25 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 15:37:25 [ 82%] Linking C executable device-counter 15:37:26 [ 82%] Built target device-counter 15:37:26 Scanning dependencies of target device-random 15:37:26 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 15:37:26 [ 85%] Linking C executable device-random 15:37:26 [ 85%] Built target device-random 15:37:26 Scanning dependencies of target device-gyro 15:37:26 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 15:37:26 [ 88%] Linking C executable device-gyro 15:37:26 [ 88%] Built target device-gyro 15:37:26 Scanning dependencies of target device-bitfields 15:37:26 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 15:37:26 [ 91%] Linking C executable device-bitfields 15:37:26 [ 91%] Built target device-bitfields 15:37:26 Scanning dependencies of target template-discovery 15:37:26 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 15:37:26 [ 94%] Linking C executable template-discovery 15:37:26 [ 94%] Built target template-discovery 15:37:26 Scanning dependencies of target device-file 15:37:26 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 15:37:26 [ 97%] Linking C executable device-file 15:37:26 [ 97%] Built target device-file 15:37:26 Scanning dependencies of target device-terminal 15:37:26 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 15:37:26 [100%] Linking C executable device-terminal 15:37:26 [100%] Built target device-terminal 15:37:26 Run CPack packaging tool... 15:37:26 CPack: Create package using TGZ 15:37:26 CPack: Install projects 15:37:26 CPack: - Run preinstall target for: Csdk 15:37:27 CPack: - Install project: Csdk [] 15:37:27 CPack: Create package 15:37:27 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 15:37:27 + '[' false '=' true ] 15:37:27 + '[' false '=' true ] 15:37:27 + mkdir -p /tmp/sdk/build/debug 15:37:27 + cd /tmp/sdk/build/debug 15:37:27 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 15:37:27 -- The C compiler identification is GNU 9.3.0 15:37:27 -- Check for working C compiler: /usr/bin/cc 15:37:27 -- Check for working C compiler: /usr/bin/cc - works 15:37:27 -- Detecting C compiler ABI info 15:37:27 -- Detecting C compiler ABI info - done 15:37:27 -- Detecting C compile features 15:37:27 -- Detecting C compile features - done 15:37:27 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 15:37:27 -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") 15:37:27 -- Found LIBYAML: /usr/lib/libyaml.so 15:37:27 -- Found LIBUUID: /usr/lib/libuuid.so 15:37:27 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 15:37:27 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 15:37:27 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 15:37:27 -- C SDK 0.0.0 for Linux 15:37:27 -- Performing Test CSDK_HAVE_ATOMIC 15:37:27 -- Performing Test CSDK_HAVE_ATOMIC - Success 15:37:27 -- Found Curses: /usr/lib/libcurses.so 15:37:27 -- Configuring done 15:37:27 -- Generating done 15:37:27 -- Build files have been written to: /tmp/sdk/build/debug 15:37:27 + make 15:37:27 + tee debug.log 15:37:27 Scanning dependencies of target csdk 15:37:27 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 15:37:27 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 15:37:27 $ docker rm -f a4b169383c8a9662b2256dbc55cfedb4a121e1544a48e5d76b3792c4946ddf11 15:37:28 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 15:37:28 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 15:37:28 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 15:37:28 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } 15:37:28 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 15:37:28 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 15:37:28 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 15:37:28 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 15:37:28 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 15:37:28 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 15:37:28 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 15:37:28 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 15:37:28 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 15:37:28 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 15:37:28 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 15:37:28 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 15:37:29 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 15:37:29 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 15:37:29 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 15:37:29 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 15:37:29 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 15:37:29 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 15:37:29 275 | const iot_component_factory_t * factory; 15:37:29 | ^~~~~~~ 15:37:29 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 15:37:29 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 15:37:29 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 15:37:29 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 15:37:29 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 15:37:29 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 15:37:29 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 15:37:29 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 15:37:29 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 15:37:29 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 15:37:29 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 15:37:29 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 15:37:29 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 15:37:29 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 15:37:30 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 15:37:30 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 15:37:30 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 15:37:30 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 15:37:30 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 15:37:30 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 15:37:30 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 15:37:30 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 15:37:30 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [Pipeline] sh 15:37:31 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 15:37:31 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 15:37:31 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 15:37:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:37:31 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 15:37:31 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 15:37:31 [ 76%] Linking C shared library libcsdk.so 15:37:31 [ 76%] Built target csdk 15:37:31 Scanning dependencies of target template 15:37:31 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 15:37:31 [ 79%] Linking C executable template 15:37:31 [ 79%] Built target template 15:37:31 Scanning dependencies of target device-counter 15:37:31 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 15:37:31 [ 82%] Linking C executable device-counter 15:37:31 [ 82%] Built target device-counter 15:37:31 Scanning dependencies of target device-random 15:37:31 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 15:37:31 + ls -al . 15:37:31 total 200 15:37:31 drwxrwxr-x 8 jenkins jenkins 4096 Oct 1 15:34 . 15:37:31 drwxrwxr-x 4 jenkins jenkins 4096 Oct 1 15:34 .. 15:37:31 drwxrwxr-x 8 jenkins jenkins 4096 Oct 1 15:34 .git 15:37:31 drwxrwxr-x 3 jenkins jenkins 4096 Oct 1 15:34 .github 15:37:31 -rw-rw-r-- 1 jenkins jenkins 176 Oct 1 15:34 .gitignore 15:37:31 -rw-rw-r-- 1 jenkins jenkins 3104 Oct 1 15:34 Attribution.txt 15:37:31 -rw-rw-r-- 1 jenkins jenkins 7767 Oct 1 15:34 CHANGES 15:37:31 -rw-rw-r-- 1 jenkins jenkins 108574 Oct 1 15:34 Doxyfile 15:37:31 -rw-rw-r-- 1 jenkins jenkins 677 Oct 1 15:34 GOVERNANCE.md 15:37:31 -rw-rw-r-- 1 jenkins jenkins 784 Oct 1 15:34 Jenkinsfile 15:37:31 -rw-rw-r-- 1 jenkins jenkins 10174 Oct 1 15:34 LICENSE 15:37:31 -rw-rw-r-- 1 jenkins jenkins 444 Oct 1 15:34 Makefile 15:37:31 -rw-rw-r-- 1 jenkins jenkins 618 Oct 1 15:34 OWNERS.md 15:37:31 -rw-rw-r-- 1 jenkins jenkins 4086 Oct 1 15:34 README.md 15:37:31 -rw-rw-r-- 1 jenkins jenkins 7422 Oct 1 15:34 README.v2.md 15:37:31 -rw-rw-r-- 1 jenkins jenkins 5 Oct 1 15:31 VERSION 15:37:31 drwxrwxr-x 2 jenkins jenkins 4096 Oct 1 15:34 docs 15:37:31 drwxrwxr-x 4 jenkins jenkins 4096 Oct 1 15:34 include 15:37:31 drwxrwxr-x 2 jenkins jenkins 4096 Oct 1 15:34 scripts 15:37:31 drwxrwxr-x 4 jenkins jenkins 4096 Oct 1 15:34 src [Pipeline] isUnix [Pipeline] sh 15:37:31 [ 85%] Linking C executable device-random 15:37:31 [ 85%] Built target device-random 15:37:31 Scanning dependencies of target device-gyro 15:37:31 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 15:37:31 [ 88%] Linking C executable device-gyro 15:37:31 [ 88%] Built target device-gyro 15:37:31 Scanning dependencies of target device-bitfields 15:37:31 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 15:37:31 + 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=774d5920950d81e6c80b5877f48bca266cbec194 --label arch=arm64 --label version=0.0.0 . 15:37:32 [ 91%] Linking C executable device-bitfields 15:37:32 [ 91%] Built target device-bitfields 15:37:32 Scanning dependencies of target template-discovery 15:37:32 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 15:37:32 [ 94%] Linking C executable template-discovery 15:37:32 [ 94%] Built target template-discovery 15:37:32 Scanning dependencies of target device-file 15:37:32 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 15:37:32 [ 97%] Linking C executable device-file 15:37:32 [ 97%] Built target device-file 15:37:32 Scanning dependencies of target device-terminal 15:37:32 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 15:37:32 [100%] Linking C executable device-terminal 15:37:32 [100%] Built target device-terminal 15:37:32 make: Entering directory '/tmp/sdk/build/release' 15:37:32 make[1]: Entering directory '/tmp/sdk/build/release' 15:37:32 make[2]: Entering directory '/tmp/sdk/build/release' 15:37:32 make[2]: Leaving directory '/tmp/sdk/build/release' 15:37:32 [ 76%] Built target csdk 15:37:32 make[2]: Entering directory '/tmp/sdk/build/release' 15:37:32 Sending build context to Docker daemon 2.73MB 15:37:32 Step 1/17 : ARG BASE=alpine:3.14 15:37:32 Step 2/17 : FROM ${BASE} 15:37:32 ---> d1c6a5897b45 15:37:32 Step 3/17 : LABEL maintainer="IOTech " 15:37:32 make[2]: Leaving directory '/tmp/sdk/build/release' 15:37:32 [ 79%] Built target template 15:37:32 make[2]: Entering directory '/tmp/sdk/build/release' 15:37:32 make[2]: Leaving directory '/tmp/sdk/build/release' 15:37:32 [ 82%] Built target device-counter 15:37:32 make[2]: Entering directory '/tmp/sdk/build/release' 15:37:32 make[2]: Leaving directory '/tmp/sdk/build/release' 15:37:32 [ 85%] Built target device-random 15:37:32 make[2]: Entering directory '/tmp/sdk/build/release' 15:37:32 make[2]: Leaving directory '/tmp/sdk/build/release' 15:37:32 [ 88%] Built target device-gyro 15:37:32 make[2]: Entering directory '/tmp/sdk/build/release' 15:37:32 make[2]: Leaving directory '/tmp/sdk/build/release' 15:37:32 [ 91%] Built target device-bitfields 15:37:32 make[2]: Entering directory '/tmp/sdk/build/release' 15:37:32 make[2]: Leaving directory '/tmp/sdk/build/release' 15:37:32 [ 94%] Built target template-discovery 15:37:32 make[2]: Entering directory '/tmp/sdk/build/release' 15:37:32 make[2]: Leaving directory '/tmp/sdk/build/release' 15:37:32 [ 97%] Built target device-file 15:37:32 make[2]: Entering directory '/tmp/sdk/build/release' 15:37:32 make[2]: Leaving directory '/tmp/sdk/build/release' 15:37:32 [100%] Built target device-terminal 15:37:32 make[1]: Leaving directory '/tmp/sdk/build/release' 15:37:32 Install the project... 15:37:32 -- Install configuration: "Release" 15:37:32 -- Installing: /usr/local/lib/libcsdk.so 15:37:32 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 15:37:32 -- Up-to-date: /usr/local/include 15:37:32 -- Installing: /usr/local/include/devsdk 15:37:32 -- Installing: /usr/local/include/devsdk/devsdk-base.h 15:37:32 -- Installing: /usr/local/include/devsdk/devsdk.h 15:37:32 -- Installing: /usr/local/include/edgex 15:37:32 -- Installing: /usr/local/include/edgex/devices.h 15:37:32 -- Installing: /usr/local/include/edgex/edgex-base.h 15:37:32 -- Installing: /usr/local/include/edgex/edgex.h 15:37:32 -- Installing: /usr/local/include/edgex/profiles.h 15:37:32 -- Installing: /usr/local/include/edgex/rest-server.h 15:37:32 -- Installing: /usr/local/include/edgex/csdk-defs.h 15:37:32 -- Installing: /usr/local/include/iot 15:37:32 -- Installing: /usr/local/include/iot/base64.h 15:37:32 -- Installing: /usr/local/include/iot/component.h 15:37:32 -- Installing: /usr/local/include/iot/config.h 15:37:32 -- Installing: /usr/local/include/iot/container.h 15:37:32 -- Installing: /usr/local/include/iot/data.h 15:37:32 -- Installing: /usr/local/include/iot/hash.h 15:37:32 -- Installing: /usr/local/include/iot/iot.h 15:37:32 -- Installing: /usr/local/include/iot/json.h 15:37:32 -- Installing: /usr/local/include/iot/logger.h 15:37:32 -- Installing: /usr/local/include/iot/os.h 15:37:32 -- Installing: /usr/local/include/iot/scheduler.h 15:37:32 -- Installing: /usr/local/include/iot/thread.h 15:37:32 -- Installing: /usr/local/include/iot/threadpool.h 15:37:32 -- Installing: /usr/local/include/iot/time.h 15:37:32 -- Installing: /usr/local/include/iot/typecode.h 15:37:32 -- Installing: /usr/local/include/iot/uuid.h 15:37:32 -- Installing: /usr/local/include/iot/os 15:37:32 -- Installing: /usr/local/include/iot/os/linux.h 15:37:32 -- Installing: /usr/local/include/iot/os/macos.h 15:37:32 -- Installing: /usr/local/include/iot/os/zephyr.h 15:37:32 -- Installing: /usr/local/include/iot/defs.h 15:37:32 -- Installing: /usr/local/share/device-sdk-c/LICENSE 15:37:32 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 15:37:32 make: Leaving directory '/tmp/sdk/build/release' 15:37:32 ---> Running in 8b4842f8a4e1 15:37:33 Removing intermediate container 1a51c12be5d9 15:37:33 ---> 95c3f98c384e 15:37:33 Step 16/25 : FROM ${BASE} 15:37:33 ---> ac6a0feb3254 15:37:33 Step 17/25 : LABEL maintainer="IOTech " 15:37:33 ---> Running in 273e1c3615a4 15:37:33 Removing intermediate container 273e1c3615a4 15:37:33 ---> eba108932944 15:37:33 Step 18/25 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 15:37:33 ---> Running in c06f454d94b0 15:37:33 Removing intermediate container 8b4842f8a4e1 15:37:33 ---> 3318e6deb80d 15:37:33 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 15:37:33 ---> Running in 031d8f293dc9 15:37:33 Connecting to iotech.jfrog.io (54.72.115.12:443) 15:37:33 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 15:37:33 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 15:37:33 '/etc/apk/keys/alpine.dev.rsa.pub' saved 15:37:34 Removing intermediate container c06f454d94b0 15:37:34 ---> f338f89d1661 15:37:34 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 15:37:34 ---> Running in 5138d194be94 15:37:34 Removing intermediate container 5138d194be94 15:37:34 ---> dad424d688b0 15:37:34 Step 20/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev-1.3 hiredis-dev 15:37:34 ---> Running in 98d67ade7d59 15:37:34 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 15:37:34 --2021-10-01 15:37:34-- https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release 15:37:34 Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.229.110.245, 54.72.115.12, 54.195.244.87 15:37:34 Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.229.110.245|:443... connected. 15:37:35 HTTP request sent, awaiting response... 200 OK 15:37:35 Length: unspecified [application/json] 15:37:35 Saving to: '/etc/apk/keys/alpine.dev.rsa.pub' 15:37:35  15:37:35 0K   8.61M=0s 15:37:35 15:37:35 2021-10-01 15:37:34 (8.61 MB/s) - '/etc/apk/keys/alpine.dev.rsa.pub' saved [451] 15:37:35 15:37:35 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 15:37:35 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz 15:37:36 Removing intermediate container 031d8f293dc9 15:37:36 ---> a15fd7ce60fb 15:37:36 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 15:37:36 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:37:36 (1/7) Installing curl (7.79.1-r0) 15:37:36 ---> Running in 6c5336c9846e 15:37:36 (2/7) Installing hiredis (0.14.1-r0) 15:37:37 (3/7) Installing hiredis-dev (0.14.1-r0) 15:37:37 (4/7) Installing libuuid (2.35.2-r0) 15:37:37 (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 15:37:38 (6/7) Installing libidn2 (2.3.0-r0) 15:37:38 (7/7) Installing wget (1.20.3-r1) 15:37:38 Executing busybox-1.31.1-r20.trigger 15:37:38 OK: 286 MiB in 82 packages 15:37:38 Removing intermediate container 98d67ade7d59 15:37:38 ---> d4e78a50bcfc 15:37:38 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 15:37:39 ---> b0a2546e4586 15:37:39 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 15:37:39 ---> 9bd065119c8d 15:37:39 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 15:37:39 Removing intermediate container 6c5336c9846e 15:37:39 ---> e020d317e13d 15:37:39 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 15:37:39 ---> Running in 6ae580c01599 15:37:39 ---> 530a7fe650cf 15:37:39 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 15:37:39 ---> 7cdfdf6aaf6f 15:37:39 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 15:37:39 ---> 6794259d4b9d 15:37:39 Successfully built 6794259d4b9d 15:37:39 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 15:37:40 + docker inspect -f . ci-base-image-x86_64 15:37:40 . [Pipeline] withDockerContainer 15:37:40 prd-centos7-docker-4c-2g-390 does not seem to be running inside a container 15:37:40 $ 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 15:37:40 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 15:37:40 $ docker top 70cb2f737bdf812bec8121a12f64f765663a4f2dc9f557a5f1fd8c70ced675e2 -eo pid,comm [Pipeline] { [Pipeline] sh 15:37:41 + make test 15:37:41 echo "make test" 15:37:41 make test [Pipeline] } 15:37:41 $ docker stop --time=1 70cb2f737bdf812bec8121a12f64f765663a4f2dc9f557a5f1fd8c70ced675e2 15:37:41 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 15:37:42 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz 15:37:42 $ docker rm -f 70cb2f737bdf812bec8121a12f64f765663a4f2dc9f557a5f1fd8c70ced675e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 15:37:42 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:37:42 (1/16) Installing ncurses-dev (6.2_p20200523-r0) [Pipeline] sh 15:37:43 (2/16) Installing libblkid (2.35.2-r0) 15:37:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:37:43 (3/16) Installing blkid (2.35.2-r0) 15:37:43 (4/16) Installing libcap-ng (0.7.10-r1) 15:37:43 (5/16) Installing setpriv (2.35.2-r0) 15:37:43 + ls -al . 15:37:43 total 172 15:37:43 drwxrwxr-x. 8 jenkins jenkins 4096 Oct 1 15:36 . 15:37:43 drwxrwxr-x. 4 jenkins jenkins 28 Oct 1 15:36 .. 15:37:43 -rw-rw-r--. 1 jenkins jenkins 3104 Oct 1 15:36 Attribution.txt 15:37:43 -rw-rw-r--. 1 jenkins jenkins 7767 Oct 1 15:36 CHANGES 15:37:43 drwxrwxr-x. 2 jenkins jenkins 121 Oct 1 15:36 docs 15:37:43 -rw-rw-r--. 1 jenkins jenkins 108574 Oct 1 15:36 Doxyfile 15:37:43 drwxrwxr-x. 8 jenkins jenkins 179 Oct 1 15:36 .git 15:37:43 drwxrwxr-x. 3 jenkins jenkins 103 Oct 1 15:36 .github 15:37:43 -rw-rw-r--. 1 jenkins jenkins 176 Oct 1 15:36 .gitignore 15:37:43 -rw-rw-r--. 1 jenkins jenkins 677 Oct 1 15:36 GOVERNANCE.md 15:37:43 drwxrwxr-x. 4 jenkins jenkins 33 Oct 1 15:36 include 15:37:43 -rw-rw-r--. 1 jenkins jenkins 784 Oct 1 15:36 Jenkinsfile 15:37:43 -rw-rw-r--. 1 jenkins jenkins 10174 Oct 1 15:36 LICENSE 15:37:43 -rw-rw-r--. 1 jenkins jenkins 444 Oct 1 15:36 Makefile 15:37:43 -rw-rw-r--. 1 jenkins jenkins 618 Oct 1 15:36 OWNERS.md 15:37:43 -rw-rw-r--. 1 jenkins jenkins 4086 Oct 1 15:36 README.md 15:37:43 -rw-rw-r--. 1 jenkins jenkins 7422 Oct 1 15:36 README.v2.md 15:37:43 drwxrwxr-x. 2 jenkins jenkins 98 Oct 1 15:36 scripts 15:37:43 drwxrwxr-x. 4 jenkins jenkins 50 Oct 1 15:36 src 15:37:43 -rw-rw-r--. 1 jenkins jenkins 5 Oct 1 15:31 VERSION [Pipeline] isUnix [Pipeline] sh 15:37:43 (6/16) Installing libmount (2.35.2-r0) 15:37:43 (7/16) Installing libsmartcols (2.35.2-r0) 15:37:43 + 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=774d5920950d81e6c80b5877f48bca266cbec194 --label arch=amd64 --label version=0.0.0 . 15:37:43 Sending build context to Docker daemon 2.732MB 15:37:43 Step 1/17 : ARG BASE=alpine:3.14 15:37:43 Step 2/17 : FROM ${BASE} 15:37:43 ---> 6794259d4b9d 15:37:43 Step 3/17 : LABEL maintainer="IOTech " 15:37:43 ---> Running in f910a074a6ae 15:37:43 Removing intermediate container f910a074a6ae 15:37:43 ---> acdd6c98db08 15:37:43 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 15:37:43 (8/16) Installing findmnt (2.35.2-r0) 15:37:43 (9/16) Installing mcookie (2.35.2-r0) 15:37:43 (10/16) Installing hexdump (2.35.2-r0) 15:37:44 ---> Running in ff744c5fbf41 15:37:44 --2021-10-01 15:37:44-- https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release 15:37:44 Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.195.244.87, 54.229.110.245, 54.72.115.12 15:37:44 (11/16) Installing lsblk (2.35.2-r0) 15:37:44 (12/16) Installing libfdisk (2.35.2-r0) 15:37:44 Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.195.244.87|:443... connected. 15:37:44 (13/16) Installing sfdisk (2.35.2-r0) 15:37:44 (14/16) Installing cfdisk (2.35.2-r0) 15:37:44 (15/16) Installing util-linux (2.35.2-r0) 15:37:44 HTTP request sent, awaiting response... 200 OK 15:37:44 Length: unspecified [application/json] 15:37:44 Saving to: '/etc/apk/keys/alpine.dev.rsa.pub' 15:37:44  15:37:44 0K 11.9M=0s 15:37:44 15:37:44 2021-10-01 15:37:44 (11.9 MB/s) - '/etc/apk/keys/alpine.dev.rsa.pub' saved [451] 15:37:44 15:37:44 Removing intermediate container ff744c5fbf41 15:37:44 ---> 12a1e1e42c96 15:37:44 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 15:37:44 ---> Running in 8a33bcbc28a0 15:37:45 Removing intermediate container 8a33bcbc28a0 15:37:45 ---> 8daca27bba4c 15:37:45 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 15:37:45 ---> Running in 9c09ff20a668 15:37:45 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 15:37:45 (16/16) Installing util-linux-dev (2.35.2-r0) 15:37:46 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 15:37:46 Executing busybox-1.31.1-r20.trigger 15:37:46 OK: 276 MiB in 98 packages 15:37:47 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz 15:37:47 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:37:47 (1/16) Installing ncurses-dev (6.2_p20200523-r0) 15:37:47 (2/16) Installing libblkid (2.35.2-r0) 15:37:47 (3/16) Installing blkid (2.35.2-r0) 15:37:47 (4/16) Installing libcap-ng (0.7.10-r1) 15:37:47 (5/16) Installing setpriv (2.35.2-r0) 15:37:47 (6/16) Installing libmount (2.35.2-r0) 15:37:48 (7/16) Installing libsmartcols (2.35.2-r0) 15:37:48 (8/16) Installing findmnt (2.35.2-r0) 15:37:48 (9/16) Installing mcookie (2.35.2-r0) 15:37:48 (10/16) Installing hexdump (2.35.2-r0) 15:37:48 (11/16) Installing lsblk (2.35.2-r0) 15:37:48 (12/16) Installing libfdisk (2.35.2-r0) 15:37:48 Removing intermediate container 6ae580c01599 15:37:48 ---> 3a364808a399 15:37:48 Step 7/17 : COPY VERSION /edgex-c-sdk/ 15:37:48 (13/16) Installing sfdisk (2.35.2-r0) 15:37:48 (14/16) Installing cfdisk (2.35.2-r0) 15:37:48 (15/16) Installing util-linux (2.35.2-r0) 15:37:49 ---> 3cbc3e81459c 15:37:49 Step 8/17 : COPY src /edgex-c-sdk/src/ 15:37:49 (16/16) Installing util-linux-dev (2.35.2-r0) 15:37:49 Executing busybox-1.31.1-r20.trigger 15:37:49 OK: 295 MiB in 98 packages 15:37:50 Removing intermediate container 9c09ff20a668 15:37:50 ---> 33519a09eb59 15:37:50 Step 7/17 : COPY VERSION /edgex-c-sdk/ 15:37:50 ---> 0dd1527f2bd2 15:37:50 Step 9/17 : COPY include /edgex-c-sdk/include/ 15:37:50 ---> cc84279adc41 15:37:50 Step 8/17 : COPY src /edgex-c-sdk/src/ 15:37:50 ---> bb30234f7dba 15:37:50 Step 9/17 : COPY include /edgex-c-sdk/include/ 15:37:50 ---> 26f25a871473 15:37:50 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 15:37:50 ---> 02f431fe04cd 15:37:50 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 15:37:50 ---> fc1bb30e8bd1 15:37:50 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 15:37:50 ---> ed1755b61352 15:37:50 Step 13/17 : WORKDIR /edgex-c-sdk 15:37:50 ---> Running in 6984534d7a4a 15:37:51 ---> 66d50c1e6a13 15:37:51 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 15:37:51 Removing intermediate container 6984534d7a4a 15:37:51 ---> d79289a5cdac 15:37:51 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 15:37:51 ---> Running in 3d1fa8526d8f 15:37:51 Removing intermediate container 3d1fa8526d8f 15:37:51 ---> cbd730d8780e 15:37:51 Step 15/17 : LABEL arch=amd64 15:37:51 ---> Running in 73a9da065d61 15:37:51 Removing intermediate container 73a9da065d61 15:37:51 ---> 5f7feb6bb572 15:37:51 Step 16/17 : LABEL git_sha=774d5920950d81e6c80b5877f48bca266cbec194 15:37:51 ---> Running in 8978df6ab741 15:37:51 Removing intermediate container 8978df6ab741 15:37:51 ---> 60db9f282195 15:37:51 Step 17/17 : LABEL version=0.0.0 15:37:51 ---> Running in 146e0091ffe5 15:37:51 Removing intermediate container 146e0091ffe5 15:37:51 ---> 1dd6fe2fd0e3 15:37:51 [Warning] One or more build-args [ARCH MAKE] were not consumed 15:37:51 Successfully built 1dd6fe2fd0e3 15:37:51 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) 15:37:52 ---> f369874c41ed 15:37:52 Step 11/17 : COPY LICENSE /edgex-c-sdk/ Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:37:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:37:52 15:37:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 15:37:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:37:52 latest: Pulling from edgex-lftools-log-publisher 15:37:52 b4d181a07f80: Pulling fs layer 15:37:52 a1111a8f2ec3: Pulling fs layer 15:37:52 ed53099fbce6: Pulling fs layer 15:37:52 dc539afda2c1: Pulling fs layer 15:37:52 77bc0d833cb6: Pulling fs layer 15:37:52 9065ff56babe: Pulling fs layer 15:37:52 d287ab97295c: Pulling fs layer 15:37:52 dc539afda2c1: Waiting 15:37:52 77bc0d833cb6: Waiting 15:37:52 9065ff56babe: Waiting 15:37:52 d287ab97295c: Waiting 15:37:53 ---> f2039cf7c9e4 15:37:53 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 15:37:53 a1111a8f2ec3: Verifying Checksum 15:37:53 a1111a8f2ec3: Download complete 15:37:53 dc539afda2c1: Verifying Checksum 15:37:53 dc539afda2c1: Download complete 15:37:53 77bc0d833cb6: Verifying Checksum 15:37:53 77bc0d833cb6: Download complete 15:37:53 9065ff56babe: Verifying Checksum 15:37:53 9065ff56babe: Download complete 15:37:53 ed53099fbce6: Verifying Checksum 15:37:53 ed53099fbce6: Download complete 15:37:53 ---> 4d99843b0fd4 15:37:53 Step 13/17 : WORKDIR /edgex-c-sdk 15:37:53 ---> Running in 1ee3076ebb7d 15:37:54 b4d181a07f80: Verifying Checksum 15:37:54 b4d181a07f80: Download complete 15:37:54 Removing intermediate container 1ee3076ebb7d 15:37:54 ---> 645ceb04dde8 15:37:54 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 15:37:54 ---> Running in bc3ec43691df 15:37:55 Removing intermediate container bc3ec43691df 15:37:55 ---> 4381b085dae0 15:37:55 Step 15/17 : LABEL arch=arm64 15:37:55 ---> Running in c05a8f748de5 15:37:55 Removing intermediate container c05a8f748de5 15:37:55 ---> c64a1bfcb734 15:37:55 Step 16/17 : LABEL git_sha=774d5920950d81e6c80b5877f48bca266cbec194 15:37:55 b4d181a07f80: Pull complete 15:37:55 a1111a8f2ec3: Pull complete 15:37:55 ---> Running in 0a637174a6e3 15:37:56 Removing intermediate container 0a637174a6e3 15:37:56 ---> f404765645ab 15:37:56 Step 17/17 : LABEL version=0.0.0 15:37:56 ed53099fbce6: Pull complete 15:37:56 dc539afda2c1: Pull complete 15:37:56 ---> Running in b0c2013fbd50 15:37:57 77bc0d833cb6: Pull complete 15:37:57 9065ff56babe: Pull complete 15:37:57 Removing intermediate container b0c2013fbd50 15:37:57 ---> cc32c61abf86 15:37:57 [Warning] One or more build-args [ARCH MAKE] were not consumed 15:37:57 Successfully built cc32c61abf86 15:37:57 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 15:37:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:37:58 d287ab97295c: Verifying Checksum 15:37:58 d287ab97295c: Download complete 15:37:58 15:37:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 15:37:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:37:59 arm64: Pulling from edgex-lftools-log-publisher 15:37:59 448f6bf000e3: Pulling fs layer 15:37:59 f757da607395: Pulling fs layer 15:37:59 05883995daec: Pulling fs layer 15:37:59 8603b9c90790: Pulling fs layer 15:37:59 1560dd03e051: Pulling fs layer 15:37:59 27f5ce0e4adf: Pulling fs layer 15:37:59 c2d8d7efcc4b: Pulling fs layer 15:37:59 1560dd03e051: Waiting 15:37:59 27f5ce0e4adf: Waiting 15:37:59 c2d8d7efcc4b: Waiting 15:37:59 8603b9c90790: Waiting 15:37:59 f757da607395: Verifying Checksum 15:37:59 f757da607395: Download complete 15:37:59 8603b9c90790: Verifying Checksum 15:37:59 8603b9c90790: Download complete 15:37:59 1560dd03e051: Verifying Checksum 15:37:59 1560dd03e051: Download complete 15:37:59 27f5ce0e4adf: Verifying Checksum 15:37:59 27f5ce0e4adf: Download complete 15:37:59 05883995daec: Verifying Checksum 15:37:59 05883995daec: Download complete 15:38:00 448f6bf000e3: Verifying Checksum 15:38:00 448f6bf000e3: Download complete 15:38:03 d287ab97295c: Pull complete 15:38:03 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 15:38:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:38:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 15:38:03 prd-centos7-docker-4c-2g-390 does not seem to be running inside a container 15:38:03 c2d8d7efcc4b: Verifying Checksum 15:38:03 c2d8d7efcc4b: Download complete 15:38:03 448f6bf000e3: Pull complete 15:38:03 $ 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 15:38:04 f757da607395: Pull complete 15:38:05 05883995daec: Pull complete 15:38:05 $ docker top 8fcaa451ec839438c92f8ada504afa9e995f44319ed9f870f61af5b15af39610 -eo pid,comm [Pipeline] { 15:38:06 8603b9c90790: Pull complete [Pipeline] libraryResource [Pipeline] sh 15:38:06 ---> job-cost.sh 15:38:06 lf-activate-venv: SKIPPING 15:38:06 INFO: No Stack... 15:38:07 1560dd03e051: Pull complete 15:38:07 27f5ce0e4adf: Pull complete 15:38:07 INFO: Retrieving Pricing Info for: v3-standard-2 15:38:07 INFO: Archiving Costs [Pipeline] sh 15:38:08 + cut -d, -f6 15:38:08 + cat /w/workspace/device-sdk-c/1/archives/cost.csv [Pipeline] lock 15:38:08 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-379-1-stack-cost] 15:38:08 Resource [jenkins-edgexfoundry-device-sdk-c-PR-379-1-stack-cost] did not exist. Created. 15:38:08 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-379-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:38:08 + echo total: 0.05999999865889549 [Pipeline] stash 15:38:09 Stashed 1 file(s) [Pipeline] } 15:38:09 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-379-1-stack-cost] [Pipeline] // lock [Pipeline] } 15:38:09 $ docker stop --time=1 8fcaa451ec839438c92f8ada504afa9e995f44319ed9f870f61af5b15af39610 15:38:10 $ docker rm -f 8fcaa451ec839438c92f8ada504afa9e995f44319ed9f870f61af5b15af39610 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 15:38:22 c2d8d7efcc4b: Pull complete 15:38:22 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 15:38:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:38:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 15:38:22 prd-ubuntu18.04-docker-arm64-4c-16g-389 does not seem to be running inside a container 15:38:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:38:28 $ docker top 31cd6ede6bf3e2e532057dcb3fee991b1c23da9bda308d38d5ac3dd57bd8c573 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:38:29 ---> job-cost.sh 15:38:29 lf-activate-venv: SKIPPING 15:38:29 INFO: No Stack... 15:38:30 INFO: Retrieving Pricing Info for: v3-standard-4 15:38:30 INFO: Archiving Costs [Pipeline] sh 15:38:31 + cat /w/workspace/device-sdk-c/1/archives/cost.csv 15:38:31 + cut -d, -f6 [Pipeline] lock 15:38:31 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-379-1-stack-cost] 15:38:31 Resource [jenkins-edgexfoundry-device-sdk-c-PR-379-1-stack-cost] did not exist. Created. 15:38:31 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-379-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:38:32 /w/workspace/device-sdk-c/1@tmp/durable-87042a98/script.sh: 1: /w/workspace/device-sdk-c/1@tmp/durable-87042a98/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 15:38:33 + echo total: 0.10999999940395355 [Pipeline] stash 15:38:33 Warning: overwriting stash ‘stack-cost’ 15:38:33 Stashed 1 file(s) [Pipeline] } 15:38:33 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-379-1-stack-cost] [Pipeline] // lock [Pipeline] } 15:38:33 $ docker stop --time=1 31cd6ede6bf3e2e532057dcb3fee991b1c23da9bda308d38d5ac3dd57bd8c573 15:38:35 $ docker rm -f 31cd6ede6bf3e2e532057dcb3fee991b1c23da9bda308d38d5ac3dd57bd8c573 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 15:38:38 + '[' -d /w/workspace/edgexfoundry_device-sdk-c_PR-379/archives ']' [Pipeline] libraryResource [Pipeline] sh 15:38:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:38:39 ---> package-listing.sh 15:38:39 ++ facter osfamily 15:38:39 ++ tr '[:upper:]' '[:lower:]' 15:38:39 + OS_FAMILY=redhat 15:38:39 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-379 15:38:39 + START_PACKAGES=/tmp/packages_start.txt 15:38:39 + END_PACKAGES=/tmp/packages_end.txt 15:38:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:38:39 + PACKAGES=/tmp/packages_start.txt 15:38:39 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-379 ']' 15:38:39 + PACKAGES=/tmp/packages_end.txt 15:38:39 + case "${OS_FAMILY}" in 15:38:39 + rpm -qa 15:38:39 + sort 15:38:39 + '[' -f /tmp/packages_start.txt ']' 15:38:39 + '[' -f /tmp/packages_end.txt ']' 15:38:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:38:39 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-379 ']' 15:38:39 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-379/archives/ 15:38:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-379/archives/ [Pipeline] echo 15:38:40 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-379/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:38:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 15:38:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:38:40 15:38:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 15:38:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:38:41 latest: Pulling from edgex-lftools-log-publisher 15:38:41 b4d181a07f80: Pulling fs layer 15:38:41 a1111a8f2ec3: Pulling fs layer 15:38:41 ed53099fbce6: Pulling fs layer 15:38:41 dc539afda2c1: Pulling fs layer 15:38:41 77bc0d833cb6: Pulling fs layer 15:38:41 9065ff56babe: Pulling fs layer 15:38:41 d287ab97295c: Pulling fs layer 15:38:41 dc539afda2c1: Waiting 15:38:41 77bc0d833cb6: Waiting 15:38:41 9065ff56babe: Waiting 15:38:41 d287ab97295c: Waiting 15:38:41 a1111a8f2ec3: Verifying Checksum 15:38:41 a1111a8f2ec3: Download complete 15:38:41 dc539afda2c1: Verifying Checksum 15:38:41 dc539afda2c1: Download complete 15:38:41 77bc0d833cb6: Verifying Checksum 15:38:41 77bc0d833cb6: Download complete 15:38:41 9065ff56babe: Verifying Checksum 15:38:41 9065ff56babe: Download complete 15:38:41 ed53099fbce6: Verifying Checksum 15:38:41 ed53099fbce6: Download complete 15:38:42 b4d181a07f80: Verifying Checksum 15:38:42 b4d181a07f80: Download complete 15:38:44 b4d181a07f80: Pull complete 15:38:44 a1111a8f2ec3: Pull complete 15:38:44 ed53099fbce6: Pull complete 15:38:45 dc539afda2c1: Pull complete 15:38:45 77bc0d833cb6: Pull complete 15:38:45 9065ff56babe: Pull complete 15:38:46 d287ab97295c: Verifying Checksum 15:38:46 d287ab97295c: Download complete 15:38:51 d287ab97295c: Pull complete 15:38:51 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 15:38:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:38:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 15:38:51 prd-centos7-docker-4c-2g-388 does not seem to be running inside a container 15:38:51 $ 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-379/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-379 -v /w/workspace/edgexfoundry_device-sdk-c_PR-379:/w/workspace/edgexfoundry_device-sdk-c_PR-379:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-379@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-379@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:38:53 $ docker top a57c9e194a4b546a76b87418be1717fe17e875c8453f48421913294f36e0620e -eo pid,comm [Pipeline] { [Pipeline] sh 15:38:54 + touch /tmp/pre-build-complete [Pipeline] sh 15:38:54 + mkdir -p /var/log/sysstat [Pipeline] sh 15:38:54 + ls /var/log/sa-host 15:38:54 + sadf -c /var/log/sa-host/sa01 15:38:54 file_magic: OK 15:38:54 HZ: Using current value: 100 15:38:54 file_header: OK 15:38:54 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 15:38:54 Statistics: 15:38:54 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 15:38:54 File successfully converted to sysstat format version 12.0.3 15:38:54 + sadf -c /var/log/sa-host/sa30 15:38:54 file_magic: OK 15:38:54 HZ: Using current value: 100 15:38:54 file_header: OK 15:38:54 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 15:38:54 Statistics: 15:38:54 Hnuu...uuuununununu...Hnuu...uuuununununu... 15:38:54 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:38:55 provisioning config files... 15:38:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-379@tmp/config5119066498129631971tmp [Pipeline] { [Pipeline] echo 15:38:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:38:55 ---> create-netrc.sh [Pipeline] } 15:38:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:38:56 ---> python-tools-install.sh [Pipeline] echo 15:38:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:38:56 ---> sudo-logs.sh 15:38:56 Archiving 'sudo' log.. 15:38:56 sudo: unable to resolve host prd-centos7-docker-4c-2g-388.vexxhost.local: Name or service not known 15:38:56 sudo: unable to resolve host prd-centos7-docker-4c-2g-388.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 15:38:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:38:57 ---> job-cost.sh 15:38:57 lf-activate-venv: SKIPPING 15:38:57 DEBUG: total: 0.10999999940395355 15:38:57 INFO: Retrieving Stack Cost... 15:38:57 INFO: Retrieving Pricing Info for: v3-standard-2 15:38:59 INFO: Archiving Costs [Pipeline] echo 15:38:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:38:59 ---> logs-deploy.sh 15:38:59 lf-activate-venv: SKIPPING 15:38:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-379/1 15:38:59 INFO: archiving workspace using pattern(s): 15:39:01 Archives upload complete. 15:39:01 INFO: archiving logs to Nexus 15:39:02 ---> uname -a: 15:39:02 Linux prd-centos7-docker-4c-2g-388.vexxhost.local 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 GNU/Linux 15:39:02 15:39:02 15:39:02 ---> lscpu: 15:39:02 Architecture: x86_64 15:39:02 CPU op-mode(s): 32-bit, 64-bit 15:39:02 Byte Order: Little Endian 15:39:02 Address sizes: 40 bits physical, 48 bits virtual 15:39:02 CPU(s): 2 15:39:02 On-line CPU(s) list: 0,1 15:39:02 Thread(s) per core: 1 15:39:02 Core(s) per socket: 1 15:39:02 Socket(s): 2 15:39:02 NUMA node(s): 1 15:39:02 Vendor ID: AuthenticAMD 15:39:02 CPU family: 23 15:39:02 Model: 49 15:39:02 Model name: AMD EPYC-Rome Processor 15:39:02 Stepping: 0 15:39:02 CPU MHz: 2799.998 15:39:02 BogoMIPS: 5599.99 15:39:02 Virtualization: AMD-V 15:39:02 Hypervisor vendor: KVM 15:39:02 Virtualization type: full 15:39:02 L1d cache: 32K 15:39:02 L1i cache: 32K 15:39:02 L2 cache: 512K 15:39:02 L3 cache: 16384K 15:39:02 NUMA node0 CPU(s): 0,1 15:39:02 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 15:39:02 15:39:02 15:39:02 ---> nproc: 15:39:02 2 15:39:02 15:39:02 15:39:02 ---> df -h: 15:39:02 Filesystem Size Used Avail Use% Mounted on 15:39:02 overlay 40G 7.7G 33G 20% / 15:39:02 tmpfs 64M 0 64M 0% /dev 15:39:02 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 15:39:02 shm 64M 0 64M 0% /dev/shm 15:39:02 /dev/vda1 40G 7.7G 33G 20% /facter-os 15:39:02 15:39:02 15:39:02 ---> sar -b -r -n DEV: 15:39:02 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/01/21 _x86_64_ (2 CPU) 15:39:02 15:39:02 15:30:14 LINUX RESTART (2 CPU) 15:39:02 15:39:02 15:31:01 tps rtps wtps bread/s bwrtn/s 15:39:02 15:32:01 17.95 0.83 17.12 335.32 2697.27 15:39:02 15:33:01 1.57 0.00 1.57 0.00 28.85 15:39:02 15:34:01 0.33 0.00 0.33 0.00 3.83 15:39:02 15:35:01 0.18 0.00 0.18 0.00 3.00 15:39:02 15:36:01 0.38 0.00 0.38 0.00 5.53 15:39:02 15:37:01 0.22 0.00 0.22 0.00 3.12 15:39:02 15:38:01 0.18 0.00 0.18 0.00 2.03 15:39:02 Average: 2.97 0.12 2.86 47.91 392.02 15:39:02 15:39:02 15:31:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 15:39:02 15:32:01 5677940 0 621304 7.76 2620 1707076 1206136 13.32 563836 1530452 16 15:39:02 15:33:01 5678136 0 621100 7.76 2620 1707084 1186848 13.10 563592 1530416 8 15:39:02 15:34:01 5676936 0 622300 7.77 2620 1707084 1186896 13.10 565088 1530568 8 15:39:02 15:35:01 5674740 0 624488 7.80 2620 1707092 1186968 13.10 567500 1530568 8 15:39:02 15:36:01 5679720 0 619504 7.74 2620 1707096 1165344 12.87 562236 1531456 20 15:39:02 15:37:01 5678880 0 620340 7.75 2620 1707100 1165476 12.87 562924 1531460 20 15:39:02 15:38:01 5678172 0 621044 7.75 2620 1707104 1165260 12.87 563620 1531480 20 15:39:02 Average: 5677789 0 621440 7.76 2620 1707091 1180418 13.03 564114 1530914 14 15:39:02 15:39:02 15:31:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 15:39:02 15:32:01 eth0 88.76 65.16 357.34 14.57 0.00 0.00 0.00 0.00 15:39:02 15:32:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:39:02 15:32:01 docker0 10.21 5.96 1.28 26.37 0.00 0.00 0.00 0.00 15:39:02 15:33:01 eth0 1.32 0.32 0.33 0.20 0.00 0.00 0.00 0.00 15:39:02 15:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:39:02 15:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:39:02 15:34:01 eth0 4.35 2.15 3.07 0.14 0.00 0.00 0.00 0.00 15:39:02 15:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:39:02 15:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:39:02 15:35:01 eth0 0.53 0.47 0.27 0.21 0.00 0.00 0.00 0.00 15:39:02 15:35:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:39:02 15:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:39:02 15:36:01 eth0 0.28 0.18 0.09 0.07 0.00 0.00 0.00 0.00 15:39:02 15:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:39:02 15:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:39:02 15:37:01 eth0 1.15 0.40 0.39 0.21 0.00 0.00 0.00 0.00 15:39:02 15:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:39:02 15:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:39:02 15:38:01 eth0 0.08 0.07 0.01 0.01 0.00 0.00 0.00 0.00 15:39:02 15:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:39:02 15:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:39:02 Average: eth0 13.78 9.82 51.65 2.20 0.00 0.00 0.00 0.00 15:39:02 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:39:02 Average: docker0 1.46 0.85 0.18 3.77 0.00 0.00 0.00 0.00 15:39:02 15:39:02 15:39:02 ---> sar -P ALL: 15:39:02 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/01/21 _x86_64_ (2 CPU) 15:39:02 15:39:02 15:30:14 LINUX RESTART (2 CPU) 15:39:02 15:39:02 15:31:01 CPU %user %nice %system %iowait %steal %idle 15:39:02 15:32:01 all 3.23 0.00 1.48 0.19 0.03 95.07 15:39:02 15:32:01 0 3.47 0.00 1.52 0.32 0.03 94.66 15:39:02 15:32:01 1 2.98 0.00 1.45 0.05 0.03 95.49 15:39:02 15:33:01 all 0.25 0.00 0.08 0.00 0.02 99.66 15:39:02 15:33:01 0 0.07 0.00 0.05 0.00 0.02 99.87 15:39:02 15:33:01 1 0.43 0.00 0.10 0.00 0.02 99.45 15:39:02 15:34:01 all 0.20 0.00 0.06 0.00 0.03 99.72 15:39:02 15:34:01 0 0.07 0.00 0.03 0.00 0.02 99.88 15:39:02 15:34:01 1 0.33 0.00 0.08 0.00 0.03 99.55 15:39:02 15:35:01 all 0.23 0.00 0.03 0.00 0.02 99.72 15:39:02 15:35:01 0 0.07 0.00 0.05 0.00 0.02 99.87 15:39:02 15:35:01 1 0.40 0.00 0.02 0.00 0.02 99.57 15:39:02 15:36:01 all 0.20 0.00 0.06 0.00 0.02 99.72 15:39:02 15:36:01 0 0.10 0.00 0.07 0.00 0.02 99.82 15:39:02 15:36:01 1 0.30 0.00 0.05 0.00 0.02 99.63 15:39:02 15:37:01 all 0.23 0.00 0.06 0.00 0.01 99.70 15:39:02 15:37:01 0 0.08 0.00 0.07 0.00 0.00 99.85 15:39:02 15:37:01 1 0.38 0.00 0.05 0.00 0.02 99.55 15:39:02 15:38:01 all 0.25 0.00 0.07 0.00 0.03 99.66 15:39:02 15:38:01 0 0.05 0.00 0.07 0.00 0.02 99.87 15:39:02 15:38:01 1 0.45 0.00 0.07 0.00 0.03 99.45 15:39:02 Average: all 0.65 0.00 0.26 0.03 0.02 99.04 15:39:02 Average: 0 0.55 0.00 0.26 0.05 0.02 99.12 15:39:02 Average: 1 0.75 0.00 0.26 0.01 0.02 98.96 15:39:02 15:39:02 15:39:02