Pull request #357 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 18c66e74693b0dcf944d8eb774d259968cd08ab7+fe80442fa2f0db74f1d47f63cbba0c7b5c42b53a (47fe11e0e1070411319868e6fe34661e82dcebb1) 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-ssh8427143986012770919.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fbf90f19193a45d2dbdd9e9e5fbe6e31255a08c 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-ssh7061159027776472692.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 4fbf90f19193a45d2dbdd9e9e5fbe6e31255a08c 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-357/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-357/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh30178327615060152.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fbf90f19193a45d2dbdd9e9e5fbe6e31255a08c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fbf90f19193a45d2dbdd9e9e5fbe6e31255a08c # timeout=10 Commit message: "Merge pull request #352 from ernestojeda/parallel-go-mod-download" > 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-ssh1334190594557875788.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 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-357/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-357/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5876561789865505319.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-2242 in /w/workspace/edgexfoundry_device-sdk-c_PR-357 [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-357 # 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-357@tmp/jenkins-gitclient-ssh7268496908773539014.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/jenkins-gitclient-ssh5021891420047142700.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/357/head:refs/remotes/origin/PR-357 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit fe80442fa2f0db74f1d47f63cbba0c7b5c42b53a into PR head commit 18c66e74693b0dcf944d8eb774d259968cd08ab7 Merge succeeded, producing 18c66e74693b0dcf944d8eb774d259968cd08ab7 Checking out Revision 18c66e74693b0dcf944d8eb774d259968cd08ab7 (PR-357) > git config core.sparsecheckout # timeout=10 > git checkout -f 18c66e74693b0dcf944d8eb774d259968cd08ab7 # 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-357@tmp/jenkins-gitclient-ssh744730191876433297.key > git merge fe80442fa2f0db74f1d47f63cbba0c7b5c42b53a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 18c66e74693b0dcf944d8eb774d259968cd08ab7 # timeout=10 Commit message: "update to use maps for receiving secrets" > git rev-list --no-walk 1c70c4e8afdf954a47da8ca4dc04415ff0e9bb22 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:13:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:13:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:13:34 ========================================================= 13:13:34 EdgeX Global Pipelines Version Info 13:13:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:13:36 ------------------- 13:13:36 stable info: 13:13:36 ------------------- 13:13:36 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:13:36 Commit SHA: 4fbf90f19193a45d2dbdd9e9e5fbe6e31255a08c 13:13:36 Message: update stable to v1.0.204 13:13:36 ------------------- 13:13:36 experimental info: 13:13:36 ------------------- 13:13:36 Commited By: **** collab-it+edgex@linuxfoundation.org 13:13:36 Commit SHA: 4fbf90f19193a45d2dbdd9e9e5fbe6e31255a08c 13:13:36 Message: update experimental to v1.0.204 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:13:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 13:13:37 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 13:13:37 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:13:37 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:13:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:13:37 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo 13:13:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 13:13:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 13:13:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:13:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:13:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 13:13:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:13:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:13:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:13:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 13:13:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:13:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:13:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:13:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-357 [Pipeline] echo 13:13:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-357 [Pipeline] echo 13:13:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-357 [Pipeline] echo 13:13:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 18c66e74693b0dcf944d8eb774d259968cd08ab7 [Pipeline] echo 13:13:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 18c66e7 [Pipeline] echo 13:13:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:13:39 provisioning config files... 13:13:39 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/config9027025422714732795tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:13:39 ---> docker-login.sh 13:13:39 nexus3.edgexfoundry.org:10001 13:13:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:13:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:13:39 Configure a credential helper to remove this warning. See 13:13:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:13:39 13:13:39 Login Succeeded 13:13:39 nexus3.edgexfoundry.org:10002 13:13:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:13:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:13:40 Configure a credential helper to remove this warning. See 13:13:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:13:40 13:13:40 Login Succeeded 13:13:40 nexus3.edgexfoundry.org:10003 13:13:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:13:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:13:40 Configure a credential helper to remove this warning. See 13:13:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:13:40 13:13:40 Login Succeeded 13:13:40 nexus3.edgexfoundry.org:10004 13:13:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:13:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:13:40 Configure a credential helper to remove this warning. See 13:13:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:13:40 13:13:40 Login Succeeded 13:13:40 docker.io 13:13:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:13:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:13:40 Configure a credential helper to remove this warning. See 13:13:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:13:40 13:13:40 Login Succeeded 13:13:40 ---> docker-login.sh ends [Pipeline] } 13:13:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 13:13:45 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:13:45 13:13:45 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 13:13:46 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:13:46 latest: Pulling from edgex-devops/git-semver 13:13:46 31603596830f: Pulling fs layer 13:13:46 d4622e32a9a9: Pulling fs layer 13:13:46 1030fce36090: Pulling fs layer 13:13:46 6c6cb7e1b49b: Pulling fs layer 13:13:46 6c6cb7e1b49b: Waiting 13:13:46 d4622e32a9a9: Verifying Checksum 13:13:46 d4622e32a9a9: Download complete 13:13:46 31603596830f: Verifying Checksum 13:13:46 31603596830f: Download complete 13:13:46 31603596830f: Pull complete 13:13:46 6c6cb7e1b49b: Verifying Checksum 13:13:46 6c6cb7e1b49b: Download complete 13:13:46 d4622e32a9a9: Pull complete 13:13:47 1030fce36090: Verifying Checksum 13:13:47 1030fce36090: Download complete 13:13:47 1030fce36090: Pull complete 13:13:47 6c6cb7e1b49b: Pull complete 13:13:47 Digest: sha256:98b6084a185347f7b64647794a0a4774a411b925a780a33b3032b91fe10e00ab 13:13:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:13:47 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 13:13:47 prd-centos7-docker-4c-2g-2242 does not seem to be running inside a container 13:13:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-357 -v /w/workspace/edgexfoundry_device-sdk-c_PR-357:/w/workspace/edgexfoundry_device-sdk-c_PR-357:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-357@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 13:13:48 $ docker top 5974e2c8712f789aa443450ab1658d8f914868c688dbf5c0b8872a994ffcd9ef -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:13:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:13:48 [ssh-agent] Looking for ssh-agent implementation... 13:13:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:13:48 $ docker exec 5974e2c8712f789aa443450ab1658d8f914868c688dbf5c0b8872a994ffcd9ef ssh-agent 13:13:48 SSH_AUTH_SOCK=/tmp/ssh-mJOp26o30mFD/agent.13 13:13:48 SSH_AGENT_PID=19 13:13:48 Running ssh-add (command line suppressed) 13:13:48 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/private_key_7732506028904297721.key (/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/private_key_7732506028904297721.key) 13:13:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:13:49 + git tag --points-at HEAD [Pipeline] } 13:13:49 $ docker exec --env ******** --env ******** 5974e2c8712f789aa443450ab1658d8f914868c688dbf5c0b8872a994ffcd9ef ssh-agent -k 13:13:49 unset SSH_AUTH_SOCK; 13:13:49 unset SSH_AGENT_PID; 13:13:49 echo Agent pid 19 killed; 13:13:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:13:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:13:49 [ssh-agent] Looking for ssh-agent implementation... 13:13:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:13:49 $ docker exec 5974e2c8712f789aa443450ab1658d8f914868c688dbf5c0b8872a994ffcd9ef ssh-agent 13:13:49 SSH_AUTH_SOCK=/tmp/ssh-nXD9zoPPh5Bw/agent.52 13:13:49 SSH_AGENT_PID=59 13:13:49 Running ssh-add (command line suppressed) 13:13:49 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/private_key_1018981662593027636.key (/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/private_key_1018981662593027636.key) 13:13:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:13:50 + git semver init 13:13:50 # -> Open(): unable to determine branch for HEAD 13:13:50 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-357/.git 13:13:50 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-357 13:13:50 # $SEMVER_REMOTE_NAME = origin 13:13:50 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 13:13:50 # $SEMVER_USER_NAME = edgex-jenkins 13:13:50 # $SEMVER_BRANCH = PR-357 13:13:50 # $SEMVER_TEMP = /tmp/semver-867534533 13:13:50 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 13:13:51 # '/tmp/semver-867534533' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-357/.semver' 13:13:51 # -> Force: false 13:13:51 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-357/.semver [Pipeline] } 13:13:51 $ docker exec --env ******** --env ******** 5974e2c8712f789aa443450ab1658d8f914868c688dbf5c0b8872a994ffcd9ef ssh-agent -k 13:13:51 unset SSH_AUTH_SOCK; 13:13:51 unset SSH_AGENT_PID; 13:13:51 echo Agent pid 59 killed; 13:13:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:13:53 + git semver [Pipeline] } 13:13:53 $ docker stop --time=1 5974e2c8712f789aa443450ab1658d8f914868c688dbf5c0b8872a994ffcd9ef 13:13:54 $ docker rm -f 5974e2c8712f789aa443450ab1658d8f914868c688dbf5c0b8872a994ffcd9ef [Pipeline] // withDockerContainer [Pipeline] sh 13:13:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:13:55 Stashed 1 file(s) [Pipeline] echo 13:13:55 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 13:14:10 Still waiting to schedule task 13:14:10 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-2242’ 13:14:10 Still waiting to schedule task 13:14:10 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 13:16:23 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2243 in /w/workspace/edgexfoundry_device-sdk-c_PR-357 [Pipeline] { [Pipeline] ws 13:16:23 Running in /w/workspace/device-sdk-c/10 [Pipeline] { [Pipeline] checkout 13:16:23 Selected Git installation does not exist. Using Default 13:16:23 The recommended git tool is: NONE 13:16:30 using credential edgex-jenkins-ssh 13:16:30 Cloning the remote Git repository 13:16:31 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 13:16:31 > git init /w/workspace/device-sdk-c/10 # timeout=10 13:16:31 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 13:16:31 > git --version # timeout=10 13:16:31 > git --version # 'git version 2.17.1' 13:16:31 using GIT_SSH to set credentials SSH Credentials for GitHub 13:16:31 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:16:32 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 13:16:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:16:32 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 13:16:32 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 13:16:32 using GIT_SSH to set credentials SSH Credentials for GitHub 13:16:32 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/357/head:refs/remotes/origin/PR-357 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:16:33 Merging remotes/origin/main commit fe80442fa2f0db74f1d47f63cbba0c7b5c42b53a into PR head commit 18c66e74693b0dcf944d8eb774d259968cd08ab7 13:16:33 Merge succeeded, producing 18c66e74693b0dcf944d8eb774d259968cd08ab7 13:16:33 Checking out Revision 18c66e74693b0dcf944d8eb774d259968cd08ab7 (PR-357) 13:16:33 > git config core.sparsecheckout # timeout=10 13:16:33 > git checkout -f 18c66e74693b0dcf944d8eb774d259968cd08ab7 # timeout=10 13:16:33 > git remote # timeout=10 13:16:33 > git config --get remote.origin.url # timeout=10 13:16:33 using GIT_SSH to set credentials SSH Credentials for GitHub 13:16:33 > git merge fe80442fa2f0db74f1d47f63cbba0c7b5c42b53a # timeout=10 13:16:33 > git rev-parse HEAD^{commit} # timeout=10 13:16:33 > git config core.sparsecheckout # timeout=10 13:16:33 > git checkout -f 18c66e74693b0dcf944d8eb774d259968cd08ab7 # timeout=10 13:16:39 Commit message: "update to use maps for receiving secrets" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:16:39 provisioning config files... 13:16:39 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/10@tmp/config8903083066298213754tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:16:40 ---> docker-login.sh 13:16:40 nexus3.edgexfoundry.org:10001 13:16:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:43 Configure a credential helper to remove this warning. See 13:16:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:43 13:16:43 Login Succeeded 13:16:43 nexus3.edgexfoundry.org:10002 13:16:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:43 Configure a credential helper to remove this warning. See 13:16:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:43 13:16:43 Login Succeeded 13:16:43 nexus3.edgexfoundry.org:10003 13:16:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:43 Configure a credential helper to remove this warning. See 13:16:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:43 13:16:43 Login Succeeded 13:16:43 nexus3.edgexfoundry.org:10004 13:16:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:43 Configure a credential helper to remove this warning. See 13:16:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:43 13:16:43 Login Succeeded 13:16:43 docker.io 13:16:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:44 Configure a credential helper to remove this warning. See 13:16:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:44 13:16:44 Login Succeeded 13:16:44 ---> docker-login.sh ends [Pipeline] } 13:16:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:16:44 ========================================================= 13:16:44 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 13:16:44 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 13:16:45 + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . 13:16:47 Running on prd-centos7-docker-4c-2g-2244 in /w/workspace/edgexfoundry_device-sdk-c_PR-357 [Pipeline] { [Pipeline] ws 13:16:47 Sending build context to Docker daemon 2.722MB 13:16:47 Step 1/25 : ARG BASE=alpine:3.12 13:16:47 Step 2/25 : FROM ${BASE} as builder 13:16:47 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 13:16:47 d2f70382dc9a: Pulling fs layer 13:16:47 b08cc2eccb4b: Pulling fs layer 13:16:47 7b69db201801: Pulling fs layer 13:16:47 b08cc2eccb4b: Verifying Checksum 13:16:47 b08cc2eccb4b: Download complete 13:16:47 d2f70382dc9a: Verifying Checksum 13:16:47 d2f70382dc9a: Download complete 13:16:47 d2f70382dc9a: Pull complete 13:16:47 Running in /w/workspace/device-sdk-c/10 [Pipeline] { [Pipeline] checkout 13:16:47 Selected Git installation does not exist. Using Default 13:16:47 The recommended git tool is: NONE 13:16:47 b08cc2eccb4b: Pull complete 13:16:48 7b69db201801: Download complete 13:16:51 using credential edgex-jenkins-ssh 13:16:51 Cloning the remote Git repository 13:16:51 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 13:16:51 > git init /w/workspace/device-sdk-c/10 # timeout=10 13:16:51 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 13:16:51 > git --version # timeout=10 13:16:51 > git --version # 'git version 2.24.4' 13:16:51 using GIT_SSH to set credentials SSH Credentials for GitHub 13:16:51 [INFO] Currently running in a labeled security context 13:16:51 [INFO] Currently SELinux is 'enforcing' on the host 13:16:51 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/10@tmp/jenkins-gitclient-ssh4242459399308437406.key 13:16:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:16:52 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 13:16:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:16:52 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 13:16:52 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 13:16:52 using GIT_SSH to set credentials SSH Credentials for GitHub 13:16:52 [INFO] Currently running in a labeled security context 13:16:52 [INFO] Currently SELinux is 'enforcing' on the host 13:16:52 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/10@tmp/jenkins-gitclient-ssh2524729086046889350.key 13:16:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/357/head:refs/remotes/origin/PR-357 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:16:53 Merging remotes/origin/main commit fe80442fa2f0db74f1d47f63cbba0c7b5c42b53a into PR head commit 18c66e74693b0dcf944d8eb774d259968cd08ab7 13:16:53 Merge succeeded, producing 18c66e74693b0dcf944d8eb774d259968cd08ab7 13:16:53 Checking out Revision 18c66e74693b0dcf944d8eb774d259968cd08ab7 (PR-357) 13:16:53 > git config core.sparsecheckout # timeout=10 13:16:53 > git checkout -f 18c66e74693b0dcf944d8eb774d259968cd08ab7 # timeout=10 13:16:53 > git remote # timeout=10 13:16:53 > git config --get remote.origin.url # timeout=10 13:16:53 using GIT_SSH to set credentials SSH Credentials for GitHub 13:16:53 [INFO] Currently running in a labeled security context 13:16:53 [INFO] Currently SELinux is 'enforcing' on the host 13:16:53 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/10@tmp/jenkins-gitclient-ssh3583078420425644626.key 13:16:53 > git merge fe80442fa2f0db74f1d47f63cbba0c7b5c42b53a # timeout=10 13:16:53 > git rev-parse HEAD^{commit} # timeout=10 13:16:53 > git config core.sparsecheckout # timeout=10 13:16:53 > git checkout -f 18c66e74693b0dcf944d8eb774d259968cd08ab7 # timeout=10 13:16:58 7b69db201801: Pull complete 13:16:58 Digest: sha256:6402f0ff92f22f5db569dc2a94aef5717e50795d64082fb226716824a8b8ffba 13:16:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 13:16:58 ---> 759262b18b23 13:16:58 Step 3/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 13:16:58 ---> Running in 99b783de3984 13:16:58 Commit message: "update to use maps for receiving secrets" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:16:58 provisioning config files... 13:16:58 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/10@tmp/config3946763658878304040tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:16:59 ---> docker-login.sh 13:16:59 nexus3.edgexfoundry.org:10001 13:16:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:59 Connecting to iotech.jfrog.io (54.195.244.87:443) 13:16:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:59 Configure a credential helper to remove this warning. See 13:16:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:59 13:16:59 Login Succeeded 13:16:59 nexus3.edgexfoundry.org:10002 13:16:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:59 Configure a credential helper to remove this warning. See 13:16:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:59 13:16:59 Login Succeeded 13:16:59 nexus3.edgexfoundry.org:10003 13:16:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:59 Configure a credential helper to remove this warning. See 13:16:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:59 13:16:59 Login Succeeded 13:16:59 nexus3.edgexfoundry.org:10004 13:16:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:59 Configure a credential helper to remove this warning. See 13:16:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:59 13:16:59 Login Succeeded 13:16:59 docker.io 13:17:00 saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 13:17:00 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 13:17:00 '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved 13:17:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:17:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:17:00 Configure a credential helper to remove this warning. See 13:17:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:17:00 13:17:00 Login Succeeded 13:17:00 ---> docker-login.sh ends [Pipeline] } 13:17:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:17:00 ========================================================= 13:17:00 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 13:17:00 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 13:17:01 Removing intermediate container 99b783de3984 13:17:01 ---> 5f5449154d01 13:17:01 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 13:17:01 + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . 13:17:01 Sending build context to Docker daemon 2.723MB 13:17:01 Step 1/25 : ARG BASE=alpine:3.12 13:17:01 Step 2/25 : FROM ${BASE} as builder 13:17:01 ---> Running in 43b7acb963d0 13:17:01 latest: Pulling from edgex-devops/edgex-gcc-base 13:17:01 339de151aab4: Pulling fs layer 13:17:01 3691962f683c: Pulling fs layer 13:17:01 e1147bf81a45: Pulling fs layer 13:17:01 3691962f683c: Verifying Checksum 13:17:01 3691962f683c: Download complete 13:17:01 339de151aab4: Verifying Checksum 13:17:01 339de151aab4: Download complete 13:17:01 339de151aab4: Pull complete 13:17:01 3691962f683c: Pull complete 13:17:03 Removing intermediate container 43b7acb963d0 13:17:03 ---> 479d3a76f3e6 13:17: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 hiredis-dev 13:17:03 ---> Running in 942e88821538 13:17:04 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 13:17:05 e1147bf81a45: Verifying Checksum 13:17:05 e1147bf81a45: Download complete 13:17:05 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 13:17:06 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 13:17:07 (1/22) Installing hiredis (0.14.1-r0) 13:17:07 (2/22) Installing hiredis-dev (0.14.1-r0) 13:17:07 (3/22) Installing ncurses-dev (6.2_p20200523-r0) 13:17:07 (4/22) Installing paho-mqtt-c-dev (1.3.5-r0) 13:17:07 e1147bf81a45: Pull complete 13:17:07 Digest: sha256:32c567f17180c4abff101a0d389449dec7f3f623a221c8a8ae98dcac9b0d9fee 13:17:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 13:17:07 ---> ac6a0feb3254 13:17:07 Step 3/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 13:17:08 ---> Running in 3f516e339831 13:17:09 Connecting to iotech.jfrog.io (54.170.66.44:443) 13:17:09 (5/22) Installing libblkid (2.35.2-r0) 13:17:09 (6/22) Installing blkid (2.35.2-r0) 13:17:09 saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 13:17:09 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 13:17:09 '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved 13:17:09 Removing intermediate container 3f516e339831 13:17:09 ---> 6fb3ac6386e1 13:17:09 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 13:17:09 ---> Running in 8362505bf147 13:17:09 (7/22) Installing libcap-ng (0.7.10-r1) 13:17:09 (8/22) Installing setpriv (2.35.2-r0) 13:17:09 (9/22) Installing libmount (2.35.2-r0) 13:17:09 (10/22) Installing libsmartcols (2.35.2-r0) 13:17:09 (11/22) Installing findmnt (2.35.2-r0) 13:17:10 Removing intermediate container 8362505bf147 13:17:10 ---> 4ee6b86b4ef9 13:17:10 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 hiredis-dev 13:17:10 ---> Running in 9dc75be6d875 13:17:10 (12/22) Installing mcookie (2.35.2-r0) 13:17:10 (13/22) Installing hexdump (2.35.2-r0) 13:17:10 (14/22) Installing lsblk (2.35.2-r0) 13:17:10 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 13:17:10 (15/22) Installing libuuid (2.35.2-r0) 13:17:10 (16/22) Installing libfdisk (2.35.2-r0) 13:17:10 (17/22) Installing sfdisk (2.35.2-r0) 13:17:10 (18/22) Installing cfdisk (2.35.2-r0) 13:17:10 (19/22) Installing util-linux (2.35.2-r0) 13:17:11 (20/22) Installing util-linux-dev (2.35.2-r0) 13:17:11 (21/22) Installing libidn2 (2.3.0-r0) 13:17:11 (22/22) Installing wget (1.20.3-r1) 13:17:11 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 13:17:11 Executing busybox-1.31.1-r20.trigger 13:17:11 OK: 276 MiB in 97 packages 13:17:12 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 13:17:13 (1/22) Installing hiredis (0.14.1-r0) 13:17:13 (2/22) Installing hiredis-dev (0.14.1-r0) 13:17:13 (3/22) Installing ncurses-dev (6.2_p20200523-r0) 13:17:13 (4/22) Installing paho-mqtt-c-dev (1.3.5-r0) 13:17:13 Removing intermediate container 942e88821538 13:17:13 ---> e8f0bef0558d 13:17:13 Step 6/25 : ENV CBOR_VERSION=0.5.0 13:17:13 ---> Running in 6e6cb31c90ef 13:17:14 Removing intermediate container 6e6cb31c90ef 13:17:14 ---> 8edd7f192045 13:17:14 Step 7/25 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install 13:17:14 ---> Running in d09d8e1dd2dd 13:17:14 (5/22) Installing libblkid (2.35.2-r0) 13:17:14 (6/22) Installing blkid (2.35.2-r0) 13:17:14 (7/22) Installing libcap-ng (0.7.10-r1) 13:17:14 (8/22) Installing setpriv (2.35.2-r0) 13:17:15 (9/22) Installing libmount (2.35.2-r0) 13:17:15 (10/22) Installing libsmartcols (2.35.2-r0) 13:17:15 --2021-08-06 13:17:15-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 13:17:15 Resolving github.com (github.com)... 140.82.114.3 13:17:15 Connecting to github.com (github.com)|140.82.114.3|:443... connected. 13:17:16 (11/22) Installing findmnt (2.35.2-r0) 13:17:16 (12/22) Installing mcookie (2.35.2-r0) 13:17:16 (13/22) Installing hexdump (2.35.2-r0) 13:17:16 (14/22) Installing lsblk (2.35.2-r0) 13:17:16 HTTP request sent, awaiting response... 302 Found 13:17:16 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 13:17:16 --2021-08-06 13:17:15-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 13:17:16 Resolving codeload.github.com (codeload.github.com)... 140.82.114.9 13:17:16 Connecting to codeload.github.com (codeload.github.com)|140.82.114.9|:443... connected. 13:17:16 HTTP request sent, awaiting response... 200 OK 13:17:16 Length: unspecified [application/x-gzip] 13:17:16 Saving to: 'STDOUT' 13:17:16  13:17:16 0K .......... .......... .......... .......... .......... 1.22M 13:17:16 (15/22) Installing libuuid (2.35.2-r0) 13:17:16 (16/22) Installing libfdisk (2.35.2-r0) 13:17:16 50K .......... .......... .......... .......... .......... 2.46M 13:17:16 100K .......... .......... .......... .......... .......... 11.3M 13:17:16 150K .......... .......... .......... .......... .......... 3.16M 13:17:16 200K .......... .......... .......... .......... .......... 7.72M 13:17:16 250K .......... .......... .......... .......... .......... 4.28M 13:17:16 300K .......... .......... .......... .......... .......... 5.22M 13:17:16 350K .......... .......... .......... .......... .......... 4.32M 13:17:16 400K .......... .......... .......... .......... .......... 3.82M 13:17:16 450K .......... .......... .......... .......... .......... 3.53M 13:17:16 500K .......... .......... .......... .......... .......... 11.9M 13:17:16 550K .......... .......... .......... .......... .......... 1.37M 13:17:16 600K .......... .......... .......... .......... .......... 1.19M 13:17:16 650K .......... .......... .......... .......... .......... 2.08M 13:17:16 700K ..       3.35M=0.2s 13:17:16 13:17:16 2021-08-06 13:17:16 (2.75 MB/s) - written to stdout [719348] 13:17:16 13:17:16 (17/22) Installing sfdisk (2.35.2-r0) 13:17:16 (18/22) Installing cfdisk (2.35.2-r0) 13:17:16 -- The C compiler identification is GNU 9.3.0 13:17:16 (19/22) Installing util-linux (2.35.2-r0) 13:17:17 -- The CXX compiler identification is GNU 9.3.0 13:17:17 -- Check for working C compiler: /usr/bin/cc 13:17:17 -- Check for working C compiler: /usr/bin/cc - works 13:17:17 -- Detecting C compiler ABI info 13:17:17 -- Detecting C compiler ABI info - done 13:17:17 -- Detecting C compile features 13:17:17 -- Detecting C compile features - done 13:17:17 -- Check for working CXX compiler: /usr/bin/c++ 13:17:18 -- Check for working CXX compiler: /usr/bin/c++ - works 13:17:18 -- Detecting CXX compiler ABI info 13:17:18 -- Detecting CXX compiler ABI info - done 13:17:18 -- Detecting CXX compile features 13:17:18 -- Detecting CXX compile features - done 13:17:18 -- Looking for include file endian.h 13:17:18 -- Looking for include file endian.h - found 13:17:18 -- Check if the system is big endian 13:17:18 -- Searching 16 bit integer 13:17:18 -- Looking for sys/types.h 13:17:18 -- Looking for sys/types.h - found 13:17:18 -- Looking for stdint.h 13:17:19 -- Looking for stdint.h - found 13:17:19 -- Looking for stddef.h 13:17:19 (20/22) Installing util-linux-dev (2.35.2-r0) 13:17:19 -- Looking for stddef.h - found 13:17:19 -- Check size of unsigned short 13:17:19 -- Check size of unsigned short - done 13:17:19 -- Searching 16 bit integer - Using unsigned short 13:17:20 -- Check if the system is big endian - little endian 13:17:20 -- Check size of size_t 13:17:20 -- Check size of size_t - done 13:17:20 CMake Warning at examples/CMakeLists.txt:16 (find_package): 13:17:20 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 13:17:20 asked CMake to find a package configuration file provided by "cJSON", but 13:17:20 CMake did not find one. 13:17:20 13:17:20 Could not find a package configuration file provided by "cJSON" with any of 13:17:20 the following names: 13:17:20 13:17:20 cJSONConfig.cmake 13:17:20 cjson-config.cmake 13:17:20 13:17:20 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 13:17:20 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 13:17:20 provides a separate development package or SDK, be sure it has been 13:17:20 installed. 13:17:20 13:17:20 13:17:20 -- Configuring done 13:17:20 (21/22) Installing libidn2 (2.3.0-r0) 13:17:20 -- Generating done 13:17:20 -- Build files have been written to: /tmp/cbor 13:17:20 Scanning dependencies of target cbor_shared 13:17:20 (22/22) Installing wget (1.20.3-r1) 13:17:20 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 13:17:21 Executing busybox-1.31.1-r20.trigger 13:17:21 OK: 295 MiB in 97 packages 13:17:21 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 13:17:21 Removing intermediate container 9dc75be6d875 13:17:21 ---> a223cf942247 13:17:21 Step 6/25 : ENV CBOR_VERSION=0.5.0 13:17:21 ---> Running in c74cb88e7000 13:17:21 Removing intermediate container c74cb88e7000 13:17:21 ---> 990e41e4ccc4 13:17:21 Step 7/25 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install 13:17:21 ---> Running in 367bcb3da975 13:17:22 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 13:17:22 --2021-08-06 13:17:22-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 13:17:22 Resolving github.com (github.com)... 140.82.114.3 13:17:22 Connecting to github.com (github.com)|140.82.114.3|:443... connected. 13:17:22 HTTP request sent, awaiting response... 302 Found 13:17:22 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 13:17:22 --2021-08-06 13:17:22-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 13:17:22 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 13:17:22 Resolving codeload.github.com (codeload.github.com)... 140.82.114.9 13:17:22 Connecting to codeload.github.com (codeload.github.com)|140.82.114.9|:443... connected. 13:17:22 HTTP request sent, awaiting response... 200 OK 13:17:22 Length: unspecified [application/x-gzip] 13:17:22 Saving to: 'STDOUT' 13:17:22 13:17:22 0K .......... .......... .......... .......... .......... 1.40M 13:17:22 50K .......... .......... .......... .......... .......... 2.74M 13:17:22 100K .......... .......... .......... .......... .......... 44.3M 13:17:22 150K .......... .......... .......... .......... .......... 3.04M 13:17:22 200K .......... .......... .......... .......... .......... 12.1M 13:17:22 250K .......... .......... .......... .......... .......... 7.43M 13:17:22 300K .......... .......... .......... .......... .......... 11.4M 13:17:22 350K .......... .......... .......... .......... .......... 9.68M 13:17:22 400K .......... .......... .......... .......... .......... 8.19M 13:17:22 450K .......... .......... .......... .......... .......... 14.6M 13:17:22 500K .......... .......... .......... .......... .......... 655K 13:17:22 550K .......... .......... .......... .......... .......... 53.0M 13:17:22 600K .......... .......... .......... .......... .......... 2.96M 13:17:22 650K .......... .......... .......... .......... .......... 7.65M 13:17:22 700K .. 1.53M=0.2s 13:17:22 13:17:22 2021-08-06 13:17:22 (3.42 MB/s) - written to stdout [719348] 13:17:22 13:17:22 -- The C compiler identification is GNU 9.3.0 13:17:22 -- The CXX compiler identification is GNU 9.3.0 13:17:22 -- Check for working C compiler: /usr/bin/cc 13:17:22 -- Check for working C compiler: /usr/bin/cc - works 13:17:22 -- Detecting C compiler ABI info 13:17:22 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 13:17:22 -- Detecting C compiler ABI info - done 13:17:22 -- Detecting C compile features 13:17:22 -- Detecting C compile features - done 13:17:22 -- Check for working CXX compiler: /usr/bin/c++ 13:17:22 -- Check for working CXX compiler: /usr/bin/c++ - works 13:17:22 -- Detecting CXX compiler ABI info 13:17:22 -- Detecting CXX compiler ABI info - done 13:17:22 -- Detecting CXX compile features 13:17:22 -- Detecting CXX compile features - done 13:17:22 -- Looking for include file endian.h 13:17:22 -- Looking for include file endian.h - found 13:17:22 -- Check if the system is big endian 13:17:22 -- Searching 16 bit integer 13:17:22 -- Looking for sys/types.h 13:17:23 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 13:17:23 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 13:17:23 -- Looking for sys/types.h - found 13:17:23 -- Looking for stdint.h 13:17:23 -- Looking for stdint.h - found 13:17:23 -- Looking for stddef.h 13:17:23 -- Looking for stddef.h - found 13:17:23 -- Check size of unsigned short 13:17:23 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 13:17:23 -- Check size of unsigned short - done 13:17:23 -- Searching 16 bit integer - Using unsigned short 13:17:23 -- Check if the system is big endian - little endian 13:17:23 -- Check size of size_t 13:17:23 -- Check size of size_t - done 13:17:23 CMake Warning at examples/CMakeLists.txt:16 (find_package): 13:17:23 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 13:17:23 asked CMake to find a package configuration file provided by "cJSON", but 13:17:23 CMake did not find one. 13:17:23 13:17:23 Could not find a package configuration file provided by "cJSON" with any of 13:17:23 the following names: 13:17:23 13:17:23 cJSONConfig.cmake 13:17:23 cjson-config.cmake 13:17:23 13:17:23 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 13:17:23 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 13:17:23 provides a separate development package or SDK, be sure it has been 13:17:23 installed. 13:17:23 13:17:23 13:17:23 -- Configuring done 13:17:23 -- Generating done 13:17:23 -- Build files have been written to: /tmp/cbor 13:17:23 Scanning dependencies of target cbor_shared 13:17:23 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 13:17:23 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 13:17:23 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 13:17:23 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 13:17:23 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 13:17:24 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 13:17:24 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 13:17:24 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 13:17:24 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 13:17:24 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 13:17:24 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 13:17:24 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 13:17:24 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 13:17:24 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 13:17:24 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 13:17:24 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 13:17:24 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 13:17:26 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 13:17:26 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 13:17:26 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 13:17:26 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 13:17:26 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 13:17:26 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 13:17:26 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 13:17:26 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 13:17:26 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 13:17:26 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 13:17:26 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 13:17:26 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 13:17:26 [ 40%] Linking C shared library libcbor.so 13:17:26 [ 40%] Built target cbor_shared 13:17:26 Scanning dependencies of target cbor 13:17:26 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 13:17:26 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 13:17:26 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 13:17:26 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 13:17:26 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 13:17:26 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 13:17:26 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 13:17:26 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 13:17:26 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 13:17:26 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 13:17:26 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 13:17:26 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 13:17:26 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 13:17:26 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 13:17:26 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 13:17:26 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 13:17:26 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 13:17:26 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 13:17:26 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 13:17:26 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 13:17:26 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 13:17:26 [ 80%] Linking C static library libcbor.a 13:17:26 [ 80%] Built target cbor 13:17:26 Scanning dependencies of target sort 13:17:26 [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 13:17:26 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 13:17:26 [ 84%] Linking C executable sort 13:17:26 [ 84%] Built target sort 13:17:26 Scanning dependencies of target readfile 13:17:26 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 13:17:26 [ 88%] Linking C executable readfile 13:17:26 [ 88%] Built target readfile 13:17:26 Scanning dependencies of target streaming_parser 13:17:26 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 13:17:26 [ 92%] Linking C executable streaming_parser 13:17:26 [ 92%] Built target streaming_parser 13:17:26 Scanning dependencies of target hello 13:17:26 [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 13:17:27 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 13:17:27 [ 40%] Linking C shared library libcbor.so 13:17:27 [ 96%] Linking C executable hello 13:17:27 [ 96%] Built target hello 13:17:27 Scanning dependencies of target create_items 13:17:27 [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 13:17:27 [100%] Linking C executable create_items 13:17:27 [100%] Built target create_items 13:17:27 Install the project... 13:17:27 -- Install configuration: "Release" 13:17:27 -- Installing: /usr/local/include/cbor/configuration.h 13:17:27 -- Installing: /usr/local/lib64/libcbor.a 13:17:27 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 13:17:27 -- Installing: /usr/local/lib64/libcbor.so.0 13:17:27 -- Installing: /usr/local/lib64/libcbor.so 13:17:27 -- Up-to-date: /usr/local/include/cbor 13:17:27 -- Installing: /usr/local/include/cbor/arrays.h 13:17:27 -- Installing: /usr/local/include/cbor/bytestrings.h 13:17:27 -- Installing: /usr/local/include/cbor/callbacks.h 13:17:27 -- Installing: /usr/local/include/cbor/common.h 13:17:27 -- Installing: /usr/local/include/cbor/data.h 13:17:27 -- Installing: /usr/local/include/cbor/encoding.h 13:17:27 -- Installing: /usr/local/include/cbor/floats_ctrls.h 13:17:27 -- Installing: /usr/local/include/cbor/internal 13:17:27 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 13:17:27 -- Installing: /usr/local/include/cbor/internal/encoders.h 13:17:27 -- Installing: /usr/local/include/cbor/internal/loaders.h 13:17:27 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 13:17:27 -- Installing: /usr/local/include/cbor/internal/stack.h 13:17:27 -- Installing: /usr/local/include/cbor/internal/unicode.h 13:17:27 -- Installing: /usr/local/include/cbor/ints.h 13:17:27 -- Installing: /usr/local/include/cbor/maps.h 13:17:27 -- Installing: /usr/local/include/cbor/serialization.h 13:17:27 -- Installing: /usr/local/include/cbor/streaming.h 13:17:27 -- Installing: /usr/local/include/cbor/strings.h 13:17:27 -- Installing: /usr/local/include/cbor/tags.h 13:17:27 -- Installing: /usr/local/include/cbor.h 13:17:27 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 13:17:27 [ 40%] Built target cbor_shared 13:17:27 Scanning dependencies of target cbor 13:17:27 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 13:17:27 Removing intermediate container 367bcb3da975 13:17:27 ---> e7726b0e9207 13:17:27 Step 8/25 : RUN mkdir /tmp/sdk 13:17:27 ---> Running in 596753a5bc45 13:17:28 Removing intermediate container 596753a5bc45 13:17:28 ---> 9f3fa6b8c84b 13:17:28 Step 9/25 : COPY VERSION /tmp/sdk 13:17:28 ---> 0fbed8b73c71 13:17:28 Step 10/25 : COPY src /tmp/sdk/src 13:17:28 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 13:17:28 ---> a2022af9b1e5 13:17:28 Step 11/25 : COPY include /tmp/sdk/include 13:17:28 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 13:17:28 ---> 8083d78089ba 13:17:28 Step 12/25 : COPY scripts /tmp/sdk/scripts 13:17:28 ---> 65908d20a6d1 13:17:28 Step 13/25 : COPY LICENSE /tmp/sdk 13:17:28 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 13:17:29 ---> edc70071a48f 13:17:29 Step 14/25 : COPY Attribution.txt /tmp/sdk 13:17:29 ---> 65ab2e24200a 13:17:29 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 13:17:29 ---> Running in 65667b601ed1 13:17:30 + CPPCHECK=false 13:17:30 + DOCGEN=false 13:17:30 + TOMLVER=SDK-0.2 13:17:30 + CUTILVER=1.1.4 13:17:30 + '[' 0 -gt 0 ] 13:17:30 + readlink -f ./scripts/build.sh 13:17:30 + dirname /tmp/sdk/scripts/build.sh 13:17:30 + dirname /tmp/sdk/scripts 13:17:30 + ROOT=/tmp/sdk 13:17:30 + cd /tmp/sdk 13:17:30 + '[' '!' -d deps ] 13:17:30 + mkdir deps 13:17:30 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 13:17:30 + tar -C deps -z -x -f - 13:17:30 --2021-08-06 13:17:30-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 13:17:30 Resolving github.com (github.com)... 140.82.114.3 13:17:30 Connecting to github.com (github.com)|140.82.114.3|:443... connected. 13:17:30 HTTP request sent, awaiting response... 302 Found 13:17:30 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 13:17:30 --2021-08-06 13:17:30-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 13:17:30 Resolving codeload.github.com (codeload.github.com)... 140.82.114.9 13:17:30 Connecting to codeload.github.com (codeload.github.com)|140.82.114.9|:443... connected. 13:17:30 HTTP request sent, awaiting response... 200 OK 13:17:30 Length: unspecified [application/x-gzip] 13:17:30 Saving to: 'STDOUT' 13:17:30  13:17:30 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 13:17:30 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 13:17:31 0K .......... ...... 842K=0.02s 13:17:31 13:17:31 2021-08-06 13:17:30 (842 KB/s) - written to stdout [16451] 13:17:31 13:17:31 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 13:17:31 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 13:17:31 + tar -C deps -z -x -f - 13:17:31 --2021-08-06 13:17:30-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 13:17:31 Resolving github.com (github.com)... 140.82.114.3 13:17:31 Connecting to github.com (github.com)|140.82.114.3|:443... connected. 13:17:31 HTTP request sent, awaiting response... 302 Found 13:17:31 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 13:17:31 --2021-08-06 13:17:30-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 13:17:31 Resolving codeload.github.com (codeload.github.com)... 140.82.114.9 13:17:31 Connecting to codeload.github.com (codeload.github.com)|140.82.114.9|:443... connected. 13:17:31 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 13:17:31 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 13:17:31 HTTP request sent, awaiting response... 200 OK 13:17:31 Length: unspecified [application/x-gzip] 13:17:31 Saving to: 'STDOUT' 13:17:31  13:17:31 0K .......... .......... .......... .......... .......... 1.37M 13:17:31 50K .......... .......... .......... .......... .......... 2.61M 13:17:31 100K .......... .......... .......... .......... .......... 31.9M 13:17:31 150K .......... .......... ....... 5.54M=0.06s 13:17:31 13:17:31 2021-08-06 13:17:31 (2.85 MB/s) - written to stdout [181796] 13:17:31 13:17:31 + mkdir -p src/c/iot 13:17:31 + cp deps/iotech-c-utils-1.1.4/src/c/base64.c deps/iotech-c-utils-1.1.4/src/c/component.c deps/iotech-c-utils-1.1.4/src/c/config.c deps/iotech-c-utils-1.1.4/src/c/container.c deps/iotech-c-utils-1.1.4/src/c/data.c deps/iotech-c-utils-1.1.4/src/c/hash.c deps/iotech-c-utils-1.1.4/src/c/iot.c deps/iotech-c-utils-1.1.4/src/c/json.c deps/iotech-c-utils-1.1.4/src/c/logger.c deps/iotech-c-utils-1.1.4/src/c/os.c deps/iotech-c-utils-1.1.4/src/c/scheduler.c deps/iotech-c-utils-1.1.4/src/c/thread.c deps/iotech-c-utils-1.1.4/src/c/threadpool.c deps/iotech-c-utils-1.1.4/src/c/time.c deps/iotech-c-utils-1.1.4/src/c/yxml.c src/c/iot 13:17:31 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 13:17:31 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 13:17:31 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 13:17:31 + mkdir -p include/iot 13:17:31 + cp deps/iotech-c-utils-1.1.4/include/iot/base64.h deps/iotech-c-utils-1.1.4/include/iot/component.h deps/iotech-c-utils-1.1.4/include/iot/config.h deps/iotech-c-utils-1.1.4/include/iot/container.h deps/iotech-c-utils-1.1.4/include/iot/data.h deps/iotech-c-utils-1.1.4/include/iot/hash.h deps/iotech-c-utils-1.1.4/include/iot/iot.h deps/iotech-c-utils-1.1.4/include/iot/json.h deps/iotech-c-utils-1.1.4/include/iot/logger.h deps/iotech-c-utils-1.1.4/include/iot/os.h deps/iotech-c-utils-1.1.4/include/iot/scheduler.h deps/iotech-c-utils-1.1.4/include/iot/thread.h deps/iotech-c-utils-1.1.4/include/iot/threadpool.h deps/iotech-c-utils-1.1.4/include/iot/time.h deps/iotech-c-utils-1.1.4/include/iot/typecode.h include/iot 13:17:31 + mkdir -p include/iot/os 13:17:31 + cp deps/iotech-c-utils-1.1.4/include/iot/os/linux.h deps/iotech-c-utils-1.1.4/include/iot/os/macos.h deps/iotech-c-utils-1.1.4/include/iot/os/zephyr.h include/iot/os 13:17:31 + mkdir -p /tmp/sdk/build/release 13:17:31 + cd /tmp/sdk/build/release 13:17:31 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 13:17:31 -- The C compiler identification is GNU 9.3.0 13:17:31 -- Check for working C compiler: /usr/bin/cc 13:17:31 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 13:17:31 -- Check for working C compiler: /usr/bin/cc - works 13:17:31 -- Detecting C compiler ABI info 13:17:31 -- Detecting C compiler ABI info - done 13:17:31 -- Detecting C compile features 13:17:31 -- Detecting C compile features - done 13:17:31 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:17:31 -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") 13:17:31 -- Found LIBYAML: /usr/lib/libyaml.so 13:17:31 -- Found LIBUUID: /usr/lib/libuuid.so 13:17:31 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 13:17:31 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 13:17:31 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 13:17:31 -- C SDK 0.0.0 for Linux 13:17:31 -- Performing Test CSDK_HAVE_ATOMIC 13:17:31 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:17:31 -- Found Curses: /usr/lib/libcurses.so 13:17:31 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 13:17:31 -- Configuring done 13:17:31 -- Generating done 13:17:31 -- Build files have been written to: /tmp/sdk/build/release 13:17:31 + make all package 13:17:31 + tee release.log 13:17:31 Scanning dependencies of target csdk 13:17:31 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:17:31 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 13:17:32 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 13:17:32 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 13:17:32 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 13:17:32 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 13:17:32 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 13:17:32 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 13:17:32 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 13:17:32 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 13:17:32 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 13:17:32 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 13:17:33 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 13:17:33 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 13:17:33 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 13:17:33 [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:17:33 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 13:17:33 [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 13:17:33 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 13:17:33 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 13:17:33 [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 13:17:33 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 13:17:33 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 13:17:34 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 13:17:34 [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 13:17:34 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 13:17:34 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 13:17:34 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 13:17:34 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 13:17:34 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 13:17:34 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 13:17:34 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 13:17:35 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 13:17:35 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 13:17:35 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 13:17:35 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 13:17:35 [ 80%] Linking C static library libcbor.a 13:17:35 [ 80%] Built target cbor 13:17:35 Scanning dependencies of target sort 13:17:35 [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 13:17:35 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 13:17:35 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 13:17:35 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 13:17:35 [ 84%] Linking C executable sort 13:17:35 [ 84%] Built target sort 13:17:35 Scanning dependencies of target readfile 13:17:35 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 13:17:35 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 13:17:35 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 13:17:35 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 13:17:35 [ 88%] Linking C executable readfile 13:17:36 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 13:17:36 [ 88%] Built target readfile 13:17:36 Scanning dependencies of target streaming_parser 13:17:36 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 13:17:36 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 13:17:36 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 13:17:36 [ 92%] Linking C executable streaming_parser 13:17:36 [ 92%] Built target streaming_parser 13:17:36 Scanning dependencies of target hello 13:17:36 [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 13:17:36 [ 96%] Linking C executable hello 13:17:36 [ 96%] Built target hello 13:17:36 Scanning dependencies of target create_items 13:17:36 [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 13:17:36 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 13:17:36 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 13:17:36 [100%] Linking C executable create_items 13:17:36 [100%] Built target create_items 13:17:36 Install the project... 13:17:36 -- Install configuration: "Release" 13:17:36 -- Installing: /usr/local/include/cbor/configuration.h 13:17:36 -- Installing: /usr/local/lib64/libcbor.a 13:17:36 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 13:17:36 -- Installing: /usr/local/lib64/libcbor.so.0 13:17:36 -- Installing: /usr/local/lib64/libcbor.so 13:17:36 -- Up-to-date: /usr/local/include/cbor 13:17:36 -- Installing: /usr/local/include/cbor/streaming.h 13:17:36 -- Installing: /usr/local/include/cbor/ints.h 13:17:36 -- Installing: /usr/local/include/cbor/floats_ctrls.h 13:17:36 -- Installing: /usr/local/include/cbor/bytestrings.h 13:17:36 -- Installing: /usr/local/include/cbor/encoding.h 13:17:36 -- Installing: /usr/local/include/cbor/serialization.h 13:17:36 -- Installing: /usr/local/include/cbor/data.h 13:17:36 -- Installing: /usr/local/include/cbor/common.h 13:17:36 -- Installing: /usr/local/include/cbor/callbacks.h 13:17:36 -- Installing: /usr/local/include/cbor/strings.h 13:17:36 -- Installing: /usr/local/include/cbor/tags.h 13:17:36 -- Installing: /usr/local/include/cbor/internal 13:17:36 -- Installing: /usr/local/include/cbor/internal/encoders.h 13:17:36 -- Installing: /usr/local/include/cbor/internal/loaders.h 13:17:36 -- Installing: /usr/local/include/cbor/internal/stack.h 13:17:36 -- Installing: /usr/local/include/cbor/internal/unicode.h 13:17:36 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 13:17:36 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 13:17:36 -- Installing: /usr/local/include/cbor/arrays.h 13:17:36 -- Installing: /usr/local/include/cbor/maps.h 13:17:36 -- Installing: /usr/local/include/cbor.h 13:17:36 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 13:17:37 [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 13:17:37 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 13:17:37 [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 13:17:37 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 13:17:37 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 13:17:37 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 13:17:38 [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 13:17:38 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 13:17:38 [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o 13:17:38 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 13:17:39 [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 13:17:39 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 13:17:39 [ 75%] Linking C shared library libcsdk.so 13:17:39 [ 75%] Built target csdk 13:17:39 Scanning dependencies of target template 13:17:39 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 13:17:39 Removing intermediate container d09d8e1dd2dd 13:17:39 ---> d494e7e20864 13:17:39 Step 8/25 : RUN mkdir /tmp/sdk 13:17:39 ---> Running in b40cd36b64c1 13:17:39 [ 78%] Linking C executable template 13:17:39 [ 78%] Built target template 13:17:39 Scanning dependencies of target device-counter 13:17:39 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 13:17:39 [ 81%] Linking C executable device-counter 13:17:39 [ 81%] Built target device-counter 13:17:39 Scanning dependencies of target device-random 13:17:39 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 13:17:39 [ 84%] Linking C executable device-random 13:17:39 [ 84%] Built target device-random 13:17:39 Scanning dependencies of target device-gyro 13:17:39 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 13:17:40 [ 87%] Linking C executable device-gyro 13:17:40 [ 87%] Built target device-gyro 13:17:40 Scanning dependencies of target device-bitfields 13:17:40 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 13:17:40 [ 90%] Linking C executable device-bitfields 13:17:40 [ 90%] Built target device-bitfields 13:17:40 Scanning dependencies of target template-discovery 13:17:40 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 13:17:40 [ 93%] Linking C executable template-discovery 13:17:40 [ 93%] Built target template-discovery 13:17:40 Scanning dependencies of target device-file 13:17:40 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 13:17:40 [ 96%] Linking C executable device-file 13:17:40 [ 96%] Built target device-file 13:17:40 Scanning dependencies of target device-terminal 13:17:40 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 13:17:40 [100%] Linking C executable device-terminal 13:17:40 [100%] Built target device-terminal 13:17:40 Run CPack packaging tool... 13:17:40 CPack: Create package using TGZ 13:17:40 CPack: Install projects 13:17:40 CPack: - Run preinstall target for: Csdk 13:17:40 CPack: - Install project: Csdk [] 13:17:40 CPack: Create package 13:17:40 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 13:17:40 + '[' false '=' true ] 13:17:40 + '[' false '=' true ] 13:17:40 + mkdir -p /tmp/sdk/build/debug 13:17:40 + cd /tmp/sdk/build/debug 13:17:40 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 13:17:40 -- The C compiler identification is GNU 9.3.0 13:17:40 -- Check for working C compiler: /usr/bin/cc 13:17:41 -- Check for working C compiler: /usr/bin/cc - works 13:17:41 -- Detecting C compiler ABI info 13:17:41 -- Detecting C compiler ABI info - done 13:17:41 -- Detecting C compile features 13:17:41 -- Detecting C compile features - done 13:17:41 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:17:41 -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") 13:17:41 -- Found LIBYAML: /usr/lib/libyaml.so 13:17:41 -- Found LIBUUID: /usr/lib/libuuid.so 13:17:41 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 13:17:41 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 13:17:41 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 13:17:41 -- C SDK 0.0.0 for Linux 13:17:41 -- Performing Test CSDK_HAVE_ATOMIC 13:17:41 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:17:41 -- Found Curses: /usr/lib/libcurses.so 13:17:41 -- Configuring done 13:17:41 -- Generating done 13:17:41 -- Build files have been written to: /tmp/sdk/build/debug 13:17:41 + make 13:17:41 + tee debug.log 13:17:41 Scanning dependencies of target csdk 13:17:41 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:17:41 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 13:17:41 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 13:17:41 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 13:17:41 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 13:17:41 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 13:17:42 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 13:17:42 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 13:17:42 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 13:17:42 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 13:17:42 Removing intermediate container b40cd36b64c1 13:17:42 ---> 95c8daa07357 13:17:42 Step 9/25 : COPY VERSION /tmp/sdk 13:17:42 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 13:17:42 [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:17:42 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 13:17:42 [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 13:17:42 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 13:17:42 [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 13:17:42 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 13:17:42 [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 13:17:42 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 13:17:42 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 13:17:42 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 13:17:42 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 13:17:42 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 13:17:43 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 13:17:43 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 13:17:43 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 13:17:43 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 13:17:43 ---> 4d0e048e0908 13:17:43 Step 10/25 : COPY src /tmp/sdk/src 13:17:43 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 13:17:43 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 13:17:43 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 13:17:43 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 13:17:43 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 13:17:43 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 13:17:43 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 13:17:43 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 13:17:43 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 13:17:43 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 13:17:43 [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 13:17:44 ---> 985288aaaefd 13:17:44 Step 11/25 : COPY include /tmp/sdk/include 13:17:44 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 13:17:44 [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 13:17:44 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 13:17:44 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 13:17:44 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 13:17:44 [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 13:17:44 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 13:17:44 [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o 13:17:44 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 13:17:44 [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 13:17:45 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 13:17:45 [ 75%] Linking C shared library libcsdk.so 13:17:45 [ 75%] Built target csdk 13:17:45 Scanning dependencies of target template 13:17:45 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 13:17:45 [ 78%] Linking C executable template 13:17:45 ---> 3e9c4a7ad83e 13:17:45 Step 12/25 : COPY scripts /tmp/sdk/scripts 13:17:45 [ 78%] Built target template 13:17:45 Scanning dependencies of target device-counter 13:17:45 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 13:17:45 [ 81%] Linking C executable device-counter 13:17:45 [ 81%] Built target device-counter 13:17:45 Scanning dependencies of target device-random 13:17:45 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 13:17:45 [ 84%] Linking C executable device-random 13:17:45 [ 84%] Built target device-random 13:17:45 Scanning dependencies of target device-gyro 13:17:45 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 13:17:45 [ 87%] Linking C executable device-gyro 13:17:45 [ 87%] Built target device-gyro 13:17:45 Scanning dependencies of target device-bitfields 13:17:45 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 13:17:45 [ 90%] Linking C executable device-bitfields 13:17:45 [ 90%] Built target device-bitfields 13:17:45 Scanning dependencies of target template-discovery 13:17:45 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 13:17:45 ---> 97d4871c04bf 13:17:45 Step 13/25 : COPY LICENSE /tmp/sdk 13:17:45 [ 93%] Linking C executable template-discovery 13:17:45 [ 93%] Built target template-discovery 13:17:45 Scanning dependencies of target device-file 13:17:45 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 13:17:45 [ 96%] Linking C executable device-file 13:17:45 [ 96%] Built target device-file 13:17:45 Scanning dependencies of target device-terminal 13:17:45 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 13:17:46 [100%] Linking C executable device-terminal 13:17:46 [100%] Built target device-terminal 13:17:46 make: Entering directory '/tmp/sdk/build/release' 13:17:46 make[1]: Entering directory '/tmp/sdk/build/release' 13:17:46 make[2]: Entering directory '/tmp/sdk/build/release' 13:17:46 make[2]: Leaving directory '/tmp/sdk/build/release' 13:17:46 [ 75%] Built target csdk 13:17:46 make[2]: Entering directory '/tmp/sdk/build/release' 13:17:46 make[2]: Leaving directory '/tmp/sdk/build/release' 13:17:46 [ 78%] Built target template 13:17:46 make[2]: Entering directory '/tmp/sdk/build/release' 13:17:46 make[2]: Leaving directory '/tmp/sdk/build/release' 13:17:46 [ 81%] Built target device-counter 13:17:46 make[2]: Entering directory '/tmp/sdk/build/release' 13:17:46 make[2]: Leaving directory '/tmp/sdk/build/release' 13:17:46 [ 84%] Built target device-random 13:17:46 make[2]: Entering directory '/tmp/sdk/build/release' 13:17:46 make[2]: Leaving directory '/tmp/sdk/build/release' 13:17:46 [ 87%] Built target device-gyro 13:17:46 make[2]: Entering directory '/tmp/sdk/build/release' 13:17:46 make[2]: Leaving directory '/tmp/sdk/build/release' 13:17:46 [ 90%] Built target device-bitfields 13:17:46 make[2]: Entering directory '/tmp/sdk/build/release' 13:17:46 make[2]: Leaving directory '/tmp/sdk/build/release' 13:17:46 [ 93%] Built target template-discovery 13:17:46 make[2]: Entering directory '/tmp/sdk/build/release' 13:17:46 make[2]: Leaving directory '/tmp/sdk/build/release' 13:17:46 [ 96%] Built target device-file 13:17:46 make[2]: Entering directory '/tmp/sdk/build/release' 13:17:46 make[2]: Leaving directory '/tmp/sdk/build/release' 13:17:46 [100%] Built target device-terminal 13:17:46 make[1]: Leaving directory '/tmp/sdk/build/release' 13:17:46 Install the project... 13:17:46 -- Install configuration: "Release" 13:17:46 -- Installing: /usr/local/lib/libcsdk.so 13:17:46 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 13:17:46 -- Up-to-date: /usr/local/include 13:17:46 -- Installing: /usr/local/include/devsdk 13:17:46 -- Installing: /usr/local/include/devsdk/devsdk-base.h 13:17:46 -- Installing: /usr/local/include/devsdk/devsdk.h 13:17:46 -- Installing: /usr/local/include/edgex 13:17:46 -- Installing: /usr/local/include/edgex/devices.h 13:17:46 -- Installing: /usr/local/include/edgex/edgex-base.h 13:17:46 -- Installing: /usr/local/include/edgex/edgex.h 13:17:46 -- Installing: /usr/local/include/edgex/profiles.h 13:17:46 -- Installing: /usr/local/include/edgex/rest-server.h 13:17:46 -- Installing: /usr/local/include/edgex/csdk-defs.h 13:17:46 -- Installing: /usr/local/include/iot 13:17:46 -- Installing: /usr/local/include/iot/base64.h 13:17:46 -- Installing: /usr/local/include/iot/component.h 13:17:46 -- Installing: /usr/local/include/iot/config.h 13:17:46 -- Installing: /usr/local/include/iot/container.h 13:17:46 -- Installing: /usr/local/include/iot/data.h 13:17:46 -- Installing: /usr/local/include/iot/hash.h 13:17:46 -- Installing: /usr/local/include/iot/iot.h 13:17:46 -- Installing: /usr/local/include/iot/json.h 13:17:46 -- Installing: /usr/local/include/iot/logger.h 13:17:46 -- Installing: /usr/local/include/iot/os.h 13:17:46 -- Installing: /usr/local/include/iot/scheduler.h 13:17:46 -- Installing: /usr/local/include/iot/thread.h 13:17:46 -- Installing: /usr/local/include/iot/threadpool.h 13:17:46 -- Installing: /usr/local/include/iot/time.h 13:17:46 -- Installing: /usr/local/include/iot/typecode.h 13:17:46 -- Installing: /usr/local/include/iot/os 13:17:46 -- Installing: /usr/local/include/iot/os/linux.h 13:17:46 -- Installing: /usr/local/include/iot/os/macos.h 13:17:46 -- Installing: /usr/local/include/iot/os/zephyr.h 13:17:46 -- Installing: /usr/local/include/iot/defs.h 13:17:46 -- Installing: /usr/local/share/device-sdk-c/LICENSE 13:17:46 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 13:17:46 make: Leaving directory '/tmp/sdk/build/release' 13:17:46 ---> b660a45f4275 13:17:46 Step 14/25 : COPY Attribution.txt /tmp/sdk 13:17:46 Removing intermediate container 65667b601ed1 13:17:46 ---> ca61ab54a0e6 13:17:46 Step 16/25 : FROM ${BASE} 13:17:46 ---> ac6a0feb3254 13:17:46 Step 17/25 : LABEL maintainer="IOTech " 13:17:46 ---> Running in ced7510e8f12 13:17:46 Removing intermediate container ced7510e8f12 13:17:46 ---> 36989d1fca73 13:17:46 Step 18/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 13:17:46 ---> Running in c868a3d964f3 13:17:47 Connecting to iotech.jfrog.io (54.170.66.44:443) 13:17:47 ---> 68dd704dde41 13:17:47 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 13:17:47 saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 13:17:47 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 13:17:47 '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved 13:17:47 ---> Running in 4fc78e54603e 13:17:47 Removing intermediate container c868a3d964f3 13:17:47 ---> 4ce5da790496 13:17:47 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 13:17:47 ---> Running in db41cc8fa183 13:17:48 Removing intermediate container db41cc8fa183 13:17:48 ---> 71916d827767 13:17:48 Step 20/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev hiredis-dev 13:17:48 ---> Running in e893638e2bb4 13:17:48 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 13:17:49 + CPPCHECK=false 13:17:49 + DOCGEN=false 13:17:49 + TOMLVER=SDK-0.2 13:17:49 + CUTILVER=1.1.4 13:17:49 + '[' 0 -gt 0 ] 13:17:49 + readlink -f ./scripts/build.sh 13:17:49 + dirname /tmp/sdk/scripts/build.sh 13:17:49 + dirname /tmp/sdk/scripts 13:17:49 + ROOT=/tmp/sdk 13:17:49 + cd /tmp/sdk 13:17:49 + '[' '!' -d deps ] 13:17:49 + mkdir deps 13:17:49 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 13:17:49 + tar -C deps -z -x -f - 13:17:49 --2021-08-06 13:17:48-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 13:17:49 Resolving github.com (github.com)... 140.82.112.3 13:17:49 Connecting to github.com (github.com)|140.82.112.3|:443... connected. 13:17:49 HTTP request sent, awaiting response... 302 Found 13:17:49 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 13:17:49 --2021-08-06 13:17:48-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 13:17:49 Resolving codeload.github.com (codeload.github.com)... 140.82.114.9 13:17:49 Connecting to codeload.github.com (codeload.github.com)|140.82.114.9|:443... connected. 13:17:49 HTTP request sent, awaiting response... 200 OK 13:17:49 Length: unspecified [application/x-gzip] 13:17:49 Saving to: 'STDOUT' 13:17:49  13:17:49 0K .......... ......   898K=0.02s 13:17:49 13:17:49 2021-08-06 13:17:49 (898 KB/s) - written to stdout [16451] 13:17:49 13:17:49 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 13:17:49 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 13:17:49 + + tarwget -C -O deps - -z https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz -x 13:17:49 -f - 13:17:49 --2021-08-06 13:17:49-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 13:17:49 Resolving github.com (github.com)... 140.82.112.3 13:17:49 Connecting to github.com (github.com)|140.82.112.3|:443... connected. 13:17:49 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 13:17:49 HTTP request sent, awaiting response... 302 Found 13:17:49 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 13:17:49 --2021-08-06 13:17:49-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 13:17:49 Resolving codeload.github.com (codeload.github.com)... 140.82.114.9 13:17:49 Connecting to codeload.github.com (codeload.github.com)|140.82.114.9|:443... connected. 13:17:49 HTTP request sent, awaiting response... 200 OK 13:17:49 Length: unspecified [application/x-gzip] 13:17:49 Saving to: 'STDOUT' 13:17:49 13:17:49 0K .......... .......... .......... .......... .......... 1.30M 13:17:49 50K .......... .......... .......... .......... .......... 2.63M 13:17:49 100K .......... .......... .......... .......... .......... 6.78M 13:17:49 150K .......... .......... ....... 1.53M=0.08s 13:17:49 13:17:49 2021-08-06 13:17:49 (2.14 MB/s) - written to stdout [181796] 13:17:49 13:17:49 + mkdir -p src/c/iot 13:17:49 + cp deps/iotech-c-utils-1.1.4/src/c/base64.c deps/iotech-c-utils-1.1.4/src/c/component.c deps/iotech-c-utils-1.1.4/src/c/config.c deps/iotech-c-utils-1.1.4/src/c/container.c deps/iotech-c-utils-1.1.4/src/c/data.c deps/iotech-c-utils-1.1.4/src/c/hash.c deps/iotech-c-utils-1.1.4/src/c/iot.c deps/iotech-c-utils-1.1.4/src/c/json.c deps/iotech-c-utils-1.1.4/src/c/logger.c deps/iotech-c-utils-1.1.4/src/c/os.c deps/iotech-c-utils-1.1.4/src/c/scheduler.c deps/iotech-c-utils-1.1.4/src/c/thread.c deps/iotech-c-utils-1.1.4/src/c/threadpool.c deps/iotech-c-utils-1.1.4/src/c/time.c deps/iotech-c-utils-1.1.4/src/c/yxml.c src/c/iot 13:17:49 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 13:17:49 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 13:17:49 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 13:17:49 + mkdir -p include/iot 13:17:49 + cp deps/iotech-c-utils-1.1.4/include/iot/base64.h deps/iotech-c-utils-1.1.4/include/iot/component.h deps/iotech-c-utils-1.1.4/include/iot/config.h deps/iotech-c-utils-1.1.4/include/iot/container.h deps/iotech-c-utils-1.1.4/include/iot/data.h deps/iotech-c-utils-1.1.4/include/iot/hash.h deps/iotech-c-utils-1.1.4/include/iot/iot.h deps/iotech-c-utils-1.1.4/include/iot/json.h deps/iotech-c-utils-1.1.4/include/iot/logger.h deps/iotech-c-utils-1.1.4/include/iot/os.h deps/iotech-c-utils-1.1.4/include/iot/scheduler.h deps/iotech-c-utils-1.1.4/include/iot/thread.h deps/iotech-c-utils-1.1.4/include/iot/threadpool.h deps/iotech-c-utils-1.1.4/include/iot/time.h deps/iotech-c-utils-1.1.4/include/iot/typecode.h include/iot 13:17:49 + mkdir -p include/iot/os 13:17:49 + cp deps/iotech-c-utils-1.1.4/include/iot/os/linux.h deps/iotech-c-utils-1.1.4/include/iot/os/macos.h deps/iotech-c-utils-1.1.4/include/iot/os/zephyr.h include/iot/os 13:17:49 + mkdir -p /tmp/sdk/build/release 13:17:49 + cd /tmp/sdk/build/release 13:17:49 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 13:17:50 (1/7) Installing curl (7.78.0-r0) 13:17:50 (2/7) Installing hiredis (0.14.1-r0) 13:17:50 (3/7) Installing hiredis-dev (0.14.1-r0) 13:17:50 -- The C compiler identification is GNU 9.3.0 13:17:50 -- Check for working C compiler: /usr/bin/cc 13:17:50 (4/7) Installing libuuid (2.35.2-r0) 13:17:50 (5/7) Installing paho-mqtt-c-dev (1.3.5-r0) 13:17:50 -- Check for working C compiler: /usr/bin/cc - works 13:17:50 -- Detecting C compiler ABI info 13:17:50 -- Detecting C compiler ABI info - done 13:17:50 -- Detecting C compile features 13:17:50 -- Detecting C compile features - done 13:17:50 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:17:51 -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") 13:17:51 -- Found LIBYAML: /usr/lib/libyaml.so 13:17:51 -- Found LIBUUID: /usr/lib/libuuid.so 13:17:51 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 13:17:51 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 13:17:51 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 13:17:51 -- C SDK 0.0.0 for Linux 13:17:51 -- Performing Test CSDK_HAVE_ATOMIC 13:17:51 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:17:51 -- Found Curses: /usr/lib/libcurses.so 13:17:51 -- Configuring done 13:17:51 (6/7) Installing libidn2 (2.3.0-r0) 13:17:51 (7/7) Installing wget (1.20.3-r1) 13:17:51 -- Generating done 13:17:51 -- Build files have been written to: /tmp/sdk/build/release 13:17:51 + make all package 13:17:51 + tee release.log 13:17:51 Scanning dependencies of target csdk 13:17:52 Executing busybox-1.31.1-r20.trigger 13:17:52 OK: 286 MiB in 82 packages 13:17:52 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:17:52 Removing intermediate container e893638e2bb4 13:17:52 ---> b19ed8b97bca 13:17:52 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 13:17:52 ---> f49c13b3733c 13:17:52 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 13:17:52 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 13:17:52 ---> 48d2d6e922ba 13:17:52 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 13:17:52 ---> dee34f563867 13:17:52 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 13:17:52 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 13:17:53 ---> 555b8de8e741 13:17:53 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 13:17:53 ---> 1c67432542d9 13:17:53 Successfully built 1c67432542d9 13:17:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script 13:17:55 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:17:55 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 13:17:55 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 13:17:55 + docker inspect -f . ci-base-image-x86_64 13:17:55 . [Pipeline] withDockerContainer 13:17:55 prd-centos7-docker-4c-2g-2244 does not seem to be running inside a container 13:17:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/10 -v /w/workspace/device-sdk-c/10:/w/workspace/device-sdk-c/10:rw,z -v /w/workspace/device-sdk-c/10@tmp:/w/workspace/device-sdk-c/10@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 13:17:56 $ docker top d5d930be7ee6dc8e29fba12fe399b3a7e0e1d06a970c339d5c95f0f09a088262 -eo pid,comm [Pipeline] { [Pipeline] sh 13:17:56 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 13:17:56 + make test 13:17:56 echo "make test" 13:17:56 make test [Pipeline] } 13:17:56 $ docker stop --time=1 d5d930be7ee6dc8e29fba12fe399b3a7e0e1d06a970c339d5c95f0f09a088262 13:17:56 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 13:17:57 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 13:17:58 $ docker rm -f d5d930be7ee6dc8e29fba12fe399b3a7e0e1d06a970c339d5c95f0f09a088262 13:17:58 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 13:18:00 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 13:18:00 [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:18:02 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 13:18:02 [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 13:18:02 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 13:18:02 [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 13:18:02 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 13:18:06 [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 13:18:06 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 13:18:06 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 13:18:06 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 13:18:06 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 13:18:08 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [Pipeline] sh 13:18:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:18:09 + ls -al . 13:18:09 total 160 13:18:09 drwxrwxr-x. 8 jenkins jenkins 260 Aug 6 13:16 . 13:18:09 drwxrwxr-x. 4 jenkins jenkins 30 Aug 6 13:16 .. 13:18:09 -rw-rw-r--. 1 jenkins jenkins 3104 Aug 6 13:16 Attribution.txt 13:18:09 -rw-rw-r--. 1 jenkins jenkins 7556 Aug 6 13:16 CHANGES 13:18:09 drwxrwxr-x. 2 jenkins jenkins 121 Aug 6 13:16 docs 13:18:09 -rw-rw-r--. 1 jenkins jenkins 108574 Aug 6 13:16 Doxyfile 13:18:09 drwxrwxr-x. 8 jenkins jenkins 179 Aug 6 13:16 .git 13:18:09 drwxrwxr-x. 2 jenkins jenkins 81 Aug 6 13:16 .github 13:18:09 -rw-rw-r--. 1 jenkins jenkins 176 Aug 6 13:16 .gitignore 13:18:09 drwxrwxr-x. 4 jenkins jenkins 33 Aug 6 13:16 include 13:18:09 -rw-rw-r--. 1 jenkins jenkins 784 Aug 6 13:16 Jenkinsfile 13:18:09 -rw-rw-r--. 1 jenkins jenkins 10174 Aug 6 13:16 LICENSE 13:18:09 -rw-rw-r--. 1 jenkins jenkins 444 Aug 6 13:16 Makefile 13:18:09 -rw-rw-r--. 1 jenkins jenkins 4086 Aug 6 13:16 README.md 13:18:09 -rw-rw-r--. 1 jenkins jenkins 7090 Aug 6 13:16 README.v2.md 13:18:09 drwxrwxr-x. 2 jenkins jenkins 98 Aug 6 13:16 scripts 13:18:09 drwxrwxr-x. 4 jenkins jenkins 50 Aug 6 13:16 src 13:18:09 -rw-rw-r--. 1 jenkins jenkins 5 Aug 6 13:13 VERSION [Pipeline] isUnix [Pipeline] sh 13:18:09 + 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=18c66e74693b0dcf944d8eb774d259968cd08ab7 --label arch=amd64 --label version=0.0.0 . 13:18:09 Sending build context to Docker daemon 2.723MB 13:18:09 Step 1/17 : ARG BASE=alpine:3.12 13:18:09 Step 2/17 : FROM ${BASE} 13:18:09 ---> 1c67432542d9 13:18:09 Step 3/17 : LABEL maintainer="IOTech " 13:18:09 ---> Running in f520049918e5 13:18:09 Removing intermediate container f520049918e5 13:18:09 ---> d8b54aa67b6f 13:18:09 Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 13:18:09 ---> Running in 3f7606b8f64b 13:18:09 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 13:18:09 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 13:18:09 --2021-08-06 13:18:09-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 13:18:10 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 13:18:10 Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.170.66.44, 54.229.110.245, 54.195.244.87 13:18:10 Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.170.66.44|:443... connected. 13:18:10 HTTP request sent, awaiting response... 200 OK 13:18:10 Length: 451 [application/octet-stream] 13:18:10 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 13:18:10  13:18:10 0K 100% 67.5M=0s 13:18:10 13:18:10 2021-08-06 13:18:10 (67.5 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 13:18:10 13:18:10 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 13:18:10 Removing intermediate container 3f7606b8f64b 13:18:10 ---> 2bff028e1c1a 13:18:10 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 13:18:10 ---> Running in 6e1f2e8fe2a8 13:18:10 Removing intermediate container 6e1f2e8fe2a8 13:18:10 ---> 2e330e6ed408 13:18:10 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 hiredis-dev && mkdir -p /edgex-c-sdk/build 13:18:10 ---> Running in 504fd39c8f2b 13:18:11 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 13:18:11 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 13:18:11 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 13:18:12 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 13:18:12 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 13:18:12 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 13:18:12 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 13:18:12 (1/16) Installing ncurses-dev (6.2_p20200523-r0) 13:18:12 (2/16) Installing libblkid (2.35.2-r0) 13:18:14 (3/16) Installing blkid (2.35.2-r0) 13:18:14 (4/16) Installing libcap-ng (0.7.10-r1) 13:18:14 (5/16) Installing setpriv (2.35.2-r0) 13:18:14 (6/16) Installing libmount (2.35.2-r0) 13:18:14 (7/16) Installing libsmartcols (2.35.2-r0) 13:18:14 (8/16) Installing findmnt (2.35.2-r0) 13:18:14 (9/16) Installing mcookie (2.35.2-r0) 13:18:14 (10/16) Installing hexdump (2.35.2-r0) 13:18:14 (11/16) Installing lsblk (2.35.2-r0) 13:18:14 (12/16) Installing libfdisk (2.35.2-r0) 13:18:14 (13/16) Installing sfdisk (2.35.2-r0) 13:18:14 (14/16) Installing cfdisk (2.35.2-r0) 13:18:14 (15/16) Installing util-linux (2.35.2-r0) 13:18:14 (16/16) Installing util-linux-dev (2.35.2-r0) 13:18:14 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 13:18:14 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 13:18:14 Executing busybox-1.31.1-r20.trigger 13:18:14 OK: 295 MiB in 98 packages 13:18:15 Removing intermediate container 504fd39c8f2b 13:18:15 ---> 7b6e14635db3 13:18:15 Step 7/17 : COPY VERSION /edgex-c-sdk/ 13:18:15 ---> 177d513e8910 13:18:15 Step 8/17 : COPY src /edgex-c-sdk/src/ 13:18:15 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 13:18:15 ---> d4bbe9c7889e 13:18:15 Step 9/17 : COPY include /edgex-c-sdk/include/ 13:18:15 ---> 8c3fa2cbca8d 13:18:15 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 13:18:15 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 13:18:15 ---> 6a43e4ae0def 13:18:15 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 13:18:15 ---> 2d33bbbb818a 13:18:15 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 13:18:16 ---> 4710c8fa2def 13:18:16 Step 13/17 : WORKDIR /edgex-c-sdk 13:18:16 ---> Running in 43f02437ea8d 13:18:16 Removing intermediate container 43f02437ea8d 13:18:16 ---> 9a2a451abae2 13:18:16 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 13:18:16 ---> Running in decbae9f4de7 13:18:16 Removing intermediate container decbae9f4de7 13:18:16 ---> 28b34461dff8 13:18:16 Step 15/17 : LABEL arch=amd64 13:18:16 ---> Running in 1ce91c49a22c 13:18:16 Removing intermediate container 1ce91c49a22c 13:18:16 ---> 88a38aa1988f 13:18:16 Step 16/17 : LABEL git_sha=18c66e74693b0dcf944d8eb774d259968cd08ab7 13:18:16 ---> Running in 3690db6680b9 13:18:16 Removing intermediate container 3690db6680b9 13:18:16 ---> e6a5cab19f29 13:18:16 Step 17/17 : LABEL version=0.0.0 13:18:16 ---> Running in 190a6ead208e 13:18:16 Removing intermediate container 190a6ead208e 13:18:16 ---> d71d6a2a9f6c 13:18:16 [Warning] One or more build-args [ARCH MAKE] were not consumed 13:18:16 Successfully built d71d6a2a9f6c 13:18:16 Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // script [Pipeline] } 13:18:16 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 13:18:16 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [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 13:18:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:18:17 13:18:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 13:18:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:18:17 latest: Pulling from edgex-lftools-log-publisher 13:18:17 b4d181a07f80: Pulling fs layer 13:18:17 a1111a8f2ec3: Pulling fs layer 13:18:17 ed53099fbce6: Pulling fs layer 13:18:17 dc539afda2c1: Pulling fs layer 13:18:17 77bc0d833cb6: Pulling fs layer 13:18:17 9065ff56babe: Pulling fs layer 13:18:17 d287ab97295c: Pulling fs layer 13:18:17 dc539afda2c1: Waiting 13:18:17 77bc0d833cb6: Waiting 13:18:17 9065ff56babe: Waiting 13:18:17 d287ab97295c: Waiting 13:18:18 a1111a8f2ec3: Verifying Checksum 13:18:18 a1111a8f2ec3: Download complete 13:18:18 dc539afda2c1: Verifying Checksum 13:18:18 dc539afda2c1: Download complete 13:18:18 77bc0d833cb6: Verifying Checksum 13:18:18 77bc0d833cb6: Download complete 13:18:18 9065ff56babe: Verifying Checksum 13:18:18 9065ff56babe: Download complete 13:18:18 ed53099fbce6: Verifying Checksum 13:18:18 ed53099fbce6: Download complete 13:18:19 b4d181a07f80: Verifying Checksum 13:18:19 b4d181a07f80: Download complete 13:18:20 b4d181a07f80: Pull complete 13:18:20 a1111a8f2ec3: Pull complete 13:18:21 ed53099fbce6: Pull complete 13:18:21 [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 13:18:21 dc539afda2c1: Pull complete 13:18:21 77bc0d833cb6: Pull complete 13:18:21 9065ff56babe: Pull complete 13:18:21 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 13:18:21 [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 13:18:22 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 13:18:23 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 13:18:24 d287ab97295c: Verifying Checksum 13:18:24 d287ab97295c: Download complete 13:18:25 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 13:18:25 [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 13:18:25 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 13:18:25 [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o 13:18:27 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 13:18:28 d287ab97295c: Pull complete 13:18:28 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 13:18:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:18:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 13:18:28 prd-centos7-docker-4c-2g-2244 does not seem to be running inside a container 13:18:28 $ 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/10 -v /w/workspace/device-sdk-c/10:/w/workspace/device-sdk-c/10:rw,z -v /w/workspace/device-sdk-c/10@tmp:/w/workspace/device-sdk-c/10@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 13:18:31 $ docker top 002aa9da5b4d0f35ef5afae9ea1ccdc9a03aca4c1f44bfb38400695f3befb101 -eo pid,comm 13:18:31 [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [Pipeline] { 13:18:33 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 13:18:33 [ 75%] Linking C shared library libcsdk.so 13:18:33 [ 75%] Built target csdk 13:18:33 Scanning dependencies of target template 13:18:33 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 13:18:33 [ 78%] Linking C executable template 13:18:33 [ 78%] Built target template 13:18:33 Scanning dependencies of target device-counter 13:18:33 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [Pipeline] libraryResource [Pipeline] sh 13:18:33 ---> job-cost.sh 13:18:33 lf-activate-venv: SKIPPING 13:18:33 INFO: No Stack... 13:18:33 [ 81%] Linking C executable device-counter 13:18:34 [ 81%] Built target device-counter 13:18:34 Scanning dependencies of target device-random 13:18:34 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 13:18:34 [ 84%] Linking C executable device-random 13:18:34 [ 84%] Built target device-random 13:18:34 Scanning dependencies of target device-gyro 13:18:34 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 13:18:35 INFO: Retrieving Pricing Info for: v3-standard-2 13:18:35 [ 87%] Linking C executable device-gyro 13:18:35 [ 87%] Built target device-gyro 13:18:35 INFO: Archiving Costs [Pipeline] sh 13:18:35 Scanning dependencies of target device-bitfields 13:18:35 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 13:18:35 + cut -d, -f6 13:18:35 + cat /w/workspace/device-sdk-c/10/archives/cost.csv [Pipeline] lock 13:18:35 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-357-10-stack-cost] 13:18:35 Resource [jenkins-edgexfoundry-device-sdk-c-PR-357-10-stack-cost] did not exist. Created. 13:18:35 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-357-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:18:35 [ 90%] Linking C executable device-bitfields 13:18:36 + echo total: 0.05999999865889549 [Pipeline] stash 13:18:36 [ 90%] Built target device-bitfields 13:18:36 Scanning dependencies of target template-discovery 13:18:36 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 13:18:36 Stashed 1 file(s) [Pipeline] } 13:18:36 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-357-10-stack-cost] [Pipeline] // lock [Pipeline] } 13:18:36 $ docker stop --time=1 002aa9da5b4d0f35ef5afae9ea1ccdc9a03aca4c1f44bfb38400695f3befb101 13:18:37 [ 93%] Linking C executable template-discovery 13:18:37 [ 93%] Built target template-discovery 13:18:37 Scanning dependencies of target device-file 13:18:37 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 13:18:37 $ docker rm -f 002aa9da5b4d0f35ef5afae9ea1ccdc9a03aca4c1f44bfb38400695f3befb101 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } 13:18:37 [ 96%] Linking C executable device-file [Pipeline] // stage [Pipeline] } 13:18:39 [ 96%] Built target device-file 13:18:39 Scanning dependencies of target device-terminal 13:18:39 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 13:18:39 [100%] Linking C executable device-terminal 13:18:39 [100%] Built target device-terminal 13:18:39 Run CPack packaging tool... 13:18:39 CPack: Create package using TGZ 13:18:39 CPack: Install projects 13:18:39 CPack: - Run preinstall target for: Csdk 13:18:39 CPack: - Install project: Csdk [] 13:18:39 CPack: Create package 13:18:39 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 13:18:39 + '[' false '=' true ] 13:18:39 + '[' false '=' true ] 13:18:39 + mkdir -p /tmp/sdk/build/debug 13:18:39 + cd /tmp/sdk/build/debug 13:18:39 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 13:18:40 -- The C compiler identification is GNU 9.3.0 13:18:40 -- Check for working C compiler: /usr/bin/cc 13:18:40 -- Check for working C compiler: /usr/bin/cc - works 13:18:40 -- Detecting C compiler ABI info 13:18:40 -- Detecting C compiler ABI info - done 13:18:40 -- Detecting C compile features 13:18:40 -- Detecting C compile features - done 13:18:40 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:18:40 -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") 13:18:40 -- Found LIBYAML: /usr/lib/libyaml.so 13:18:40 -- Found LIBUUID: /usr/lib/libuuid.so 13:18:40 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 13:18:40 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 13:18:40 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 13:18:40 -- C SDK 0.0.0 for Linux 13:18:40 -- Performing Test CSDK_HAVE_ATOMIC 13:18:41 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:18:41 -- Found Curses: /usr/lib/libcurses.so 13:18:41 -- Configuring done 13:18:41 -- Generating done 13:18:41 -- Build files have been written to: /tmp/sdk/build/debug 13:18:41 + + tee debug.log 13:18:41 make 13:18:41 Scanning dependencies of target csdk 13:18:41 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:18:42 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 13:18:42 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 13:18:43 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 13:18:43 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 13:18:43 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 13:18:44 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 13:18:44 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 13:18:44 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 13:18:45 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 13:18:45 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 13:18:46 [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:18:46 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 13:18:46 [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 13:18:46 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 13:18:46 [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 13:18:47 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 13:18:47 [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 13:18:48 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 13:18:48 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 13:18:48 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 13:18:48 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 13:18:49 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 13:18:49 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 13:18:49 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 13:18:50 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 13:18:50 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 13:18:50 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 13:18:50 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 13:18:51 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 13:18:51 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 13:18:51 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 13:18:51 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 13:18:52 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 13:18:52 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 13:18:52 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 13:18:52 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 13:18:53 [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 13:18:54 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 13:18:54 [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 13:18:54 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 13:18:55 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 13:18:56 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 13:18:56 [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 13:18:56 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 13:18:56 [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o 13:18:57 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 13:18:58 [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 13:18:58 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 13:18:58 [ 75%] Linking C shared library libcsdk.so 13:18:58 [ 75%] Built target csdk 13:18:58 Scanning dependencies of target template 13:18:58 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 13:18:59 [ 78%] Linking C executable template 13:18:59 [ 78%] Built target template 13:18:59 Scanning dependencies of target device-counter 13:18:59 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 13:18:59 [ 81%] Linking C executable device-counter 13:19:01 [ 81%] Built target device-counter 13:19:01 Scanning dependencies of target device-random 13:19:01 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 13:19:01 [ 84%] Linking C executable device-random 13:19:01 [ 84%] Built target device-random 13:19:01 Scanning dependencies of target device-gyro 13:19:01 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 13:19:01 [ 87%] Linking C executable device-gyro 13:19:01 [ 87%] Built target device-gyro 13:19:01 Scanning dependencies of target device-bitfields 13:19:01 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 13:19:01 [ 90%] Linking C executable device-bitfields 13:19:01 [ 90%] Built target device-bitfields 13:19:01 Scanning dependencies of target template-discovery 13:19:01 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 13:19:01 [ 93%] Linking C executable template-discovery 13:19:01 [ 93%] Built target template-discovery 13:19:01 Scanning dependencies of target device-file 13:19:02 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 13:19:02 [ 96%] Linking C executable device-file 13:19:02 [ 96%] Built target device-file 13:19:02 Scanning dependencies of target device-terminal 13:19:02 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 13:19:03 [100%] Linking C executable device-terminal 13:19:03 [100%] Built target device-terminal 13:19:03 make: Entering directory '/tmp/sdk/build/release' 13:19:03 make[1]: Entering directory '/tmp/sdk/build/release' 13:19:03 make[2]: Entering directory '/tmp/sdk/build/release' 13:19:03 make[2]: Leaving directory '/tmp/sdk/build/release' 13:19:03 [ 75%] Built target csdk 13:19:03 make[2]: Entering directory '/tmp/sdk/build/release' 13:19:03 make[2]: Leaving directory '/tmp/sdk/build/release' 13:19:03 [ 78%] Built target template 13:19:03 make[2]: Entering directory '/tmp/sdk/build/release' 13:19:03 make[2]: Leaving directory '/tmp/sdk/build/release' 13:19:03 [ 81%] Built target device-counter 13:19:03 make[2]: Entering directory '/tmp/sdk/build/release' 13:19:03 make[2]: Leaving directory '/tmp/sdk/build/release' 13:19:03 [ 84%] Built target device-random 13:19:03 make[2]: Entering directory '/tmp/sdk/build/release' 13:19:03 make[2]: Leaving directory '/tmp/sdk/build/release' 13:19:03 [ 87%] Built target device-gyro 13:19:03 make[2]: Entering directory '/tmp/sdk/build/release' 13:19:03 make[2]: Leaving directory '/tmp/sdk/build/release' 13:19:03 [ 90%] Built target device-bitfields 13:19:03 make[2]: Entering directory '/tmp/sdk/build/release' 13:19:03 make[2]: Leaving directory '/tmp/sdk/build/release' 13:19:03 [ 93%] Built target template-discovery 13:19:03 make[2]: Entering directory '/tmp/sdk/build/release' 13:19:03 make[2]: Leaving directory '/tmp/sdk/build/release' 13:19:03 [ 96%] Built target device-file 13:19:03 make[2]: Entering directory '/tmp/sdk/build/release' 13:19:03 make[2]: Leaving directory '/tmp/sdk/build/release' 13:19:03 [100%] Built target device-terminal 13:19:03 make[1]: Leaving directory '/tmp/sdk/build/release' 13:19:03 Install the project... 13:19:03 -- Install configuration: "Release" 13:19:03 -- Installing: /usr/local/lib/libcsdk.so 13:19:03 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 13:19:03 -- Up-to-date: /usr/local/include 13:19:03 -- Installing: /usr/local/include/edgex 13:19:03 -- Installing: /usr/local/include/edgex/rest-server.h 13:19:03 -- Installing: /usr/local/include/edgex/edgex-base.h 13:19:03 -- Installing: /usr/local/include/edgex/edgex.h 13:19:03 -- Installing: /usr/local/include/edgex/devices.h 13:19:03 -- Installing: /usr/local/include/edgex/profiles.h 13:19:03 -- Installing: /usr/local/include/edgex/csdk-defs.h 13:19:03 -- Installing: /usr/local/include/devsdk 13:19:03 -- Installing: /usr/local/include/devsdk/devsdk-base.h 13:19:03 -- Installing: /usr/local/include/devsdk/devsdk.h 13:19:03 -- Installing: /usr/local/include/iot 13:19:03 -- Installing: /usr/local/include/iot/json.h 13:19:03 -- Installing: /usr/local/include/iot/container.h 13:19:03 -- Installing: /usr/local/include/iot/component.h 13:19:03 -- Installing: /usr/local/include/iot/typecode.h 13:19:03 -- Installing: /usr/local/include/iot/iot.h 13:19:03 -- Installing: /usr/local/include/iot/time.h 13:19:03 -- Installing: /usr/local/include/iot/hash.h 13:19:03 -- Installing: /usr/local/include/iot/logger.h 13:19:03 -- Installing: /usr/local/include/iot/os 13:19:03 -- Installing: /usr/local/include/iot/os/zephyr.h 13:19:03 -- Installing: /usr/local/include/iot/os/linux.h 13:19:03 -- Installing: /usr/local/include/iot/os/macos.h 13:19:03 -- Installing: /usr/local/include/iot/scheduler.h 13:19:03 -- Installing: /usr/local/include/iot/data.h 13:19:03 -- Installing: /usr/local/include/iot/thread.h 13:19:03 -- Installing: /usr/local/include/iot/os.h 13:19:03 -- Installing: /usr/local/include/iot/base64.h 13:19:03 -- Installing: /usr/local/include/iot/defs.h 13:19:03 -- Installing: /usr/local/include/iot/threadpool.h 13:19:03 -- Installing: /usr/local/include/iot/config.h 13:19:03 -- Installing: /usr/local/share/device-sdk-c/LICENSE 13:19:03 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 13:19:03 make: Leaving directory '/tmp/sdk/build/release' 13:19:06 Removing intermediate container 4fc78e54603e 13:19:06 ---> 10cc95295df7 13:19:06 Step 16/25 : FROM ${BASE} 13:19:06 ---> 759262b18b23 13:19:06 Step 17/25 : LABEL maintainer="IOTech " 13:19:06 ---> Running in a8a78fccabd5 13:19:06 Removing intermediate container a8a78fccabd5 13:19:06 ---> 44e0ee340c04 13:19:06 Step 18/25 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 13:19:06 ---> Running in 752bdfbdcd91 13:19:09 Connecting to iotech.jfrog.io (54.170.66.44:443) 13:19:09 saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 13:19:09 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 13:19:09 '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved 13:19:09 Removing intermediate container 752bdfbdcd91 13:19:09 ---> f3546b719cdc 13:19:09 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 13:19:09 ---> Running in 59d3eeab6463 13:19:11 Removing intermediate container 59d3eeab6463 13:19:11 ---> 1880bdd58011 13:19:11 Step 20/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml curl libmicrohttpd libuuid paho-mqtt-c-dev hiredis-dev 13:19:11 ---> Running in a0caf88c5cb5 13:19:13 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 13:19:13 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 13:19:14 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 13:19:15 (1/7) Installing curl (7.78.0-r0) 13:19:15 (2/7) Installing hiredis (0.14.1-r0) 13:19:15 (3/7) Installing hiredis-dev (0.14.1-r0) 13:19:15 (4/7) Installing libuuid (2.35.2-r0) 13:19:15 (5/7) Installing paho-mqtt-c-dev (1.3.5-r0) 13:19:16 (6/7) Installing libidn2 (2.3.0-r0) 13:19:17 (7/7) Installing wget (1.20.3-r1) 13:19:17 Executing busybox-1.31.1-r20.trigger 13:19:17 OK: 267 MiB in 82 packages 13:19:19 Removing intermediate container a0caf88c5cb5 13:19:19 ---> a0099afb3e60 13:19:19 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 13:19:19 ---> c77ed2046c80 13:19:19 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 13:19:20 ---> 659e59bf99b9 13:19:20 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 13:19:21 ---> 6f5d924e6b7a 13:19:21 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 13:19:23 ---> 4861c1f32d82 13:19:23 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 13:19:23 ---> 89c9683ab7d0 13:19:23 Successfully built 89c9683ab7d0 13:19:23 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:19:24 + docker inspect -f . ci-base-image-arm64 13:19:24 . [Pipeline] withDockerContainer 13:19:24 prd-ubuntu18.04-docker-arm64-4c-16g-2243 does not seem to be running inside a container 13:19:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/10 -v /w/workspace/device-sdk-c/10:/w/workspace/device-sdk-c/10:rw,z -v /w/workspace/device-sdk-c/10@tmp:/w/workspace/device-sdk-c/10@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 13:19:27 $ docker top e5b78cd4225303774f76bbb1b81c8ee205e141a9c3e505ccc154f5bf7a16230d -eo pid,comm [Pipeline] { [Pipeline] sh 13:19:28 + make test 13:19:28 echo "make test" 13:19:28 make test [Pipeline] } 13:19:28 $ docker stop --time=1 e5b78cd4225303774f76bbb1b81c8ee205e141a9c3e505ccc154f5bf7a16230d 13:19:31 $ docker rm -f e5b78cd4225303774f76bbb1b81c8ee205e141a9c3e505ccc154f5bf7a16230d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:19:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:19:34 + ls -al . 13:19:34 total 192 13:19:34 drwxrwxr-x 8 jenkins jenkins 4096 Aug 6 13:16 . 13:19:34 drwxrwxr-x 4 jenkins jenkins 4096 Aug 6 13:16 .. 13:19:34 drwxrwxr-x 8 jenkins jenkins 4096 Aug 6 13:16 .git 13:19:34 drwxrwxr-x 2 jenkins jenkins 4096 Aug 6 13:16 .github 13:19:34 -rw-rw-r-- 1 jenkins jenkins 176 Aug 6 13:16 .gitignore 13:19:34 -rw-rw-r-- 1 jenkins jenkins 3104 Aug 6 13:16 Attribution.txt 13:19:34 -rw-rw-r-- 1 jenkins jenkins 7556 Aug 6 13:16 CHANGES 13:19:34 -rw-rw-r-- 1 jenkins jenkins 108574 Aug 6 13:16 Doxyfile 13:19:34 -rw-rw-r-- 1 jenkins jenkins 784 Aug 6 13:16 Jenkinsfile 13:19:34 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 6 13:16 LICENSE 13:19:34 -rw-rw-r-- 1 jenkins jenkins 444 Aug 6 13:16 Makefile 13:19:34 -rw-rw-r-- 1 jenkins jenkins 4086 Aug 6 13:16 README.md 13:19:34 -rw-rw-r-- 1 jenkins jenkins 7090 Aug 6 13:16 README.v2.md 13:19:34 -rw-rw-r-- 1 jenkins jenkins 5 Aug 6 13:13 VERSION 13:19:34 drwxrwxr-x 2 jenkins jenkins 4096 Aug 6 13:16 docs 13:19:34 drwxrwxr-x 4 jenkins jenkins 4096 Aug 6 13:16 include 13:19:34 drwxrwxr-x 2 jenkins jenkins 4096 Aug 6 13:16 scripts 13:19:34 drwxrwxr-x 4 jenkins jenkins 4096 Aug 6 13:16 src [Pipeline] isUnix [Pipeline] sh 13:19:34 + 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=18c66e74693b0dcf944d8eb774d259968cd08ab7 --label arch=arm64 --label version=0.0.0 . 13:19:35 Sending build context to Docker daemon 2.722MB 13:19:35 Step 1/17 : ARG BASE=alpine:3.12 13:19:35 Step 2/17 : FROM ${BASE} 13:19:35 ---> 89c9683ab7d0 13:19:35 Step 3/17 : LABEL maintainer="IOTech " 13:19:35 ---> Running in 5a72d572fc31 13:19:37 Removing intermediate container 5a72d572fc31 13:19:37 ---> aaaba4d6f1d0 13:19:37 Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub -O /etc/apk/keys/support@iotechsys.com-5b990dd9.pub 13:19:37 ---> Running in 647bf1830112 13:19:37 --2021-08-06 13:19:37-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 13:19:37 Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.170.66.44, 54.195.244.87, 54.229.110.245 13:19:37 Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.170.66.44|:443... connected. 13:19:37 HTTP request sent, awaiting response... 200 OK 13:19:37 Length: 451 [application/octet-stream] 13:19:37 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 13:19:37 13:19:37 0K     100% 18.3M=0s 13:19:37 13:19:37 2021-08-06 13:19:37 (18.3 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 13:19:37 13:19:38 Removing intermediate container 647bf1830112 13:19:38 ---> fefbcedbcff8 13:19:38 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 13:19:38 ---> Running in 303b3a56f50f 13:19:41 Removing intermediate container 303b3a56f50f 13:19:41 ---> 17132275c9c5 13:19:41 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 hiredis-dev && mkdir -p /edgex-c-sdk/build 13:19:41 ---> Running in 2ee5fd72fde8 13:19:44 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 13:19:44 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 13:19:44 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 13:19:44 (1/16) Installing ncurses-dev (6.2_p20200523-r0) 13:19:44 (2/16) Installing libblkid (2.35.2-r0) 13:19:44 (3/16) Installing blkid (2.35.2-r0) 13:19:44 (4/16) Installing libcap-ng (0.7.10-r1) 13:19:44 (5/16) Installing setpriv (2.35.2-r0) 13:19:45 (6/16) Installing libmount (2.35.2-r0) 13:19:45 (7/16) Installing libsmartcols (2.35.2-r0) 13:19:45 (8/16) Installing findmnt (2.35.2-r0) 13:19:46 (9/16) Installing mcookie (2.35.2-r0) 13:19:46 (10/16) Installing hexdump (2.35.2-r0) 13:19:46 (11/16) Installing lsblk (2.35.2-r0) 13:19:46 (12/16) Installing libfdisk (2.35.2-r0) 13:19:46 (13/16) Installing sfdisk (2.35.2-r0) 13:19:46 (14/16) Installing cfdisk (2.35.2-r0) 13:19:46 (15/16) Installing util-linux (2.35.2-r0) 13:19:46 (16/16) Installing util-linux-dev (2.35.2-r0) 13:19:46 Executing busybox-1.31.1-r20.trigger 13:19:46 OK: 276 MiB in 98 packages 13:19:50 Removing intermediate container 2ee5fd72fde8 13:19:50 ---> 3cc2aa9b5dff 13:19:50 Step 7/17 : COPY VERSION /edgex-c-sdk/ 13:19:50 ---> 01f3e13e8bd3 13:19:50 Step 8/17 : COPY src /edgex-c-sdk/src/ 13:19:50 ---> d50bb2feec0e 13:19:50 Step 9/17 : COPY include /edgex-c-sdk/include/ 13:19:52 ---> 6d69c44a2345 13:19:52 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 13:19:52 ---> 09445e03730a 13:19:52 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 13:19:52 ---> 4ee7201dc1fa 13:19:52 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 13:19:54 ---> 21f8ed2da6ef 13:19:54 Step 13/17 : WORKDIR /edgex-c-sdk 13:19:54 ---> Running in 8fc5fc07b484 13:19:54 Removing intermediate container 8fc5fc07b484 13:19:54 ---> 1d04d3b4d91b 13:19:54 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 13:19:54 ---> Running in 01b7e7da512b 13:19:54 Removing intermediate container 01b7e7da512b 13:19:54 ---> 847e336ffc2b 13:19:54 Step 15/17 : LABEL arch=arm64 13:19:56 ---> Running in 72d25493eb02 13:19:56 Removing intermediate container 72d25493eb02 13:19:56 ---> 97de70743a42 13:19:56 Step 16/17 : LABEL git_sha=18c66e74693b0dcf944d8eb774d259968cd08ab7 13:19:56 ---> Running in 34888027159f 13:19:56 Removing intermediate container 34888027159f 13:19:56 ---> 7525e51e44a4 13:19:56 Step 17/17 : LABEL version=0.0.0 13:19:56 ---> Running in a066c0e5ca3e 13:19:56 Removing intermediate container a066c0e5ca3e 13:19:56 ---> 538ad184c1a6 13:19:56 [Warning] One or more build-args [ARCH MAKE] were not consumed 13:19:56 Successfully built 538ad184c1a6 13:19:56 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 13:19:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:19:59 13:19:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 13:20:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:20:03 arm64: Pulling from edgex-lftools-log-publisher 13:20:03 448f6bf000e3: Pulling fs layer 13:20:03 f757da607395: Pulling fs layer 13:20:03 05883995daec: Pulling fs layer 13:20:03 8603b9c90790: Pulling fs layer 13:20:03 1560dd03e051: Pulling fs layer 13:20:03 27f5ce0e4adf: Pulling fs layer 13:20:03 c2d8d7efcc4b: Pulling fs layer 13:20:03 8603b9c90790: Waiting 13:20:03 27f5ce0e4adf: Waiting 13:20:03 c2d8d7efcc4b: Waiting 13:20:03 f757da607395: Verifying Checksum 13:20:03 f757da607395: Download complete 13:20:03 8603b9c90790: Verifying Checksum 13:20:03 8603b9c90790: Download complete 13:20:03 05883995daec: Verifying Checksum 13:20:03 05883995daec: Download complete 13:20:03 27f5ce0e4adf: Verifying Checksum 13:20:03 27f5ce0e4adf: Download complete 13:20:03 1560dd03e051: Verifying Checksum 13:20:03 1560dd03e051: Download complete 13:20:03 448f6bf000e3: Verifying Checksum 13:20:03 448f6bf000e3: Download complete 13:20:06 c2d8d7efcc4b: Download complete 13:20:06 448f6bf000e3: Pull complete 13:20:08 f757da607395: Pull complete 13:20:08 05883995daec: Pull complete 13:20:09 8603b9c90790: Pull complete 13:20:11 1560dd03e051: Pull complete 13:20:11 27f5ce0e4adf: Pull complete 13:20:24 c2d8d7efcc4b: Pull complete 13:20:24 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 13:20:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:20:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 13:20:24 prd-ubuntu18.04-docker-arm64-4c-16g-2243 does not seem to be running inside a container 13:20:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/10 -v /w/workspace/device-sdk-c/10:/w/workspace/device-sdk-c/10:rw,z -v /w/workspace/device-sdk-c/10@tmp:/w/workspace/device-sdk-c/10@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 13:20:29 $ docker top 1b3745a70402d00635b8d23c8022c2f77b843805c9e4a3524f9c61803088d31a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:20:32 ---> job-cost.sh 13:20:32 lf-activate-venv: SKIPPING 13:20:32 INFO: No Stack... 13:20:33 INFO: Retrieving Pricing Info for: v2-standard-4 13:20:33 INFO: Archiving Costs [Pipeline] sh 13:20:34 + cut -d, -f6 13:20:34 + cat /w/workspace/device-sdk-c/10/archives/cost.csv [Pipeline] lock 13:20:34 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-357-10-stack-cost] 13:20:34 Resource [jenkins-edgexfoundry-device-sdk-c-PR-357-10-stack-cost] did not exist. Created. 13:20:34 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-357-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:20:35 /w/workspace/device-sdk-c/10@tmp/durable-2155a3b2/script.sh: 1: /w/workspace/device-sdk-c/10@tmp/durable-2155a3b2/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 13:20:36 + echo total: 0.18000000715255737 [Pipeline] stash 13:20:36 Warning: overwriting stash ‘stack-cost’ 13:20:36 Stashed 1 file(s) [Pipeline] } 13:20:36 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-357-10-stack-cost] [Pipeline] // lock [Pipeline] } 13:20:36 $ docker stop --time=1 1b3745a70402d00635b8d23c8022c2f77b843805c9e4a3524f9c61803088d31a 13:20:38 $ docker rm -f 1b3745a70402d00635b8d23c8022c2f77b843805c9e4a3524f9c61803088d31a [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 13:20:45 + '[' -d /w/workspace/edgexfoundry_device-sdk-c_PR-357/archives ']' [Pipeline] libraryResource [Pipeline] sh 13:20:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:20:46 ---> package-listing.sh 13:20:46 ++ facter osfamily 13:20:46 ++ tr '[:upper:]' '[:lower:]' 13:20:46 + OS_FAMILY=redhat 13:20:46 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-357 13:20:46 + START_PACKAGES=/tmp/packages_start.txt 13:20:46 + END_PACKAGES=/tmp/packages_end.txt 13:20:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:20:46 + PACKAGES=/tmp/packages_start.txt 13:20:46 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-357 ']' 13:20:46 + PACKAGES=/tmp/packages_end.txt 13:20:46 + case "${OS_FAMILY}" in 13:20:46 + sort 13:20:46 + rpm -qa 13:20:47 + '[' -f /tmp/packages_start.txt ']' 13:20:47 + '[' -f /tmp/packages_end.txt ']' 13:20:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:20:47 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-357 ']' 13:20:47 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-357/archives/ 13:20:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-357/archives/ [Pipeline] echo 13:20:47 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-357/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:20:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 13:20:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:20:48 13:20:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 13:20:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:20:48 latest: Pulling from edgex-lftools-log-publisher 13:20:48 b4d181a07f80: Pulling fs layer 13:20:48 a1111a8f2ec3: Pulling fs layer 13:20:48 ed53099fbce6: Pulling fs layer 13:20:48 dc539afda2c1: Pulling fs layer 13:20:48 77bc0d833cb6: Pulling fs layer 13:20:48 9065ff56babe: Pulling fs layer 13:20:48 d287ab97295c: Pulling fs layer 13:20:48 dc539afda2c1: Waiting 13:20:48 77bc0d833cb6: Waiting 13:20:48 9065ff56babe: Waiting 13:20:48 d287ab97295c: Waiting 13:20:48 a1111a8f2ec3: Verifying Checksum 13:20:48 a1111a8f2ec3: Download complete 13:20:48 dc539afda2c1: Download complete 13:20:48 77bc0d833cb6: Verifying Checksum 13:20:48 77bc0d833cb6: Download complete 13:20:48 9065ff56babe: Verifying Checksum 13:20:48 9065ff56babe: Download complete 13:20:48 ed53099fbce6: Verifying Checksum 13:20:48 ed53099fbce6: Download complete 13:20:49 b4d181a07f80: Verifying Checksum 13:20:49 b4d181a07f80: Download complete 13:20:50 b4d181a07f80: Pull complete 13:20:50 a1111a8f2ec3: Pull complete 13:20:51 ed53099fbce6: Pull complete 13:20:51 dc539afda2c1: Pull complete 13:20:51 77bc0d833cb6: Pull complete 13:20:52 9065ff56babe: Pull complete 13:20:55 d287ab97295c: Verifying Checksum 13:20:55 d287ab97295c: Download complete 13:20:59 d287ab97295c: Pull complete 13:20:59 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 13:20:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:20:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 13:20:59 prd-centos7-docker-4c-2g-2242 does not seem to be running inside a container 13:20:59 $ 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-357/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-357 -v /w/workspace/edgexfoundry_device-sdk-c_PR-357:/w/workspace/edgexfoundry_device-sdk-c_PR-357:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-357@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 13:21:01 $ docker top c54470bd845ed808d2312794d37670017e636b499eef727f9e72a3b5d9ca8f92 -eo pid,comm [Pipeline] { [Pipeline] sh 13:21:04 + touch /tmp/pre-build-complete [Pipeline] sh 13:21:04 + mkdir -p /var/log/sysstat [Pipeline] sh 13:21:04 + ls /var/log/sa-host 13:21:04 + sadf -c /var/log/sa-host/sa05 13:21:04 file_magic: OK 13:21:04 HZ: Using current value: 100 13:21:04 file_header: OK 13:21:04 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 13:21:04 Statistics: 13:21:04 Hnuu...uuuununununu...Hnuu...uuuununununu... 13:21:04 File successfully converted to sysstat format version 12.0.3 13:21:04 + sadf -c /var/log/sa-host/sa06 13:21:04 file_magic: OK 13:21:04 HZ: Using current value: 100 13:21:04 file_header: OK 13:21:04 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 13:21:04 Statistics: 13:21:04 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 13:21:04 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:21:08 provisioning config files... 13:21:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/config634637384821292305tmp [Pipeline] { [Pipeline] echo 13:21:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:21:08 ---> create-netrc.sh [Pipeline] } 13:21:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:21:10 ---> python-tools-install.sh [Pipeline] echo 13:21:10 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:21:11 ---> sudo-logs.sh 13:21:11 Archiving 'sudo' log.. 13:21:11 sudo: unable to resolve host prd-centos7-docker-4c-2g-2242.vexxhost.local: Name or service not known 13:21:11 sudo: unable to resolve host prd-centos7-docker-4c-2g-2242.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 13:21:11 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:21:11 ---> job-cost.sh 13:21:11 lf-activate-venv: SKIPPING 13:21:11 DEBUG: total: 0.18000000715255737 13:21:11 INFO: Retrieving Stack Cost... 13:21:12 INFO: Retrieving Pricing Info for: v3-standard-2 13:21:12 INFO: Archiving Costs [Pipeline] echo 13:21:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:21:13 ---> logs-deploy.sh 13:21:13 lf-activate-venv: SKIPPING 13:21:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-357/10 13:21:13 INFO: archiving workspace using pattern(s): 13:21:14 Archives upload complete. 13:21:14 INFO: archiving logs to Nexus 13:21:16 ---> uname -a: 13:21:16 Linux prd-centos7-docker-4c-2g-2242.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 13:21:16 13:21:16 13:21:16 ---> lscpu: 13:21:16 Architecture: x86_64 13:21:16 CPU op-mode(s): 32-bit, 64-bit 13:21:16 Byte Order: Little Endian 13:21:16 Address sizes: 40 bits physical, 48 bits virtual 13:21:16 CPU(s): 2 13:21:16 On-line CPU(s) list: 0,1 13:21:16 Thread(s) per core: 1 13:21:16 Core(s) per socket: 1 13:21:16 Socket(s): 2 13:21:16 NUMA node(s): 1 13:21:16 Vendor ID: AuthenticAMD 13:21:16 CPU family: 23 13:21:16 Model: 49 13:21:16 Model name: AMD EPYC-Rome Processor 13:21:16 Stepping: 0 13:21:16 CPU MHz: 2799.998 13:21:16 BogoMIPS: 5599.99 13:21:16 Virtualization: AMD-V 13:21:16 Hypervisor vendor: KVM 13:21:16 Virtualization type: full 13:21:16 L1d cache: 32K 13:21:16 L1i cache: 32K 13:21:16 L2 cache: 512K 13:21:16 L3 cache: 16384K 13:21:16 NUMA node0 CPU(s): 0,1 13:21:16 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 13:21:16 13:21:16 13:21:16 ---> nproc: 13:21:16 2 13:21:16 13:21:16 13:21:16 ---> df -h: 13:21:16 Filesystem Size Used Avail Use% Mounted on 13:21:16 overlay 40G 7.7G 33G 20% / 13:21:16 tmpfs 64M 0 64M 0% /dev 13:21:16 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 13:21:16 shm 64M 0 64M 0% /dev/shm 13:21:16 /dev/vda1 40G 7.7G 33G 20% /facter-os 13:21:16 13:21:16 13:21:16 ---> sar -b -r -n DEV: 13:21:16 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 08/06/21 _x86_64_ (2 CPU) 13:21:16 13:21:16 13:12:48 LINUX RESTART (2 CPU) 13:21:16 13:21:16 13:14:01 tps rtps wtps bread/s bwrtn/s 13:21:16 13:15:01 3.35 0.00 3.35 0.00 120.02 13:21:16 13:16:01 0.35 0.00 0.35 0.00 4.90 13:21:16 13:17:01 0.33 0.00 0.33 0.00 3.93 13:21:16 13:18:01 0.22 0.00 0.22 0.00 3.00 13:21:16 13:19:01 0.27 0.00 0.27 0.00 3.33 13:21:16 13:20:01 0.28 0.00 0.28 0.00 3.36 13:21:16 13:21:01 55.80 0.10 55.70 9.99 15293.52 13:21:16 Average: 8.66 0.01 8.64 1.43 2204.90 13:21:16 13:21:16 13:14:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 13:21:16 13:15:01 5466464 0 803232 10.03 2620 1736624 1212992 13.39 581240 1561780 16 13:21:16 13:16:01 5467504 0 802184 10.02 2620 1736632 1204756 13.30 580224 1561748 12 13:21:16 13:17:01 5465168 0 804520 10.05 2620 1736632 1205076 13.30 582808 1561748 8 13:21:16 13:18:01 5466568 0 803108 10.03 2620 1736644 1204824 13.30 580884 1562356 8 13:21:16 13:19:01 5463400 0 806272 10.07 2620 1736648 1204920 13.30 579168 1567436 8 13:21:16 13:20:01 5463964 0 805704 10.06 2620 1736652 1204824 13.30 578636 1567440 8 13:21:16 13:21:01 4815036 0 964372 12.04 2620 2226912 1393640 15.39 768524 1912712 37108 13:21:16 Average: 5372586 0 827056 10.33 2620 1806678 1233005 13.61 607355 1613603 5310 13:21:16 13:21:16 13:14:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 13:21:16 13:15:01 eth0 1.00 0.38 0.83 0.04 0.00 0.00 0.00 0.00 13:21:16 13:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:21:16 13:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:21:16 13:16:01 eth0 0.47 0.10 0.05 0.01 0.00 0.00 0.00 0.00 13:21:16 13:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:21:16 13:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:21:16 13:17:01 eth0 1.48 0.67 0.59 0.37 0.00 0.00 0.00 0.00 13:21:16 13:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:21:16 13:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:21:16 13:18:01 eth0 0.10 0.08 0.01 0.04 0.00 0.00 0.00 0.00 13:21:16 13:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:21:16 13:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:21:16 13:19:01 eth0 0.38 0.25 0.15 0.08 0.00 0.00 0.00 0.00 13:21:16 13:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:21:16 13:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:21:16 13:20:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 13:21:16 13:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:21:16 13:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:21:16 13:21:01 eth0 413.69 281.06 2618.18 25.44 0.00 0.00 0.00 0.00 13:21:16 13:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:21:16 13:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:21:16 Average: eth0 59.61 40.38 374.31 3.71 0.00 0.00 0.00 0.00 13:21:16 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:21:16 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:21:16 13:21:16 13:21:16 ---> sar -P ALL: 13:21:16 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 08/06/21 _x86_64_ (2 CPU) 13:21:16 13:21:16 13:12:48 LINUX RESTART (2 CPU) 13:21:16 13:21:16 13:14:01 CPU %user %nice %system %iowait %steal %idle 13:21:16 13:15:01 all 0.22 0.00 0.10 0.00 0.03 99.66 13:21:16 13:15:01 0 0.33 0.00 0.08 0.00 0.02 99.57 13:21:16 13:15:01 1 0.10 0.00 0.12 0.00 0.03 99.75 13:21:16 13:16:01 all 0.23 0.00 0.08 0.00 0.02 99.67 13:21:16 13:16:01 0 0.42 0.00 0.08 0.00 0.02 99.48 13:21:16 13:16:01 1 0.05 0.00 0.07 0.00 0.02 99.87 13:21:16 13:17:01 all 0.16 0.00 0.06 0.00 0.03 99.75 13:21:16 13:17:01 0 0.23 0.00 0.05 0.00 0.03 99.68 13:21:16 13:17:01 1 0.08 0.00 0.07 0.00 0.03 99.82 13:21:16 13:18:01 all 0.19 0.00 0.05 0.00 0.02 99.74 13:21:16 13:18:01 0 0.30 0.00 0.03 0.00 0.00 99.67 13:21:16 13:18:01 1 0.08 0.00 0.07 0.00 0.03 99.82 13:21:16 13:19:01 all 0.17 0.00 0.11 0.00 0.03 99.70 13:21:16 13:19:01 0 0.12 0.00 0.13 0.00 0.03 99.72 13:21:16 13:19:01 1 0.22 0.00 0.08 0.00 0.02 99.68 13:21:16 13:20:01 all 0.14 0.00 0.06 0.00 0.03 99.77 13:21:16 13:20:01 0 0.03 0.00 0.07 0.00 0.03 99.87 13:21:16 13:20:01 1 0.25 0.00 0.05 0.00 0.02 99.68 13:21:16 13:21:01 all 7.41 0.00 2.99 0.43 0.03 89.13 13:21:16 13:21:01 0 6.97 0.00 3.11 0.34 0.03 89.55 13:21:16 13:21:01 1 7.86 0.00 2.87 0.53 0.03 88.71 13:21:16 Average: all 1.20 0.00 0.48 0.06 0.03 98.23 13:21:16 Average: 0 1.18 0.00 0.50 0.05 0.02 98.25 13:21:16 Average: 1 1.22 0.00 0.47 0.07 0.03 98.21 13:21:16 13:21:16 13:21:16