Branch indexing 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 6dd61b441719fab4f2192aeabeb577189d74fc2d+fe80442fa2f0db74f1d47f63cbba0c7b5c42b53a (cfabad5caf7d958953f7cf38fbc950e36ca2a8f2) 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-ssh2234497722453397663.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 155abbc8877922835dbd6f2f82c828d26e35ec40 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-ssh6223723616722023396.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 155abbc8877922835dbd6f2f82c828d26e35ec40 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-ssh1467217516246689128.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 155abbc8877922835dbd6f2f82c828d26e35ec40 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 155abbc8877922835dbd6f2f82c828d26e35ec40 # timeout=10 Commit message: "Merge pull request #342 from ernestojeda/fix-c-docker-image-names" > 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-ssh7129078875341814666.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-ssh7458271601472505557.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-1263 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-ssh5740798904602541535.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit fe80442fa2f0db74f1d47f63cbba0c7b5c42b53a into PR head commit 6dd61b441719fab4f2192aeabeb577189d74fc2d Merge succeeded, producing fd9f77e03bbb9d13f9e7c0f214251cff23ce8010 Checking out Revision fd9f77e03bbb9d13f9e7c0f214251cff23ce8010 (PR-357) > 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-ssh6043892574936918939.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 > git config core.sparsecheckout # timeout=10 > git checkout -f 6dd61b441719fab4f2192aeabeb577189d74fc2d # 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-ssh2302923274263654018.key > git merge fe80442fa2f0db74f1d47f63cbba0c7b5c42b53a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fd9f77e03bbb9d13f9e7c0f214251cff23ce8010 # timeout=10 Commit message: "Merge commit 'fe80442fa2f0db74f1d47f63cbba0c7b5c42b53a' into HEAD" > git rev-list --no-walk 6dd61b441719fab4f2192aeabeb577189d74fc2d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:55:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:55:45 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:55:45 ========================================================= 14:55:45 EdgeX Global Pipelines Version Info 14:55:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:55:46 ------------------- 14:55:46 stable info: 14:55:46 ------------------- 14:55:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:55:46 Commit SHA: 155abbc8877922835dbd6f2f82c828d26e35ec40 14:55:46 Message: update stable to v1.0.199 14:55:47 ------------------- 14:55:47 experimental info: 14:55:47 ------------------- 14:55:47 Commited By: **** collab-it+edgex@linuxfoundation.org 14:55:47 Commit SHA: 155abbc8877922835dbd6f2f82c828d26e35ec40 14:55:47 Message: update experimental to v1.0.199 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:55:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 14:55:47 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 14:55:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:55:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:55:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:55:47 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo 14:55:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 14:55:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 14:55:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:55:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:55:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 14:55:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:55:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:55:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:55:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 14:55:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:55:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:55:47 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:55:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-357 [Pipeline] echo 14:55:47 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-357 [Pipeline] echo 14:55:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-357 [Pipeline] echo 14:55:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fd9f77e03bbb9d13f9e7c0f214251cff23ce8010 [Pipeline] echo 14:55:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fd9f77e [Pipeline] echo 14:55:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:55:48 provisioning config files... 14:55:48 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/config6891976044127681112tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:55:48 ---> docker-login.sh 14:55:48 nexus3.edgexfoundry.org:10001 14:55:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:55:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:55:48 Configure a credential helper to remove this warning. See 14:55:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:55:48 14:55:48 Login Succeeded 14:55:48 nexus3.edgexfoundry.org:10002 14:55:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:55:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:55:48 Configure a credential helper to remove this warning. See 14:55:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:55:48 14:55:48 Login Succeeded 14:55:48 nexus3.edgexfoundry.org:10003 14:55:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:55:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:55:48 Configure a credential helper to remove this warning. See 14:55:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:55:48 14:55:48 Login Succeeded 14:55:48 nexus3.edgexfoundry.org:10004 14:55:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:55:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:55:49 Configure a credential helper to remove this warning. See 14:55:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:55:49 14:55:49 Login Succeeded 14:55:49 docker.io 14:55:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:55:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:55:49 Configure a credential helper to remove this warning. See 14:55:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:55:49 14:55:49 Login Succeeded 14:55:49 ---> docker-login.sh ends [Pipeline] } 14:55:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 14:55:51 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:55:51 14:55:51 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 14:55:51 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:55:51 latest: Pulling from edgex-devops/git-semver 14:55:51 31603596830f: Pulling fs layer 14:55:51 b6dc333f4379: Pulling fs layer 14:55:51 3d9ef1400e77: Pulling fs layer 14:55:51 fd332fbdc1db: Pulling fs layer 14:55:51 fd332fbdc1db: Waiting 14:55:51 b6dc333f4379: Verifying Checksum 14:55:51 b6dc333f4379: Download complete 14:55:51 31603596830f: Verifying Checksum 14:55:51 31603596830f: Download complete 14:55:52 31603596830f: Pull complete 14:55:52 fd332fbdc1db: Verifying Checksum 14:55:52 fd332fbdc1db: Download complete 14:55:52 b6dc333f4379: Pull complete 14:55:52 3d9ef1400e77: Verifying Checksum 14:55:52 3d9ef1400e77: Download complete 14:55:52 3d9ef1400e77: Pull complete 14:55:53 fd332fbdc1db: Pull complete 14:55:53 Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 14:55:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:55:53 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 14:55:53 prd-centos7-docker-4c-2g-1263 does not seem to be running inside a container 14:55:53 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 14:55:54 $ docker top 83290c58841e9b1ba86014dc52ee0f4a9100d4e0d7a443c307b01f24b6948989 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:55:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:55:54 [ssh-agent] Looking for ssh-agent implementation... 14:55:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:55:54 $ docker exec 83290c58841e9b1ba86014dc52ee0f4a9100d4e0d7a443c307b01f24b6948989 ssh-agent 14:55:54 SSH_AUTH_SOCK=/tmp/ssh-r8yakVopABtB/agent.15 14:55:54 SSH_AGENT_PID=21 14:55:54 Running ssh-add (command line suppressed) 14:55:54 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/private_key_2578170359863269749.key (/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/private_key_2578170359863269749.key) 14:55:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:55:54 + git tag --points-at HEAD [Pipeline] } 14:55:54 $ docker exec --env ******** --env ******** 83290c58841e9b1ba86014dc52ee0f4a9100d4e0d7a443c307b01f24b6948989 ssh-agent -k 14:55:54 unset SSH_AUTH_SOCK; 14:55:54 unset SSH_AGENT_PID; 14:55:54 echo Agent pid 21 killed; 14:55:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:55:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:55:55 [ssh-agent] Looking for ssh-agent implementation... 14:55:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:55:55 $ docker exec 83290c58841e9b1ba86014dc52ee0f4a9100d4e0d7a443c307b01f24b6948989 ssh-agent 14:55:55 SSH_AUTH_SOCK=/tmp/ssh-8innMgHjrp9O/agent.53 14:55:55 SSH_AGENT_PID=59 14:55:55 Running ssh-add (command line suppressed) 14:55:55 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/private_key_8445915239589432950.key (/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/private_key_8445915239589432950.key) 14:55:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:55:55 + git semver init 14:55:55 # -> Open(): unable to determine branch for HEAD 14:55:55 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-357/.git 14:55:55 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-357 14:55:55 # $SEMVER_REMOTE_NAME = origin 14:55:55 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:55:55 # $SEMVER_USER_NAME = edgex-jenkins 14:55:55 # $SEMVER_BRANCH = PR-357 14:55:55 # $SEMVER_TEMP = /tmp/semver-104233673 14:55:55 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 14:55:56 # '/tmp/semver-104233673' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-357/.semver' 14:55:56 # -> Force: false 14:55:56 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-357/.semver [Pipeline] } 14:55:56 $ docker exec --env ******** --env ******** 83290c58841e9b1ba86014dc52ee0f4a9100d4e0d7a443c307b01f24b6948989 ssh-agent -k 14:55:56 unset SSH_AUTH_SOCK; 14:55:56 unset SSH_AGENT_PID; 14:55:56 echo Agent pid 59 killed; 14:55:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:55:56 + git semver [Pipeline] } 14:55:56 $ docker stop --time=1 83290c58841e9b1ba86014dc52ee0f4a9100d4e0d7a443c307b01f24b6948989 14:55:58 $ docker rm -f 83290c58841e9b1ba86014dc52ee0f4a9100d4e0d7a443c307b01f24b6948989 [Pipeline] // withDockerContainer [Pipeline] sh 14:55:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:55:58 Stashed 1 file(s) [Pipeline] echo 14:55:59 [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 14:56:14 Still waiting to schedule task 14:56:14 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1263’ 14:56:14 Still waiting to schedule task 14:56:14 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 14:58:17 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1264 in /w/workspace/edgexfoundry_device-sdk-c_PR-357 [Pipeline] { [Pipeline] ws 14:58:17 Running in /w/workspace/device-sdk-c/8 [Pipeline] { [Pipeline] checkout 14:58:17 Selected Git installation does not exist. Using Default 14:58:17 The recommended git tool is: NONE 14:58:23 using credential edgex-jenkins-ssh 14:58:23 Cloning the remote Git repository 14:58:23 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 14:58:23 > git init /w/workspace/device-sdk-c/8 # timeout=10 14:58:23 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:58:23 > git --version # timeout=10 14:58:23 > git --version # 'git version 2.17.1' 14:58:23 using GIT_SSH to set credentials SSH Credentials for GitHub 14:58:23 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:58:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:58:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:58:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:58:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:58:24 using GIT_SSH to set credentials SSH Credentials for GitHub 14:58:24 > 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 14:58:25 Merging remotes/origin/main commit fe80442fa2f0db74f1d47f63cbba0c7b5c42b53a into PR head commit 6dd61b441719fab4f2192aeabeb577189d74fc2d 14:58:25 Merge succeeded, producing a4dda2745948f94e5763d593b356a7cfecee69ca 14:58:25 Checking out Revision a4dda2745948f94e5763d593b356a7cfecee69ca (PR-357) 14:58:25 > git config core.sparsecheckout # timeout=10 14:58:25 > git checkout -f 6dd61b441719fab4f2192aeabeb577189d74fc2d # timeout=10 14:58:25 > git remote # timeout=10 14:58:25 > git config --get remote.origin.url # timeout=10 14:58:25 using GIT_SSH to set credentials SSH Credentials for GitHub 14:58:25 > git merge fe80442fa2f0db74f1d47f63cbba0c7b5c42b53a # timeout=10 14:58:25 > git rev-parse HEAD^{commit} # timeout=10 14:58:25 > git config core.sparsecheckout # timeout=10 14:58:25 > git checkout -f a4dda2745948f94e5763d593b356a7cfecee69ca # timeout=10 14:58:30 Commit message: "Merge commit 'fe80442fa2f0db74f1d47f63cbba0c7b5c42b53a' into HEAD" 14:58:30 > git rev-list --no-walk 6dd61b441719fab4f2192aeabeb577189d74fc2d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:58:30 provisioning config files... 14:58:30 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/8@tmp/config7128037582871570045tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:58:31 ---> docker-login.sh 14:58:31 nexus3.edgexfoundry.org:10001 14:58:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:58:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:58:32 Configure a credential helper to remove this warning. See 14:58:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:58:32 14:58:32 Login Succeeded 14:58:32 nexus3.edgexfoundry.org:10002 14:58:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:58:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:58:33 Configure a credential helper to remove this warning. See 14:58:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:58:33 14:58:33 Login Succeeded 14:58:33 nexus3.edgexfoundry.org:10003 14:58:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:58:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:58:33 Configure a credential helper to remove this warning. See 14:58:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:58:33 14:58:33 Login Succeeded 14:58:33 nexus3.edgexfoundry.org:10004 14:58:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:58:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:58:34 Configure a credential helper to remove this warning. See 14:58:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:58:34 14:58:34 Login Succeeded 14:58:34 docker.io 14:58:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:58:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:58:34 Configure a credential helper to remove this warning. See 14:58:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:58:34 14:58:34 Login Succeeded 14:58:34 ---> docker-login.sh ends [Pipeline] } 14:58:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:58:35 ========================================================= 14:58:35 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 14:58:35 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 14:58:35 + 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 . 14:58:36 Sending build context to Docker daemon 2.692MB 14:58:36 Step 1/25 : ARG BASE=alpine:3.12 14:58:36 Step 2/25 : FROM ${BASE} as builder 14:58:36 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 14:58:36 d2f70382dc9a: Pulling fs layer 14:58:36 b08cc2eccb4b: Pulling fs layer 14:58:36 7b69db201801: Pulling fs layer 14:58:36 b08cc2eccb4b: Verifying Checksum 14:58:36 b08cc2eccb4b: Download complete 14:58:36 d2f70382dc9a: Verifying Checksum 14:58:36 d2f70382dc9a: Download complete 14:58:37 d2f70382dc9a: Pull complete 14:58:38 b08cc2eccb4b: Pull complete 14:58:39 7b69db201801: Verifying Checksum 14:58:39 7b69db201801: Download complete 14:58:43 Running on prd-centos7-docker-4c-2g-1265 in /w/workspace/edgexfoundry_device-sdk-c_PR-357 [Pipeline] { [Pipeline] ws 14:58:43 Running in /w/workspace/device-sdk-c/8 [Pipeline] { [Pipeline] checkout 14:58:43 Selected Git installation does not exist. Using Default 14:58:43 The recommended git tool is: NONE 14:58:46 using credential edgex-jenkins-ssh 14:58:46 Cloning the remote Git repository 14:58:46 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 14:58:46 > git init /w/workspace/device-sdk-c/8 # timeout=10 14:58:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:58:46 > git --version # timeout=10 14:58:46 > git --version # 'git version 2.24.4' 14:58:46 using GIT_SSH to set credentials SSH Credentials for GitHub 14:58:46 [INFO] Currently running in a labeled security context 14:58:46 [INFO] Currently SELinux is 'enforcing' on the host 14:58:46 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/8@tmp/jenkins-gitclient-ssh7108679607135884406.key 14:58:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:58:47 Merging remotes/origin/main commit fe80442fa2f0db74f1d47f63cbba0c7b5c42b53a into PR head commit 6dd61b441719fab4f2192aeabeb577189d74fc2d 14:58:47 Merge succeeded, producing 225915a1cbd3aafd6d4023b4944ee28c01151ceb 14:58:47 Checking out Revision 225915a1cbd3aafd6d4023b4944ee28c01151ceb (PR-357) 14:58:48 7b69db201801: Pull complete 14:58:48 Digest: sha256:6402f0ff92f22f5db569dc2a94aef5717e50795d64082fb226716824a8b8ffba 14:58:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 14:58:48 ---> 759262b18b23 14:58:48 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 14:58:47 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:58:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:58:47 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:58:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:58:47 using GIT_SSH to set credentials SSH Credentials for GitHub 14:58:47 [INFO] Currently running in a labeled security context 14:58:47 [INFO] Currently SELinux is 'enforcing' on the host 14:58:47 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/8@tmp/jenkins-gitclient-ssh7919269175791926956.key 14:58:47 > 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 14:58:47 > git config core.sparsecheckout # timeout=10 14:58:47 > git checkout -f 6dd61b441719fab4f2192aeabeb577189d74fc2d # timeout=10 14:58:47 > git remote # timeout=10 14:58:47 > git config --get remote.origin.url # timeout=10 14:58:47 using GIT_SSH to set credentials SSH Credentials for GitHub 14:58:47 [INFO] Currently running in a labeled security context 14:58:47 [INFO] Currently SELinux is 'enforcing' on the host 14:58:47 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/8@tmp/jenkins-gitclient-ssh7305116696734553493.key 14:58:47 > git merge fe80442fa2f0db74f1d47f63cbba0c7b5c42b53a # timeout=10 14:58:47 > git rev-parse HEAD^{commit} # timeout=10 14:58:47 > git config core.sparsecheckout # timeout=10 14:58:47 > git checkout -f 225915a1cbd3aafd6d4023b4944ee28c01151ceb # timeout=10 14:58:49 ---> Running in ba1efb2809d6 14:58:51 Connecting to iotech.jfrog.io (54.229.110.245:443) 14:58:51 saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 14:58:51 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 14:58:51 '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved 14:58:51 Commit message: "Merge commit 'fe80442fa2f0db74f1d47f63cbba0c7b5c42b53a' into HEAD" 14:58:51 > git rev-list --no-walk 6dd61b441719fab4f2192aeabeb577189d74fc2d # timeout=10 14:58:51 Removing intermediate container ba1efb2809d6 14:58:51 ---> c1cb4bb1d258 14:58:51 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:58:52 provisioning config files... 14:58:52 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/8@tmp/config6462180148270046481tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:58:52 ---> Running in 2ab86d5747dc 14:58:52 ---> docker-login.sh 14:58:52 nexus3.edgexfoundry.org:10001 14:58:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:58:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:58:52 Configure a credential helper to remove this warning. See 14:58:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:58:52 14:58:52 Login Succeeded 14:58:52 nexus3.edgexfoundry.org:10002 14:58:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:58:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:58:52 Configure a credential helper to remove this warning. See 14:58:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:58:52 14:58:52 Login Succeeded 14:58:52 nexus3.edgexfoundry.org:10003 14:58:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:58:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:58:53 Configure a credential helper to remove this warning. See 14:58:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:58:53 14:58:53 Login Succeeded 14:58:53 nexus3.edgexfoundry.org:10004 14:58:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:58:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:58:53 Configure a credential helper to remove this warning. See 14:58:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:58:53 14:58:53 Login Succeeded 14:58:53 docker.io 14:58:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:58:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:58:53 Configure a credential helper to remove this warning. See 14:58:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:58:53 14:58:53 Login Succeeded 14:58:53 ---> docker-login.sh ends [Pipeline] } 14:58:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:58:53 ========================================================= 14:58:53 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 14:58:53 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 14:58:54 + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . 14:58:54 Sending build context to Docker daemon 2.694MB 14:58:54 Step 1/25 : ARG BASE=alpine:3.12 14:58:54 Step 2/25 : FROM ${BASE} as builder 14:58:54 latest: Pulling from edgex-devops/edgex-gcc-base 14:58:54 339de151aab4: Pulling fs layer 14:58:54 3691962f683c: Pulling fs layer 14:58:54 e1147bf81a45: Pulling fs layer 14:58:54 3691962f683c: Verifying Checksum 14:58:54 3691962f683c: Download complete 14:58:54 339de151aab4: Verifying Checksum 14:58:54 339de151aab4: Download complete 14:58:54 339de151aab4: Pull complete 14:58:54 Removing intermediate container 2ab86d5747dc 14:58:54 ---> 760fc14ad10d 14:58:54 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 14:58:54 ---> Running in 0d3b9eed2ea2 14:58:55 3691962f683c: Pull complete 14:58:55 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 14:58:56 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 14:58:57 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 14:58:57 (1/22) Installing hiredis (0.14.1-r0) 14:58:57 (2/22) Installing hiredis-dev (0.14.1-r0) 14:58:57 (3/22) Installing ncurses-dev (6.2_p20200523-r0) 14:58:58 (4/22) Installing paho-mqtt-c-dev (1.3.5-r0) 14:58:58 e1147bf81a45: Verifying Checksum 14:58:58 e1147bf81a45: Download complete 14:59:00 (5/22) Installing libblkid (2.35.2-r0) 14:59:00 (6/22) Installing blkid (2.35.2-r0) 14:59:00 (7/22) Installing libcap-ng (0.7.10-r1) 14:59:00 (8/22) Installing setpriv (2.35.2-r0) 14:59:00 (9/22) Installing libmount (2.35.2-r0) 14:59:00 (10/22) Installing libsmartcols (2.35.2-r0) 14:59:00 (11/22) Installing findmnt (2.35.2-r0) 14:59:00 (12/22) Installing mcookie (2.35.2-r0) 14:59:00 (13/22) Installing hexdump (2.35.2-r0) 14:59:01 e1147bf81a45: Pull complete 14:59:01 Digest: sha256:32c567f17180c4abff101a0d389449dec7f3f623a221c8a8ae98dcac9b0d9fee 14:59:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 14:59:01 ---> ac6a0feb3254 14:59:01 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 14:59:01 (14/22) Installing lsblk (2.35.2-r0) 14:59:01 (15/22) Installing libuuid (2.35.2-r0) 14:59:01 (16/22) Installing libfdisk (2.35.2-r0) 14:59:01 (17/22) Installing sfdisk (2.35.2-r0) 14:59:01 (18/22) Installing cfdisk (2.35.2-r0) 14:59:01 (19/22) Installing util-linux (2.35.2-r0) 14:59:01 ---> Running in 9e00b60305d1 14:59:01 (20/22) Installing util-linux-dev (2.35.2-r0) 14:59:02 (21/22) Installing libidn2 (2.3.0-r0) 14:59:02 (22/22) Installing wget (1.20.3-r1) 14:59:02 Executing busybox-1.31.1-r20.trigger 14:59:02 Connecting to iotech.jfrog.io (54.170.66.44:443) 14:59:02 OK: 276 MiB in 97 packages 14:59:02 saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 14:59:02 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 14:59:02 '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved 14:59:02 Removing intermediate container 9e00b60305d1 14:59:02 ---> 088088e9bdcf 14:59:02 Step 4/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 14:59:02 ---> Running in d539cedf439f 14:59:03 Removing intermediate container d539cedf439f 14:59:03 ---> 172ae014a1f8 14:59:03 Step 5/25 : RUN apk add --update --no-cache build-base wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev hiredis-dev 14:59:03 ---> Running in 1efd236625d8 14:59:03 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 14:59:04 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 14:59:04 Removing intermediate container 0d3b9eed2ea2 14:59:04 ---> a3240e4a8afb 14:59:04 Step 6/25 : ENV CBOR_VERSION=0.5.0 14:59:04 ---> Running in 2476155aeef0 14:59:04 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 14:59:04 Removing intermediate container 2476155aeef0 14:59:04 ---> 5ef1a0a2591d 14:59:04 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 14:59:04 ---> Running in 0afc3014b49f 14:59:05 (1/22) Installing hiredis (0.14.1-r0) 14:59:05 (2/22) Installing hiredis-dev (0.14.1-r0) 14:59:05 (3/22) Installing ncurses-dev (6.2_p20200523-r0) 14:59:05 (4/22) Installing paho-mqtt-c-dev (1.3.5-r0) 14:59:05 --2021-07-31 14:59:05-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 14:59:05 Resolving github.com (github.com)... 140.82.112.4 14:59:05 Connecting to github.com (github.com)|140.82.112.4|:443... connected. 14:59:06 HTTP request sent, awaiting response... 302 Found 14:59:06 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 14:59:06 --2021-07-31 14:59:06-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 14:59:06 Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 14:59:06 Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected. 14:59:06 HTTP request sent, awaiting response... 200 OK 14:59:06 Length: unspecified [application/x-gzip] 14:59:06 Saving to: 'STDOUT' 14:59:06  14:59:06 0K .......... .......... .......... .......... .......... 1.50M 14:59:06 50K .......... .......... .......... .......... .......... 2.83M 14:59:06 100K .......... .......... .......... .......... .......... 3.23M 14:59:06 150K .......... .......... .......... .......... .......... 11.3M 14:59:06 200K .......... .......... .......... .......... .......... 11.0M 14:59:06 250K .......... .......... .......... .......... .......... 3.62M 14:59:06 300K .......... .......... .......... .......... .......... 5.48M 14:59:06 350K .......... .......... .......... .......... .......... 4.70M 14:59:06 400K .......... .......... .......... .......... .......... 3.38M 14:59:06 450K .......... .......... .......... .......... .......... 4.21M 14:59:06 500K .......... .......... .......... .......... .......... 9.35M 14:59:06 550K .......... .......... .......... .......... .......... 2.57M 14:59:06 600K .......... .......... .......... .......... .......... 888K 14:59:06 650K .......... .......... .......... .......... .......... 1.85M 14:59:06 700K ..                                       5.34M=0.2s 14:59:06 14:59:06 2021-07-31 14:59:06 (2.86 MB/s) - written to stdout [719348] 14:59:06 14:59:06 (5/22) Installing libblkid (2.35.2-r0) 14:59:06 (6/22) Installing blkid (2.35.2-r0) 14:59:06 -- The C compiler identification is GNU 9.3.0 14:59:07 (7/22) Installing libcap-ng (0.7.10-r1) 14:59:07 (8/22) Installing setpriv (2.35.2-r0) 14:59:07 (9/22) Installing libmount (2.35.2-r0) 14:59:07 -- The CXX compiler identification is GNU 9.3.0 14:59:07 -- Check for working C compiler: /usr/bin/cc 14:59:07 (10/22) Installing libsmartcols (2.35.2-r0) 14:59:07 (11/22) Installing findmnt (2.35.2-r0) 14:59:07 -- Check for working C compiler: /usr/bin/cc - works 14:59:07 -- Detecting C compiler ABI info 14:59:07 (12/22) Installing mcookie (2.35.2-r0) 14:59:07 (13/22) Installing hexdump (2.35.2-r0) 14:59:07 (14/22) Installing lsblk (2.35.2-r0) 14:59:07 -- Detecting C compiler ABI info - done 14:59:07 (15/22) Installing libuuid (2.35.2-r0) 14:59:07 (16/22) Installing libfdisk (2.35.2-r0) 14:59:07 -- Detecting C compile features 14:59:07 -- Detecting C compile features - done 14:59:07 -- Check for working CXX compiler: /usr/bin/c++ 14:59:08 (17/22) Installing sfdisk (2.35.2-r0) 14:59:08 -- Check for working CXX compiler: /usr/bin/c++ - works 14:59:08 -- Detecting CXX compiler ABI info 14:59:08 (18/22) Installing cfdisk (2.35.2-r0) 14:59:08 (19/22) Installing util-linux (2.35.2-r0) 14:59:08 -- Detecting CXX compiler ABI info - done 14:59:08 -- Detecting CXX compile features 14:59:08 -- Detecting CXX compile features - done 14:59:08 -- Looking for include file endian.h 14:59:08 -- Looking for include file endian.h - found 14:59:08 -- Check if the system is big endian 14:59:08 -- Searching 16 bit integer 14:59:08 -- Looking for sys/types.h 14:59:08 (20/22) Installing util-linux-dev (2.35.2-r0) 14:59:08 -- Looking for sys/types.h - found 14:59:08 -- Looking for stdint.h 14:59:09 (21/22) Installing libidn2 (2.3.0-r0) 14:59:09 (22/22) Installing wget (1.20.3-r1) 14:59:09 -- Looking for stdint.h - found 14:59:09 -- Looking for stddef.h 14:59:09 Executing busybox-1.31.1-r20.trigger 14:59:09 OK: 295 MiB in 97 packages 14:59:09 -- Looking for stddef.h - found 14:59:09 -- Check size of unsigned short 14:59:09 -- Check size of unsigned short - done 14:59:09 -- Searching 16 bit integer - Using unsigned short 14:59:10 -- Check if the system is big endian - little endian 14:59:10 -- Check size of size_t 14:59:10 Removing intermediate container 1efd236625d8 14:59:10 ---> b108a98b445d 14:59:10 Step 6/25 : ENV CBOR_VERSION=0.5.0 14:59:10 ---> Running in 03897a896e91 14:59:10 Removing intermediate container 03897a896e91 14:59:10 ---> ea5ca473a2c1 14:59:10 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 14:59:10 ---> Running in a08c155415ce 14:59:10 -- Check size of size_t - done 14:59:10 CMake Warning at examples/CMakeLists.txt:16 (find_package): 14:59:10 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 14:59:10 asked CMake to find a package configuration file provided by "cJSON", but 14:59:10 CMake did not find one. 14:59:10 14:59:10 Could not find a package configuration file provided by "cJSON" with any of 14:59:10 the following names: 14:59:10 14:59:10 cJSONConfig.cmake 14:59:10 cjson-config.cmake 14:59:10 14:59:10 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 14:59:10 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 14:59:10 provides a separate development package or SDK, be sure it has been 14:59:10 installed. 14:59:10 14:59:10 14:59:10 -- Configuring done 14:59:10 --2021-07-31 14:59:10-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 14:59:10 Resolving github.com (github.com)... 140.82.112.4 14:59:10 Connecting to github.com (github.com)|140.82.112.4|:443... connected. 14:59:10 HTTP request sent, awaiting response... 302 Found 14:59:10 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 14:59:10 --2021-07-31 14:59:10-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 14:59:10 Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 14:59:10 Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected. 14:59:10 HTTP request sent, awaiting response... 200 OK 14:59:10 Length: unspecified [application/x-gzip] 14:59:10 Saving to: 'STDOUT' 14:59:10 14:59:10 0K .......... .......... .......... .......... .......... 1.29M 14:59:10 50K .......... .......... .......... .......... .......... 2.56M 14:59:10 100K .......... .......... .......... .......... .......... 10.4M 14:59:10 150K .......... .......... .......... .......... .......... 3.50M 14:59:10 200K .......... .......... .......... .......... .......... 5.51M 14:59:10 250K .......... .......... .......... .......... .......... 20.1M 14:59:10 300K .......... .......... .......... .......... .......... 15.0M 14:59:10 350K .......... .......... .......... .......... .......... 15.1M 14:59:10 400K .......... .......... .......... .......... .......... 7.50M 14:59:10 450K .......... .......... .......... .......... .......... 13.1M 14:59:10 500K .......... .......... .......... .......... .......... 18.0M 14:59:10 550K .......... .......... .......... .......... .......... 8.92M 14:59:10 600K .......... .......... .......... .......... .......... 4.41M 14:59:10 650K .......... .......... .......... .......... .......... 6.44M 14:59:10 700K .. 69.5M=0.1s 14:59:10 14:59:10 2021-07-31 14:59:10 (5.26 MB/s) - written to stdout [719348] 14:59:10 14:59:10 -- Generating done 14:59:10 -- Build files have been written to: /tmp/cbor 14:59:10 Scanning dependencies of target cbor_shared 14:59:10 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 14:59:10 -- The C compiler identification is GNU 9.3.0 14:59:10 -- The CXX compiler identification is GNU 9.3.0 14:59:10 -- Check for working C compiler: /usr/bin/cc 14:59:10 -- Check for working C compiler: /usr/bin/cc - works 14:59:10 -- Detecting C compiler ABI info 14:59:11 -- Detecting C compiler ABI info - done 14:59:11 -- Detecting C compile features 14:59:11 -- Detecting C compile features - done 14:59:11 -- Check for working CXX compiler: /usr/bin/c++ 14:59:11 -- Check for working CXX compiler: /usr/bin/c++ - works 14:59:11 -- Detecting CXX compiler ABI info 14:59:11 -- Detecting CXX compiler ABI info - done 14:59:11 -- Detecting CXX compile features 14:59:11 -- Detecting CXX compile features - done 14:59:11 -- Looking for include file endian.h 14:59:11 -- Looking for include file endian.h - found 14:59:11 -- Check if the system is big endian 14:59:11 -- Searching 16 bit integer 14:59:11 -- Looking for sys/types.h 14:59:11 -- Looking for sys/types.h - found 14:59:11 -- Looking for stdint.h 14:59:11 -- Looking for stdint.h - found 14:59:11 -- Looking for stddef.h 14:59:11 -- Looking for stddef.h - found 14:59:11 -- Check size of unsigned short 14:59:11 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 14:59:11 -- Check size of unsigned short - done 14:59:11 -- Searching 16 bit integer - Using unsigned short 14:59:11 -- Check if the system is big endian - little endian 14:59:11 -- Check size of size_t 14:59:11 -- Check size of size_t - done 14:59:11 CMake Warning at examples/CMakeLists.txt:16 (find_package): 14:59:11 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 14:59:11 asked CMake to find a package configuration file provided by "cJSON", but 14:59:11 CMake did not find one. 14:59:11 14:59:11 Could not find a package configuration file provided by "cJSON" with any of 14:59:11 the following names: 14:59:11 14:59:11 cJSONConfig.cmake 14:59:11 cjson-config.cmake 14:59:11 14:59:11 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 14:59:11 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 14:59:11 provides a separate development package or SDK, be sure it has been 14:59:11 installed. 14:59:11 14:59:11 14:59:11 -- Configuring done 14:59:11 -- Generating done 14:59:11 -- Build files have been written to: /tmp/cbor 14:59:11 Scanning dependencies of target cbor_shared 14:59:11 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 14:59:11 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 14:59:12 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 14:59:12 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 14:59:12 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 14:59:12 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 14:59:12 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 14:59:12 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 14:59:12 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 14:59:12 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 14:59:12 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 14:59:12 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 14:59:12 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 14:59:12 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 14:59:12 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 14:59:13 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 14:59:13 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 14:59:13 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 14:59:13 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 14:59:13 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 14:59:13 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 14:59:13 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 14:59:13 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 14:59:13 [ 40%] Linking C shared library libcbor.so 14:59:13 [ 40%] Built target cbor_shared 14:59:13 Scanning dependencies of target cbor 14:59:13 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 14:59:13 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 14:59:13 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 14:59:13 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 14:59:13 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 14:59:13 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 14:59:13 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 14:59:13 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 14:59:14 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 14:59:14 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 14:59:14 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 14:59:14 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 14:59:14 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 14:59:14 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 14:59:14 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 14:59:14 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 14:59:14 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 14:59:14 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 14:59:14 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 14:59:14 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 14:59:14 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 14:59:14 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 14:59:14 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 14:59:14 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 14:59:14 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 14:59:15 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 14:59:15 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 14:59:15 [ 80%] Linking C static library libcbor.a 14:59:15 [ 80%] Built target cbor 14:59:15 Scanning dependencies of target sort 14:59:15 [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 14:59:15 [ 84%] Linking C executable sort 14:59:15 [ 84%] Built target sort 14:59:15 Scanning dependencies of target readfile 14:59:15 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 14:59:15 [ 88%] Linking C executable readfile 14:59:15 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 14:59:15 [ 88%] Built target readfile 14:59:15 Scanning dependencies of target streaming_parser 14:59:15 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 14:59:15 [ 92%] Linking C executable streaming_parser 14:59:15 [ 92%] Built target streaming_parser 14:59:15 Scanning dependencies of target hello 14:59:15 [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 14:59:15 [ 96%] Linking C executable hello 14:59:15 [ 96%] Built target hello 14:59:15 Scanning dependencies of target create_items 14:59:15 [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 14:59:15 [100%] Linking C executable create_items 14:59:15 [100%] Built target create_items 14:59:15 Install the project... 14:59:15 -- Install configuration: "Release" 14:59:15 -- Installing: /usr/local/include/cbor/configuration.h 14:59:15 -- Installing: /usr/local/lib64/libcbor.a 14:59:15 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 14:59:15 -- Installing: /usr/local/lib64/libcbor.so.0 14:59:15 -- Installing: /usr/local/lib64/libcbor.so 14:59:15 -- Up-to-date: /usr/local/include/cbor 14:59:15 -- Installing: /usr/local/include/cbor/arrays.h 14:59:15 -- Installing: /usr/local/include/cbor/bytestrings.h 14:59:15 -- Installing: /usr/local/include/cbor/callbacks.h 14:59:15 -- Installing: /usr/local/include/cbor/common.h 14:59:15 -- Installing: /usr/local/include/cbor/data.h 14:59:15 -- Installing: /usr/local/include/cbor/encoding.h 14:59:15 -- Installing: /usr/local/include/cbor/floats_ctrls.h 14:59:15 -- Installing: /usr/local/include/cbor/internal 14:59:15 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 14:59:15 -- Installing: /usr/local/include/cbor/internal/encoders.h 14:59:15 -- Installing: /usr/local/include/cbor/internal/loaders.h 14:59:15 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 14:59:15 -- Installing: /usr/local/include/cbor/internal/stack.h 14:59:15 -- Installing: /usr/local/include/cbor/internal/unicode.h 14:59:15 -- Installing: /usr/local/include/cbor/ints.h 14:59:15 -- Installing: /usr/local/include/cbor/maps.h 14:59:15 -- Installing: /usr/local/include/cbor/serialization.h 14:59:15 -- Installing: /usr/local/include/cbor/streaming.h 14:59:15 -- Installing: /usr/local/include/cbor/strings.h 14:59:15 -- Installing: /usr/local/include/cbor/tags.h 14:59:15 -- Installing: /usr/local/include/cbor.h 14:59:15 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 14:59:15 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 14:59:15 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 14:59:16 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 14:59:16 Removing intermediate container a08c155415ce 14:59:16 ---> cbba0bdacdc7 14:59:16 Step 8/25 : RUN mkdir /tmp/sdk 14:59:16 ---> Running in 590985c231ed 14:59:16 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 14:59:16 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 14:59:16 Removing intermediate container 590985c231ed 14:59:16 ---> 661fc14f69e9 14:59:16 Step 9/25 : COPY VERSION /tmp/sdk 14:59:16 ---> fdfd7c02e908 14:59:16 Step 10/25 : COPY src /tmp/sdk/src 14:59:16 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 14:59:17 ---> bc59d41a0fd8 14:59:17 Step 11/25 : COPY include /tmp/sdk/include 14:59:17 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 14:59:17 ---> f1129187cfbb 14:59:17 Step 12/25 : COPY scripts /tmp/sdk/scripts 14:59:17 ---> 28bf1afbf290 14:59:17 Step 13/25 : COPY LICENSE /tmp/sdk 14:59:17 [ 40%] Linking C shared library libcbor.so 14:59:17 [ 40%] Built target cbor_shared 14:59:17 Scanning dependencies of target cbor 14:59:17 ---> 624eb420b487 14:59:17 Step 14/25 : COPY Attribution.txt /tmp/sdk 14:59:17 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 14:59:17 ---> e5754a37f9f8 14:59:17 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 14:59:17 ---> Running in 28a4f893b451 14:59:18 + CPPCHECK=false 14:59:18 + DOCGEN=false 14:59:18 + TOMLVER=SDK-0.2 14:59:18 + CUTILVER=1.1.4 14:59:18 + '[' 0 -gt 0 ] 14:59:18 + readlink -f ./scripts/build.sh 14:59:18 + dirname /tmp/sdk/scripts/build.sh 14:59:18 + dirname /tmp/sdk/scripts 14:59:18 + ROOT=/tmp/sdk 14:59:18 + cd /tmp/sdk 14:59:18 + '[' '!' -d deps ] 14:59:18 + mkdir deps 14:59:18 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 14:59:18 --2021-07-31 14:59:18-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 14:59:18 + tar -C deps -z -x -f - 14:59:18 Resolving github.com (github.com)... 140.82.112.4 14:59:18 Connecting to github.com (github.com)|140.82.112.4|:443... connected. 14:59:18 HTTP request sent, awaiting response... 302 Found 14:59:18 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 14:59:18 --2021-07-31 14:59:18-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 14:59:18 Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 14:59:18 Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected. 14:59:18 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 14:59:18 HTTP request sent, awaiting response... 200 OK 14:59:18 Length: unspecified [application/x-gzip] 14:59:18 Saving to: 'STDOUT' 14:59:18  14:59:18 0K .......... ......  969K=0.02s 14:59:18 14:59:18 2021-07-31 14:59:18 (969 KB/s) - written to stdout [16451] 14:59:18 14:59:18 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 14:59:18 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 14:59:18 + tar -C deps -z -x -f - 14:59:18 --2021-07-31 14:59:18-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 14:59:18 Resolving github.com (github.com)... 140.82.112.4 14:59:18 Connecting to github.com (github.com)|140.82.112.4|:443... connected. 14:59:18 HTTP request sent, awaiting response... 302 Found 14:59:18 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 14:59:18 --2021-07-31 14:59:18-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 14:59:18 Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 14:59:18 Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected. 14:59:18 HTTP request sent, awaiting response... 200 OK 14:59:18 Length: unspecified [application/x-gzip] 14:59:18 Saving to: 'STDOUT' 14:59:18  14:59:18 0K .......... .......... .......... .......... .......... 1.37M 14:59:18 50K .......... .......... .......... .......... .......... 2.66M 14:59:18 100K .......... .......... .......... .......... .......... 20.1M 14:59:18 150K .......... .......... ....... 6.36M=0.06s 14:59:18 14:59:18 2021-07-31 14:59:18 (2.86 MB/s) - written to stdout [181796] 14:59:18 14:59:19 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 14:59:19 + mkdir -p src/c/iot 14:59:19 + 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 14:59:19 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 14:59:19 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 14:59:19 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 14:59:19 + mkdir -p include/iot 14:59:19 + 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 14:59:19 + mkdir -p include/iot/os 14:59:19 + 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 14:59:19 + mkdir -p /tmp/sdk/build/release 14:59:19 + cd /tmp/sdk/build/release 14:59:19 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 14:59:19 -- The C compiler identification is GNU 9.3.0 14:59:19 -- Check for working C compiler: /usr/bin/cc 14:59:19 -- Check for working C compiler: /usr/bin/cc - works 14:59:19 -- Detecting C compiler ABI info 14:59:19 -- Detecting C compiler ABI info - done 14:59:19 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 14:59:19 -- Detecting C compile features 14:59:19 -- Detecting C compile features - done 14:59:19 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:59:19 -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") 14:59:19 -- Found LIBYAML: /usr/lib/libyaml.so 14:59:19 -- Found LIBUUID: /usr/lib/libuuid.so 14:59:19 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 14:59:19 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:59:19 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:59:19 -- C SDK 0.0.0 for Linux 14:59:19 -- Performing Test CSDK_HAVE_ATOMIC 14:59:19 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:59:19 -- Found Curses: /usr/lib/libcurses.so 14:59:19 -- Configuring done 14:59:19 -- Generating done 14:59:19 -- Build files have been written to: /tmp/sdk/build/release 14:59:19 + make all package 14:59:19 + tee release.log 14:59:19 Scanning dependencies of target csdk 14:59:19 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:59:19 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 14:59:19 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:59:20 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:59:20 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:59:20 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 14:59:20 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 14:59:20 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 14:59:20 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:59:20 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:59:20 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:59:20 [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:59:21 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:59:21 [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:59:21 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 14:59:21 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 14:59:21 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 14:59:21 [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:59:21 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:59:21 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 14:59:21 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 14:59:21 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 14:59:22 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 14:59:22 [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:59:22 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 14:59:22 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 14:59:22 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 14:59:22 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 14:59:22 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 14:59:22 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 14:59:22 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 14:59:22 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 14:59:23 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 14:59:23 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 14:59:23 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 14:59:23 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 14:59:23 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 14:59:23 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 14:59:23 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 14:59:23 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 14:59:23 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 14:59:23 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 14:59:23 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 14:59:24 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:59:24 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 14:59:24 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:59:24 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 14:59:24 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:59:24 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 14:59:24 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 14:59:25 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 14:59:25 [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:59:25 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:59:25 [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:59:25 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 14:59:25 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:59:25 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:59:25 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 14:59:25 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 14:59:25 [ 80%] Linking C static library libcbor.a 14:59:25 [ 80%] Built target cbor 14:59:25 Scanning dependencies of target sort 14:59:25 [ 82%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 14:59:26 [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 14:59:26 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 14:59:26 [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:59:26 [ 84%] Linking C executable sort 14:59:26 [ 84%] Built target sort 14:59:26 Scanning dependencies of target readfile 14:59:26 [ 86%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 14:59:26 [ 88%] Linking C executable readfile 14:59:26 [ 88%] Built target readfile 14:59:26 Scanning dependencies of target streaming_parser 14:59:26 [ 90%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 14:59:26 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 14:59:26 [ 92%] Linking C executable streaming_parser 14:59:26 [ 92%] Built target streaming_parser 14:59:26 Scanning dependencies of target hello 14:59:26 [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 14:59:27 [ 96%] Linking C executable hello 14:59:27 [ 96%] Built target hello 14:59:27 Scanning dependencies of target create_items 14:59:27 [ 98%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 14:59:27 [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:59:27 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:59:27 [ 75%] Linking C shared library libcsdk.so 14:59:27 [100%] Linking C executable create_items 14:59:27 [100%] Built target create_items 14:59:27 [ 75%] Built target csdk 14:59:27 Scanning dependencies of target template 14:59:27 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:59:27 [ 78%] Linking C executable template 14:59:27 [ 78%] Built target template 14:59:27 Scanning dependencies of target device-counter 14:59:27 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:59:27 Install the project... 14:59:27 -- Install configuration: "Release" 14:59:27 -- Installing: /usr/local/include/cbor/configuration.h 14:59:27 -- Installing: /usr/local/lib64/libcbor.a 14:59:27 -- Installing: /usr/local/lib64/libcbor.so.0.0.0 14:59:27 -- Installing: /usr/local/lib64/libcbor.so.0 14:59:27 -- Installing: /usr/local/lib64/libcbor.so 14:59:27 -- Up-to-date: /usr/local/include/cbor 14:59:27 -- Installing: /usr/local/include/cbor/streaming.h 14:59:27 -- Installing: /usr/local/include/cbor/ints.h 14:59:27 -- Installing: /usr/local/include/cbor/floats_ctrls.h 14:59:27 -- Installing: /usr/local/include/cbor/bytestrings.h 14:59:27 -- Installing: /usr/local/include/cbor/encoding.h 14:59:27 -- Installing: /usr/local/include/cbor/serialization.h 14:59:27 -- Installing: /usr/local/include/cbor/data.h 14:59:27 -- Installing: /usr/local/include/cbor/common.h 14:59:27 -- Installing: /usr/local/include/cbor/callbacks.h 14:59:27 -- Installing: /usr/local/include/cbor/strings.h 14:59:27 -- Installing: /usr/local/include/cbor/tags.h 14:59:27 -- Installing: /usr/local/include/cbor/internal 14:59:27 -- Installing: /usr/local/include/cbor/internal/encoders.h 14:59:27 -- Installing: /usr/local/include/cbor/internal/loaders.h 14:59:27 -- Installing: /usr/local/include/cbor/internal/stack.h 14:59:27 -- Installing: /usr/local/include/cbor/internal/unicode.h 14:59:27 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 14:59:27 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 14:59:27 -- Installing: /usr/local/include/cbor/arrays.h 14:59:27 -- Installing: /usr/local/include/cbor/maps.h 14:59:27 -- Installing: /usr/local/include/cbor.h 14:59:27 -- Installing: /usr/local/lib64/pkgconfig/libcbor.pc 14:59:27 [ 81%] Linking C executable device-counter 14:59:27 [ 81%] Built target device-counter 14:59:27 Scanning dependencies of target device-random 14:59:27 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:59:27 [ 84%] Linking C executable device-random 14:59:27 [ 84%] Built target device-random 14:59:28 Scanning dependencies of target device-gyro 14:59:28 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:59:28 [ 87%] Linking C executable device-gyro 14:59:28 [ 87%] Built target device-gyro 14:59:28 Scanning dependencies of target device-bitfields 14:59:28 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:59:28 [ 90%] Linking C executable device-bitfields 14:59:28 [ 90%] Built target device-bitfields 14:59:28 Scanning dependencies of target template-discovery 14:59:28 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:59:28 [ 93%] Linking C executable template-discovery 14:59:28 [ 93%] Built target template-discovery 14:59:28 Scanning dependencies of target device-file 14:59:28 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:59:28 [ 96%] Linking C executable device-file 14:59:28 [ 96%] Built target device-file 14:59:28 Scanning dependencies of target device-terminal 14:59:28 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:59:28 [100%] Linking C executable device-terminal 14:59:28 [100%] Built target device-terminal 14:59:28 Run CPack packaging tool... 14:59:28 CPack: Create package using TGZ 14:59:28 CPack: Install projects 14:59:28 CPack: - Run preinstall target for: Csdk 14:59:28 CPack: - Install project: Csdk [] 14:59:28 CPack: Create package 14:59:29 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 14:59:29 + '[' false '=' true ] 14:59:29 + '[' false '=' true ] 14:59:29 + mkdir -p /tmp/sdk/build/debug 14:59:29 + cd /tmp/sdk/build/debug 14:59:29 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 14:59:29 -- The C compiler identification is GNU 9.3.0 14:59:29 -- Check for working C compiler: /usr/bin/cc 14:59:29 -- Check for working C compiler: /usr/bin/cc - works 14:59:29 -- Detecting C compiler ABI info 14:59:29 -- Detecting C compiler ABI info - done 14:59:29 -- Detecting C compile features 14:59:29 -- Detecting C compile features - done 14:59:29 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:59:29 -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") 14:59:29 -- Found LIBYAML: /usr/lib/libyaml.so 14:59:29 -- Found LIBUUID: /usr/lib/libuuid.so 14:59:29 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 14:59:29 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:59:29 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:59:29 -- C SDK 0.0.0 for Linux 14:59:29 -- Performing Test CSDK_HAVE_ATOMIC 14:59:29 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:59:29 -- Found Curses: /usr/lib/libcurses.so 14:59:29 -- Configuring done 14:59:29 -- Generating done 14:59:29 -- Build files have been written to: /tmp/sdk/build/debug 14:59:29 + make 14:59:29 + tee debug.log 14:59:29 Scanning dependencies of target csdk 14:59:29 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:59:29 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 14:59:29 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:59:29 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:59:29 Removing intermediate container 0afc3014b49f 14:59:29 ---> 7d27175bf42f 14:59:29 Step 8/25 : RUN mkdir /tmp/sdk 14:59:29 ---> Running in a8a064a41354 14:59:29 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:59:29 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 14:59:29 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 14:59:29 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 14:59:30 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:59:30 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:59:30 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:59:30 [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:59:30 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:59:30 [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:59:30 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 14:59:30 [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:59:30 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:59:30 [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:59:30 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 14:59:31 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 14:59:31 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 14:59:31 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 14:59:31 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 14:59:31 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 14:59:31 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 14:59:31 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 14:59:31 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 14:59:31 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 14:59:31 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 14:59:31 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 14:59:31 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 14:59:31 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 14:59:31 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 14:59:31 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:59:31 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:59:31 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 14:59:32 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:59:32 [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:59:32 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:59:32 [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:59:32 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:59:32 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:59:32 Removing intermediate container a8a064a41354 14:59:32 ---> ed7a98ab4a52 14:59:32 Step 9/25 : COPY VERSION /tmp/sdk 14:59:32 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 14:59:32 [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 14:59:32 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 14:59:32 [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:59:32 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 14:59:32 ---> 102f64112b28 14:59:32 Step 10/25 : COPY src /tmp/sdk/src 14:59:33 [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:59:33 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:59:33 [ 75%] Linking C shared library libcsdk.so 14:59:33 [ 75%] Built target csdk 14:59:33 Scanning dependencies of target template 14:59:33 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:59:33 [ 78%] Linking C executable template 14:59:33 [ 78%] Built target template 14:59:33 Scanning dependencies of target device-counter 14:59:33 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:59:33 [ 81%] Linking C executable device-counter 14:59:33 [ 81%] Built target device-counter 14:59:33 Scanning dependencies of target device-random 14:59:33 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:59:33 [ 84%] Linking C executable device-random 14:59:33 [ 84%] Built target device-random 14:59:33 Scanning dependencies of target device-gyro 14:59:33 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:59:33 [ 87%] Linking C executable device-gyro 14:59:33 [ 87%] Built target device-gyro 14:59:33 Scanning dependencies of target device-bitfields 14:59:33 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:59:33 ---> b1d59e04f12e 14:59:33 Step 11/25 : COPY include /tmp/sdk/include 14:59:33 [ 90%] Linking C executable device-bitfields 14:59:33 [ 90%] Built target device-bitfields 14:59:33 Scanning dependencies of target template-discovery 14:59:33 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:59:33 [ 93%] Linking C executable template-discovery 14:59:33 [ 93%] Built target template-discovery 14:59:33 Scanning dependencies of target device-file 14:59:33 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:59:34 [ 96%] Linking C executable device-file 14:59:34 [ 96%] Built target device-file 14:59:34 Scanning dependencies of target device-terminal 14:59:34 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:59:34 [100%] Linking C executable device-terminal 14:59:34 [100%] Built target device-terminal 14:59:34 make: Entering directory '/tmp/sdk/build/release' 14:59:34 make[1]: Entering directory '/tmp/sdk/build/release' 14:59:34 make[2]: Entering directory '/tmp/sdk/build/release' 14:59:34 make[2]: Leaving directory '/tmp/sdk/build/release' 14:59:34 [ 75%] Built target csdk 14:59:34 make[2]: Entering directory '/tmp/sdk/build/release' 14:59:34 make[2]: Leaving directory '/tmp/sdk/build/release' 14:59:34 [ 78%] Built target template 14:59:34 make[2]: Entering directory '/tmp/sdk/build/release' 14:59:34 make[2]: Leaving directory '/tmp/sdk/build/release' 14:59:34 [ 81%] Built target device-counter 14:59:34 make[2]: Entering directory '/tmp/sdk/build/release' 14:59:34 make[2]: Leaving directory '/tmp/sdk/build/release' 14:59:34 [ 84%] Built target device-random 14:59:34 make[2]: Entering directory '/tmp/sdk/build/release' 14:59:34 make[2]: Leaving directory '/tmp/sdk/build/release' 14:59:34 [ 87%] Built target device-gyro 14:59:34 make[2]: Entering directory '/tmp/sdk/build/release' 14:59:34 make[2]: Leaving directory '/tmp/sdk/build/release' 14:59:34 [ 90%] Built target device-bitfields 14:59:34 make[2]: Entering directory '/tmp/sdk/build/release' 14:59:34 make[2]: Leaving directory '/tmp/sdk/build/release' 14:59:34 [ 93%] Built target template-discovery 14:59:34 make[2]: Entering directory '/tmp/sdk/build/release' 14:59:34 make[2]: Leaving directory '/tmp/sdk/build/release' 14:59:34 [ 96%] Built target device-file 14:59:34 make[2]: Entering directory '/tmp/sdk/build/release' 14:59:34 make[2]: Leaving directory '/tmp/sdk/build/release' 14:59:34 [100%] Built target device-terminal 14:59:34 make[1]: Leaving directory '/tmp/sdk/build/release' 14:59:34 Install the project... 14:59:34 -- Install configuration: "Release" 14:59:34 -- Installing: /usr/local/lib/libcsdk.so 14:59:34 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 14:59:34 -- Up-to-date: /usr/local/include 14:59:34 -- Installing: /usr/local/include/devsdk 14:59:34 -- Installing: /usr/local/include/devsdk/devsdk-base.h 14:59:34 -- Installing: /usr/local/include/devsdk/devsdk.h 14:59:34 -- Installing: /usr/local/include/edgex 14:59:34 -- Installing: /usr/local/include/edgex/devices.h 14:59:34 -- Installing: /usr/local/include/edgex/edgex-base.h 14:59:34 -- Installing: /usr/local/include/edgex/edgex.h 14:59:34 -- Installing: /usr/local/include/edgex/profiles.h 14:59:34 -- Installing: /usr/local/include/edgex/rest-server.h 14:59:34 -- Installing: /usr/local/include/edgex/secrets.h 14:59:34 -- Installing: /usr/local/include/edgex/csdk-defs.h 14:59:34 -- Installing: /usr/local/include/iot 14:59:34 -- Installing: /usr/local/include/iot/base64.h 14:59:34 -- Installing: /usr/local/include/iot/component.h 14:59:34 -- Installing: /usr/local/include/iot/config.h 14:59:34 -- Installing: /usr/local/include/iot/container.h 14:59:34 -- Installing: /usr/local/include/iot/data.h 14:59:34 -- Installing: /usr/local/include/iot/hash.h 14:59:34 -- Installing: /usr/local/include/iot/iot.h 14:59:34 -- Installing: /usr/local/include/iot/json.h 14:59:34 -- Installing: /usr/local/include/iot/logger.h 14:59:34 -- Installing: /usr/local/include/iot/os.h 14:59:34 -- Installing: /usr/local/include/iot/scheduler.h 14:59:34 -- Installing: /usr/local/include/iot/thread.h 14:59:34 -- Installing: /usr/local/include/iot/threadpool.h 14:59:34 -- Installing: /usr/local/include/iot/time.h 14:59:34 -- Installing: /usr/local/include/iot/typecode.h 14:59:34 -- Installing: /usr/local/include/iot/os 14:59:34 -- Installing: /usr/local/include/iot/os/linux.h 14:59:34 -- Installing: /usr/local/include/iot/os/macos.h 14:59:34 -- Installing: /usr/local/include/iot/os/zephyr.h 14:59:34 -- Installing: /usr/local/include/iot/defs.h 14:59:34 -- Installing: /usr/local/share/device-sdk-c/LICENSE 14:59:34 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 14:59:34 make: Leaving directory '/tmp/sdk/build/release' 14:59:34 ---> c3004a2c45ba 14:59:34 Step 12/25 : COPY scripts /tmp/sdk/scripts 14:59:35 Removing intermediate container 28a4f893b451 14:59:35 ---> 23c4abbef03e 14:59:35 Step 16/25 : FROM ${BASE} 14:59:35 ---> ac6a0feb3254 14:59:35 Step 17/25 : LABEL maintainer="IOTech " 14:59:35 ---> Running in a5e8a8518c1d 14:59:35 Removing intermediate container a5e8a8518c1d 14:59:35 ---> a13606cacf0c 14:59:35 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 14:59:35 ---> Running in 012230ce0fae 14:59:35 Connecting to iotech.jfrog.io (54.170.66.44:443) 14:59:35 ---> 07da21699e7d 14:59:35 Step 13/25 : COPY LICENSE /tmp/sdk 14:59:35 saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 14:59:35 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 14:59:35 '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved 14:59:36 Removing intermediate container 012230ce0fae 14:59:36 ---> 4fe380085122 14:59:36 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 14:59:36 ---> Running in 712c46432089 14:59:36 ---> aa1b930827a8 14:59:36 Step 14/25 : COPY Attribution.txt /tmp/sdk 14:59:36 Removing intermediate container 712c46432089 14:59:36 ---> 03372abc6154 14:59:36 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 14:59:36 ---> Running in a17c4993d828 14:59:36 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 14:59:37 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 14:59:37 ---> ed28946754de 14:59:37 Step 15/25 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 14:59:37 ---> Running in cc8efebfab63 14:59:37 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 14:59:38 (1/7) Installing curl (7.78.0-r0) 14:59:38 (2/7) Installing hiredis (0.14.1-r0) 14:59:38 (3/7) Installing hiredis-dev (0.14.1-r0) 14:59:38 (4/7) Installing libuuid (2.35.2-r0) 14:59:38 (5/7) Installing paho-mqtt-c-dev (1.3.5-r0) 14:59:38 + CPPCHECK=false 14:59:38 + DOCGEN=false 14:59:38 + TOMLVER=SDK-0.2 14:59:38 + CUTILVER=1.1.4 14:59:38 + '[' 0 -gt 0 ] 14:59:38 + readlink -f ./scripts/build.sh 14:59:38 + dirname /tmp/sdk/scripts/build.sh 14:59:38 + dirname /tmp/sdk/scripts 14:59:38 + ROOT=/tmp/sdk 14:59:38 + cd /tmp/sdk 14:59:38 + '[' '!' -d deps ] 14:59:38 + mkdir deps 14:59:38 + + tarwget -C -O deps - -z https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz -x -f 14:59:38 - 14:59:38 --2021-07-31 14:59:38-- https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 14:59:38 Resolving github.com (github.com)... 140.82.112.4 14:59:38 Connecting to github.com (github.com)|140.82.112.4|:443... connected. 14:59:38 HTTP request sent, awaiting response... 302 Found 14:59:38 Location: https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 [following] 14:59:38 --2021-07-31 14:59:38-- https://codeload.github.com/IOTechSystems/tomlc99/tar.gz/SDK-0.2 14:59:38 Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 14:59:38 Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected. 14:59:38 HTTP request sent, awaiting response... 200 OK 14:59:38 Length: unspecified [application/x-gzip] 14:59:38 Saving to: 'STDOUT' 14:59:38 14:59:38 0K .......... ...... 1.02M=0.02s 14:59:38 14:59:38 2021-07-31 14:59:38 (1.02 MB/s) - written to stdout [16451] 14:59:38 14:59:38 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 14:59:38 + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 14:59:38 + tar -C deps -z -x -f - 14:59:38 --2021-07-31 14:59:38-- https://github.com/IOTechSystems/iotech-c-utils/archive/v1.1.4.tar.gz 14:59:39 Resolving github.com (github.com)... 140.82.112.4 14:59:39 Connecting to github.com (github.com)|140.82.112.4|:443... connected. 14:59:39 HTTP request sent, awaiting response... 302 Found 14:59:39 Location: https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 [following] 14:59:39 --2021-07-31 14:59:39-- https://codeload.github.com/IOTechSystems/iotech-c-utils/tar.gz/v1.1.4 14:59:39 Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 14:59:39 Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected. 14:59:39 HTTP request sent, awaiting response... 200 OK 14:59:39 Length: unspecified [application/x-gzip] 14:59:39 Saving to: 'STDOUT' 14:59:39 14:59:39 0K .......... .......... .......... .......... .......... 1.35M 14:59:39 50K .......... .......... .......... .......... .......... 2.61M 14:59:39 100K .......... .......... .......... .......... .......... 8.14M 14:59:39 150K .......... .......... ....... 1.56M=0.08s 14:59:39 14:59:39 2021-07-31 14:59:39 (2.22 MB/s) - written to stdout [181796] 14:59:39 14:59:39 + mkdir -p src/c/iot 14:59:39 + 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 14:59:39 + cp deps/iotech-c-utils-1.1.4/src/c/defs.h.in src/c/iot 14:59:39 + cp deps/iotech-c-utils-1.1.4/src/c/yxml.h src/c/iot 14:59:39 + cp deps/iotech-c-utils-1.1.4/VERSION src/c/iot 14:59:39 + mkdir -p include/iot 14:59:39 + 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 14:59:39 + mkdir -p include/iot/os 14:59:39 + 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 14:59:39 + mkdir -p /tmp/sdk/build/release 14:59:39 + cd /tmp/sdk/build/release 14:59:39 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 14:59:39 (6/7) Installing libidn2 (2.3.0-r0) 14:59:39 -- The C compiler identification is GNU 9.3.0 14:59:39 -- Check for working C compiler: /usr/bin/cc 14:59:39 (7/7) Installing wget (1.20.3-r1) 14:59:40 -- Check for working C compiler: /usr/bin/cc - works 14:59:40 -- Detecting C compiler ABI info 14:59:40 Executing busybox-1.31.1-r20.trigger 14:59:40 OK: 286 MiB in 82 packages 14:59:40 -- Detecting C compiler ABI info - done 14:59:40 -- Detecting C compile features 14:59:40 -- Detecting C compile features - done 14:59:40 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:59:40 Removing intermediate container a17c4993d828 14:59:40 ---> dc49eaa9fe8c 14:59:40 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 14:59:40 -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") 14:59:40 -- Found LIBYAML: /usr/lib/libyaml.so 14:59:40 -- Found LIBUUID: /usr/lib/libuuid.so 14:59:40 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 14:59:40 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:59:40 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:59:40 -- C SDK 0.0.0 for Linux 14:59:40 -- Performing Test CSDK_HAVE_ATOMIC 14:59:40 ---> fa36fd40d115 14:59:40 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 14:59:40 ---> 88e77713dd44 14:59:40 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 14:59:40 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:59:41 ---> 0be610b2063f 14:59:41 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 14:59:41 -- Found Curses: /usr/lib/libcurses.so 14:59:41 -- Configuring done 14:59:41 ---> f0e55f27cbff 14:59:41 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 14:59:41 ---> f31276744617 14:59:41 Successfully built f31276744617 14:59:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } 14:59:41 -- Generating done 14:59:41 -- Build files have been written to: /tmp/sdk/build/release 14:59:41 + make all package 14:59:41 + tee release.log 14:59:41 Scanning dependencies of target csdk [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:59:41 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:59:41 + docker inspect -f . ci-base-image-x86_64 14:59:41 . [Pipeline] withDockerContainer 14:59:41 prd-centos7-docker-4c-2g-1265 does not seem to be running inside a container 14:59:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/8 -v /w/workspace/device-sdk-c/8:/w/workspace/device-sdk-c/8:rw,z -v /w/workspace/device-sdk-c/8@tmp:/w/workspace/device-sdk-c/8@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 ******** ci-base-image-x86_64 cat 14:59:42 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 14:59:42 $ docker top dbe075bf4d4ad66a6e707ed3b5f9bf80c0ff32a2319284ee3f01699dc0e23746 -eo pid,comm [Pipeline] { [Pipeline] sh 14:59:42 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:59:42 + make test 14:59:42 echo "make test" 14:59:42 make test [Pipeline] } 14:59:42 $ docker stop --time=1 dbe075bf4d4ad66a6e707ed3b5f9bf80c0ff32a2319284ee3f01699dc0e23746 14:59:44 $ docker rm -f dbe075bf4d4ad66a6e707ed3b5f9bf80c0ff32a2319284ee3f01699dc0e23746 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 14:59:44 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:59:45 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:59:45 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 14:59:46 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 14:59:46 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 14:59:46 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [Pipeline] sh 14:59:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:59:47 + ls -al . 14:59:47 total 160 14:59:47 drwxrwxr-x. 8 jenkins jenkins 260 Jul 31 14:58 . 14:59:47 drwxrwxr-x. 4 jenkins jenkins 28 Jul 31 14:58 .. 14:59:47 -rw-rw-r--. 1 jenkins jenkins 3104 Jul 31 14:58 Attribution.txt 14:59:47 -rw-rw-r--. 1 jenkins jenkins 7556 Jul 31 14:58 CHANGES 14:59:47 drwxrwxr-x. 2 jenkins jenkins 121 Jul 31 14:58 docs 14:59:47 -rw-rw-r--. 1 jenkins jenkins 108574 Jul 31 14:58 Doxyfile 14:59:47 drwxrwxr-x. 8 jenkins jenkins 179 Jul 31 14:58 .git 14:59:47 drwxrwxr-x. 2 jenkins jenkins 81 Jul 31 14:58 .github 14:59:47 -rw-rw-r--. 1 jenkins jenkins 176 Jul 31 14:58 .gitignore 14:59:47 drwxrwxr-x. 4 jenkins jenkins 33 Jul 31 14:58 include 14:59:47 -rw-rw-r--. 1 jenkins jenkins 784 Jul 31 14:58 Jenkinsfile 14:59:47 -rw-rw-r--. 1 jenkins jenkins 10174 Jul 31 14:58 LICENSE 14:59:47 -rw-rw-r--. 1 jenkins jenkins 444 Jul 31 14:58 Makefile 14:59:47 -rw-rw-r--. 1 jenkins jenkins 4086 Jul 31 14:58 README.md 14:59:47 -rw-rw-r--. 1 jenkins jenkins 7090 Jul 31 14:58 README.v2.md 14:59:47 drwxrwxr-x. 2 jenkins jenkins 98 Jul 31 14:58 scripts 14:59:47 drwxrwxr-x. 4 jenkins jenkins 50 Jul 31 14:58 src 14:59:47 -rw-rw-r--. 1 jenkins jenkins 5 Jul 31 14:55 VERSION [Pipeline] isUnix [Pipeline] sh 14:59:47 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:59:47 + 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=225915a1cbd3aafd6d4023b4944ee28c01151ceb --label arch=amd64 --label version=0.0.0 . 14:59:47 Sending build context to Docker daemon 2.694MB 14:59:47 Step 1/17 : ARG BASE=alpine:3.12 14:59:47 Step 2/17 : FROM ${BASE} 14:59:47 ---> f31276744617 14:59:47 Step 3/17 : LABEL maintainer="IOTech " 14:59:47 ---> Running in 5c829653b6f5 14:59:48 Removing intermediate container 5c829653b6f5 14:59:48 ---> cad5d960faf2 14:59:48 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 14:59:48 ---> Running in 588b6ecbff14 14:59:48 --2021-07-31 14:59:48-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 14:59:48 Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.170.66.44, 54.229.110.245, 54.195.244.87 14:59:48 Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.170.66.44|:443... connected. 14:59:48 HTTP request sent, awaiting response... 200 OK 14:59:48 Length: 451 [application/octet-stream] 14:59:48 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 14:59:48  14:59:48 0K 100% 44.0M=0s 14:59:48 14:59:48 2021-07-31 14:59:48 (44.0 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 14:59:48 14:59:48 Removing intermediate container 588b6ecbff14 14:59:48 ---> 502118883999 14:59:48 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 14:59:48 ---> Running in 3d7807d8190a 14:59:49 Removing intermediate container 3d7807d8190a 14:59:49 ---> 2b441f579738 14:59:49 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 14:59:49 ---> Running in d5cd9cac5dab 14:59:49 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 14:59:49 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:59:50 [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:59:50 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 14:59:50 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/x86_64/APKINDEX.tar.gz 14:59:50 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:59:51 (1/16) Installing ncurses-dev (6.2_p20200523-r0) 14:59:51 (2/16) Installing libblkid (2.35.2-r0) 14:59:51 (3/16) Installing blkid (2.35.2-r0) 14:59:51 [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:59:51 (4/16) Installing libcap-ng (0.7.10-r1) 14:59:51 (5/16) Installing setpriv (2.35.2-r0) 14:59:51 (6/16) Installing libmount (2.35.2-r0) 14:59:51 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 14:59:51 (7/16) Installing libsmartcols (2.35.2-r0) 14:59:51 (8/16) Installing findmnt (2.35.2-r0) 14:59:51 [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:59:52 (9/16) Installing mcookie (2.35.2-r0) 14:59:52 (10/16) Installing hexdump (2.35.2-r0) 14:59:52 (11/16) Installing lsblk (2.35.2-r0) 14:59:52 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:59:52 (12/16) Installing libfdisk (2.35.2-r0) 14:59:52 (13/16) Installing sfdisk (2.35.2-r0) 14:59:52 (14/16) Installing cfdisk (2.35.2-r0) 14:59:52 (15/16) Installing util-linux (2.35.2-r0) 14:59:52 (16/16) Installing util-linux-dev (2.35.2-r0) 14:59:53 Executing busybox-1.31.1-r20.trigger 14:59:53 OK: 295 MiB in 98 packages 14:59:53 Removing intermediate container d5cd9cac5dab 14:59:53 ---> f53e7a1c5ad0 14:59:53 Step 7/17 : COPY VERSION /edgex-c-sdk/ 14:59:53 ---> c22245eaab22 14:59:53 Step 8/17 : COPY src /edgex-c-sdk/src/ 14:59:53 ---> a3d3dd7d99d6 14:59:53 Step 9/17 : COPY include /edgex-c-sdk/include/ 14:59:53 ---> e738d599b312 14:59:53 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 14:59:54 ---> 494b1a50e2fc 14:59:54 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 14:59:54 ---> b456e3fc5895 14:59:54 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 14:59:54 ---> 45df6dd831ca 14:59:54 Step 13/17 : WORKDIR /edgex-c-sdk 14:59:54 ---> Running in bdf46bdfb638 14:59:54 Removing intermediate container bdf46bdfb638 14:59:54 ---> c1c78427ec7b 14:59:54 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 14:59:54 ---> Running in 8d876ea6f18f 14:59:54 Removing intermediate container 8d876ea6f18f 14:59:54 ---> 625a138b7d9f 14:59:54 Step 15/17 : LABEL arch=amd64 14:59:54 ---> Running in 9bfd006b2230 14:59:55 Removing intermediate container 9bfd006b2230 14:59:55 ---> 18fd0d7b0b44 14:59:55 Step 16/17 : LABEL git_sha=225915a1cbd3aafd6d4023b4944ee28c01151ceb 14:59:55 ---> Running in 7be10fd1f193 14:59:55 Removing intermediate container 7be10fd1f193 14:59:55 ---> 23a2cdf931a1 14:59:55 Step 17/17 : LABEL version=0.0.0 14:59:55 ---> Running in d8b8892fcbae 14:59:55 Removing intermediate container d8b8892fcbae 14:59:55 ---> 98428abfd307 14:59:55 [Warning] One or more build-args [ARCH MAKE] were not consumed 14:59:55 Successfully built 98428abfd307 14:59:55 Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } 14:59:55 [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:59:55 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 14:59:55 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [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 14:59:55 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 14:59:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:59:56 14:59:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 14:59:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:59:56 latest: Pulling from edgex-lftools-log-publisher 14:59:56 b4d181a07f80: Pulling fs layer 14:59:56 a1111a8f2ec3: Pulling fs layer 14:59:56 ed53099fbce6: Pulling fs layer 14:59:56 dc539afda2c1: Pulling fs layer 14:59:56 77bc0d833cb6: Pulling fs layer 14:59:56 9065ff56babe: Pulling fs layer 14:59:56 d287ab97295c: Pulling fs layer 14:59:56 77bc0d833cb6: Waiting 14:59:56 9065ff56babe: Waiting 14:59:56 d287ab97295c: Waiting 14:59:56 dc539afda2c1: Waiting 14:59:56 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 14:59:56 a1111a8f2ec3: Verifying Checksum 14:59:56 a1111a8f2ec3: Download complete 14:59:56 dc539afda2c1: Verifying Checksum 14:59:56 dc539afda2c1: Download complete 14:59:56 77bc0d833cb6: Verifying Checksum 14:59:56 77bc0d833cb6: Download complete 14:59:56 9065ff56babe: Verifying Checksum 14:59:56 9065ff56babe: Download complete 14:59:57 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 14:59:57 ed53099fbce6: Verifying Checksum 14:59:57 ed53099fbce6: Download complete 14:59:57 b4d181a07f80: Verifying Checksum 14:59:57 b4d181a07f80: Download complete 14:59:59 b4d181a07f80: Pull complete 14:59:59 a1111a8f2ec3: Pull complete 14:59:59 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 14:59:59 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 14:59:59 ed53099fbce6: Pull complete 14:59:59 dc539afda2c1: Pull complete 14:59:59 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 15:00:00 77bc0d833cb6: Pull complete 15:00:00 9065ff56babe: Pull complete 15:00:00 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 15:00:01 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 15:00:01 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 15:00:01 d287ab97295c: Verifying Checksum 15:00:01 d287ab97295c: Download complete 15:00:02 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 15:00:02 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 15:00:03 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 15:00:03 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 15:00:05 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 15:00:05 d287ab97295c: Pull complete 15:00:05 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 15:00:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:00:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 15:00:05 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 15:00:05 prd-centos7-docker-4c-2g-1265 does not seem to be running inside a container 15:00:05 $ 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/8 -v /w/workspace/device-sdk-c/8:/w/workspace/device-sdk-c/8:rw,z -v /w/workspace/device-sdk-c/8@tmp:/w/workspace/device-sdk-c/8@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 15:00:06 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 15:00:06 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 15:00:08 $ docker top 63a5107f7ae56d38b82b243b41c5902698c03ef926f083a4913f3a51f363f027 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:00:08 ---> job-cost.sh 15:00:08 lf-activate-venv: SKIPPING 15:00:08 INFO: No Stack... 15:00:09 INFO: Retrieving Pricing Info for: v3-standard-2 15:00:10 INFO: Archiving Costs [Pipeline] sh 15:00:10 + cat /w/workspace/device-sdk-c/8/archives/cost.csv 15:00:10 + cut -d, -f6 [Pipeline] lock 15:00:10 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-357-8-stack-cost] 15:00:10 Resource [jenkins-edgexfoundry-device-sdk-c-PR-357-8-stack-cost] did not exist. Created. 15:00:10 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-357-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:00:10 + echo total: 0.05999999865889549 [Pipeline] stash 15:00:11 [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 15:00:11 Stashed 1 file(s) [Pipeline] } 15:00:11 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-357-8-stack-cost] [Pipeline] // lock [Pipeline] } 15:00:11 $ docker stop --time=1 63a5107f7ae56d38b82b243b41c5902698c03ef926f083a4913f3a51f363f027 15:00:11 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 15:00:12 [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 15:00:12 $ docker rm -f 63a5107f7ae56d38b82b243b41c5902698c03ef926f083a4913f3a51f363f027 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node 15:00:12 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [Pipeline] } [Pipeline] // stage [Pipeline] } 15:00:13 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 15:00:15 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 15:00:15 [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 15:00:15 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 15:00:16 [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o 15:00:18 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 15:00:21 [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 15:00:22 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 15:00:22 [ 75%] Linking C shared library libcsdk.so 15:00:22 [ 75%] Built target csdk 15:00:22 Scanning dependencies of target template 15:00:22 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 15:00:23 [ 78%] Linking C executable template 15:00:23 [ 78%] Built target template 15:00:23 Scanning dependencies of target device-counter 15:00:23 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 15:00:24 [ 81%] Linking C executable device-counter 15:00:24 [ 81%] Built target device-counter 15:00:24 Scanning dependencies of target device-random 15:00:24 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 15:00:24 [ 84%] Linking C executable device-random 15:00:24 [ 84%] Built target device-random 15:00:24 Scanning dependencies of target device-gyro 15:00:24 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 15:00:25 [ 87%] Linking C executable device-gyro 15:00:25 [ 87%] Built target device-gyro 15:00:25 Scanning dependencies of target device-bitfields 15:00:25 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 15:00:26 [ 90%] Linking C executable device-bitfields 15:00:26 [ 90%] Built target device-bitfields 15:00:26 Scanning dependencies of target template-discovery 15:00:26 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 15:00:26 [ 93%] Linking C executable template-discovery 15:00:27 [ 93%] Built target template-discovery 15:00:27 Scanning dependencies of target device-file 15:00:27 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 15:00:27 [ 96%] Linking C executable device-file 15:00:28 [ 96%] Built target device-file 15:00:28 Scanning dependencies of target device-terminal 15:00:28 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 15:00:28 [100%] Linking C executable device-terminal 15:00:28 [100%] Built target device-terminal 15:00:28 Run CPack packaging tool... 15:00:28 CPack: Create package using TGZ 15:00:28 CPack: Install projects 15:00:28 CPack: - Run preinstall target for: Csdk 15:00:29 CPack: - Install project: Csdk [] 15:00:29 CPack: Create package 15:00:29 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 15:00:29 + '[' false '=' true ] 15:00:29 + '[' false '=' true ] 15:00:29 + mkdir -p /tmp/sdk/build/debug 15:00:29 + cd /tmp/sdk/build/debug 15:00:29 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 15:00:29 -- The C compiler identification is GNU 9.3.0 15:00:29 -- Check for working C compiler: /usr/bin/cc 15:00:30 -- Check for working C compiler: /usr/bin/cc - works 15:00:30 -- Detecting C compiler ABI info 15:00:30 -- Detecting C compiler ABI info - done 15:00:30 -- Detecting C compile features 15:00:30 -- Detecting C compile features - done 15:00:30 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 15:00:30 -- Found CURL: /usr/lib/libcurl.so (found version "7.77.0") 15:00:30 -- Found LIBYAML: /usr/lib/libyaml.so 15:00:30 -- Found LIBUUID: /usr/lib/libuuid.so 15:00:30 -- Found LIBCBOR: /usr/local/lib64/libcbor.so 15:00:30 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 15:00:30 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 15:00:30 -- C SDK 0.0.0 for Linux 15:00:30 -- Performing Test CSDK_HAVE_ATOMIC 15:00:30 -- Performing Test CSDK_HAVE_ATOMIC - Success 15:00:31 -- Found Curses: /usr/lib/libcurses.so 15:00:31 -- Configuring done 15:00:31 -- Generating done 15:00:31 -- Build files have been written to: /tmp/sdk/build/debug 15:00:31 + + maketee debug.log 15:00:31 15:00:31 Scanning dependencies of target csdk 15:00:31 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 15:00:32 [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 15:00:32 [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o 15:00:32 [ 6%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 15:00:33 [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 15:00:33 [ 9%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o 15:00:33 [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o 15:00:34 [ 12%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o 15:00:34 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 15:00:34 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 15:00:35 [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 15:00:35 [ 18%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 15:00:35 [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 15:00:35 [ 21%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 15:00:36 [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o 15:00:36 [ 24%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 15:00:36 [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 15:00:37 [ 27%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 15:00:37 [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o 15:00:37 [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o 15:00:37 [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o 15:00:38 [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o 15:00:38 [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o 15:00:39 [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o 15:00:39 [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o 15:00:39 [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o 15:00:40 [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o 15:00:40 [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o 15:00:40 [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o 15:00:40 [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o 15:00:40 [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o 15:00:41 [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o 15:00:41 [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o 15:00:41 [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o 15:00:41 [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 15:00:42 [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o 15:00:42 [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 15:00:43 [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 15:00:43 [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 15:00:43 [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 15:00:44 [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 15:00:44 [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 15:00:45 [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 15:00:45 [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 15:00:46 [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 15:00:46 [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o 15:00:46 [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 15:00:47 [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 15:00:47 [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 15:00:48 [ 75%] Linking C shared library libcsdk.so 15:00:48 [ 75%] Built target csdk 15:00:48 Scanning dependencies of target template 15:00:48 [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 15:00:48 [ 78%] Linking C executable template 15:00:48 [ 78%] Built target template 15:00:48 Scanning dependencies of target device-counter 15:00:48 [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 15:00:49 [ 81%] Linking C executable device-counter 15:00:49 [ 81%] Built target device-counter 15:00:49 Scanning dependencies of target device-random 15:00:49 [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 15:00:49 [ 84%] Linking C executable device-random 15:00:50 [ 84%] Built target device-random 15:00:50 Scanning dependencies of target device-gyro 15:00:50 [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 15:00:50 [ 87%] Linking C executable device-gyro 15:00:50 [ 87%] Built target device-gyro 15:00:50 Scanning dependencies of target device-bitfields 15:00:50 [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 15:00:50 [ 90%] Linking C executable device-bitfields 15:00:51 [ 90%] Built target device-bitfields 15:00:51 Scanning dependencies of target template-discovery 15:00:51 [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 15:00:51 [ 93%] Linking C executable template-discovery 15:00:51 [ 93%] Built target template-discovery 15:00:51 Scanning dependencies of target device-file 15:00:51 [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 15:00:51 [ 96%] Linking C executable device-file 15:00:52 [ 96%] Built target device-file 15:00:52 Scanning dependencies of target device-terminal 15:00:52 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 15:00:52 [100%] Linking C executable device-terminal 15:00:52 [100%] Built target device-terminal 15:00:52 make: Entering directory '/tmp/sdk/build/release' 15:00:52 make[1]: Entering directory '/tmp/sdk/build/release' 15:00:52 make[2]: Entering directory '/tmp/sdk/build/release' 15:00:52 make[2]: Leaving directory '/tmp/sdk/build/release' 15:00:53 [ 75%] Built target csdk 15:00:53 make[2]: Entering directory '/tmp/sdk/build/release' 15:00:53 make[2]: Leaving directory '/tmp/sdk/build/release' 15:00:53 [ 78%] Built target template 15:00:53 make[2]: Entering directory '/tmp/sdk/build/release' 15:00:53 make[2]: Leaving directory '/tmp/sdk/build/release' 15:00:53 [ 81%] Built target device-counter 15:00:53 make[2]: Entering directory '/tmp/sdk/build/release' 15:00:53 make[2]: Leaving directory '/tmp/sdk/build/release' 15:00:53 [ 84%] Built target device-random 15:00:53 make[2]: Entering directory '/tmp/sdk/build/release' 15:00:53 make[2]: Leaving directory '/tmp/sdk/build/release' 15:00:53 [ 87%] Built target device-gyro 15:00:53 make[2]: Entering directory '/tmp/sdk/build/release' 15:00:53 make[2]: Leaving directory '/tmp/sdk/build/release' 15:00:53 [ 90%] Built target device-bitfields 15:00:53 make[2]: Entering directory '/tmp/sdk/build/release' 15:00:53 make[2]: Leaving directory '/tmp/sdk/build/release' 15:00:53 [ 93%] Built target template-discovery 15:00:53 make[2]: Entering directory '/tmp/sdk/build/release' 15:00:53 make[2]: Leaving directory '/tmp/sdk/build/release' 15:00:53 [ 96%] Built target device-file 15:00:53 make[2]: Entering directory '/tmp/sdk/build/release' 15:00:53 make[2]: Leaving directory '/tmp/sdk/build/release' 15:00:53 [100%] Built target device-terminal 15:00:53 make[1]: Leaving directory '/tmp/sdk/build/release' 15:00:53 Install the project... 15:00:53 -- Install configuration: "Release" 15:00:53 -- Installing: /usr/local/lib/libcsdk.so 15:00:53 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 15:00:53 -- Up-to-date: /usr/local/include 15:00:53 -- Installing: /usr/local/include/edgex 15:00:53 -- Installing: /usr/local/include/edgex/rest-server.h 15:00:53 -- Installing: /usr/local/include/edgex/edgex-base.h 15:00:53 -- Installing: /usr/local/include/edgex/edgex.h 15:00:53 -- Installing: /usr/local/include/edgex/devices.h 15:00:53 -- Installing: /usr/local/include/edgex/secrets.h 15:00:53 -- Installing: /usr/local/include/edgex/profiles.h 15:00:53 -- Installing: /usr/local/include/edgex/csdk-defs.h 15:00:53 -- Installing: /usr/local/include/devsdk 15:00:53 -- Installing: /usr/local/include/devsdk/devsdk-base.h 15:00:53 -- Installing: /usr/local/include/devsdk/devsdk.h 15:00:53 -- Installing: /usr/local/include/iot 15:00:53 -- Installing: /usr/local/include/iot/json.h 15:00:53 -- Installing: /usr/local/include/iot/container.h 15:00:53 -- Installing: /usr/local/include/iot/component.h 15:00:53 -- Installing: /usr/local/include/iot/typecode.h 15:00:53 -- Installing: /usr/local/include/iot/iot.h 15:00:53 -- Installing: /usr/local/include/iot/time.h 15:00:53 -- Installing: /usr/local/include/iot/hash.h 15:00:53 -- Installing: /usr/local/include/iot/logger.h 15:00:53 -- Installing: /usr/local/include/iot/os 15:00:53 -- Installing: /usr/local/include/iot/os/zephyr.h 15:00:53 -- Installing: /usr/local/include/iot/os/linux.h 15:00:53 -- Installing: /usr/local/include/iot/os/macos.h 15:00:53 -- Installing: /usr/local/include/iot/scheduler.h 15:00:53 -- Installing: /usr/local/include/iot/data.h 15:00:53 -- Installing: /usr/local/include/iot/thread.h 15:00:53 -- Installing: /usr/local/include/iot/os.h 15:00:53 -- Installing: /usr/local/include/iot/base64.h 15:00:53 -- Installing: /usr/local/include/iot/defs.h 15:00:53 -- Installing: /usr/local/include/iot/threadpool.h 15:00:53 -- Installing: /usr/local/include/iot/config.h 15:00:53 -- Installing: /usr/local/share/device-sdk-c/LICENSE 15:00:53 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 15:00:53 make: Leaving directory '/tmp/sdk/build/release' 15:00:55 Removing intermediate container cc8efebfab63 15:00:55 ---> 87fa66be55c3 15:00:55 Step 16/25 : FROM ${BASE} 15:00:55 ---> 759262b18b23 15:00:55 Step 17/25 : LABEL maintainer="IOTech " 15:00:55 ---> Running in 2abaf824814c 15:00:56 Removing intermediate container 2abaf824814c 15:00:56 ---> 28183bfe2736 15:00:56 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 15:00:56 ---> Running in 0c4326b9d993 15:00:57 Connecting to iotech.jfrog.io (54.170.66.44:443) 15:00:57 saving to '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 15:00:57 support@iotechsys.co 100% |********************************| 451 0:00:00 ETA 15:00:57 '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved 15:00:58 Removing intermediate container 0c4326b9d993 15:00:58 ---> 45dbb23b07cf 15:00:58 Step 19/25 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 15:00:58 ---> Running in c75f21d64fea 15:01:01 Removing intermediate container c75f21d64fea 15:01:01 ---> faaf417a8fdd 15:01:01 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 15:01:01 ---> Running in 3d0c02032b79 15:01:02 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 15:01:03 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 15:01:03 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 15:01:04 (1/7) Installing curl (7.78.0-r0) 15:01:04 (2/7) Installing hiredis (0.14.1-r0) 15:01:04 (3/7) Installing hiredis-dev (0.14.1-r0) 15:01:04 (4/7) Installing libuuid (2.35.2-r0) 15:01:04 (5/7) Installing paho-mqtt-c-dev (1.3.5-r0) 15:01:06 (6/7) Installing libidn2 (2.3.0-r0) 15:01:06 (7/7) Installing wget (1.20.3-r1) 15:01:06 Executing busybox-1.31.1-r20.trigger 15:01:06 OK: 267 MiB in 82 packages 15:01:08 Removing intermediate container 3d0c02032b79 15:01:08 ---> a617b0e60e10 15:01:08 Step 21/25 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot 15:01:08 ---> d44a4734eb42 15:01:08 Step 22/25 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 15:01:09 ---> e0da6fbd399a 15:01:09 Step 23/25 : COPY --from=builder /usr/local/lib /usr/local/lib 15:01:10 ---> f44047647cda 15:01:10 Step 24/25 : COPY --from=builder /usr/local/lib64 /usr/local/lib64 15:01:11 ---> dd9a027d4d0e 15:01:11 Step 25/25 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 15:01:12 ---> 8f89c8fcc24e 15:01:12 Successfully built 8f89c8fcc24e 15:01:12 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:01:12 + docker inspect -f . ci-base-image-arm64 15:01:12 . [Pipeline] withDockerContainer 15:01:13 prd-ubuntu18.04-docker-arm64-4c-16g-1264 does not seem to be running inside a container 15:01:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/8 -v /w/workspace/device-sdk-c/8:/w/workspace/device-sdk-c/8:rw,z -v /w/workspace/device-sdk-c/8@tmp:/w/workspace/device-sdk-c/8@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 15:01:14 $ docker top 2d9d5a8a9b1b049f35a761d4ba97b75f7a6a6bcc5a58e2f98986d88bcb19b98d -eo pid,comm [Pipeline] { [Pipeline] sh 15:01:15 + make test 15:01:15 echo "make test" 15:01:15 make test [Pipeline] } 15:01:15 $ docker stop --time=1 2d9d5a8a9b1b049f35a761d4ba97b75f7a6a6bcc5a58e2f98986d88bcb19b98d 15:01:17 $ docker rm -f 2d9d5a8a9b1b049f35a761d4ba97b75f7a6a6bcc5a58e2f98986d88bcb19b98d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:01:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:01:19 + ls -al . 15:01:19 total 192 15:01:19 drwxrwxr-x 8 jenkins jenkins 4096 Jul 31 14:58 . 15:01:19 drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 14:58 .. 15:01:19 drwxrwxr-x 8 jenkins jenkins 4096 Jul 31 14:58 .git 15:01:19 drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 14:58 .github 15:01:19 -rw-rw-r-- 1 jenkins jenkins 176 Jul 31 14:58 .gitignore 15:01:19 -rw-rw-r-- 1 jenkins jenkins 3104 Jul 31 14:58 Attribution.txt 15:01:19 -rw-rw-r-- 1 jenkins jenkins 7556 Jul 31 14:58 CHANGES 15:01:19 -rw-rw-r-- 1 jenkins jenkins 108574 Jul 31 14:58 Doxyfile 15:01:19 -rw-rw-r-- 1 jenkins jenkins 784 Jul 31 14:58 Jenkinsfile 15:01:19 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 31 14:58 LICENSE 15:01:19 -rw-rw-r-- 1 jenkins jenkins 444 Jul 31 14:58 Makefile 15:01:19 -rw-rw-r-- 1 jenkins jenkins 4086 Jul 31 14:58 README.md 15:01:19 -rw-rw-r-- 1 jenkins jenkins 7090 Jul 31 14:58 README.v2.md 15:01:19 -rw-rw-r-- 1 jenkins jenkins 5 Jul 31 14:55 VERSION 15:01:19 drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 14:58 docs 15:01:19 drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 14:58 include 15:01:19 drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 14:58 scripts 15:01:19 drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 14:58 src [Pipeline] isUnix [Pipeline] sh 15:01:19 + 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=a4dda2745948f94e5763d593b356a7cfecee69ca --label arch=arm64 --label version=0.0.0 . 15:01:19 Sending build context to Docker daemon 2.692MB 15:01:19 Step 1/17 : ARG BASE=alpine:3.12 15:01:19 Step 2/17 : FROM ${BASE} 15:01:19 ---> 8f89c8fcc24e 15:01:19 Step 3/17 : LABEL maintainer="IOTech " 15:01:20 ---> Running in 6993fdd95892 15:01:20 Removing intermediate container 6993fdd95892 15:01:20 ---> 02bf59a0e4c9 15:01:20 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 15:01:20 ---> Running in dd72de77941f 15:01:22 --2021-07-31 15:01:22-- https://iotech.jfrog.io/artifactory/alpine/KEY/support@iotechsys.com-5b990dd9.pub 15:01:22 Resolving iotech.jfrog.io (iotech.jfrog.io)... 54.229.110.245, 54.170.66.44, 54.195.244.87 15:01:22 Connecting to iotech.jfrog.io (iotech.jfrog.io)|54.229.110.245|:443... connected. 15:01:22 HTTP request sent, awaiting response... 200 OK 15:01:22 Length: 451 [application/octet-stream] 15:01:22 Saving to: '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' 15:01:22  15:01:22 0K 100% 19.2M=0s 15:01:22 15:01:22 2021-07-31 15:01:22 (19.2 MB/s) - '/etc/apk/keys/support@iotechsys.com-5b990dd9.pub' saved [451/451] 15:01:22 15:01:23 Removing intermediate container dd72de77941f 15:01:23 ---> d31f35ccea33 15:01:23 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine/alpine-3.12' >> /etc/apk/repositories 15:01:23 ---> Running in a7bf5d1f135f 15:01:25 Removing intermediate container a7bf5d1f135f 15:01:25 ---> 63ad1086e69d 15:01:25 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 15:01:26 ---> Running in e20fc534091f 15:01:27 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 15:01:28 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 15:01:28 fetch https://iotech.jfrog.io/artifactory/alpine/alpine-3.12/aarch64/APKINDEX.tar.gz 15:01:28 (1/16) Installing ncurses-dev (6.2_p20200523-r0) 15:01:29 (2/16) Installing libblkid (2.35.2-r0) 15:01:29 (3/16) Installing blkid (2.35.2-r0) 15:01:29 (4/16) Installing libcap-ng (0.7.10-r1) 15:01:29 (5/16) Installing setpriv (2.35.2-r0) 15:01:29 (6/16) Installing libmount (2.35.2-r0) 15:01:29 (7/16) Installing libsmartcols (2.35.2-r0) 15:01:29 (8/16) Installing findmnt (2.35.2-r0) 15:01:29 (9/16) Installing mcookie (2.35.2-r0) 15:01:29 (10/16) Installing hexdump (2.35.2-r0) 15:01:29 (11/16) Installing lsblk (2.35.2-r0) 15:01:29 (12/16) Installing libfdisk (2.35.2-r0) 15:01:29 (13/16) Installing sfdisk (2.35.2-r0) 15:01:29 (14/16) Installing cfdisk (2.35.2-r0) 15:01:30 (15/16) Installing util-linux (2.35.2-r0) 15:01:30 (16/16) Installing util-linux-dev (2.35.2-r0) 15:01:30 Executing busybox-1.31.1-r20.trigger 15:01:30 OK: 276 MiB in 98 packages 15:01:32 Removing intermediate container e20fc534091f 15:01:32 ---> 1a4e126fca5a 15:01:32 Step 7/17 : COPY VERSION /edgex-c-sdk/ 15:01:33 ---> e8d1d78a7b5f 15:01:33 Step 8/17 : COPY src /edgex-c-sdk/src/ 15:01:34 ---> f6b489da41fa 15:01:34 Step 9/17 : COPY include /edgex-c-sdk/include/ 15:01:35 ---> f00da6d61ddc 15:01:35 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 15:01:36 ---> ed560630a0e7 15:01:36 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 15:01:37 ---> 7609a0277fa3 15:01:37 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 15:01:38 ---> 6cbab45b6114 15:01:38 Step 13/17 : WORKDIR /edgex-c-sdk 15:01:38 ---> Running in 2a5afc363a0c 15:01:38 Removing intermediate container 2a5afc363a0c 15:01:38 ---> 98bac31ba8ed 15:01:38 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 15:01:38 ---> Running in cc37ea73b706 15:01:39 Removing intermediate container cc37ea73b706 15:01:39 ---> 53ee2a413f03 15:01:39 Step 15/17 : LABEL arch=arm64 15:01:39 ---> Running in 5aa9d2b65081 15:01:40 Removing intermediate container 5aa9d2b65081 15:01:40 ---> ba52f9a01553 15:01:40 Step 16/17 : LABEL git_sha=a4dda2745948f94e5763d593b356a7cfecee69ca 15:01:40 ---> Running in 8529485030b0 15:01:40 Removing intermediate container 8529485030b0 15:01:40 ---> 8fe02db0d64b 15:01:40 Step 17/17 : LABEL version=0.0.0 15:01:40 ---> Running in 6ae516119af6 15:01:41 Removing intermediate container 6ae516119af6 15:01:41 ---> 698cf1938b48 15:01:41 [Warning] One or more build-args [ARCH MAKE] were not consumed 15:01:41 Successfully built 698cf1938b48 15:01:41 Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:01:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:01:42 15:01:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 15:01:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:01:42 arm64: Pulling from edgex-lftools-log-publisher 15:01:42 448f6bf000e3: Pulling fs layer 15:01:42 f757da607395: Pulling fs layer 15:01:42 05883995daec: Pulling fs layer 15:01:42 8603b9c90790: Pulling fs layer 15:01:42 1560dd03e051: Pulling fs layer 15:01:42 27f5ce0e4adf: Pulling fs layer 15:01:42 c2d8d7efcc4b: Pulling fs layer 15:01:42 8603b9c90790: Waiting 15:01:42 1560dd03e051: Waiting 15:01:42 27f5ce0e4adf: Waiting 15:01:42 c2d8d7efcc4b: Waiting 15:01:43 f757da607395: Verifying Checksum 15:01:43 f757da607395: Download complete 15:01:43 8603b9c90790: Download complete 15:01:43 1560dd03e051: Verifying Checksum 15:01:43 1560dd03e051: Download complete 15:01:43 05883995daec: Verifying Checksum 15:01:43 05883995daec: Download complete 15:01:43 27f5ce0e4adf: Verifying Checksum 15:01:43 27f5ce0e4adf: Download complete 15:01:43 448f6bf000e3: Verifying Checksum 15:01:43 448f6bf000e3: Download complete 15:01:47 c2d8d7efcc4b: Verifying Checksum 15:01:47 c2d8d7efcc4b: Download complete 15:01:47 448f6bf000e3: Pull complete 15:01:48 f757da607395: Pull complete 15:01:49 05883995daec: Pull complete 15:01:50 8603b9c90790: Pull complete 15:01:51 1560dd03e051: Pull complete 15:01:51 27f5ce0e4adf: Pull complete 15:02:06 c2d8d7efcc4b: Pull complete 15:02:06 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 15:02:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:02:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 15:02:06 prd-ubuntu18.04-docker-arm64-4c-16g-1264 does not seem to be running inside a container 15:02:06 $ 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/8 -v /w/workspace/device-sdk-c/8:/w/workspace/device-sdk-c/8:rw,z -v /w/workspace/device-sdk-c/8@tmp:/w/workspace/device-sdk-c/8@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 15:02:10 $ docker top 2a84b732821b63863b1487af660b33fa9e153e639134e8cc6a890ec96dfc75f2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:02:11 ---> job-cost.sh 15:02:11 lf-activate-venv: SKIPPING 15:02:11 INFO: No Stack... 15:02:12 INFO: Retrieving Pricing Info for: v2-standard-4 15:02:12 INFO: Archiving Costs [Pipeline] sh 15:02:13 + cat /w/workspace/device-sdk-c/8/archives/cost.csv 15:02:13 + cut -d, -f6 [Pipeline] lock 15:02:13 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-357-8-stack-cost] 15:02:13 Resource [jenkins-edgexfoundry-device-sdk-c-PR-357-8-stack-cost] did not exist. Created. 15:02:13 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-357-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:02:14 /w/workspace/device-sdk-c/8@tmp/durable-b8cf416f/script.sh: 1: /w/workspace/device-sdk-c/8@tmp/durable-b8cf416f/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 15:02:14 + echo total: 0.18000000715255737 [Pipeline] stash 15:02:14 Warning: overwriting stash ‘stack-cost’ 15:02:15 Stashed 1 file(s) [Pipeline] } 15:02:15 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-357-8-stack-cost] [Pipeline] // lock [Pipeline] } 15:02:15 $ docker stop --time=1 2a84b732821b63863b1487af660b33fa9e153e639134e8cc6a890ec96dfc75f2 15:02:17 $ docker rm -f 2a84b732821b63863b1487af660b33fa9e153e639134e8cc6a890ec96dfc75f2 [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] libraryResource [Pipeline] sh 15:02:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:02:19 ---> package-listing.sh 15:02:19 ++ tr '[:upper:]' '[:lower:]' 15:02:19 ++ facter osfamily 15:02:19 + OS_FAMILY=redhat 15:02:19 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-357 15:02:19 + START_PACKAGES=/tmp/packages_start.txt 15:02:19 + END_PACKAGES=/tmp/packages_end.txt 15:02:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:02:19 + PACKAGES=/tmp/packages_start.txt 15:02:19 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-357 ']' 15:02:19 + PACKAGES=/tmp/packages_end.txt 15:02:19 + case "${OS_FAMILY}" in 15:02:19 + rpm -qa 15:02:19 + sort 15:02:20 + '[' -f /tmp/packages_start.txt ']' 15:02:20 + '[' -f /tmp/packages_end.txt ']' 15:02:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:02:20 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-357 ']' 15:02:20 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-357/archives/ 15:02:20 + 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 15:02:20 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 15:02:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 15:02:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:02:21 15:02:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 15:02:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:02:21 latest: Pulling from edgex-lftools-log-publisher 15:02:21 b4d181a07f80: Pulling fs layer 15:02:21 a1111a8f2ec3: Pulling fs layer 15:02:21 ed53099fbce6: Pulling fs layer 15:02:21 dc539afda2c1: Pulling fs layer 15:02:21 77bc0d833cb6: Pulling fs layer 15:02:21 9065ff56babe: Pulling fs layer 15:02:21 d287ab97295c: Pulling fs layer 15:02:21 dc539afda2c1: Waiting 15:02:21 77bc0d833cb6: Waiting 15:02:21 9065ff56babe: Waiting 15:02:21 d287ab97295c: Waiting 15:02:21 a1111a8f2ec3: Verifying Checksum 15:02:21 a1111a8f2ec3: Download complete 15:02:21 dc539afda2c1: Verifying Checksum 15:02:21 dc539afda2c1: Download complete 15:02:22 77bc0d833cb6: Verifying Checksum 15:02:22 77bc0d833cb6: Download complete 15:02:22 9065ff56babe: Verifying Checksum 15:02:22 9065ff56babe: Download complete 15:02:22 ed53099fbce6: Verifying Checksum 15:02:22 ed53099fbce6: Download complete 15:02:23 b4d181a07f80: Verifying Checksum 15:02:23 b4d181a07f80: Download complete 15:02:24 b4d181a07f80: Pull complete 15:02:24 a1111a8f2ec3: Pull complete 15:02:25 ed53099fbce6: Pull complete 15:02:25 dc539afda2c1: Pull complete 15:02:25 77bc0d833cb6: Pull complete 15:02:25 9065ff56babe: Pull complete 15:02:27 d287ab97295c: Verifying Checksum 15:02:27 d287ab97295c: Download complete 15:02:31 d287ab97295c: Pull complete 15:02:31 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 15:02:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:02:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 15:02:31 prd-centos7-docker-4c-2g-1263 does not seem to be running inside a container 15:02:31 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:02:34 $ docker top 575f44d86479de2347e04a544aad35e7b3f1c0227047c5f2ba252122f11fbbbd -eo pid,comm [Pipeline] { [Pipeline] sh 15:02:34 + touch /tmp/pre-build-complete [Pipeline] sh 15:02:34 + mkdir -p /var/log/sysstat [Pipeline] sh 15:02:35 + ls /var/log/sa-host 15:02:35 + sadf -c /var/log/sa-host/sa05 15:02:35 file_magic: OK 15:02:35 HZ: Using current value: 100 15:02:35 file_header: OK 15:02:35 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 15:02:35 Statistics: 15:02:35 Hnuu...uuuununununu...Hnuu...uuuununununu... 15:02:35 File successfully converted to sysstat format version 12.0.3 15:02:35 + sadf -c /var/log/sa-host/sa31 15:02:35 file_magic: OK 15:02:35 HZ: Using current value: 100 15:02:35 file_header: OK 15:02:35 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 15:02:35 Statistics: 15:02:35 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 15:02:35 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:02:35 provisioning config files... 15:02:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-357@tmp/config878450863086353924tmp [Pipeline] { [Pipeline] echo 15:02:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:02:36 ---> create-netrc.sh [Pipeline] } 15:02:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:02:36 ---> python-tools-install.sh [Pipeline] echo 15:02:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:02:37 ---> sudo-logs.sh 15:02:37 Archiving 'sudo' log.. 15:02:37 sudo: unable to resolve host prd-centos7-docker-4c-2g-1263.vexxhost.local: Name or service not known 15:02:37 sudo: unable to resolve host prd-centos7-docker-4c-2g-1263.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 15:02:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:02:37 ---> job-cost.sh 15:02:37 lf-activate-venv: SKIPPING 15:02:37 DEBUG: total: 0.18000000715255737 15:02:37 INFO: Retrieving Stack Cost... 15:02:38 INFO: Retrieving Pricing Info for: v3-standard-2 15:02:39 INFO: Archiving Costs [Pipeline] echo 15:02:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:02:39 ---> logs-deploy.sh 15:02:39 lf-activate-venv: SKIPPING 15:02:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-357/8 15:02:39 INFO: archiving workspace using pattern(s): 15:02:40 Archives upload complete. 15:02:40 INFO: archiving logs to Nexus 15:02:40 ---> uname -a: 15:02:40 Linux prd-centos7-docker-4c-2g-1263.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 15:02:40 15:02:40 15:02:40 ---> lscpu: 15:02:40 Architecture: x86_64 15:02:40 CPU op-mode(s): 32-bit, 64-bit 15:02:40 Byte Order: Little Endian 15:02:40 Address sizes: 40 bits physical, 48 bits virtual 15:02:40 CPU(s): 2 15:02:40 On-line CPU(s) list: 0,1 15:02:40 Thread(s) per core: 1 15:02:40 Core(s) per socket: 1 15:02:40 Socket(s): 2 15:02:40 NUMA node(s): 1 15:02:40 Vendor ID: AuthenticAMD 15:02:40 CPU family: 23 15:02:40 Model: 49 15:02:40 Model name: AMD EPYC-Rome Processor 15:02:40 Stepping: 0 15:02:40 CPU MHz: 2799.998 15:02:40 BogoMIPS: 5599.99 15:02:40 Virtualization: AMD-V 15:02:40 Hypervisor vendor: KVM 15:02:40 Virtualization type: full 15:02:40 L1d cache: 32K 15:02:40 L1i cache: 32K 15:02:40 L2 cache: 512K 15:02:40 L3 cache: 16384K 15:02:40 NUMA node0 CPU(s): 0,1 15:02:40 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 15:02:40 15:02:40 15:02:40 ---> nproc: 15:02:40 2 15:02:40 15:02:40 15:02:40 ---> df -h: 15:02:40 Filesystem Size Used Avail Use% Mounted on 15:02:40 overlay 40G 7.7G 33G 20% / 15:02:40 tmpfs 64M 0 64M 0% /dev 15:02:40 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 15:02:40 shm 64M 0 64M 0% /dev/shm 15:02:40 /dev/vda1 40G 7.7G 33G 20% /facter-os 15:02:40 15:02:40 15:02:40 ---> sar -b -r -n DEV: 15:02:40 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 07/31/21 _x86_64_ (2 CPU) 15:02:40 15:02:40 14:55:02 LINUX RESTART (2 CPU) 15:02:40 15:02:40 14:56:03 tps rtps wtps bread/s bwrtn/s 15:02:40 14:57:01 0.64 0.00 0.64 0.00 15.78 15:02:40 14:58:01 0.45 0.00 0.45 0.00 8.51 15:02:40 14:59:01 0.30 0.00 0.30 0.00 5.16 15:02:40 15:00:01 0.27 0.00 0.27 0.00 4.28 15:02:40 15:01:01 0.35 0.02 0.33 0.13 5.08 15:02:40 15:02:01 0.60 0.10 0.50 1.73 8.74 15:02:40 Average: 0.43 0.02 0.41 0.31 7.88 15:02:40 15:02:40 14:56:03 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 15:02:40 14:57:01 5467768 0 801960 10.01 2620 1736592 1209360 13.35 575688 1567844 20 15:02:40 14:58:01 5467884 0 801832 10.01 2620 1736604 1205032 13.30 578068 1565176 8 15:02:40 14:59:01 5467508 0 802208 10.02 2620 1736604 1205236 13.31 580716 1563528 8 15:02:40 15:00:01 5466988 0 802720 10.02 2620 1736612 1205032 13.30 580008 1564176 8 15:02:40 15:01:01 5465636 0 804068 10.04 2620 1736616 1207884 13.34 576152 1569112 8 15:02:40 15:02:01 5466544 0 803004 10.03 2620 1736772 1205612 13.31 575764 1569180 16 15:02:40 Average: 5467055 0 802632 10.02 2620 1736633 1206359 13.32 577733 1566503 11 15:02:40 15:02:40 14:56:03 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 15:02:40 14:57:01 eth0 0.60 0.10 0.04 0.02 0.00 0.00 0.00 0.00 15:02:40 14:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:02:40 14:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:02:40 14:58:01 eth0 0.35 0.08 0.04 0.01 0.00 0.00 0.00 0.00 15:02:40 14:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:02:40 14:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:02:40 14:59:01 eth0 1.53 0.60 0.59 0.40 0.00 0.00 0.00 0.00 15:02:40 14:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:02:40 14:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:02:40 15:00:01 eth0 0.07 0.07 0.01 0.01 0.00 0.00 0.00 0.00 15:02:40 15:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:02:40 15:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:02:40 15:01:01 eth0 0.22 0.13 0.08 0.07 0.00 0.00 0.00 0.00 15:02:40 15:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:02:40 15:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:02:40 15:02:01 eth0 0.22 0.20 0.10 0.02 0.00 0.00 0.00 0.00 15:02:40 15:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:02:40 15:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:02:40 Average: eth0 0.50 0.20 0.14 0.08 0.00 0.00 0.00 0.00 15:02:40 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:02:40 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:02:40 15:02:40 15:02:40 ---> sar -P ALL: 15:02:40 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 07/31/21 _x86_64_ (2 CPU) 15:02:40 15:02:40 14:55:02 LINUX RESTART (2 CPU) 15:02:40 15:02:40 14:56:03 CPU %user %nice %system %iowait %steal %idle 15:02:40 14:57:01 all 0.18 0.00 0.06 0.00 0.02 99.74 15:02:40 14:57:01 0 0.10 0.00 0.05 0.00 0.02 99.83 15:02:40 14:57:01 1 0.26 0.00 0.07 0.00 0.02 99.65 15:02:40 14:58:01 all 0.13 0.00 0.03 0.00 0.02 99.82 15:02:40 14:58:01 0 0.20 0.00 0.02 0.00 0.02 99.77 15:02:40 14:58:01 1 0.07 0.00 0.05 0.00 0.02 99.87 15:02:40 14:59:01 all 0.14 0.00 0.04 0.00 0.02 99.80 15:02:40 14:59:01 0 0.23 0.00 0.03 0.00 0.00 99.73 15:02:40 14:59:01 1 0.05 0.00 0.05 0.00 0.03 99.87 15:02:40 15:00:01 all 0.05 0.00 0.04 0.00 0.01 99.90 15:02:40 15:00:01 0 0.05 0.00 0.03 0.00 0.00 99.92 15:02:40 15:00:01 1 0.05 0.00 0.05 0.00 0.02 99.88 15:02:40 15:01:01 all 0.08 0.00 0.05 0.00 0.03 99.84 15:02:40 15:01:01 0 0.03 0.00 0.05 0.00 0.02 99.90 15:02:40 15:01:01 1 0.13 0.00 0.05 0.00 0.03 99.78 15:02:40 15:02:01 all 0.13 0.00 0.05 0.00 0.02 99.80 15:02:40 15:02:01 0 0.05 0.00 0.05 0.00 0.03 99.87 15:02:40 15:02:01 1 0.22 0.00 0.05 0.00 0.00 99.73 15:02:40 Average: all 0.12 0.00 0.05 0.00 0.02 99.82 15:02:40 Average: 0 0.11 0.00 0.04 0.00 0.01 99.83 15:02:40 Average: 1 0.13 0.00 0.05 0.00 0.02 99.80 15:02:40 15:02:40 15:02:40