Pull request #366 updated 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 d4028d067d9ed03c35e4d6b6c28f8e2560370e36+dd89ff4844bc3f2584e3c2e3ef6b18d4bd9e7c82 (5a2a1cbd2c84a85bb3356045ad63dc2ac7e08d87) Running in Durability level: PERFORMANCE_OPTIMIZED 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-ssh8939148151864322419.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-ssh5179506855136163658.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-366/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-366/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7148298042042993696.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 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-ssh3464342802711276029.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-366/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-366/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3438906160518170415.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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-258 in /w/workspace/edgexfoundry_device-sdk-c_PR-366 [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-366 # 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-366@tmp/jenkins-gitclient-ssh9031104576863172687.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit dd89ff4844bc3f2584e3c2e3ef6b18d4bd9e7c82 into PR head commit d4028d067d9ed03c35e4d6b6c28f8e2560370e36 Merge succeeded, producing d4028d067d9ed03c35e4d6b6c28f8e2560370e36 Checking out Revision d4028d067d9ed03c35e4d6b6c28f8e2560370e36 (PR-366) > 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-366@tmp/jenkins-gitclient-ssh7931933621458515958.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/366/head:refs/remotes/origin/PR-366 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d4028d067d9ed03c35e4d6b6c28f8e2560370e36 # 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-366@tmp/jenkins-gitclient-ssh3408392502652022093.key > git merge dd89ff4844bc3f2584e3c2e3ef6b18d4bd9e7c82 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d4028d067d9ed03c35e4d6b6c28f8e2560370e36 # timeout=10 Commit message: "docs: Add templates for new GitHub issues" First time build. Skipping changelog. > git rev-list --no-walk 7571422f61e39bbeda07ed0d921d34429a1d5460 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:55:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:55:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:55:56 ========================================================= 09:55:56 EdgeX Global Pipelines Version Info 09:55:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:55:57 ------------------- 09:55:57 stable info: 09:55:57 ------------------- 09:55:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:55:57 Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 09:55:57 Message: update stable to v1.0.206 09:55:58 ------------------- 09:55:58 experimental info: 09:55:58 ------------------- 09:55:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:55:58 Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 09:55:58 Message: update experimental to v1.0.206 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:55:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 09:55:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 09:55:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:55:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:55:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:55:58 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo 09:55:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 09:55:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 09:55:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:55:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:55:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 09:55:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:55:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:55:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:55:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 09:55:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:55:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:55:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:55:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-366 [Pipeline] echo 09:55:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-366 [Pipeline] echo 09:55:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-366 [Pipeline] echo 09:55:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d4028d067d9ed03c35e4d6b6c28f8e2560370e36 [Pipeline] echo 09:55:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d4028d0 [Pipeline] echo 09:55:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:55:59 provisioning config files... 09:55:59 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-366@tmp/config2468164700117958379tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:55:59 ---> docker-login.sh 09:55:59 nexus3.edgexfoundry.org:10001 09:55:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:55:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:55:59 Configure a credential helper to remove this warning. See 09:55:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:55:59 09:55:59 Login Succeeded 09:55:59 nexus3.edgexfoundry.org:10002 09:55:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:56:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:56:00 Configure a credential helper to remove this warning. See 09:56:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:56:00 09:56:00 Login Succeeded 09:56:00 nexus3.edgexfoundry.org:10003 09:56:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:56:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:56:00 Configure a credential helper to remove this warning. See 09:56:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:56:00 09:56:00 Login Succeeded 09:56:00 nexus3.edgexfoundry.org:10004 09:56:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:56:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:56:00 Configure a credential helper to remove this warning. See 09:56:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:56:00 09:56:00 Login Succeeded 09:56:00 docker.io 09:56:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:56:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:56:00 Configure a credential helper to remove this warning. See 09:56:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:56:00 09:56:00 Login Succeeded 09:56:00 ---> docker-login.sh ends [Pipeline] } 09:56:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 09:56:02 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:56:02 09:56:02 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:56:02 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:56:02 latest: Pulling from edgex-devops/git-semver 09:56:02 31603596830f: Pulling fs layer 09:56:02 04fac38145f0: Pulling fs layer 09:56:02 701f6daf10bf: Pulling fs layer 09:56:02 24f72da36158: Pulling fs layer 09:56:02 24f72da36158: Waiting 09:56:02 04fac38145f0: Download complete 09:56:02 31603596830f: Verifying Checksum 09:56:02 31603596830f: Download complete 09:56:02 24f72da36158: Verifying Checksum 09:56:02 24f72da36158: Download complete 09:56:02 31603596830f: Pull complete 09:56:02 701f6daf10bf: Verifying Checksum 09:56:02 701f6daf10bf: Download complete 09:56:02 04fac38145f0: Pull complete 09:56:03 701f6daf10bf: Pull complete 09:56:03 24f72da36158: Pull complete 09:56:03 Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 09:56:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:56:03 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:56:03 prd-centos7-docker-4c-2g-258 does not seem to be running inside a container 09:56:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-366 -v /w/workspace/edgexfoundry_device-sdk-c_PR-366:/w/workspace/edgexfoundry_device-sdk-c_PR-366:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-366@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-366@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:10004/edgex-devops/git-semver:latest cat 09:56:04 $ docker top d9f07216d70a71cd72e877b882eae72a16981e5e6ea2b5aa61ac258cef470e9e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:56:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:56:04 [ssh-agent] Looking for ssh-agent implementation... 09:56:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:56:05 $ docker exec d9f07216d70a71cd72e877b882eae72a16981e5e6ea2b5aa61ac258cef470e9e ssh-agent 09:56:05 SSH_AUTH_SOCK=/tmp/ssh-ez1hR1DkoKXJ/agent.13 09:56:05 SSH_AGENT_PID=19 09:56:05 Running ssh-add (command line suppressed) 09:56:05 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-366@tmp/private_key_4499316972317580464.key (/w/workspace/edgexfoundry_device-sdk-c_PR-366@tmp/private_key_4499316972317580464.key) 09:56:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:56:05 + git tag --points-at HEAD [Pipeline] } 09:56:05 $ docker exec --env ******** --env ******** d9f07216d70a71cd72e877b882eae72a16981e5e6ea2b5aa61ac258cef470e9e ssh-agent -k 09:56:05 unset SSH_AUTH_SOCK; 09:56:05 unset SSH_AGENT_PID; 09:56:05 echo Agent pid 19 killed; 09:56:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:56:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:56:05 [ssh-agent] Looking for ssh-agent implementation... 09:56:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:56:05 $ docker exec d9f07216d70a71cd72e877b882eae72a16981e5e6ea2b5aa61ac258cef470e9e ssh-agent 09:56:06 SSH_AUTH_SOCK=/tmp/ssh-mAfKw9InFdC5/agent.53 09:56:06 SSH_AGENT_PID=58 09:56:06 Running ssh-add (command line suppressed) 09:56:06 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-366@tmp/private_key_6508345425179040827.key (/w/workspace/edgexfoundry_device-sdk-c_PR-366@tmp/private_key_6508345425179040827.key) 09:56:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:56:06 + git semver init 09:56:06 # -> Open(): unable to determine branch for HEAD 09:56:06 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-366/.git 09:56:06 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-366 09:56:06 # $SEMVER_REMOTE_NAME = origin 09:56:06 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:56:06 # $SEMVER_USER_NAME = edgex-jenkins 09:56:06 # $SEMVER_BRANCH = PR-366 09:56:06 # $SEMVER_TEMP = /tmp/semver-697932561 09:56:06 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 09:56:07 # '/tmp/semver-697932561' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-366/.semver' 09:56:07 # -> Force: false 09:56:07 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-366/.semver [Pipeline] } 09:56:07 $ docker exec --env ******** --env ******** d9f07216d70a71cd72e877b882eae72a16981e5e6ea2b5aa61ac258cef470e9e ssh-agent -k 09:56:07 unset SSH_AUTH_SOCK; 09:56:07 unset SSH_AGENT_PID; 09:56:07 echo Agent pid 58 killed; 09:56:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:56:07 + git semver [Pipeline] } 09:56:07 $ docker stop --time=1 d9f07216d70a71cd72e877b882eae72a16981e5e6ea2b5aa61ac258cef470e9e 09:56:09 $ docker rm -f d9f07216d70a71cd72e877b882eae72a16981e5e6ea2b5aa61ac258cef470e9e [Pipeline] // withDockerContainer [Pipeline] sh 09:56:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:56:09 Stashed 1 file(s) [Pipeline] echo 09:56:09 [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 09:56:24 Still waiting to schedule task 09:56:24 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-258’ 09:56:24 Still waiting to schedule task 09:56:24 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 09:58:43 Running on prd-centos7-docker-4c-2g-260 in /w/workspace/edgexfoundry_device-sdk-c_PR-366 [Pipeline] { [Pipeline] ws 09:58:43 Running in /w/workspace/device-sdk-c/4 [Pipeline] { [Pipeline] checkout 09:58:43 Selected Git installation does not exist. Using Default 09:58:43 The recommended git tool is: NONE 09:58:44 Running on prd-ubuntu18.04-docker-arm64-4c-16g-259 in /w/workspace/edgexfoundry_device-sdk-c_PR-366 [Pipeline] { [Pipeline] ws 09:58:44 Running in /w/workspace/device-sdk-c/4 [Pipeline] { [Pipeline] checkout 09:58:44 Selected Git installation does not exist. Using Default 09:58:44 The recommended git tool is: NONE 09:58:45 using credential edgex-jenkins-ssh 09:58:46 Cloning the remote Git repository 09:58:46 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 09:58:46 > git init /w/workspace/device-sdk-c/4 # timeout=10 09:58:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 09:58:46 > git --version # timeout=10 09:58:46 > git --version # 'git version 2.24.4' 09:58:46 using GIT_SSH to set credentials SSH Credentials for GitHub 09:58:46 [INFO] Currently running in a labeled security context 09:58:46 [INFO] Currently SELinux is 'enforcing' on the host 09:58:46 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/4@tmp/jenkins-gitclient-ssh4438618036935444014.key 09:58:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:58:47 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 09:58:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:58:47 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 09:58:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 09:58:47 using GIT_SSH to set credentials SSH Credentials for GitHub 09:58:47 [INFO] Currently running in a labeled security context 09:58:47 [INFO] Currently SELinux is 'enforcing' on the host 09:58:47 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/4@tmp/jenkins-gitclient-ssh3912322678848484519.key 09:58:47 Merging remotes/origin/main commit dd89ff4844bc3f2584e3c2e3ef6b18d4bd9e7c82 into PR head commit d4028d067d9ed03c35e4d6b6c28f8e2560370e36 09:58:47 Merge succeeded, producing d4028d067d9ed03c35e4d6b6c28f8e2560370e36 09:58:47 Checking out Revision d4028d067d9ed03c35e4d6b6c28f8e2560370e36 (PR-366) 09:58:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/366/head:refs/remotes/origin/PR-366 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:58:47 > git config core.sparsecheckout # timeout=10 09:58:47 > git checkout -f d4028d067d9ed03c35e4d6b6c28f8e2560370e36 # timeout=10 09:58:47 > git remote # timeout=10 09:58:47 > git config --get remote.origin.url # timeout=10 09:58:47 using GIT_SSH to set credentials SSH Credentials for GitHub 09:58:47 [INFO] Currently running in a labeled security context 09:58:47 [INFO] Currently SELinux is 'enforcing' on the host 09:58:47 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/4@tmp/jenkins-gitclient-ssh7471824393080593552.key 09:58:47 > git merge dd89ff4844bc3f2584e3c2e3ef6b18d4bd9e7c82 # timeout=10 09:58:47 > git rev-parse HEAD^{commit} # timeout=10 09:58:47 > git config core.sparsecheckout # timeout=10 09:58:47 > git checkout -f d4028d067d9ed03c35e4d6b6c28f8e2560370e36 # timeout=10 09:58:50 using credential edgex-jenkins-ssh 09:58:50 Cloning the remote Git repository 09:58:50 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 09:58:50 > git init /w/workspace/device-sdk-c/4 # timeout=10 09:58:50 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 09:58:50 > git --version # timeout=10 09:58:50 > git --version # 'git version 2.17.1' 09:58:50 using GIT_SSH to set credentials SSH Credentials for GitHub 09:58:50 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:58:51 Commit message: "docs: Add templates for new GitHub issues" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:58:51 provisioning config files... 09:58:51 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/4@tmp/config2946682158637547322tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:58:52 ---> docker-login.sh 09:58:52 nexus3.edgexfoundry.org:10001 09:58:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:58:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:58:52 Configure a credential helper to remove this warning. See 09:58:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:58:52 09:58:52 Login Succeeded 09:58:52 nexus3.edgexfoundry.org:10002 09:58:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:58:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:58:52 Configure a credential helper to remove this warning. See 09:58:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:58:52 09:58:52 Login Succeeded 09:58:52 nexus3.edgexfoundry.org:10003 09:58:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:58:52 Merging remotes/origin/main commit dd89ff4844bc3f2584e3c2e3ef6b18d4bd9e7c82 into PR head commit d4028d067d9ed03c35e4d6b6c28f8e2560370e36 09:58:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:58:52 Configure a credential helper to remove this warning. See 09:58:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:58:52 09:58:52 Login Succeeded 09:58:52 nexus3.edgexfoundry.org:10004 09:58:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:58:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:58:52 Configure a credential helper to remove this warning. See 09:58:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:58:52 09:58:52 Login Succeeded 09:58:52 docker.io 09:58:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:58:53 Merge succeeded, producing d4028d067d9ed03c35e4d6b6c28f8e2560370e36 09:58:53 Checking out Revision d4028d067d9ed03c35e4d6b6c28f8e2560370e36 (PR-366) 09:58:51 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 09:58:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:58:52 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 09:58:52 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 09:58:52 using GIT_SSH to set credentials SSH Credentials for GitHub 09:58:52 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/366/head:refs/remotes/origin/PR-366 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:58:52 > git config core.sparsecheckout # timeout=10 09:58:52 > git checkout -f d4028d067d9ed03c35e4d6b6c28f8e2560370e36 # timeout=10 09:58:52 > git remote # timeout=10 09:58:52 > git config --get remote.origin.url # timeout=10 09:58:52 using GIT_SSH to set credentials SSH Credentials for GitHub 09:58:52 > git merge dd89ff4844bc3f2584e3c2e3ef6b18d4bd9e7c82 # timeout=10 09:58:52 > git rev-parse HEAD^{commit} # timeout=10 09:58:53 > git config core.sparsecheckout # timeout=10 09:58:53 > git checkout -f d4028d067d9ed03c35e4d6b6c28f8e2560370e36 # timeout=10 09:58:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:58:53 Configure a credential helper to remove this warning. See 09:58:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:58:53 09:58:53 Login Succeeded 09:58:53 ---> docker-login.sh ends [Pipeline] } 09:58:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:58:53 ========================================================= 09:58:53 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 09:58:53 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 09:58:54 + 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 . 09:58:54 Sending build context to Docker daemon 2.698MB 09:58:54 Step 1/25 : ARG BASE=alpine:3.14 09:58:54 Step 2/25 : FROM ${BASE} as builder 09:58:54 latest: Pulling from edgex-devops/edgex-gcc-base 09:58:54 339de151aab4: Pulling fs layer 09:58:54 3691962f683c: Pulling fs layer 09:58:54 e1147bf81a45: Pulling fs layer 09:58:54 3691962f683c: Verifying Checksum 09:58:54 3691962f683c: Download complete 09:58:54 339de151aab4: Verifying Checksum 09:58:54 339de151aab4: Download complete 09:58:54 339de151aab4: Pull complete 09:58:54 3691962f683c: Pull complete 09:58:57 Commit message: "docs: Add templates for new GitHub issues" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:58:57 provisioning config files... 09:58:57 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/4@tmp/config3958800918557496596tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:58:58 e1147bf81a45: Verifying Checksum 09:58:58 e1147bf81a45: Download complete 09:58:58 ---> docker-login.sh 09:58:58 nexus3.edgexfoundry.org:10001 09:58:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:59:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:59:00 Configure a credential helper to remove this warning. See 09:59:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:59:00 09:59:00 Login Succeeded 09:59:00 nexus3.edgexfoundry.org:10002 09:59:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:59:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:59:00 Configure a credential helper to remove this warning. See 09:59:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:59:00 09:59:00 Login Succeeded 09:59:00 nexus3.edgexfoundry.org:10003 09:59:00 e1147bf81a45: Pull complete 09:59:00 Digest: sha256:32c567f17180c4abff101a0d389449dec7f3f623a221c8a8ae98dcac9b0d9fee 09:59:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 09:59:00 ---> ac6a0feb3254 09:59: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 09:59:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:59:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:59:01 Configure a credential helper to remove this warning. See 09:59:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:59:01 09:59:01 Login Succeeded 09:59:01 nexus3.edgexfoundry.org:10004 09:59:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:59:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:59:01 Configure a credential helper to remove this warning. See 09:59:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:59:01 09:59:01 Login Succeeded 09:59:01 docker.io 09:59:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:59:02 ---> Running in cba2e75b76cf 09:59:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:59:02 Configure a credential helper to remove this warning. See 09:59:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:59:02 09:59:02 Login Succeeded 09:59:02 ---> docker-login.sh ends [Pipeline] } 09:59:02 Deleting 1 temporary files 09:59:02 Connecting to iotech.jfrog.io (54.229.110.245:443) [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 09:59:03 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 09:59:03 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 09:59:03 '/etc/apk/keys/alpine.dev.rsa.pub' saved 09:59:03 Removing intermediate container cba2e75b76cf 09:59:03 ---> 476b6a9cffc6 09:59:03 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 09:59:03 ---> Running in 72bb4693b038 [Pipeline] echo 09:59:03 ========================================================= 09:59:03 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 09:59:03 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 09:59:03 + 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 . 09:59:03 Removing intermediate container 72bb4693b038 09:59:03 ---> c7f651e89eff 09:59:03 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 09:59:03 ---> Running in 326d95bc1891 09:59:04 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:59:04 Sending build context to Docker daemon 2.697MB 09:59:04 Step 1/25 : ARG BASE=alpine:3.14 09:59:04 Step 2/25 : FROM ${BASE} as builder 09:59:04 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 09:59:04 d2f70382dc9a: Pulling fs layer 09:59:04 b08cc2eccb4b: Pulling fs layer 09:59:04 7b69db201801: Pulling fs layer 09:59:04 b08cc2eccb4b: Verifying Checksum 09:59:04 b08cc2eccb4b: Download complete 09:59:04 d2f70382dc9a: Download complete 09:59:05 d2f70382dc9a: Pull complete 09:59:05 b08cc2eccb4b: Pull complete 09:59:05 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:59:06 7b69db201801: Verifying Checksum 09:59:06 7b69db201801: Download complete 09:59:06 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz 09:59:07 WARNING: This apk-tools is OLD! Some packages might not function properly. 09:59:07 (1/22) Installing hiredis (0.14.1-r0) 09:59:07 (2/22) Installing hiredis-dev (0.14.1-r0) 09:59:08 (3/22) Installing ncurses-dev (6.2_p20200523-r0) 09:59:08 (4/22) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 09:59:09 (5/22) Installing libblkid (2.35.2-r0) 09:59:09 (6/22) Installing blkid (2.35.2-r0) 09:59:09 (7/22) Installing libcap-ng (0.7.10-r1) 09:59:09 (8/22) Installing setpriv (2.35.2-r0) 09:59:09 (9/22) Installing libmount (2.35.2-r0) 09:59:10 (10/22) Installing libsmartcols (2.35.2-r0) 09:59:10 (11/22) Installing findmnt (2.35.2-r0) 09:59:10 (12/22) Installing mcookie (2.35.2-r0) 09:59:10 (13/22) Installing hexdump (2.35.2-r0) 09:59:10 (14/22) Installing lsblk (2.35.2-r0) 09:59:10 (15/22) Installing libuuid (2.35.2-r0) 09:59:10 (16/22) Installing libfdisk (2.35.2-r0) 09:59:11 (17/22) Installing sfdisk (2.35.2-r0) 09:59:11 (18/22) Installing cfdisk (2.35.2-r0) 09:59:11 (19/22) Installing util-linux (2.35.2-r0) 09:59:13 (20/22) Installing util-linux-dev (2.35.2-r0) 09:59:14 (21/22) Installing libidn2 (2.3.0-r0) 09:59:14 (22/22) Installing wget (1.20.3-r1) 09:59:14 Executing busybox-1.31.1-r20.trigger 09:59:14 OK: 295 MiB in 97 packages 09:59:15 Removing intermediate container 326d95bc1891 09:59:15 ---> 537ef5ca574f 09:59:15 Step 6/25 : ENV CBOR_VERSION=0.5.0 09:59:15 ---> Running in 4dcfa1281e6c 09:59:15 7b69db201801: Pull complete 09:59:15 Digest: sha256:6402f0ff92f22f5db569dc2a94aef5717e50795d64082fb226716824a8b8ffba 09:59:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 09:59:15 ---> 759262b18b23 09:59:15 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 09:59:15 Removing intermediate container 4dcfa1281e6c 09:59:15 ---> 0f2699ba4fb2 09:59:15 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 09:59:15 ---> Running in 1bd3a06f1294 09:59:15 --2021-09-30 09:59:15-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 09:59:15 Resolving github.com (github.com)... 140.82.113.3 09:59:15 Connecting to github.com (github.com)|140.82.113.3|:443... connected. 09:59:15 HTTP request sent, awaiting response... 302 Found 09:59:15 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 09:59:15 --2021-09-30 09:59:15-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 09:59:15 Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 09:59:15 Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. 09:59:16 HTTP request sent, awaiting response... 200 OK 09:59:16 Length: unspecified [application/x-gzip] 09:59:16 Saving to: 'STDOUT' 09:59:16  09:59:16 0K .......... .......... .......... .......... .......... 1.04M 09:59:16 50K .......... .......... .......... .......... .......... 2.30M 09:59:16 100K .......... .......... .......... .......... .......... 22.5M 09:59:16 150K .......... .......... .......... .......... .......... 1.14M 09:59:16 200K .......... .......... .......... .......... .......... 19.1M 09:59:16 250K .......... .......... .......... .......... .......... 5.45M 09:59:16 300K .......... .......... .......... .......... .......... 7.90M 09:59:16 350K .......... .......... .......... .......... .......... 143M 09:59:16 400K .......... .......... .......... .......... .......... 9.72M 09:59:16 450K .......... .......... .......... .......... .......... 2.76M 09:59:16 500K .......... .......... .......... .......... .......... 278M 09:59:16 550K .......... .......... .......... .......... .......... 1.99M 09:59:16 600K .......... .......... .......... .......... .......... 3.62M 09:59:16 650K .......... .......... .......... .......... .......... 8.34M 09:59:16 ---> Running in bab36ecf73a9 09:59:18 Connecting to iotech.jfrog.io (54.72.115.12:443) 09:59:18 700K .. 66.2M=0.2s 09:59:18 09:59:18 2021-09-30 09:59:18 (3.46 MB/s) - written to stdout [719348] 09:59:18 09:59:18 -- The C compiler identification is GNU 9.3.0 09:59:18 -- The CXX compiler identification is GNU 9.3.0 09:59:18 -- Check for working C compiler: /usr/bin/cc 09:59:18 -- Check for working C compiler: /usr/bin/cc - works 09:59:18 -- Detecting C compiler ABI info 09:59:18 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 09:59:18 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 09:59:18 '/etc/apk/keys/alpine.dev.rsa.pub' saved 09:59:18 -- Detecting C compiler ABI info - done 09:59:18 -- Detecting C compile features 09:59:18 -- Detecting C compile features - done 09:59:18 -- Check for working CXX compiler: /usr/bin/c++ 09:59:18 -- Check for working CXX compiler: /usr/bin/c++ - works 09:59:18 -- Detecting CXX compiler ABI info 09:59:18 -- Detecting CXX compiler ABI info - done 09:59:18 -- Detecting CXX compile features 09:59:18 -- Detecting CXX compile features - done 09:59:18 -- Looking for include file endian.h 09:59:18 -- Looking for include file endian.h - found 09:59:18 -- Check if the system is big endian 09:59:18 -- Searching 16 bit integer 09:59:18 -- Looking for sys/types.h 09:59:18 -- Looking for sys/types.h - found 09:59:18 -- Looking for stdint.h 09:59:18 -- Looking for stdint.h - found 09:59:18 -- Looking for stddef.h 09:59:18 -- Looking for stddef.h - found 09:59:18 -- Check size of unsigned short 09:59:19 -- Check size of unsigned short - done 09:59:19 -- Searching 16 bit integer - Using unsigned short 09:59:19 -- Check if the system is big endian - little endian 09:59:19 -- Check size of size_t 09:59:19 -- Check size of size_t - done 09:59:19 CMake Warning at examples/CMakeLists.txt:16 (find_package): 09:59:19 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 09:59:19 asked CMake to find a package configuration file provided by "cJSON", but 09:59:19 CMake did not find one. 09:59:19 09:59:19 Could not find a package configuration file provided by "cJSON" with any of 09:59:19 the following names: 09:59:19 09:59:19 cJSONConfig.cmake 09:59:19 cjson-config.cmake 09:59:19 09:59:19 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 09:59:19 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 09:59:19 provides a separate development package or SDK, be sure it has been 09:59:19 installed. 09:59:19 09:59:19 09:59:19 -- Configuring done 09:59:19 -- Generating done 09:59:19 -- Build files have been written to: /tmp/cbor 09:59:19 Scanning dependencies of target cbor_shared 09:59:19 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 09:59:19 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 09:59:19 Removing intermediate container bab36ecf73a9 09:59:19 ---> f8155f88b256 09:59:19 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 09:59:19 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 09:59:19 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 09:59:19 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 09:59:19 ---> Running in 998ffa2a0d3d 09:59:20 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 09:59:20 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 09:59:20 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 09:59:20 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 09:59:20 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 09:59:20 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 09:59:20 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 09:59:20 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 09:59:20 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 09:59:20 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 09:59:20 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 09:59:20 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 09:59:20 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 09:59:20 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 09:59:20 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 09:59:20 [ 40%] Linking C shared library libcbor.so 09:59:20 [ 40%] Built target cbor_shared 09:59:20 Scanning dependencies of target cbor 09:59:20 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 09:59:21 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 09:59:21 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 09:59:21 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 09:59:21 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 09:59:21 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 09:59:21 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 09:59:21 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 09:59:21 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 09:59:21 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 09:59:21 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 09:59:21 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 09:59:21 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 09:59:22 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 09:59:22 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 09:59:22 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 09:59:22 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 09:59:22 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 09:59:22 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 09:59:22 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 09:59:22 [ 80%] Linking C static library libcbor.a 09:59:22 [ 80%] Built target cbor 09:59:22 Scanning dependencies of target sort 09:59:22 [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 09:59:22 Removing intermediate container 998ffa2a0d3d 09:59:22 ---> 05f021729e98 09:59:22 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 09:59:22 ---> Running in cf212df1ac69 09:59:22 [ 84%] Linking C executable sort 09:59:22 [ 84%] Built target sort 09:59:22 Scanning dependencies of target readfile 09:59:22 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 09:59:22 [ 88%] Linking C executable readfile 09:59:22 [ 88%] Built target readfile 09:59:22 Scanning dependencies of target streaming_parser 09:59:22 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 09:59:22 [ 92%] Linking C executable streaming_parser 09:59:22 [ 92%] Built target streaming_parser 09:59:22 Scanning dependencies of target hello 09:59:23 [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 09:59:23 [ 96%] Linking C executable hello 09:59:23 [ 96%] Built target hello 09:59:23 Scanning dependencies of target create_items 09:59:23 [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 09:59:23 [100%] Linking C executable create_items 09:59:23 [100%] Built target create_items 09:59:23 Install the project... 09:59:23 -- Install configuration: "Release" 09:59:23 -- Installing: /usr/local/include/cbor/configuration.h 09:59:23 -- Installing: /usr/local/lib64/libcbor.a 09:59:23 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 09:59:23 -- Installing: /usr/local/lib64/libcbor.so.0 09:59:23 -- Installing: /usr/local/lib64/libcbor.so 09:59:23 -- Up-to-date: /usr/local/include/cbor 09:59:23 -- Installing: /usr/local/include/cbor/arrays.h 09:59:23 -- Installing: /usr/local/include/cbor/bytestrings.h 09:59:23 -- Installing: /usr/local/include/cbor/callbacks.h 09:59:23 -- Installing: /usr/local/include/cbor/common.h 09:59:23 -- Installing: /usr/local/include/cbor/data.h 09:59:23 -- Installing: /usr/local/include/cbor/encoding.h 09:59:23 -- Installing: /usr/local/include/cbor/floats_ctrls.h 09:59:23 -- Installing: /usr/local/include/cbor/internal 09:59:23 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 09:59:23 -- Installing: /usr/local/include/cbor/internal/encoders.h 09:59:23 -- Installing: /usr/local/include/cbor/internal/loaders.h 09:59:23 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 09:59:23 -- Installing: /usr/local/include/cbor/internal/stack.h 09:59:23 -- Installing: /usr/local/include/cbor/internal/unicode.h 09:59:23 -- Installing: /usr/local/include/cbor/ints.h 09:59:23 -- Installing: /usr/local/include/cbor/maps.h 09:59:23 -- Installing: /usr/local/include/cbor/serialization.h 09:59:23 -- Installing: /usr/local/include/cbor/streaming.h 09:59:23 -- Installing: /usr/local/include/cbor/strings.h 09:59:23 -- Installing: /usr/local/include/cbor/tags.h 09:59:23 -- Installing: /usr/local/include/cbor.h 09:59:23 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 09:59:23 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:59:23 Removing intermediate container 1bd3a06f1294 09:59:23 ---> f2a83349b6eb 09:59:23 Step 8/25 : RUN mkdir /tmp/sdk 09:59:23 ---> Running in 4ed447dbe30e 09:59:24 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:59:24 Removing intermediate container 4ed447dbe30e 09:59:24 ---> fc6b0ac71b66 09:59:24 Step 9/25 : COPY VERSION /tmp/sdk 09:59:24 ---> d2fd20c86e35 09:59:24 Step 10/25 : COPY src /tmp/sdk/src 09:59:24 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz 09:59:24 ---> 069b7ac352db 09:59:24 Step 11/25 : COPY include /tmp/sdk/include 09:59:24 ---> effe219125fd 09:59:24 Step 12/25 : COPY scripts /tmp/sdk/scripts 09:59:25 ---> d1bd76449f56 09:59:25 Step 13/25 : COPY LICENSE /tmp/sdk 09:59:25 ---> 12a1f96b54a7 09:59:25 Step 14/25 : COPY Attribution.txt /tmp/sdk 09:59:25 ---> f474a25b5b2d 09:59:25 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 09:59:25 ---> Running in 91e4cc06fc94 09:59:25 WARNING: This apk-tools is OLD! Some packages might not function properly. 09:59:25 (1/22) Installing hiredis (0.14.1-r0) 09:59:25 (2/22) Installing hiredis-dev (0.14.1-r0) 09:59:25 (3/22) Installing ncurses-dev (6.2_p20200523-r0) 09:59:25 (4/22) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 09:59:26 + CPPCHECK=false 09:59:26 + DOCGEN=false 09:59:26 + TOMLVER=SDK-0.2 09:59:26 + CUTILVER=1.2.2 09:59:26 + '[' 0 -gt 0 ] 09:59:26 + readlink -f ./scripts/build.sh 09:59:26 + dirname /tmp/sdk/scripts/build.sh 09:59:26 + dirname /tmp/sdk/scripts 09:59:26 + ROOT=/tmp/sdk 09:59:26 + cd /tmp/sdk 09:59:26 + '[' '!' -d deps ] 09:59:26 + mkdir deps 09:59:26 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 09:59:26 + tar -C deps -z -x -f - 09:59:26 --2021-09-30 09:59:25-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 09:59:26 Resolving github.com (github.com)... 140.82.113.3 09:59:26 Connecting to github.com (github.com)|140.82.113.3|:443... connected. 09:59:26 HTTP request sent, awaiting response... 302 Found 09:59:26 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 09:59:26 --2021-09-30 09:59:26-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 09:59:26 Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 09:59:26 Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. 09:59:26 HTTP request sent, awaiting response... 200 OK 09:59:26 Length: unspecified [application/x-gzip] 09:59:26 Saving to: 'STDOUT' 09:59:26 09:59:26 0K .......... ...... 739K=0.02s 09:59:26 09:59:26 2021-09-30 09:59:26 (739 KB/s) - written to stdout [16451] 09:59:26 09:59:26 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 09:59:26 + tar -C deps -z -x -f+ - 09:59:26 wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 09:59:26 --2021-09-30 09:59:26-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 09:59:26 Resolving github.com (github.com)... 140.82.113.3 09:59:26 Connecting to github.com (github.com)|140.82.113.3|:443... connected. 09:59:26 HTTP request sent, awaiting response... 302 Found 09:59:26 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] 09:59:26 --2021-09-30 09:59:26-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 09:59:26 Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 09:59:26 Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. 09:59:26 HTTP request sent, awaiting response... 200 OK 09:59:26 Length: unspecified [application/x-gzip] 09:59:26 Saving to: 'STDOUT' 09:59:26  09:59:26 0K .......... .......... .......... .......... .......... 1.09M 09:59:26 50K .......... .......... .......... .......... .......... 2.33M 09:59:26 100K .......... .......... .......... .......... .......... 20.4M 09:59:26 150K .......... .......... .......... ......... 9.42M=0.07s 09:59:26 09:59:26 2021-09-30 09:59:26 (2.56 MB/s) - written to stdout [193971] 09:59:26 09:59:26 + mkdir -p src/c/iot 09:59:26 + 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 09:59:26 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 09:59:26 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 09:59:26 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 09:59:26 + mkdir -p include/iot 09:59:26 + 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 09:59:26 + mkdir -p include/iot/os 09:59:26 + 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 09:59:26 + mkdir -p /tmp/sdk/build/release 09:59:26 + cd /tmp/sdk/build/release 09:59:26 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 09:59:26 (5/22) Installing libblkid (2.35.2-r0) 09:59:26 (6/22) Installing blkid (2.35.2-r0) 09:59:27 -- The C compiler identification is GNU 9.3.0 09:59:27 -- Check for working C compiler: /usr/bin/cc 09:59:27 -- Check for working C compiler: /usr/bin/cc - works 09:59:27 -- Detecting C compiler ABI info 09:59:27 -- Detecting C compiler ABI info - done 09:59:27 -- Detecting C compile features 09:59:27 -- Detecting C compile features - done 09:59:27 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 09:59:27 -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") 09:59:27 -- Found LIBYAML: /usr/lib/libyaml.so 09:59:27 -- Found LIBUUID: /usr/lib/libuuid.so 09:59:27 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 09:59:27 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 09:59:27 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 09:59:27 -- C SDK 0.0.0 for Linux 09:59:27 -- Performing Test CSDK_HAVE_ATOMIC 09:59:27 (7/22) Installing libcap-ng (0.7.10-r1) 09:59:27 (8/22) Installing setpriv (2.35.2-r0) 09:59:27 (9/22) Installing libmount (2.35.2-r0) 09:59:27 -- Performing Test CSDK_HAVE_ATOMIC - Success 09:59:27 -- Found Curses: /usr/lib/libcurses.so 09:59:27 -- Configuring done 09:59:27 -- Generating done 09:59:27 -- Build files have been written to: /tmp/sdk/build/release 09:59:27 + make all package 09:59:27 + tee release.log 09:59:27 Scanning dependencies of target csdk 09:59:27 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 09:59:27 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 09:59:27 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 09:59:27 (10/22) Installing libsmartcols (2.35.2-r0) 09:59:27 (11/22) Installing findmnt (2.35.2-r0) 09:59:27 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 09:59:28 (12/22) Installing mcookie (2.35.2-r0) 09:59:28 (13/22) Installing hexdump (2.35.2-r0) 09:59:28 (14/22) Installing lsblk (2.35.2-r0) 09:59:28 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 09:59:28 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 09:59:28 (15/22) Installing libuuid (2.35.2-r0) 09:59:28 (16/22) Installing libfdisk (2.35.2-r0) 09:59:28 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 09:59:28 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 09:59:28 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 09:59:28 (17/22) Installing sfdisk (2.35.2-r0) 09:59:28 (18/22) Installing cfdisk (2.35.2-r0) 09:59:28 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 09:59:28 (19/22) Installing util-linux (2.35.2-r0) 09:59:29 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 09:59:29 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 09:59:29 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 09:59:29 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 09:59:29 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 09:59:29 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 09:59:29 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 09:59:29 (20/22) Installing util-linux-dev (2.35.2-r0) 09:59:30 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 09:59:30 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 09:59:30 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 09:59:30 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 09:59:30 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 09:59:30 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 09:59:30 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 09:59:30 275 | const iot_component_factory_t * factory; 09:59:30 | ^~~~~~~ 09:59:30 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 09:59:30 (21/22) Installing libidn2 (2.3.0-r0) 09:59:30 (22/22) Installing wget (1.20.3-r1) 09:59:31 Executing busybox-1.31.1-r20.trigger 09:59:31 OK: 276 MiB in 97 packages 09:59:31 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 09:59:31 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 09:59:31 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 09:59:31 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 09:59:31 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 09:59:31 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 09:59:31 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 09:59:31 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 09:59:32 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 09:59:32 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 09:59:32 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 09:59:32 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 09:59:32 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 09:59:32 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 09:59:32 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 09:59:33 Removing intermediate container cf212df1ac69 09:59:33 ---> 98ad853effe5 09:59:33 Step 6/25 : ENV CBOR_VERSION=0.5.0 09:59:33 ---> Running in dd688e7218a9 09:59:33 Removing intermediate container dd688e7218a9 09:59:33 ---> a2a0c29b69d2 09:59:33 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 09:59:33 ---> Running in 2a6f85507e40 09:59:33 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 09:59:33 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 09:59:33 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 09:59:34 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 09:59:34 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 09:59:34 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 09:59:34 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 09:59:34 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 09:59:34 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 09:59:35 --2021-09-30 09:59:34-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 09:59:35 Resolving github.com (github.com)... 140.82.113.3 09:59:35 Connecting to github.com (github.com)|140.82.113.3|:443... connected. 09:59:35 HTTP request sent, awaiting response... 302 Found 09:59:35 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 09:59:35 --2021-09-30 09:59:34-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 09:59:35 Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 09:59:35 Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. 09:59:35 HTTP request sent, awaiting response... 200 OK 09:59:35 Length: unspecified [application/x-gzip] 09:59:35 Saving to: 'STDOUT' 09:59:35  09:59:35 0K .......... .......... .......... .......... .......... 1.17M 09:59:35 50K .......... .......... .......... .......... .......... 2.25M 09:59:35 100K .......... .......... .......... .......... .......... 11.9M 09:59:35 150K .......... .......... .......... .......... .......... 3.01M 09:59:35 200K .......... .......... .......... .......... .......... 13.0M 09:59:35 250K .......... .......... .......... .......... .......... 3.53M 09:59:35 300K .......... .......... .......... .......... .......... 4.44M 09:59:35 350K .......... .......... .......... .......... .......... 5.84M 09:59:35 400K .......... .......... .......... .......... .......... 3.07M 09:59:35 450K .......... .......... .......... .......... .......... 6.96M 09:59:35 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 09:59:35 500K .......... .......... .......... .......... .......... 3.20M 09:59:35 550K .......... .......... .......... .......... .......... 7.27M 09:59:35 600K .......... .......... .......... .......... .......... 862K 09:59:35 650K .......... .......... .......... .......... .......... 1.57M 09:59:35 700K ..  3.67M=0.3s 09:59:35 09:59:35 2021-09-30 09:59:35 (2.69 MB/s) - written to stdout [719348] 09:59:35 09:59:35 -- The C compiler identification is GNU 9.3.0 09:59:35 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 09:59:35 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 09:59:35 [ 76%] Linking C shared library libcsdk.so 09:59:35 [ 76%] Built target csdk 09:59:35 Scanning dependencies of target template 09:59:35 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 09:59:35 -- The CXX compiler identification is GNU 9.3.0 09:59:35 -- Check for working C compiler: /usr/bin/cc 09:59:35 [ 79%] Linking C executable template 09:59:35 [ 79%] Built target template 09:59:35 Scanning dependencies of target device-counter 09:59:35 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 09:59:36 -- Check for working C compiler: /usr/bin/cc - works 09:59:36 -- Detecting C compiler ABI info 09:59:36 [ 82%] Linking C executable device-counter 09:59:36 [ 82%] Built target device-counter 09:59:36 Scanning dependencies of target device-random 09:59:36 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 09:59:36 [ 85%] Linking C executable device-random 09:59:36 [ 85%] Built target device-random 09:59:36 Scanning dependencies of target device-gyro 09:59:36 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 09:59:36 -- Detecting C compiler ABI info - done 09:59:36 -- Detecting C compile features 09:59:36 -- Detecting C compile features - done 09:59:36 -- Check for working CXX compiler: /usr/bin/c++ 09:59:36 [ 88%] Linking C executable device-gyro 09:59:36 [ 88%] Built target device-gyro 09:59:36 Scanning dependencies of target device-bitfields 09:59:36 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 09:59:36 [ 91%] Linking C executable device-bitfields 09:59:36 [ 91%] Built target device-bitfields 09:59:36 Scanning dependencies of target template-discovery 09:59:36 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 09:59:36 -- Check for working CXX compiler: /usr/bin/c++ - works 09:59:36 -- Detecting CXX compiler ABI info 09:59:36 [ 94%] Linking C executable template-discovery 09:59:36 [ 94%] Built target template-discovery 09:59:36 Scanning dependencies of target device-file 09:59:36 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 09:59:37 -- Detecting CXX compiler ABI info - done 09:59:37 -- Detecting CXX compile features 09:59:37 -- Detecting CXX compile features - done 09:59:37 -- Looking for include file endian.h 09:59:37 [ 97%] Linking C executable device-file 09:59:37 [ 97%] Built target device-file 09:59:37 Scanning dependencies of target device-terminal 09:59:37 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 09:59:37 [100%] Linking C executable device-terminal 09:59:37 [100%] Built target device-terminal 09:59:37 Run CPack packaging tool... 09:59:37 -- Looking for include file endian.h - found 09:59:37 -- Check if the system is big endian 09:59:37 -- Searching 16 bit integer 09:59:37 -- Looking for sys/types.h 09:59:37 CPack: Create package using TGZ 09:59:37 CPack: Install projects 09:59:37 CPack: - Run preinstall target for: Csdk 09:59:37 CPack: - Install project: Csdk [] 09:59:37 CPack: Create package 09:59:37 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 09:59:37 + '[' false '=' true ] 09:59:37 + '[' false '=' true ] 09:59:37 + mkdir -p /tmp/sdk/build/debug 09:59:37 + cd /tmp/sdk/build/debug 09:59:37 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 09:59:37 -- Looking for sys/types.h - found 09:59:37 -- Looking for stdint.h 09:59:37 -- The C compiler identification is GNU 9.3.0 09:59:37 -- Check for working C compiler: /usr/bin/cc 09:59:37 -- Check for working C compiler: /usr/bin/cc - works 09:59:37 -- Detecting C compiler ABI info 09:59:37 -- Detecting C compiler ABI info - done 09:59:37 -- Detecting C compile features 09:59:37 -- Detecting C compile features - done 09:59:37 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 09:59:37 -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") 09:59:37 -- Found LIBYAML: /usr/lib/libyaml.so 09:59:37 -- Found LIBUUID: /usr/lib/libuuid.so 09:59:37 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 09:59:37 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 09:59:37 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 09:59:37 -- C SDK 0.0.0 for Linux 09:59:37 -- Performing Test CSDK_HAVE_ATOMIC 09:59:37 -- Looking for stdint.h - found 09:59:37 -- Looking for stddef.h 09:59:37 -- Performing Test CSDK_HAVE_ATOMIC - Success 09:59:37 -- Found Curses: /usr/lib/libcurses.so 09:59:37 -- Configuring done 09:59:37 -- Generating done 09:59:37 -- Build files have been written to: /tmp/sdk/build/debug 09:59:37 + make 09:59:37 + tee debug.log 09:59:37 Scanning dependencies of target csdk 09:59:37 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 09:59:37 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 09:59:38 -- Looking for stddef.h - found 09:59:38 -- Check size of unsigned short 09:59:38 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 09:59:38 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 09:59:38 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 09:59:38 -- Check size of unsigned short - done 09:59:38 -- Searching 16 bit integer - Using unsigned short 09:59:38 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 09:59:38 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 09:59:38 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 09:59:38 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 09:59:38 -- Check if the system is big endian - little endian 09:59:38 -- Check size of size_t 09:59:38 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 09:59:38 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 09:59:38 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 09:59:38 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 09:59:38 -- Check size of size_t - done 09:59:38 CMake Warning at examples/CMakeLists.txt:16 (find_package): 09:59:38 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 09:59:38 asked CMake to find a package configuration file provided by "cJSON", but 09:59:38 CMake did not find one. 09:59:38 09:59:38 Could not find a package configuration file provided by "cJSON" with any of 09:59:38 the following names: 09:59:38 09:59:38 cJSONConfig.cmake 09:59:38 cjson-config.cmake 09:59:38 09:59:38 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 09:59:38 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 09:59:38 provides a separate development package or SDK, be sure it has been 09:59:38 installed. 09:59:38 09:59:38 09:59:38 -- Configuring done 09:59:38 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 09:59:38 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 09:59:38 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 09:59:38 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 09:59:39 -- Generating done 09:59:39 -- Build files have been written to: /tmp/cbor 09:59:39 Scanning dependencies of target cbor_shared 09:59:39 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 09:59:39 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 09:59:39 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 09:59:39 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 09:59:39 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 09:59:39 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 09:59:39 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 09:59:39 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 09:59:39 275 | const iot_component_factory_t * factory; 09:59:39 | ^~~~~~~ 09:59:39 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 09:59:39 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 09:59:39 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 09:59:39 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 09:59:39 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 09:59:40 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 09:59:40 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 09:59:40 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 09:59:40 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 09:59:40 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 09:59:40 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 09:59:40 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 09:59:40 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 09:59:40 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 09:59:40 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 09:59:40 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 09:59:40 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 09:59:40 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 09:59:40 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 09:59:40 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 09:59:40 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 09:59:40 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 09:59:41 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 09:59:41 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 09:59:41 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 09:59:41 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 09:59:41 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 09:59:41 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 09:59:41 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 09:59:41 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 09:59:41 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 09:59:41 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 09:59:41 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 09:59:41 [ 76%] Linking C shared library libcsdk.so 09:59:41 [ 76%] Built target csdk 09:59:41 Scanning dependencies of target template 09:59:41 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 09:59:41 [ 79%] Linking C executable template 09:59:41 [ 79%] Built target template 09:59:41 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 09:59:42 Scanning dependencies of target device-counter 09:59:42 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 09:59:42 [ 82%] Linking C executable device-counter 09:59:42 [ 82%] Built target device-counter 09:59:42 Scanning dependencies of target device-random 09:59:42 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 09:59:42 [ 85%] Linking C executable device-random 09:59:42 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 09:59:42 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 09:59:42 [ 85%] Built target device-random 09:59:42 Scanning dependencies of target device-gyro 09:59:42 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 09:59:42 [ 88%] Linking C executable device-gyro 09:59:42 [ 88%] Built target device-gyro 09:59:42 Scanning dependencies of target device-bitfields 09:59:42 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 09:59:42 [ 91%] Linking C executable device-bitfields 09:59:42 [ 91%] Built target device-bitfields 09:59:42 Scanning dependencies of target template-discovery 09:59:42 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 09:59:42 [ 94%] Linking C executable template-discovery 09:59:42 [ 94%] Built target template-discovery 09:59:42 Scanning dependencies of target device-file 09:59:42 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 09:59:42 [ 97%] Linking C executable device-file 09:59:42 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 09:59:42 [ 97%] Built target device-file 09:59:42 Scanning dependencies of target device-terminal 09:59:42 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 09:59:42 [100%] Linking C executable device-terminal 09:59:42 [100%] Built target device-terminal 09:59:42 make: Entering directory '/tmp/sdk/build/release' 09:59:42 make[1]: Entering directory '/tmp/sdk/build/release' 09:59:43 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 09:59:43 make[2]: Entering directory '/tmp/sdk/build/release' 09:59:43 make[2]: Leaving directory '/tmp/sdk/build/release' 09:59:43 [ 76%] Built target csdk 09:59:43 make[2]: Entering directory '/tmp/sdk/build/release' 09:59:43 make[2]: Leaving directory '/tmp/sdk/build/release' 09:59:43 [ 79%] Built target template 09:59:43 make[2]: Entering directory '/tmp/sdk/build/release' 09:59:43 make[2]: Leaving directory '/tmp/sdk/build/release' 09:59:43 [ 82%] Built target device-counter 09:59:43 make[2]: Entering directory '/tmp/sdk/build/release' 09:59:43 make[2]: Leaving directory '/tmp/sdk/build/release' 09:59:43 [ 85%] Built target device-random 09:59:43 make[2]: Entering directory '/tmp/sdk/build/release' 09:59:43 make[2]: Leaving directory '/tmp/sdk/build/release' 09:59:43 [ 88%] Built target device-gyro 09:59:43 make[2]: Entering directory '/tmp/sdk/build/release' 09:59:43 make[2]: Leaving directory '/tmp/sdk/build/release' 09:59:43 [ 91%] Built target device-bitfields 09:59:43 make[2]: Entering directory '/tmp/sdk/build/release' 09:59:43 make[2]: Leaving directory '/tmp/sdk/build/release' 09:59:43 [ 94%] Built target template-discovery 09:59:43 make[2]: Entering directory '/tmp/sdk/build/release' 09:59:43 make[2]: Leaving directory '/tmp/sdk/build/release' 09:59:43 [ 97%] Built target device-file 09:59:43 make[2]: Entering directory '/tmp/sdk/build/release' 09:59:43 make[2]: Leaving directory '/tmp/sdk/build/release' 09:59:43 [100%] Built target device-terminal 09:59:43 make[1]: Leaving directory '/tmp/sdk/build/release' 09:59:43 Install the project... 09:59:43 -- Install configuration: "Release" 09:59:43 -- Installing: /usr/local/lib/libcsdk.so 09:59:43 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 09:59:43 -- Up-to-date: /usr/local/include 09:59:43 -- Installing: /usr/local/include/devsdk 09:59:43 -- Installing: /usr/local/include/devsdk/devsdk-base.h 09:59:43 -- Installing: /usr/local/include/devsdk/devsdk.h 09:59:43 -- Installing: /usr/local/include/edgex 09:59:43 -- Installing: /usr/local/include/edgex/devices.h 09:59:43 -- Installing: /usr/local/include/edgex/edgex-base.h 09:59:43 -- Installing: /usr/local/include/edgex/edgex.h 09:59:43 -- Installing: /usr/local/include/edgex/profiles.h 09:59:43 -- Installing: /usr/local/include/edgex/rest-server.h 09:59:43 -- Installing: /usr/local/include/edgex/csdk-defs.h 09:59:43 -- Installing: /usr/local/include/iot 09:59:43 -- Installing: /usr/local/include/iot/base64.h 09:59:43 -- Installing: /usr/local/include/iot/component.h 09:59:43 -- Installing: /usr/local/include/iot/config.h 09:59:43 -- Installing: /usr/local/include/iot/container.h 09:59:43 -- Installing: /usr/local/include/iot/data.h 09:59:43 -- Installing: /usr/local/include/iot/hash.h 09:59:43 -- Installing: /usr/local/include/iot/iot.h 09:59:43 -- Installing: /usr/local/include/iot/json.h 09:59:43 -- Installing: /usr/local/include/iot/logger.h 09:59:43 -- Installing: /usr/local/include/iot/os.h 09:59:43 -- Installing: /usr/local/include/iot/scheduler.h 09:59:43 -- Installing: /usr/local/include/iot/thread.h 09:59:43 -- Installing: /usr/local/include/iot/threadpool.h 09:59:43 -- Installing: /usr/local/include/iot/time.h 09:59:43 -- Installing: /usr/local/include/iot/typecode.h 09:59:43 -- Installing: /usr/local/include/iot/uuid.h 09:59:43 -- Installing: /usr/local/include/iot/os 09:59:43 -- Installing: /usr/local/include/iot/os/linux.h 09:59:43 -- Installing: /usr/local/include/iot/os/macos.h 09:59:43 -- Installing: /usr/local/include/iot/os/zephyr.h 09:59:43 -- Installing: /usr/local/include/iot/defs.h 09:59:43 -- Installing: /usr/local/share/device-sdk-c/LICENSE 09:59:43 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 09:59:43 make: Leaving directory '/tmp/sdk/build/release' 09:59:43 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 09:59:43 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 09:59:44 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 09:59:44 Removing intermediate container 91e4cc06fc94 09:59:44 ---> a2dc3092e8de 09:59:44 Step 16/25 : FROM ${BASE} 09:59:44 ---> ac6a0feb3254 09:59:44 Step 17/25 : LABEL maintainer="IOTech " 09:59:44 ---> Running in d401f9f0c71d 09:59:44 Removing intermediate container d401f9f0c71d 09:59:44 ---> 5555a800a0d9 09:59:44 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 09:59:44 ---> Running in 0dc429628366 09:59:44 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 09:59:44 Connecting to iotech.jfrog.io (54.72.115.12:443) 09:59:44 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 09:59:45 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 09:59:45 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 09:59:45 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 09:59:45 '/etc/apk/keys/alpine.dev.rsa.pub' saved 09:59:45 Removing intermediate container 0dc429628366 09:59:45 ---> 382054bb151c 09:59:45 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 09:59:45 ---> Running in c97de90bd98d 09:59:45 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 09:59:45 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 09:59:45 Removing intermediate container c97de90bd98d 09:59:45 ---> 8f3d25b06459 09:59:45 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 09:59:45 ---> Running in a4a91b477f49 09:59:45 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 09:59:45 [ 40%] Linking C shared library libcbor.so 09:59:45 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:59:46 [ 40%] Built target cbor_shared 09:59:46 Scanning dependencies of target cbor 09:59:46 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 09:59:46 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:59:47 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 09:59:47 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz 09:59:47 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 09:59:47 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 09:59:47 WARNING: This apk-tools is OLD! Some packages might not function properly. 09:59:47 (1/7) Installing curl (7.79.1-r0) 09:59:48 (2/7) Installing hiredis (0.14.1-r0) 09:59:48 (3/7) Installing hiredis-dev (0.14.1-r0) 09:59:48 (4/7) Installing libuuid (2.35.2-r0) 09:59:48 (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 09:59:48 (6/7) Installing libidn2 (2.3.0-r0) 09:59:49 (7/7) Installing wget (1.20.3-r1) 09:59:49 Executing busybox-1.31.1-r20.trigger 09:59:49 OK: 286 MiB in 82 packages 09:59:49 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 09:59:49 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 09:59:49 Removing intermediate container a4a91b477f49 09:59:49 ---> 4f8023a0f4da 09:59:49 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 09:59:49 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 09:59:49 ---> 7ba81d7110de 09:59:49 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 09:59:50 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 09:59:50 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 09:59:50 ---> c0879e2e3130 09:59:50 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 09:59:50 ---> 2aa0d9e55c16 09:59:50 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 09:59:50 ---> b9aa03393a71 09:59:50 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 09:59:50 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 09:59:51 ---> dd5560232932 09:59:51 Successfully built dd5560232932 09:59:51 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 09:59:51 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 09:59:51 + docker inspect -f . ci-base-image-x86_64 09:59:51 . [Pipeline] withDockerContainer 09:59:51 prd-centos7-docker-4c-2g-260 does not seem to be running inside a container 09:59:51 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 09:59:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/4 -v /w/workspace/device-sdk-c/4:/w/workspace/device-sdk-c/4:rw,z -v /w/workspace/device-sdk-c/4@tmp:/w/workspace/device-sdk-c/4@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:59:52 $ docker top 46ed2216eee4a2500462cbd0be5ca35687d1dee3815e786bae3797a431a82b6e -eo pid,comm [Pipeline] { [Pipeline] sh 09:59:52 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 09:59:52 + make test 09:59:52 echo "make test" 09:59:52 make test 09:59:52 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o [Pipeline] } 09:59:52 $ docker stop --time=1 46ed2216eee4a2500462cbd0be5ca35687d1dee3815e786bae3797a431a82b6e 09:59:52 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 09:59:53 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 09:59:53 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 09:59:53 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 09:59:53 $ docker rm -f 46ed2216eee4a2500462cbd0be5ca35687d1dee3815e786bae3797a431a82b6e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } 09:59:53 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 09:59:54 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 09:59:54 [ 80%] Linking C static library libcbor.a 09:59:54 [ 80%] Built target cbor 09:59:54 Scanning dependencies of target sort 09:59:54 [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 09:59:54 [ 84%] Linking C executable sort 09:59:54 [ 84%] Built target sort 09:59:54 Scanning dependencies of target readfile 09:59:54 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 09:59:54 [ 88%] Linking C executable readfile 09:59:55 [ 88%] Built target readfile 09:59:55 Scanning dependencies of target streaming_parser 09:59:55 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 09:59:55 [ 92%] Linking C executable streaming_parser 09:59:55 [ 92%] Built target streaming_parser 09:59:55 Scanning dependencies of target hello 09:59:55 [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 09:59:55 [ 96%] Linking C executable hello 09:59:55 [ 96%] Built target hello 09:59:55 Scanning dependencies of target create_items 09:59:55 [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 09:59:56 [100%] Linking C executable create_items 09:59:56 [100%] Built target create_items 09:59:56 Install the project... 09:59:56 -- Install configuration: "Release" 09:59:56 -- Installing: /usr/local/include/cbor/configuration.h 09:59:56 -- Installing: /usr/local/lib64/libcbor.a 09:59:56 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 09:59:56 -- Installing: /usr/local/lib64/libcbor.so.0 09:59:56 -- Installing: /usr/local/lib64/libcbor.so 09:59:56 -- Up-to-date: /usr/local/include/cbor 09:59:56 -- Installing: /usr/local/include/cbor/streaming.h 09:59:56 -- Installing: /usr/local/include/cbor/ints.h 09:59:56 -- Installing: /usr/local/include/cbor/floats_ctrls.h 09:59:56 -- Installing: /usr/local/include/cbor/bytestrings.h 09:59:56 -- Installing: /usr/local/include/cbor/encoding.h 09:59:56 -- Installing: /usr/local/include/cbor/serialization.h 09:59:56 -- Installing: /usr/local/include/cbor/data.h 09:59:56 -- Installing: /usr/local/include/cbor/common.h 09:59:56 -- Installing: /usr/local/include/cbor/callbacks.h 09:59:56 -- Installing: /usr/local/include/cbor/strings.h 09:59:56 -- Installing: /usr/local/include/cbor/tags.h 09:59:56 -- Installing: /usr/local/include/cbor/internal 09:59:56 -- Installing: /usr/local/include/cbor/internal/encoders.h 09:59:56 -- Installing: /usr/local/include/cbor/internal/loaders.h 09:59:56 -- Installing: /usr/local/include/cbor/internal/stack.h 09:59:56 -- Installing: /usr/local/include/cbor/internal/unicode.h 09:59:56 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 09:59:56 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 09:59:56 -- Installing: /usr/local/include/cbor/arrays.h 09:59:56 -- Installing: /usr/local/include/cbor/maps.h 09:59:56 -- Installing: /usr/local/include/cbor.h 09:59:56 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc [Pipeline] sh 09:59:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:59:56 + ls -al . 09:59:56 total 172 09:59:56 drwxrwxr-x. 8 jenkins jenkins 4096 Sep 30 09:58 . 09:59:56 drwxrwxr-x. 4 jenkins jenkins 28 Sep 30 09:58 .. 09:59:56 -rw-rw-r--. 1 jenkins jenkins 3104 Sep 30 09:58 Attribution.txt 09:59:56 -rw-rw-r--. 1 jenkins jenkins 7701 Sep 30 09:58 CHANGES 09:59:56 drwxrwxr-x. 2 jenkins jenkins 121 Sep 30 09:58 docs 09:59:56 -rw-rw-r--. 1 jenkins jenkins 108574 Sep 30 09:58 Doxyfile 09:59:56 drwxrwxr-x. 8 jenkins jenkins 179 Sep 30 09:58 .git 09:59:56 drwxrwxr-x. 3 jenkins jenkins 103 Sep 30 09:58 .github 09:59:56 -rw-rw-r--. 1 jenkins jenkins 176 Sep 30 09:58 .gitignore 09:59:56 -rw-rw-r--. 1 jenkins jenkins 677 Sep 30 09:58 GOVERNANCE.md 09:59:56 drwxrwxr-x. 4 jenkins jenkins 33 Sep 30 09:58 include 09:59:56 -rw-rw-r--. 1 jenkins jenkins 784 Sep 30 09:58 Jenkinsfile 09:59:56 -rw-rw-r--. 1 jenkins jenkins 10174 Sep 30 09:58 LICENSE 09:59:56 -rw-rw-r--. 1 jenkins jenkins 444 Sep 30 09:58 Makefile 09:59:56 -rw-rw-r--. 1 jenkins jenkins 618 Sep 30 09:58 OWNERS.md 09:59:56 -rw-rw-r--. 1 jenkins jenkins 4086 Sep 30 09:58 README.md 09:59:56 -rw-rw-r--. 1 jenkins jenkins 7090 Sep 30 09:58 README.v2.md 09:59:56 drwxrwxr-x. 2 jenkins jenkins 98 Sep 30 09:58 scripts 09:59:56 drwxrwxr-x. 4 jenkins jenkins 50 Sep 30 09:58 src 09:59:56 -rw-rw-r--. 1 jenkins jenkins 5 Sep 30 09:56 VERSION [Pipeline] isUnix [Pipeline] sh 09:59:57 + 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=d4028d067d9ed03c35e4d6b6c28f8e2560370e36 --label arch=amd64 --label version=0.0.0 . 09:59:57 Sending build context to Docker daemon 2.698MB 09:59:57 Step 1/17 : ARG BASE=alpine:3.14 09:59:57 Step 2/17 : FROM ${BASE} 09:59:57 ---> dd5560232932 09:59:57 Step 3/17 : LABEL maintainer="IOTech " 09:59:57 ---> Running in 469aec6763c7 09:59:57 Removing intermediate container 469aec6763c7 09:59:57 ---> a72f974672b0 09:59:57 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 09:59:57 ---> Running in 3ed003adf94e 09:59:57 --2021-09-30 09:59:57-- https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release 09:59:57 Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.72.115.12, 54.229.110.245, 54.195.244.87 09:59:57 Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.72.115.12|:443... connected. 09:59:57 HTTP request sent, awaiting response... 200 OK 09:59:57 Length: unspecified [application/json] 09:59:57 Saving to: '/etc/apk/keys/alpine.dev.rsa.pub' 09:59:57  09:59:57 0K 23.0M=0s 09:59:57 09:59:57 2021-09-30 09:59:57 (23.0 MB/s) - '/etc/apk/keys/alpine.dev.rsa.pub' saved [451] 09:59:57 09:59:58 Removing intermediate container 3ed003adf94e 09:59:58 ---> 33e6369916b9 09:59:58 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 09:59:58 ---> Running in d0c81bfbb77f 09:59:58 Removing intermediate container 2a6f85507e40 09:59:58 ---> 1d891a242cd8 09:59:58 Step 8/25 : RUN mkdir /tmp/sdk 09:59:58 ---> Running in ed992ec629c0 09:59:58 Removing intermediate container d0c81bfbb77f 09:59:58 ---> a17b725afc38 09:59:58 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 09:59:58 ---> Running in a2c30a063e2c 09:59:59 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:59:59 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 10:00:00 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz 10:00:00 Removing intermediate container ed992ec629c0 10:00:00 ---> bbb10f4c0d37 10:00:00 Step 9/25 : COPY VERSION /tmp/sdk 10:00:01 ---> 59793896ce72 10:00:01 Step 10/25 : COPY src /tmp/sdk/src 10:00:02 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:00:02 (1/16) Installing ncurses-dev (6.2_p20200523-r0) 10:00:02 (2/16) Installing libblkid (2.35.2-r0) 10:00:02 (3/16) Installing blkid (2.35.2-r0) 10:00:02 (4/16) Installing libcap-ng (0.7.10-r1) 10:00:02 (5/16) Installing setpriv (2.35.2-r0) 10:00:02 ---> 38253050d072 10:00:02 Step 11/25 : COPY include /tmp/sdk/include 10:00:02 (6/16) Installing libmount (2.35.2-r0) 10:00:02 (7/16) Installing libsmartcols (2.35.2-r0) 10:00:02 (8/16) Installing findmnt (2.35.2-r0) 10:00:03 (9/16) Installing mcookie (2.35.2-r0) 10:00:03 (10/16) Installing hexdump (2.35.2-r0) 10:00:03 (11/16) Installing lsblk (2.35.2-r0) 10:00:03 (12/16) Installing libfdisk (2.35.2-r0) 10:00:03 (13/16) Installing sfdisk (2.35.2-r0) 10:00:03 (14/16) Installing cfdisk (2.35.2-r0) 10:00:03 ---> 12ccc72f09bd 10:00:03 Step 12/25 : COPY scripts /tmp/sdk/scripts 10:00:03 (15/16) Installing util-linux (2.35.2-r0) 10:00:04 (16/16) Installing util-linux-dev (2.35.2-r0) 10:00:04 ---> 71ac0a692b18 10:00:04 Step 13/25 : COPY LICENSE /tmp/sdk 10:00:04 Executing busybox-1.31.1-r20.trigger 10:00:04 OK: 295 MiB in 98 packages 10:00:04 Removing intermediate container a2c30a063e2c 10:00:04 ---> d62b553b89a4 10:00:04 Step 7/17 : COPY VERSION /edgex-c-sdk/ 10:00:04 ---> 4cea135cb2c9 10:00:04 Step 8/17 : COPY src /edgex-c-sdk/src/ 10:00:05 ---> 66c2afe5c039 10:00:05 Step 9/17 : COPY include /edgex-c-sdk/include/ 10:00:05 ---> 913288155d94 10:00:05 Step 14/25 : COPY Attribution.txt /tmp/sdk 10:00:05 ---> 6d593f81da3d 10:00:05 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 10:00:05 ---> aa2da9dce365 10:00:05 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 10:00:05 ---> c6a64538e9f8 10:00:05 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 10:00:05 ---> 7906a4a7e293 10:00:05 Step 13/17 : WORKDIR /edgex-c-sdk 10:00:05 ---> Running in 69e4f437193a 10:00:05 ---> 68646348ae76 10:00:05 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 10:00:06 Removing intermediate container 69e4f437193a 10:00:06 ---> b50a33480d04 10:00:06 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 10:00:06 ---> Running in db4522934943 10:00:06 Removing intermediate container db4522934943 10:00:06 ---> f102d5e38a1f 10:00:06 Step 15/17 : LABEL arch=amd64 10:00:06 ---> Running in b86d9fca6539 10:00:06 Removing intermediate container b86d9fca6539 10:00:06 ---> 1ad47392e60d 10:00:06 Step 16/17 : LABEL git_sha=d4028d067d9ed03c35e4d6b6c28f8e2560370e36 10:00:06 ---> Running in 969bc5282c13 10:00:06 ---> Running in a9b3affc7171 10:00:06 Removing intermediate container a9b3affc7171 10:00:06 ---> 937c48d33526 10:00:06 Step 17/17 : LABEL version=0.0.0 10:00:06 ---> Running in 03b770de594c 10:00:06 Removing intermediate container 03b770de594c 10:00:06 ---> d31609b13964 10:00:06 [Warning] One or more build-args [MAKE ARCH] were not consumed 10:00:06 Successfully built d31609b13964 10:00:06 Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:00:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:00:07 10:00:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 10:00:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:00:07 latest: Pulling from edgex-lftools-log-publisher 10:00:07 b4d181a07f80: Pulling fs layer 10:00:07 a1111a8f2ec3: Pulling fs layer 10:00:07 ed53099fbce6: Pulling fs layer 10:00:07 dc539afda2c1: Pulling fs layer 10:00:07 77bc0d833cb6: Pulling fs layer 10:00:07 9065ff56babe: Pulling fs layer 10:00:07 d287ab97295c: Pulling fs layer 10:00:07 77bc0d833cb6: Waiting 10:00:07 9065ff56babe: Waiting 10:00:07 d287ab97295c: Waiting 10:00:07 dc539afda2c1: Waiting 10:00:07 + CPPCHECK=false 10:00:07 + DOCGEN=false 10:00:07 + TOMLVER=SDK-0.2 10:00:07 + CUTILVER=1.2.2 10:00:07 + '[' 0 -gt 0 ] 10:00:07 + readlink -f ./scripts/build.sh 10:00:07 + dirname /tmp/sdk/scripts/build.sh 10:00:07 + dirname /tmp/sdk/scripts 10:00:07 + ROOT=/tmp/sdk 10:00:07 + cd /tmp/sdk 10:00:07 + '[' '!' -d deps ] 10:00:07 + mkdir deps 10:00:07 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 10:00:07 + tar -C deps -z -x -f - 10:00:07 --2021-09-30 10:00:07-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 10:00:07 Resolving github.com (github.com)... 140.82.113.3 10:00:07 Connecting to github.com (github.com)|140.82.113.3|:443... connected. 10:00:07 HTTP request sent, awaiting response... 302 Found 10:00:07 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 10:00:07 --2021-09-30 10:00:07-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 10:00:07 Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 10:00:07 Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. 10:00:07 HTTP request sent, awaiting response... 200 OK 10:00:07 Length: unspecified [application/x-gzip] 10:00:07 Saving to: 'STDOUT' 10:00:07 10:00:07 0K .......... ......    792K=0.02s 10:00:07 10:00:07 2021-09-30 10:00:07 (792 KB/s) - written to stdout [16451] 10:00:07 10:00:07 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 10:00:07 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 10:00:07 + tar -C deps -z -x -f - 10:00:07 --2021-09-30 10:00:07-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz 10:00:07 a1111a8f2ec3: Verifying Checksum 10:00:07 a1111a8f2ec3: Download complete 10:00:07 dc539afda2c1: Verifying Checksum 10:00:07 dc539afda2c1: Download complete 10:00:07 Resolving github.com (github.com)... 140.82.113.3 10:00:07 Connecting to github.com (github.com)|140.82.113.3|:443... connected. 10:00:07 HTTP request sent, awaiting response... 302 Found 10:00:07 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 [following] 10:00:07 --2021-09-30 10:00:07-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.2.2 10:00:07 Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 10:00:07 Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. 10:00:07 HTTP request sent, awaiting response... 200 OK 10:00:07 Length: unspecified [application/x-gzip] 10:00:07 Saving to: 'STDOUT' 10:00:07  10:00:07 0K .......... .......... .......... .......... .......... 1.16M 10:00:07 ed53099fbce6: Verifying Checksum 10:00:07 ed53099fbce6: Download complete 10:00:07 9065ff56babe: Verifying Checksum 10:00:07 9065ff56babe: Download complete 10:00:07 77bc0d833cb6: Verifying Checksum 10:00:07 77bc0d833cb6: Download complete 10:00:08 50K .......... .......... .......... .......... .......... 2.38M 10:00:08 100K .......... .......... .......... .......... .......... 6.78M 10:00:08 150K .......... .......... .......... ......... 1.03M=0.1s 10:00:08 10:00:08 2021-09-30 10:00:07 (1.73 MB/s) - written to stdout [193971] 10:00:08 10:00:08 + mkdir -p src/c/iot 10:00:08 + 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 10:00:08 + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot 10:00:08 + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot 10:00:08 + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot 10:00:08 + mkdir -p include/iot 10:00:08 + 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 10:00:08 + mkdir -p include/iot/os 10:00:08 + 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 10:00:08 + mkdir -p /tmp/sdk/build/release 10:00:08 + cd /tmp/sdk/build/release 10:00:08 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 10:00:08 -- The C compiler identification is GNU 9.3.0 10:00:08 -- Check for working C compiler: /usr/bin/cc 10:00:08 -- Check for working C compiler: /usr/bin/cc - works 10:00:08 -- Detecting C compiler ABI info 10:00:08 b4d181a07f80: Verifying Checksum 10:00:08 b4d181a07f80: Download complete 10:00:08 -- Detecting C compiler ABI info - done 10:00:08 -- Detecting C compile features 10:00:08 -- Detecting C compile features - done 10:00:08 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 10:00:09 -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") 10:00:09 -- Found LIBYAML: /usr/lib/libyaml.so 10:00:09 -- Found LIBUUID: /usr/lib/libuuid.so 10:00:09 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 10:00:09 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 10:00:09 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 10:00:09 -- C SDK 0.0.0 for Linux 10:00:09 -- Performing Test CSDK_HAVE_ATOMIC 10:00:09 -- Performing Test CSDK_HAVE_ATOMIC - Success 10:00:09 -- Found Curses: /usr/lib/libcurses.so 10:00:09 -- Configuring done 10:00:10 -- Generating done 10:00:10 -- Build files have been written to: /tmp/sdk/build/release 10:00:10 + + teemake release.log all package 10:00:10 10:00:10 Scanning dependencies of target csdk 10:00:10 b4d181a07f80: Pull complete 10:00:10 a1111a8f2ec3: Pull complete 10:00:10 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 10:00:10 ed53099fbce6: Pull complete 10:00:10 dc539afda2c1: Pull complete 10:00:10 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 10:00:11 77bc0d833cb6: Pull complete 10:00:11 9065ff56babe: Pull complete 10:00:11 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 10:00:12 d287ab97295c: Verifying Checksum 10:00:12 d287ab97295c: Download complete 10:00:13 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 10:00:14 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 10:00:14 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 10:00:15 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 10:00:15 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 10:00:15 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 10:00:16 d287ab97295c: Pull complete 10:00:16 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 10:00:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:00:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 10:00:16 prd-centos7-docker-4c-2g-260 does not seem to be running inside a container 10:00:16 $ 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/4 -v /w/workspace/device-sdk-c/4:/w/workspace/device-sdk-c/4:rw,z -v /w/workspace/device-sdk-c/4@tmp:/w/workspace/device-sdk-c/4@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:00:17 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 10:00:18 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 10:00:19 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 10:00:19 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 10:00:19 $ docker top 4fb27fb43fe3653958efa3c90b7e5bd49714194841a6cb95165b621e5133cac9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:00:20 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 10:00:20 ---> job-cost.sh 10:00:20 lf-activate-venv: SKIPPING 10:00:20 INFO: No Stack... 10:00:20 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 10:00:20 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 10:00:20 INFO: Retrieving Pricing Info for: v3-standard-2 10:00:21 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 10:00:21 INFO: Archiving Costs [Pipeline] sh 10:00:21 + cut -d, -f6 10:00:21 + cat /w/workspace/device-sdk-c/4/archives/cost.csv [Pipeline] lock 10:00:21 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-366-4-stack-cost] 10:00:21 Resource [jenkins-edgexfoundry-device-sdk-c-PR-366-4-stack-cost] did not exist. Created. 10:00:21 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-366-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:00:22 + echo total: 0.05999999865889549 [Pipeline] stash 10:00:22 Stashed 1 file(s) [Pipeline] } 10:00:22 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-366-4-stack-cost] [Pipeline] // lock [Pipeline] } 10:00:22 $ docker stop --time=1 4fb27fb43fe3653958efa3c90b7e5bd49714194841a6cb95165b621e5133cac9 10:00:23 $ docker rm -f 4fb27fb43fe3653958efa3c90b7e5bd49714194841a6cb95165b621e5133cac9 10:00:23 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } 10:00:23 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [Pipeline] // stage [Pipeline] } 10:00:24 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 10:00:24 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 10:00:25 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 10:00:25 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 10:00:25 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 10:00:25 275 | const iot_component_factory_t * factory; 10:00:25 | ^~~~~~~ 10:00:26 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 10:00:31 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 10:00:31 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 10:00:31 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 10:00:32 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 10:00:32 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 10:00:32 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 10:00:33 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 10:00:34 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 10:00:34 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 10:00:35 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 10:00:35 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 10:00:37 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 10:00:37 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 10:00:38 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 10:00:38 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 10:00:43 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 10:00:43 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 10:00:44 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 10:00:44 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 10:00:45 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 10:00:47 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 10:00:47 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 10:00:47 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 10:00:48 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 10:00:50 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 10:00:53 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 10:00:54 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 10:00:54 [ 76%] Linking C shared library libcsdk.so 10:00:54 [ 76%] Built target csdk 10:00:54 Scanning dependencies of target template 10:00:54 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 10:00:55 [ 79%] Linking C executable template 10:00:55 [ 79%] Built target template 10:00:55 Scanning dependencies of target device-counter 10:00:55 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 10:00:56 [ 82%] Linking C executable device-counter 10:00:56 [ 82%] Built target device-counter 10:00:56 Scanning dependencies of target device-random 10:00:56 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 10:00:56 [ 85%] Linking C executable device-random 10:00:57 [ 85%] Built target device-random 10:00:57 Scanning dependencies of target device-gyro 10:00:57 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 10:00:57 [ 88%] Linking C executable device-gyro 10:00:57 [ 88%] Built target device-gyro 10:00:57 Scanning dependencies of target device-bitfields 10:00:57 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 10:00:58 [ 91%] Linking C executable device-bitfields 10:00:58 [ 91%] Built target device-bitfields 10:00:58 Scanning dependencies of target template-discovery 10:00:58 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 10:00:59 [ 94%] Linking C executable template-discovery 10:00:59 [ 94%] Built target template-discovery 10:00:59 Scanning dependencies of target device-file 10:00:59 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 10:01:00 [ 97%] Linking C executable device-file 10:01:00 [ 97%] Built target device-file 10:01:00 Scanning dependencies of target device-terminal 10:01:00 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 10:01:00 [100%] Linking C executable device-terminal 10:01:01 [100%] Built target device-terminal 10:01:01 Run CPack packaging tool... 10:01:01 CPack: Create package using TGZ 10:01:01 CPack: Install projects 10:01:01 CPack: - Run preinstall target for: Csdk 10:01:01 CPack: - Install project: Csdk [] 10:01:01 CPack: Create package 10:01:02 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 10:01:02 + '[' false '=' true ] 10:01:02 + '[' false '=' true ] 10:01:02 + mkdir -p /tmp/sdk/build/debug 10:01:02 + cd /tmp/sdk/build/debug 10:01:02 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 10:01:02 -- The C compiler identification is GNU 9.3.0 10:01:02 -- Check for working C compiler: /usr/bin/cc 10:01:02 -- Check for working C compiler: /usr/bin/cc - works 10:01:02 -- Detecting C compiler ABI info 10:01:02 -- Detecting C compiler ABI info - done 10:01:02 -- Detecting C compile features 10:01:02 -- Detecting C compile features - done 10:01:02 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 10:01:03 -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") 10:01:03 -- Found LIBYAML: /usr/lib/libyaml.so 10:01:03 -- Found LIBUUID: /usr/lib/libuuid.so 10:01:03 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 10:01:03 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 10:01:03 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 10:01:03 -- C SDK 0.0.0 for Linux 10:01:03 -- Performing Test CSDK_HAVE_ATOMIC 10:01:03 -- Performing Test CSDK_HAVE_ATOMIC - Success 10:01:03 -- Found Curses: /usr/lib/libcurses.so 10:01:03 -- Configuring done 10:01:03 -- Generating done 10:01:03 -- Build files have been written to: /tmp/sdk/build/debug 10:01:03 + make+ 10:01:03 tee debug.log 10:01:03 Scanning dependencies of target csdk 10:01:04 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 10:01:04 [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 10:01:04 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 10:01:05 [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 10:01:05 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 10:01:05 [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 10:01:06 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 10:01:06 [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 10:01:06 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 10:01:07 [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o 10:01:07 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 10:01:07 [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 10:01:08 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 10:01:08 [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 10:01:08 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 10:01:09 [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 10:01:09 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 10:01:09 [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 10:01:10 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 10:01:10 [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 10:01:10 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 10:01:10 [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 10:01:10 /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': 10:01:10 /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] 10:01:10 275 | const iot_component_factory_t * factory; 10:01:10 | ^~~~~~~ 10:01:11 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 10:01:12 [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 10:01:12 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 10:01:12 [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 10:01:12 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 10:01:13 [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 10:01:13 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 10:01:13 [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 10:01:13 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 10:01:13 [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 10:01:14 [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o 10:01:14 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 10:01:14 [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o 10:01:14 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 10:01:15 [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 10:01:15 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 10:01:16 [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 10:01:16 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 10:01:17 [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 10:01:17 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 10:01:17 [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 10:01:18 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 10:01:18 [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 10:01:19 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 10:01:19 [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o 10:01:19 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 10:01:20 [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 10:01:20 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 10:01:20 [ 76%] Linking C shared library libcsdk.so 10:01:21 [ 76%] Built target csdk 10:01:21 Scanning dependencies of target template 10:01:21 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 10:01:21 [ 79%] Linking C executable template 10:01:21 [ 79%] Built target template 10:01:21 Scanning dependencies of target device-counter 10:01:22 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 10:01:22 [ 82%] Linking C executable device-counter 10:01:22 [ 82%] Built target device-counter 10:01:22 Scanning dependencies of target device-random 10:01:22 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 10:01:22 [ 85%] Linking C executable device-random 10:01:22 [ 85%] Built target device-random 10:01:22 Scanning dependencies of target device-gyro 10:01:22 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 10:01:23 [ 88%] Linking C executable device-gyro 10:01:23 [ 88%] Built target device-gyro 10:01:23 Scanning dependencies of target device-bitfields 10:01:23 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 10:01:23 [ 91%] Linking C executable device-bitfields 10:01:23 [ 91%] Built target device-bitfields 10:01:23 Scanning dependencies of target template-discovery 10:01:23 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 10:01:24 [ 94%] Linking C executable template-discovery 10:01:24 [ 94%] Built target template-discovery 10:01:24 Scanning dependencies of target device-file 10:01:24 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 10:01:24 [ 97%] Linking C executable device-file 10:01:25 [ 97%] Built target device-file 10:01:25 Scanning dependencies of target device-terminal 10:01:25 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 10:01:25 [100%] Linking C executable device-terminal 10:01:25 [100%] Built target device-terminal 10:01:25 make: Entering directory '/tmp/sdk/build/release' 10:01:25 make[1]: Entering directory '/tmp/sdk/build/release' 10:01:25 make[2]: Entering directory '/tmp/sdk/build/release' 10:01:25 make[2]: Leaving directory '/tmp/sdk/build/release' 10:01:25 [ 76%] Built target csdk 10:01:25 make[2]: Entering directory '/tmp/sdk/build/release' 10:01:25 make[2]: Leaving directory '/tmp/sdk/build/release' 10:01:25 [ 79%] Built target template 10:01:25 make[2]: Entering directory '/tmp/sdk/build/release' 10:01:25 make[2]: Leaving directory '/tmp/sdk/build/release' 10:01:25 [ 82%] Built target device-counter 10:01:25 make[2]: Entering directory '/tmp/sdk/build/release' 10:01:25 make[2]: Leaving directory '/tmp/sdk/build/release' 10:01:25 [ 85%] Built target device-random 10:01:25 make[2]: Entering directory '/tmp/sdk/build/release' 10:01:25 make[2]: Leaving directory '/tmp/sdk/build/release' 10:01:25 [ 88%] Built target device-gyro 10:01:25 make[2]: Entering directory '/tmp/sdk/build/release' 10:01:25 make[2]: Leaving directory '/tmp/sdk/build/release' 10:01:25 [ 91%] Built target device-bitfields 10:01:25 make[2]: Entering directory '/tmp/sdk/build/release' 10:01:26 make[2]: Leaving directory '/tmp/sdk/build/release' 10:01:26 [ 94%] Built target template-discovery 10:01:26 make[2]: Entering directory '/tmp/sdk/build/release' 10:01:26 make[2]: Leaving directory '/tmp/sdk/build/release' 10:01:26 [ 97%] Built target device-file 10:01:26 make[2]: Entering directory '/tmp/sdk/build/release' 10:01:26 make[2]: Leaving directory '/tmp/sdk/build/release' 10:01:26 [100%] Built target device-terminal 10:01:26 make[1]: Leaving directory '/tmp/sdk/build/release' 10:01:26 Install the project... 10:01:26 -- Install configuration: "Release" 10:01:26 -- Installing: /usr/local/lib/libcsdk.so 10:01:26 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 10:01:26 -- Up-to-date: /usr/local/include 10:01:26 -- Installing: /usr/local/include/edgex 10:01:26 -- Installing: /usr/local/include/edgex/rest-server.h 10:01:26 -- Installing: /usr/local/include/edgex/edgex-base.h 10:01:26 -- Installing: /usr/local/include/edgex/edgex.h 10:01:26 -- Installing: /usr/local/include/edgex/devices.h 10:01:26 -- Installing: /usr/local/include/edgex/profiles.h 10:01:26 -- Installing: /usr/local/include/edgex/csdk-defs.h 10:01:26 -- Installing: /usr/local/include/devsdk 10:01:26 -- Installing: /usr/local/include/devsdk/devsdk-base.h 10:01:26 -- Installing: /usr/local/include/devsdk/devsdk.h 10:01:26 -- Installing: /usr/local/include/iot 10:01:26 -- Installing: /usr/local/include/iot/json.h 10:01:26 -- Installing: /usr/local/include/iot/container.h 10:01:26 -- Installing: /usr/local/include/iot/component.h 10:01:26 -- Installing: /usr/local/include/iot/typecode.h 10:01:26 -- Installing: /usr/local/include/iot/iot.h 10:01:26 -- Installing: /usr/local/include/iot/uuid.h 10:01:26 -- Installing: /usr/local/include/iot/time.h 10:01:26 -- Installing: /usr/local/include/iot/hash.h 10:01:26 -- Installing: /usr/local/include/iot/logger.h 10:01:26 -- Installing: /usr/local/include/iot/os 10:01:26 -- Installing: /usr/local/include/iot/os/zephyr.h 10:01:26 -- Installing: /usr/local/include/iot/os/linux.h 10:01:26 -- Installing: /usr/local/include/iot/os/macos.h 10:01:26 -- Installing: /usr/local/include/iot/scheduler.h 10:01:26 -- Installing: /usr/local/include/iot/data.h 10:01:26 -- Installing: /usr/local/include/iot/thread.h 10:01:26 -- Installing: /usr/local/include/iot/os.h 10:01:26 -- Installing: /usr/local/include/iot/base64.h 10:01:26 -- Installing: /usr/local/include/iot/defs.h 10:01:26 -- Installing: /usr/local/include/iot/threadpool.h 10:01:26 -- Installing: /usr/local/include/iot/config.h 10:01:26 -- Installing: /usr/local/share/device-sdk-c/LICENSE 10:01:26 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 10:01:26 make: Leaving directory '/tmp/sdk/build/release' 10:01:28 Removing intermediate container 969bc5282c13 10:01:28 ---> eafd45e7b74d 10:01:28 Step 16/25 : FROM ${BASE} 10:01:28 ---> 759262b18b23 10:01:28 Step 17/25 : LABEL maintainer="IOTech " 10:01:28 ---> Running in 10b82ca734f8 10:01:29 Removing intermediate container 10b82ca734f8 10:01:29 ---> 5be100fd5e69 10:01:29 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 10:01:29 ---> Running in c4ae8d50f297 10:01:30 Connecting to iotech.jfrog.io (54.195.244.87:443) 10:01:31 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 10:01:31 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 10:01:31 '/etc/apk/keys/alpine.dev.rsa.pub' saved 10:01:32 Removing intermediate container c4ae8d50f297 10:01:32 ---> c671bdb602d4 10:01:32 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 10:01:32 ---> Running in 6f6b1c26220d 10:01:34 Removing intermediate container 6f6b1c26220d 10:01:34 ---> e08f3a4ce551 10:01: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 10:01:34 ---> Running in 3cb70232cfe8 10:01:36 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 10:01:37 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 10:01:37 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz 10:01:38 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:01:38 (1/7) Installing curl (7.79.1-r0) 10:01:38 (2/7) Installing hiredis (0.14.1-r0) 10:01:38 (3/7) Installing hiredis-dev (0.14.1-r0) 10:01:38 (4/7) Installing libuuid (2.35.2-r0) 10:01:38 (5/7) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 10:01:39 (6/7) Installing libidn2 (2.3.0-r0) 10:01:39 (7/7) Installing wget (1.20.3-r1) 10:01:39 Executing busybox-1.31.1-r20.trigger 10:01:39 OK: 267 MiB in 82 packages 10:01:41 Removing intermediate container 3cb70232cfe8 10:01:41 ---> afd745828be3 10:01:41 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 10:01:42 ---> 33e659e1705c 10:01:42 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 10:01:42 ---> 708a9fb9a82e 10:01:42 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 10:01:43 ---> c3e8f055323d 10:01:43 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 10:01:44 ---> de922e3a1694 10:01:44 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 10:01:45 ---> 6d228a74759d 10:01:45 Successfully built 6d228a74759d 10:01:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:01:46 + docker inspect -f . ci-base-image-arm64 10:01:46 . [Pipeline] withDockerContainer 10:01:46 prd-ubuntu18.04-docker-arm64-4c-16g-259 does not seem to be running inside a container 10:01:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/4 -v /w/workspace/device-sdk-c/4:/w/workspace/device-sdk-c/4:rw,z -v /w/workspace/device-sdk-c/4@tmp:/w/workspace/device-sdk-c/4@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:01:48 $ docker top b65aa2c9c6103a20f0dcbaf6b59ff412a3f4bfbdd6a0b23db8b57fcea09738b4 -eo pid,comm [Pipeline] { [Pipeline] sh 10:01:49 + make test 10:01:49 echo "make test" 10:01:49 make test [Pipeline] } 10:01:49 $ docker stop --time=1 b65aa2c9c6103a20f0dcbaf6b59ff412a3f4bfbdd6a0b23db8b57fcea09738b4 10:01:51 $ docker rm -f b65aa2c9c6103a20f0dcbaf6b59ff412a3f4bfbdd6a0b23db8b57fcea09738b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:01:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:01:52 + ls -al . 10:01:52 total 200 10:01:52 drwxrwxr-x 8 jenkins jenkins 4096 Sep 30 09:58 . 10:01:52 drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 09:58 .. 10:01:52 drwxrwxr-x 8 jenkins jenkins 4096 Sep 30 09:58 .git 10:01:52 drwxrwxr-x 3 jenkins jenkins 4096 Sep 30 09:58 .github 10:01:52 -rw-rw-r-- 1 jenkins jenkins 176 Sep 30 09:58 .gitignore 10:01:52 -rw-rw-r-- 1 jenkins jenkins 3104 Sep 30 09:58 Attribution.txt 10:01:52 -rw-rw-r-- 1 jenkins jenkins 7701 Sep 30 09:58 CHANGES 10:01:52 -rw-rw-r-- 1 jenkins jenkins 108574 Sep 30 09:58 Doxyfile 10:01:52 -rw-rw-r-- 1 jenkins jenkins 677 Sep 30 09:58 GOVERNANCE.md 10:01:52 -rw-rw-r-- 1 jenkins jenkins 784 Sep 30 09:58 Jenkinsfile 10:01:52 -rw-rw-r-- 1 jenkins jenkins 10174 Sep 30 09:58 LICENSE 10:01:52 -rw-rw-r-- 1 jenkins jenkins 444 Sep 30 09:58 Makefile 10:01:52 -rw-rw-r-- 1 jenkins jenkins 618 Sep 30 09:58 OWNERS.md 10:01:52 -rw-rw-r-- 1 jenkins jenkins 4086 Sep 30 09:58 README.md 10:01:52 -rw-rw-r-- 1 jenkins jenkins 7090 Sep 30 09:58 README.v2.md 10:01:52 -rw-rw-r-- 1 jenkins jenkins 5 Sep 30 09:56 VERSION 10:01:52 drwxrwxr-x 2 jenkins jenkins 4096 Sep 30 09:58 docs 10:01:52 drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 09:58 include 10:01:52 drwxrwxr-x 2 jenkins jenkins 4096 Sep 30 09:58 scripts 10:01:52 drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 09:58 src [Pipeline] isUnix [Pipeline] sh 10:01:53 + 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=d4028d067d9ed03c35e4d6b6c28f8e2560370e36 --label arch=arm64 --label version=0.0.0 . 10:01:53 Sending build context to Docker daemon 2.697MB 10:01:53 Step 1/17 : ARG BASE=alpine:3.14 10:01:53 Step 2/17 : FROM ${BASE} 10:01:53 ---> 6d228a74759d 10:01:53 Step 3/17 : LABEL maintainer="IOTech " 10:01:54 ---> Running in 326f75b823ab 10:01:54 Removing intermediate container 326f75b823ab 10:01:54 ---> 0a110e542527 10:01:54 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 10:01:54 ---> Running in 335e940a31a3 10:01:56 --2021-09-30 10:01:55-- https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release 10:01:56 Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.229.110.245, 54.195.244.87, 54.72.115.12 10:01:56 Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.229.110.245|:443... connected. 10:01:56 HTTP request sent, awaiting response... 200 OK 10:01:56 Length: unspecified [application/json] 10:01:56 Saving to: '/etc/apk/keys/alpine.dev.rsa.pub' 10:01:56  10:01:56 0K    8.97M=0s 10:01:56 10:01:56 2021-09-30 10:01:56 (8.97 MB/s) - '/etc/apk/keys/alpine.dev.rsa.pub' saved [451] 10:01:56 10:01:57 Removing intermediate container 335e940a31a3 10:01:57 ---> b3641b3f8709 10:01:57 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 10:01:57 ---> Running in b4fbc85f6516 10:02:00 Removing intermediate container b4fbc85f6516 10:02:00 ---> 687f104b3296 10:02:00 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 10:02:00 ---> Running in d88f96febdc2 10:02:01 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 10:02:02 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 10:02:03 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz 10:02:03 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:02:03 (1/16) Installing ncurses-dev (6.2_p20200523-r0) 10:02:03 (2/16) Installing libblkid (2.35.2-r0) 10:02:04 (3/16) Installing blkid (2.35.2-r0) 10:02:04 (4/16) Installing libcap-ng (0.7.10-r1) 10:02:04 (5/16) Installing setpriv (2.35.2-r0) 10:02:04 (6/16) Installing libmount (2.35.2-r0) 10:02:04 (7/16) Installing libsmartcols (2.35.2-r0) 10:02:04 (8/16) Installing findmnt (2.35.2-r0) 10:02:04 (9/16) Installing mcookie (2.35.2-r0) 10:02:04 (10/16) Installing hexdump (2.35.2-r0) 10:02:04 (11/16) Installing lsblk (2.35.2-r0) 10:02:05 (12/16) Installing libfdisk (2.35.2-r0) 10:02:05 (13/16) Installing sfdisk (2.35.2-r0) 10:02:05 (14/16) Installing cfdisk (2.35.2-r0) 10:02:05 (15/16) Installing util-linux (2.35.2-r0) 10:02:06 (16/16) Installing util-linux-dev (2.35.2-r0) 10:02:06 Executing busybox-1.31.1-r20.trigger 10:02:06 OK: 276 MiB in 98 packages 10:02:08 Removing intermediate container d88f96febdc2 10:02:08 ---> 2876feab7bcb 10:02:08 Step 7/17 : COPY VERSION /edgex-c-sdk/ 10:02:09 ---> 44c8215c6454 10:02:09 Step 8/17 : COPY src /edgex-c-sdk/src/ 10:02:10 ---> d0deabf4fe1c 10:02:10 Step 9/17 : COPY include /edgex-c-sdk/include/ 10:02:11 ---> d7ccce0b85bc 10:02:11 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 10:02:12 ---> 144901de6337 10:02:12 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 10:02:12 ---> b875ae735bd5 10:02:12 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 10:02:13 ---> 2ad54fe248dd 10:02:13 Step 13/17 : WORKDIR /edgex-c-sdk 10:02:13 ---> Running in fb7cfa09fddb 10:02:14 Removing intermediate container fb7cfa09fddb 10:02:14 ---> d514c149a4e9 10:02:14 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 10:02:14 ---> Running in 9ccee35a0ecf 10:02:14 Removing intermediate container 9ccee35a0ecf 10:02:14 ---> 72368409c357 10:02:14 Step 15/17 : LABEL arch=arm64 10:02:14 ---> Running in ea574507d8d8 10:02:15 Removing intermediate container ea574507d8d8 10:02:15 ---> 10efe41693fb 10:02:15 Step 16/17 : LABEL git_sha=d4028d067d9ed03c35e4d6b6c28f8e2560370e36 10:02:15 ---> Running in 791b2b2b91d8 10:02:16 Removing intermediate container 791b2b2b91d8 10:02:16 ---> 9c4261a7fa47 10:02:16 Step 17/17 : LABEL version=0.0.0 10:02:16 ---> Running in ace8795251de 10:02:16 Removing intermediate container ace8795251de 10:02:16 ---> b639d40562af 10:02:16 [Warning] One or more build-args [MAKE ARCH] were not consumed 10:02:16 Successfully built b639d40562af 10:02:16 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 10:02:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:02:17 10:02:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 10:02:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:02:17 arm64: Pulling from edgex-lftools-log-publisher 10:02:17 448f6bf000e3: Pulling fs layer 10:02:17 f757da607395: Pulling fs layer 10:02:17 05883995daec: Pulling fs layer 10:02:17 8603b9c90790: Pulling fs layer 10:02:17 1560dd03e051: Pulling fs layer 10:02:17 27f5ce0e4adf: Pulling fs layer 10:02:17 c2d8d7efcc4b: Pulling fs layer 10:02:17 27f5ce0e4adf: Waiting 10:02:17 8603b9c90790: Waiting 10:02:17 1560dd03e051: Waiting 10:02:17 c2d8d7efcc4b: Waiting 10:02:18 f757da607395: Verifying Checksum 10:02:18 f757da607395: Download complete 10:02:18 8603b9c90790: Verifying Checksum 10:02:18 8603b9c90790: Download complete 10:02:18 1560dd03e051: Verifying Checksum 10:02:18 1560dd03e051: Download complete 10:02:18 27f5ce0e4adf: Download complete 10:02:18 05883995daec: Verifying Checksum 10:02:18 05883995daec: Download complete 10:02:19 448f6bf000e3: Verifying Checksum 10:02:19 448f6bf000e3: Download complete 10:02:22 c2d8d7efcc4b: Verifying Checksum 10:02:22 c2d8d7efcc4b: Download complete 10:02:22 448f6bf000e3: Pull complete 10:02:23 f757da607395: Pull complete 10:02:24 05883995daec: Pull complete 10:02:24 8603b9c90790: Pull complete 10:02:25 1560dd03e051: Pull complete 10:02:26 27f5ce0e4adf: Pull complete 10:02:41 c2d8d7efcc4b: Pull complete 10:02:41 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 10:02:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:02:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 10:02:41 prd-ubuntu18.04-docker-arm64-4c-16g-259 does not seem to be running inside a container 10:02:41 $ 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/4 -v /w/workspace/device-sdk-c/4:/w/workspace/device-sdk-c/4:rw,z -v /w/workspace/device-sdk-c/4@tmp:/w/workspace/device-sdk-c/4@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:02:46 $ docker top 7df149e708bee9934f338f1d537aa161170d44c8747b130d15c1006a9e47e72b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:02:47 ---> job-cost.sh 10:02:47 lf-activate-venv: SKIPPING 10:02:47 INFO: No Stack... 10:02:47 INFO: Retrieving Pricing Info for: v3-standard-4 10:02:48 INFO: Archiving Costs [Pipeline] sh 10:02:48 + cat /w/workspace/device-sdk-c/4/archives/cost.csv 10:02:48 + cut -d, -f6 [Pipeline] lock 10:02:49 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-366-4-stack-cost] 10:02:49 Resource [jenkins-edgexfoundry-device-sdk-c-PR-366-4-stack-cost] did not exist. Created. 10:02:49 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-366-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:02:49 /w/workspace/device-sdk-c/4@tmp/durable-bc6dfe8d/script.sh: 1: /w/workspace/device-sdk-c/4@tmp/durable-bc6dfe8d/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 10:02:50 + echo total: 0.10999999940395355 [Pipeline] stash 10:02:50 Warning: overwriting stash ‘stack-cost’ 10:02:51 Stashed 1 file(s) [Pipeline] } 10:02:51 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-366-4-stack-cost] [Pipeline] // lock [Pipeline] } 10:02:51 $ docker stop --time=1 7df149e708bee9934f338f1d537aa161170d44c8747b130d15c1006a9e47e72b 10:02:52 $ docker rm -f 7df149e708bee9934f338f1d537aa161170d44c8747b130d15c1006a9e47e72b [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 10:02:54 + '[' -d /w/workspace/edgexfoundry_device-sdk-c_PR-366/archives ']' [Pipeline] libraryResource [Pipeline] sh 10:02:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:02:55 ---> package-listing.sh 10:02:55 ++ facter osfamily 10:02:55 ++ tr '[:upper:]' '[:lower:]' 10:02:55 + OS_FAMILY=redhat 10:02:55 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-366 10:02:55 + START_PACKAGES=/tmp/packages_start.txt 10:02:55 + END_PACKAGES=/tmp/packages_end.txt 10:02:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:02:55 + PACKAGES=/tmp/packages_start.txt 10:02:55 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-366 ']' 10:02:55 + PACKAGES=/tmp/packages_end.txt 10:02:55 + case "${OS_FAMILY}" in 10:02:55 + sort 10:02:55 + rpm -qa 10:02:56 + '[' -f /tmp/packages_start.txt ']' 10:02:56 + '[' -f /tmp/packages_end.txt ']' 10:02:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:02:56 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-366 ']' 10:02:56 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-366/archives/ 10:02:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-366/archives/ [Pipeline] echo 10:02:56 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-366/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:02:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 10:02:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:02:56 10:02:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 10:02:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:02:57 latest: Pulling from edgex-lftools-log-publisher 10:02:57 b4d181a07f80: Pulling fs layer 10:02:57 a1111a8f2ec3: Pulling fs layer 10:02:57 ed53099fbce6: Pulling fs layer 10:02:57 dc539afda2c1: Pulling fs layer 10:02:57 77bc0d833cb6: Pulling fs layer 10:02:57 9065ff56babe: Pulling fs layer 10:02:57 d287ab97295c: Pulling fs layer 10:02:57 dc539afda2c1: Waiting 10:02:57 77bc0d833cb6: Waiting 10:02:57 9065ff56babe: Waiting 10:02:57 d287ab97295c: Waiting 10:02:57 a1111a8f2ec3: Verifying Checksum 10:02:57 a1111a8f2ec3: Download complete 10:02:57 dc539afda2c1: Verifying Checksum 10:02:57 dc539afda2c1: Download complete 10:02:57 77bc0d833cb6: Verifying Checksum 10:02:57 77bc0d833cb6: Download complete 10:02:57 9065ff56babe: Verifying Checksum 10:02:57 9065ff56babe: Download complete 10:02:57 ed53099fbce6: Verifying Checksum 10:02:57 ed53099fbce6: Download complete 10:02:58 b4d181a07f80: Verifying Checksum 10:02:58 b4d181a07f80: Download complete 10:02:59 b4d181a07f80: Pull complete 10:03:00 a1111a8f2ec3: Pull complete 10:03:00 ed53099fbce6: Pull complete 10:03:00 dc539afda2c1: Pull complete 10:03:00 77bc0d833cb6: Pull complete 10:03:00 9065ff56babe: Pull complete 10:03:01 d287ab97295c: Verifying Checksum 10:03:01 d287ab97295c: Download complete 10:03:06 d287ab97295c: Pull complete 10:03:06 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 10:03:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:03:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 10:03:06 prd-centos7-docker-4c-2g-258 does not seem to be running inside a container 10:03:06 $ 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-366/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-366 -v /w/workspace/edgexfoundry_device-sdk-c_PR-366:/w/workspace/edgexfoundry_device-sdk-c_PR-366:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-366@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-366@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:03:08 $ docker top 548748e6ab73f5fc990ddfc45e888eec640d0528686b66fd21ff1f896c8d9e56 -eo pid,comm [Pipeline] { [Pipeline] sh 10:03:09 + touch /tmp/pre-build-complete [Pipeline] sh 10:03:09 + mkdir -p /var/log/sysstat [Pipeline] sh 10:03:09 + ls /var/log/sa-host 10:03:09 + sadf -c /var/log/sa-host/sa05 10:03:09 file_magic: OK 10:03:09 HZ: Using current value: 100 10:03:09 file_header: OK 10:03:09 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 10:03:09 Statistics: 10:03:09 Hnuu...uuuununununu...Hnuu...uuuununununu... 10:03:09 File successfully converted to sysstat format version 12.0.3 10:03:09 + sadf -c /var/log/sa-host/sa30 10:03:09 file_magic: OK 10:03:09 HZ: Using current value: 100 10:03:09 file_header: OK 10:03:09 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 10:03:09 Statistics: 10:03:09 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 10:03:09 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:03:10 provisioning config files... 10:03:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-366@tmp/config1508692662432229771tmp [Pipeline] { [Pipeline] echo 10:03:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:03:10 ---> create-netrc.sh [Pipeline] } 10:03:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:03:11 ---> python-tools-install.sh [Pipeline] echo 10:03:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:03:11 ---> sudo-logs.sh 10:03:11 Archiving 'sudo' log.. 10:03:11 sudo: unable to resolve host prd-centos7-docker-4c-2g-258.vexxhost.local: Name or service not known 10:03:11 sudo: unable to resolve host prd-centos7-docker-4c-2g-258.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 10:03:11 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:03:11 ---> job-cost.sh 10:03:11 lf-activate-venv: SKIPPING 10:03:11 DEBUG: total: 0.10999999940395355 10:03:11 INFO: Retrieving Stack Cost... 10:03:12 INFO: Retrieving Pricing Info for: v3-standard-2 10:03:13 INFO: Archiving Costs [Pipeline] echo 10:03:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:03:13 ---> logs-deploy.sh 10:03:13 lf-activate-venv: SKIPPING 10:03:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-366/4 10:03:13 INFO: archiving workspace using pattern(s): 10:03:14 Archives upload complete. 10:03:14 INFO: archiving logs to Nexus 10:03:14 ---> uname -a: 10:03:14 Linux prd-centos7-docker-4c-2g-258.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 GNU/Linux 10:03:14 10:03:14 10:03:14 ---> lscpu: 10:03:14 Architecture: x86_64 10:03:14 CPU op-mode(s): 32-bit, 64-bit 10:03:14 Byte Order: Little Endian 10:03:14 Address sizes: 40 bits physical, 48 bits virtual 10:03:14 CPU(s): 2 10:03:14 On-line CPU(s) list: 0,1 10:03:14 Thread(s) per core: 1 10:03:14 Core(s) per socket: 1 10:03:14 Socket(s): 2 10:03:14 NUMA node(s): 1 10:03:14 Vendor ID: AuthenticAMD 10:03:14 CPU family: 23 10:03:14 Model: 49 10:03:14 Model name: AMD EPYC-Rome Processor 10:03:14 Stepping: 0 10:03:14 CPU MHz: 2799.998 10:03:14 BogoMIPS: 5599.99 10:03:14 Virtualization: AMD-V 10:03:14 Hypervisor vendor: KVM 10:03:14 Virtualization type: full 10:03:14 L1d cache: 32K 10:03:14 L1i cache: 32K 10:03:14 L2 cache: 512K 10:03:14 L3 cache: 16384K 10:03:14 NUMA node0 CPU(s): 0,1 10:03:14 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 10:03:14 10:03:14 10:03:14 ---> nproc: 10:03:14 2 10:03:14 10:03:14 10:03:14 ---> df -h: 10:03:14 Filesystem Size Used Avail Use% Mounted on 10:03:14 overlay 40G 7.7G 33G 20% / 10:03:14 tmpfs 64M 0 64M 0% /dev 10:03:14 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 10:03:14 shm 64M 0 64M 0% /dev/shm 10:03:14 /dev/vda1 40G 7.7G 33G 20% /facter-os 10:03:14 10:03:14 10:03:14 ---> sar -b -r -n DEV: 10:03:14 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 09/30/21 _x86_64_ (2 CPU) 10:03:14 10:03:14 09:55:16 LINUX RESTART (2 CPU) 10:03:14 10:03:14 09:56:01 tps rtps wtps bread/s bwrtn/s 10:03:14 09:57:01 18.28 0.67 17.62 352.37 2726.39 10:03:14 09:58:01 0.40 0.00 0.40 0.00 6.33 10:03:14 09:59:01 0.33 0.00 0.33 0.00 3.60 10:03:14 10:00:01 0.17 0.00 0.17 0.00 2.47 10:03:14 10:01:01 0.38 0.02 0.37 0.13 5.25 10:03:14 10:02:01 0.48 0.10 0.38 1.73 6.10 10:03:14 10:03:01 3.81 0.10 3.71 10.00 135.60 10:03:14 Average: 3.41 0.13 3.28 52.05 412.35 10:03:14 10:03:14 09:56:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 10:03:14 09:57:01 5463868 0 805736 10.06 2620 1736716 1246728 13.76 581808 1565008 20 10:03:14 09:58:01 5466940 0 802656 10.02 2620 1736724 1204724 13.30 580248 1564972 8 10:03:14 09:59:01 5465852 0 803744 10.04 2620 1736724 1204796 13.30 578036 1567780 8 10:03:14 10:00:01 5464384 0 805204 10.05 2620 1736732 1204832 13.30 579148 1567780 8 10:03:14 10:01:01 5461928 0 807656 10.08 2620 1736736 1207412 13.33 579704 1569604 16 10:03:14 10:02:01 5462420 0 807040 10.08 2620 1736860 1205076 13.30 580008 1569664 12 10:03:14 10:03:01 5163628 0 870132 10.86 2620 1972560 1392568 15.37 761644 1658492 234708 10:03:14 Average: 5421289 0 814595 10.17 2620 1770436 1238019 13.67 605799 1580471 33540 10:03:14 10:03:14 09:56:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 10:03:14 09:57:01 eth0 89.96 61.75 355.62 12.97 0.00 0.00 0.00 0.00 10:03:14 09:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:03:14 09:57:01 docker0 11.06 9.19 1.25 26.52 0.00 0.00 0.00 0.00 10:03:14 09:58:01 eth0 2.17 0.55 1.67 0.04 0.00 0.00 0.00 0.00 10:03:14 09:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:03:14 09:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:03:14 09:59:01 eth0 1.13 0.30 0.33 0.20 0.00 0.00 0.00 0.00 10:03:14 09:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:03:14 09:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:03:14 10:00:01 eth0 0.92 0.37 0.32 0.20 0.00 0.00 0.00 0.00 10:03:14 10:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:03:14 10:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:03:14 10:01:01 eth0 0.25 0.18 0.08 0.07 0.00 0.00 0.00 0.00 10:03:14 10:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:03:14 10:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:03:14 10:02:01 eth0 0.45 0.08 0.05 0.01 0.00 0.00 0.00 0.00 10:03:14 10:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:03:14 10:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:03:14 10:03:01 eth0 358.20 233.97 2594.89 20.13 0.00 0.00 0.00 0.00 10:03:14 10:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:03:14 10:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:03:14 Average: eth0 64.72 42.46 421.84 4.80 0.00 0.00 0.00 0.00 10:03:14 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 10:03:14 Average: docker0 1.58 1.31 0.18 3.79 0.00 0.00 0.00 0.00 10:03:14 10:03:14 10:03:14 ---> sar -P ALL: 10:03:14 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 09/30/21 _x86_64_ (2 CPU) 10:03:14 10:03:14 09:55:16 LINUX RESTART (2 CPU) 10:03:14 10:03:14 09:56:01 CPU %user %nice %system %iowait %steal %idle 10:03:14 09:57:01 all 2.37 0.00 1.23 0.31 0.03 96.05 10:03:14 09:57:01 0 2.42 0.00 1.40 0.30 0.03 95.84 10:03:14 09:57:01 1 2.33 0.00 1.06 0.32 0.03 96.26 10:03:14 09:58:01 all 0.25 0.00 0.04 0.00 0.03 99.67 10:03:14 09:58:01 0 0.40 0.00 0.03 0.00 0.03 99.53 10:03:14 09:58:01 1 0.10 0.00 0.05 0.00 0.03 99.82 10:03:14 09:59:01 all 0.14 0.00 0.03 0.00 0.04 99.79 10:03:14 09:59:01 0 0.23 0.00 0.03 0.00 0.05 99.68 10:03:14 09:59:01 1 0.05 0.00 0.02 0.00 0.03 99.90 10:03:14 10:00:01 all 0.07 0.00 0.03 0.00 0.04 99.87 10:03:14 10:00:01 0 0.12 0.00 0.02 0.00 0.02 99.85 10:03:14 10:00:01 1 0.02 0.00 0.03 0.00 0.07 99.88 10:03:14 10:01:01 all 0.12 0.00 0.04 0.00 0.04 99.80 10:03:14 10:01:01 0 0.10 0.00 0.05 0.00 0.05 99.80 10:03:14 10:01:01 1 0.13 0.00 0.03 0.00 0.03 99.80 10:03:14 10:02:01 all 0.08 0.00 0.04 0.00 0.03 99.84 10:03:14 10:02:01 0 0.05 0.00 0.05 0.00 0.05 99.85 10:03:14 10:02:01 1 0.12 0.00 0.03 0.00 0.02 99.83 10:03:14 10:03:01 all 3.61 0.00 1.32 0.02 0.05 95.00 10:03:14 10:03:01 0 2.82 0.00 1.38 0.03 0.07 95.70 10:03:14 10:03:01 1 4.40 0.00 1.27 0.00 0.03 94.30 10:03:14 Average: all 0.94 0.00 0.39 0.05 0.04 98.58 10:03:14 Average: 0 0.87 0.00 0.42 0.05 0.04 98.61 10:03:14 Average: 1 1.01 0.00 0.35 0.05 0.04 98.55 10:03:14 10:03:14 10:03:14